Display method and electronic equipment

By consistent with the theme elements of the display interface of the electronic device with the appearance characteristics, the visual splitting problem caused by the difference in the material of the display screen and the shell is solved, and the user experience is improved.

CN120010975APending Publication Date: 2025-05-16HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411884432.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-08-29
Filing Date
2023-08-31
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

The display screen of electronic devices is different from the shell material, which leads to a difference in the color of the theme and the color of the shell, causing a sense of splitting that makes the user's visual experience poor.

Method used

By setting the theme elements in the interface displayed by the electronic device to associate with the appearance, the colors, shapes and patterns of the background, subject matter, decoration and text are consistent with the colors, shapes and patterns of the shell.

Benefits of technology

It realizes the integration of the interface and body of the electronic device display, and improves the user's visual experience when using electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010975A_ABST
    Figure CN120010975A_ABST
Patent Text Reader

Abstract

The invention provides a display method and electronic equipment, in the method, when the electronic equipment is in a screen-off state, if a first operation which is input by a user and is used for indicating switching from the screen-off state to a screen-on state is received, a first interface can be displayed. The theme element in the first interface is associated with the appearance of the electronic equipment. The theme elements in the first interface comprise theme elements corresponding to at least one of a background, a main object, an ornament and characters in the first interface. The appearance of the electronic equipment comprises appearance elements corresponding to the shell of the electronic equipment. The theme element in the interface displayed by the electronic equipment is set to be associated with the appearance of the electronic equipment, so that the interface displayed by the electronic equipment and the body of the electronic equipment can be integrated, and the visual experience of a user when the electronic equipment is used can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on August 29, 2023, with application number "202311103078.1" and application name "Display Method and Electronic Device", the entire contents of which are incorporated by reference in this application.

[0002] This application is a divisional application. The application number of the original application is 202311131436.X, and the original application date is August 31, 2023. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0003] The present application relates to the field of terminal technology, and in particular to a display method and an electronic device. Background Art

[0004] The theme of an electronic device includes the background style, text style, control style, etc. of the electronic device display. Users can achieve the purpose of beautifying the interface displayed by the electronic device by setting the theme of the electronic device.

[0005] However, for electronic devices whose display screen and casing are on the same plane, for example, mobile phones with mechanical keyboards, folding screen mobile phones and other electronic devices, since the materials of the display screen and the casing are different, and the theme color displayed on the display screen is different from the casing color of the electronic device, the combination of multiple colors and materials will make users feel disconnected when using the electronic device, which is not conducive to the user's visual experience. Summary of the invention

[0006] The embodiments of the present application provide a display method and an electronic device, which can make an interface displayed by the electronic device and a body of the electronic device produce an integrated effect, thereby improving the visual experience of the user when using the electronic device.

[0007] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:

[0008] In a first aspect, an embodiment of the present application provides a display method that can be applied to an electronic device, in which the electronic device receives a first operation input by a user when the screen is off. The first operation is used to instruct the electronic device to switch from the screen-off state to the screen-on state. The electronic device displays a first interface in response to the first operation. The theme elements in the first interface are associated with the appearance of the electronic device. The theme elements in the first interface include theme elements corresponding to at least one of the background, main object, decoration, and text in the first interface, and the appearance of the electronic device includes appearance elements corresponding to the shell of the electronic device.

[0009] In the method of the present application, the theme elements in the interface displayed by the electronic device can be associated with the appearance of the electronic device so that the interface displayed by the electronic device and the body of the electronic device can be integrated into one, thereby improving the user's visual experience when using the electronic device.

[0010] In combination with the first aspect, in a possible design, the theme element corresponding to the background includes at least one of the pattern, pattern, and color of the background. The theme element corresponding to the main object includes the color of the main object. The theme element corresponding to the decoration includes at least one of the shape, color, and pattern of the decoration. The theme element corresponding to the text includes the color of the text, etc.

[0011] In this solution, the electronic device can adjust at least one of the pattern, design, and color of the displayed background so that the displayed background is associated with the appearance of the electronic device. The electronic device can also adjust the color of the displayed main object so that the displayed main object is associated with the appearance of the electronic device. The electronic device can also adjust at least one of the shape, design, and color of the displayed decoration so that the displayed decoration is associated with the appearance of the electronic device. The electronic device can also adjust the color of the displayed text so that the displayed text is associated with the appearance of the electronic device. Through the above adjustment, the electronic device can associate the theme elements included in the displayed interface with the appearance of the electronic device, so that the interface displayed by the electronic device and the body of the electronic device are integrated, which can improve the user's visual experience when using the electronic device.

[0012] In combination with the first aspect, in a possible design, the appearance element corresponding to the shell includes at least one of the color, shape, pattern, and pattern of the shell.

[0013] In this solution, the contents included in the appearance elements corresponding to the shell of the electronic device are given. The electronic device can adjust the theme elements in the displayed interface based on the appearance elements corresponding to the shell of the electronic device.

[0014] In conjunction with the first aspect, in a possible design, the theme element in the first interface is associated with the appearance of the electronic device, including: at least one pattern included in the background of the first interface is the same as at least one pattern included in the shell of the electronic device. And / or, the pattern of the background in the first interface is the same as the pattern of the shell of the electronic device. And / or, at least one color included in the background of the first interface is the same as at least one color included in the shell of the electronic device.

[0015] In this solution, the electronic device can associate the pattern of the background in the first interface with the appearance of the electronic device by setting at least one pattern included in the background of the first interface to be the same as at least one pattern included in the shell of the electronic device. The electronic device can associate the pattern of the background in the first interface with the appearance of the electronic device by setting the pattern of the background in the first interface to be the same as the pattern of the shell of the electronic device. The electronic device can associate the color of the background in the first interface with the appearance of the electronic device by setting at least one color included in the background of the first interface to be the same as at least one color included in the shell of the electronic device. By adjusting the theme element corresponding to the background in the first interface, the electronic device can associate at least one of the pattern, pattern, and color of the background in the first interface with the appearance of the electronic device, so that the interface displayed by the electronic device and the body of the electronic device can be integrated, which can improve the visual experience of the user when using the electronic device.

[0016] In combination with the first aspect, in one possible design, the theme element in the first interface is associated with the appearance of the electronic device, including: at least one color included in the main object in the first interface is the same as at least one color included in the shell of the electronic device.

[0017] In this solution, the electronic device can associate the color of the main object in the first interface with the appearance of the electronic device by setting at least one color of the main object in the first interface to be the same as at least one color of the housing of the electronic device. The electronic device can associate the color of the main object in the first interface with the appearance of the electronic device by adjusting the theme element corresponding to the main object in the first interface, so that the interface displayed by the electronic device and the body of the electronic device can be integrated, thereby improving the visual experience of the user when using the electronic device.

[0018] In conjunction with the first aspect, in a possible design, the theme element in the first interface is associated with the appearance of the electronic device, including: the shape of the decoration in the first interface is the same as the shape of the shell of the electronic device. And / or, at least one color included in the decoration in the first interface is the same as at least one color included in the shell of the electronic device. And / or, the pattern of the decoration in the first interface is the same as the pattern of the shell of the electronic device.

[0019] In this solution, the electronic device can associate the shape of the decoration in the first interface with the appearance of the electronic device by setting the shape of the decoration in the first interface to be the same as the shape of the shell of the electronic device. The electronic device can associate the pattern of the decoration in the first interface with the appearance of the electronic device by setting the pattern of the decoration in the first interface to be the same as the pattern of the shell of the electronic device. The electronic device can associate the color of the decoration in the first interface with the appearance of the electronic device by setting at least one color included in the decoration in the first interface to be the same as at least one color included in the shell of the electronic device. By adjusting the theme elements corresponding to the decoration in the first interface, the electronic device can associate at least one of the shape, pattern, and color of the decoration in the first interface with the appearance of the electronic device, so that the interface displayed by the electronic device and the body of the electronic device can be integrated, which can improve the visual experience of the user when using the electronic device.

[0020] In combination with the first aspect, in a possible design, the theme element in the first interface is associated with the appearance of the electronic device, including: the color of the text in the first interface is the same as at least one color included in the shell of the electronic device.

[0021] In this solution, the electronic device can associate the color of the text in the first interface with the appearance of the electronic device by setting the color of the text in the first interface to be the same as at least one color included in the housing of the electronic device. The electronic device can associate the color of the text in the first interface with the appearance of the electronic device by adjusting the theme element corresponding to the text in the first interface, so that the interface displayed by the electronic device and the body of the electronic device can be integrated, thereby improving the visual experience of the user when using the electronic device.

[0022] In combination with the first aspect, in a possible design, the electronic device receives a second operation input by a user. The second operation is used to adjust the theme element in the first interface. The electronic device displays a second interface in response to the second operation. The second interface is obtained based on the adjustment of the first interface.

[0023] In this solution, the electronic device can switch the theme elements included in the displayed interface based on the interaction with the user, which can increase the sense of interaction between the user and the electronic device, thereby improving the user experience.

[0024] In combination with the first aspect, in one possible design, the theme elements in the second interface are associated with the appearance of the electronic device.

[0025] In this solution, the electronic device can switch the theme elements included in the interface displayed based on the interaction with the user, and the theme elements in the interface displayed after switching are associated with the appearance of the electronic device. That is, the interface displayed by the electronic device after switching will produce an integrated effect with the body of the electronic device, which can improve the visual experience of the user when using the electronic device.

[0026] In combination with the first aspect, in a possible design, the first interface is displayed based on multiple layers superimposed on each other. The electronic device can adjust the theme elements in at least one layer included in the multiple layers. For any layer, the theme elements in the adjusted layer are associated with the appearance of the electronic device.

[0027] In this solution, since the first interface is displayed based on multiple layers superimposed on each other, the electronic device can change the content displayed by the electronic device by adjusting the theme elements included in some or all of the multiple layers. In addition, since the theme elements in the adjusted layers are associated with the appearance of the electronic device, the interface displayed after adjustment will have an integrated effect with the body of the electronic device, which can improve the visual experience of the user when using the electronic device.

[0028] In combination with the first aspect, in a possible design, the electronic device may display a settings interface. The settings interface includes at least one item for setting a theme of the electronic device. The electronic device receives a user's selection operation on a target item. The target item is used to set the theme of the electronic device to a first theme, and the first theme includes at least one theme element. In response to the selection operation, the electronic device displays a third interface. The third interface is obtained based on adjusting the theme elements in the settings interface, and the theme elements in the third interface include a target theme element, which is determined based on at least one theme element included in the first theme, and the target theme element is associated with the appearance of the electronic device.

[0029] In this solution, a user can set a favorite theme as the theme of the electronic device in the electronic device. After the electronic device receives the user's operation for setting the theme of the electronic device, it can determine a target theme element based on at least one theme element included in the first theme, and adjust the displayed interface based on the target theme element to display the adjusted interface. Among them, since the target theme element is associated with the appearance of the electronic device, the adjusted interface will produce an integrated effect with the body of the electronic device, which can improve the user's visual experience when using the electronic device.

[0030] In combination with the first aspect, in a possible design, the electronic device may determine an appearance element corresponding to a shell of the electronic device. The electronic device determines a target theme element based on at least one theme element included in the first theme and the appearance element corresponding to the shell of the electronic device. The electronic device adjusts at least one theme element in the setting interface to the target theme element.

[0031] In combination with the first aspect, in a possible design, the electronic device determines a target theme element from at least one theme element included in the first theme based on an appearance element corresponding to a shell of the electronic device.

[0032] In this scheme, the target topic element may be determined from at least one topic element included in the first topic.

[0033] In combination with the first aspect, in a possible design, the electronic device determines that at least one theme element included in the first theme does not include a target theme element based on the appearance element corresponding to the housing of the electronic device. The electronic device determines the target theme element in at least one preset theme element.

[0034] In this solution, if the at least one topic element included in the first topic does not include the target topic element, the target topic element may be determined from at least one preset topic element.

[0035] In combination with the first aspect, in one possible design, the first interface includes any one of a lock screen interface, a desktop, an application interface, a screen saver interface, and a negative one screen interface of the electronic device.

[0036] In this solution, the first interface can be any interface, for example, the first interface can be any one of a lock screen interface, a desktop, an application interface, a screen saver interface, and a negative one screen interface of an electronic device. The electronic device can adjust the theme elements included in any interface. The theme elements in the interface obtained after adjustment are associated with the appearance of the electronic device.

[0037] In a second aspect, an embodiment of the present application provides an electronic device. The electronic device includes a memory and one or more processors, the memory and the processor are coupled; the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor executes the computer instructions, the electronic device executes the method described in the first aspect and any possible design thereof.

[0038] In a third aspect, an embodiment of the present application provides a chip system. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line, and the interface circuit is used to receive a signal from a memory of an electronic device and send a signal to the processor, the signal including a computer instruction stored in the memory, and when the processor executes the computer instruction, the electronic device executes the method described in the first aspect and any possible design thereof.

[0039] In a fourth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method described in the first aspect and any possible design thereof.

[0040] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the method described in the first aspect and any possible design thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of a theme display method of an electronic device provided in the prior art;

[0042] Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0043] Figure 3 A flow chart of a display method provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of the appearance of an electronic device provided in an embodiment of the present application;

[0045] Figure 5A A schematic diagram of a background pattern provided in an embodiment of the present application;

[0046] Figure 5B A schematic diagram of an interface of an electronic device provided in an embodiment of the present application;

[0047] Figure 6 A schematic diagram of a setting interface provided in an embodiment of the present application;

[0048] Figure 7 A schematic diagram of an adjusted setting interface provided in an embodiment of the present application;

[0049] Figure 8 A schematic diagram of a theme display method of an electronic device provided in an embodiment of the present application;

[0050] Fig. 9A schematic diagram of a method for interaction between a user and an electronic device provided in an embodiment of the present application;

[0051] Fig.10 A schematic diagram of a layer structure provided in an embodiment of the present application;

[0052] Fig.11 A schematic diagram of the effect of switching a theme element provided in an embodiment of the present application;

[0053] Fig.12 A schematic diagram of a flow chart of a display method in a specific scenario provided by an embodiment of the present application;

[0054] Fig.13 A schematic diagram of a flow chart of a display method in another specific scenario provided by an embodiment of the present application;

[0055] Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0057] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0058] The theme of an electronic device includes the background style, text style, control style, etc. of the electronic device display. Users can achieve the purpose of beautifying the interface displayed by the electronic device by setting the theme of the electronic device.

[0059] However, the theme set by the user in the electronic device may not be suitable for the electronic device. For example, if the electronic device is a folding screen mobile phone, see Figure 1The foldable screen mobile phone may include an inner screen 101 and an outer screen 102. The inner screen is the main display screen of the foldable screen mobile phone, which is arranged opposite to the back shell of the foldable screen mobile phone. The outer screen 102 is the secondary display screen of the electronic device, which is arranged on the back shell 103 of the foldable screen mobile phone. The user can not only set the theme displayed on the inner screen 101 of the foldable screen mobile phone, but also set the theme displayed on the outer screen 102 of the foldable screen mobile phone.

[0060] Since the outer screen 102 of the foldable screen mobile phone is set on the back shell 103 of the foldable screen mobile phone. Therefore, when the user looks at the outer screen 102 of the foldable screen mobile phone, he can also see the back shell 103 of the foldable screen mobile phone. Since the outer screen 102 of the foldable screen mobile phone and the back shell 103 of the foldable screen mobile phone are made of different materials, the theme color displayed on the outer screen 102 of the foldable screen mobile phone is different from the color of the back shell 103 of the foldable screen mobile phone. Therefore, when the user looks at the foldable screen mobile phone, he will feel a sense of separation, which is not conducive to the user's visual experience.

[0061] Based on the above problems, an embodiment of the present application provides a display method, in which, when the electronic device is in the screen-off state, if a first operation input by a user is received to indicate switching from the screen-off state to the screen-on state, a first interface can be displayed. The theme elements in the first interface are associated with the appearance of the electronic device. The theme elements in the first interface include theme elements corresponding to at least one of the background, main object, decoration, and text in the first interface. The appearance of the electronic device includes appearance elements corresponding to the shell of the electronic device.

[0062] It should be noted that the theme element corresponding to the background in the embodiment of the present application includes at least one of the pattern, pattern, and color of the background. The theme element corresponding to the main object includes the color of the main object. The theme element corresponding to the decoration includes at least one of the shape, color, and pattern of the decoration. The theme element corresponding to the text includes the color of the text. The appearance element corresponding to the shell in the embodiment of the present application includes at least one of the color, shape, pattern, and pattern of the shell.

[0063] Furthermore, the first interface in the embodiment of the present application includes any one of a lock screen interface, a desktop, an application interface, a screen saver interface, and a negative one screen interface of the electronic device.

[0064] It can be seen that the embodiment of the present application can set the theme elements in the interface displayed by the electronic device to be associated with the appearance of the electronic device. For example, the color of the background in the displayed interface can be set to be the same as the color of the shell of the electronic device. For another example, the shape of the decoration in the displayed interface can be set to be the same as the shape of the shell of the electronic device. By setting the theme elements in the interface displayed by the electronic device to be associated with the appearance of the electronic device, the interface displayed by the electronic device can be integrated with the body of the electronic device, which can improve the user's visual experience when using the electronic device.

[0065] The display method provided in the embodiment of the present application can be applied to electronic devices. For example, the electronic device in the embodiment of the present application can be a portable computer (such as a mobile phone, a folding screen mobile phone), a tablet computer, a laptop computer, a personal computer (PC), a wearable electronic device (such as a smart watch), a car computer, etc. The following embodiments do not impose any special restrictions on the specific form of the electronic device.

[0066] It should be understood that the method provided in the present application can be applied to various types of electronic devices with folding screens, which usually have an external screen on the same surface as the outer shell; the method provided in the present application can also be applied to electronic devices with non-folding screens, which can also have a screen on the same surface as the outer shell; in addition, the method provided in the present application can also be applied to the main display screen of the electronic device (which may be the only display screen), and the theme of this screen can also be adapted to the appearance of the electronic device according to the method of the present application, so as to achieve the purpose of improving the user experience.

[0067] Figure 2 A schematic structural diagram of an electronic device 100 is shown.

[0068] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a fingerprint sensor 180H, a touch sensor 180K, etc.

[0069] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0070] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0071] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0072] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0073] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0074] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0075] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0076] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0077] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process 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 convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0078] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0079] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0080] The electronic device 100 may interact with other devices based on the wireless communication module 160. For example, the electronic device 100 may interact with a server or other electronic devices based on the wireless communication module 160 to obtain a theme data package stored in the server or other electronic devices. The theme data package may include multiple theme elements. The electronic device 100 may adjust the theme elements in the interface to the theme elements included in the theme data package.

[0081] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to 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), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0082] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0083] The display screen 194 is used to display images, videos, etc. The 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 (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0084] In some embodiments, the display panel may display a plurality of display layers that are superimposed on each other, different display layers display different contents, and the contents displayed by the electronic device are obtained based on the contents displayed by the plurality of display layers that are superimposed on each other.

[0085] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0086] 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 implement a data storage function. For example, files such as music, videos, and theme data packages are stored in the external memory card.

[0087] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, a theme setting function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0088] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on 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 based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A.

[0089] For example, when the electronic device is in the off-screen state, if the pressure sensor 180A detects a touch operation on the display screen 194, the electronic device will switch from the off-screen state to the on-screen state. After the electronic device is in the on-screen state, the display screen 194 can display the corresponding interface.

[0090] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0091] In some embodiments, touch operations acting on the same touch position but with different touch operation strengths may correspond to different operation instructions. For example, when a touch operation with a touch operation strength less than a first pressure threshold acts on a short message application icon, an instruction to view short messages is executed. When a touch operation with a touch operation strength greater than or equal to the first pressure threshold acts on a short message application icon, an instruction to change the theme element in the displayed interface is executed.

[0092] Exemplarily, when the electronic device is in the screen-off state, if the fingerprint sensor 180H collects a fingerprint, the electronic device will switch from the screen-off state to the screen-on state. Among them, if the fingerprint collected by the fingerprint sensor 180H matches the fingerprint password pre-stored in the electronic device, the electronic device can be unlocked and the corresponding interface can be displayed. If the fingerprint collected by the fingerprint sensor 180H does not match the fingerprint password pre-stored in the electronic device, the electronic device can display the lock screen interface, prompting the user to enter the fingerprint again or prompting the user to unlock the electronic device in other ways.

[0093] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set 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 touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0094] based on Figure 2 When the electronic device shown implements the display method in the embodiment of the present application, the display screen 194 is in the off-screen state, and the user can input a first operation to the electronic device to instruct the display screen 194 to switch from the off-screen state to the on-screen state. Wherein, when the first operation is an operation input by the user based on touching the display screen 194, the touch sensor 180K and / or the pressure sensor 180A can be used to detect the first operation input by the user. After the touch sensor 180K and / or the pressure sensor 180A detects the first operation input by the user, the display screen 194 can display a first interface. Wherein, the theme element of the first interface is associated with the appearance of the electronic device.

[0095] Illustratively, the methods in the following embodiments can all be implemented in an electronic device having the above-mentioned hardware structure. Taking the electronic device in the embodiment of the present application as a folding screen mobile phone as an example, the display method provided in the embodiment of the present application is introduced in detail in combination with the accompanying drawings and application scenarios.

[0096] like Figure 3 As shown, the method may include the following steps S301-S304.

[0097] S301: When the electronic device is in a screen-off state, the electronic device receives a first operation input by a user for instructing to switch from the screen-off state to the screen-on state.

[0098] The screen-off state of an electronic device refers to a state in which the electronic device is powered on and the screen does not display any picture. The screen-on state of an electronic device refers to a state in which the electronic device displays any picture.

[0099] In some embodiments, the first operation may include an operation in which a user touches a target location in an electronic device. For example, the first operation may include an operation in which a user touches a location in a fingerprint unlocking area in an electronic device, or the first operation may include an operation in which a user touches a display screen of an electronic device. The first operation may also include an operation in which a user presses a mechanical key (e.g., a volume key, an unlock key, a power-off key) of an electronic device. The first operation may also include an operation in which a user faces an electronic device or an operation in which a user stares at an electronic device, etc. The first operation may also include an operation in which a user inputs a voice command to an electronic device (e.g., a user says a voice command of "Hello, Xiaoyi" to the electronic device). In other embodiments, when the electronic device is an electronic device including a folding screen, the first operation may also include an operation in which a user opens or closes the folding screen, etc. In other words, a user may trigger the screen of an electronic device to switch from an off-screen state to a bright-screen state in a variety of different ways, and the present application does not limit the specific form of the first operation.

[0100] S302: In response to a first operation, determining an appearance element corresponding to a housing of the electronic device.

[0101] In some embodiments, the appearance element corresponding to the shell of the electronic device includes at least one of the pattern, color, pattern, shape, etc. of the shell of the electronic device.

[0102] The pattern of the housing of the electronic device includes a pattern displayed (sprayed, engraved) on the housing of the electronic device, and the housing of the electronic device may display multiple patterns. Figure 4 , the patterns displayed on the housing of the electronic device are heart-shaped and star-shaped. In other examples, the patterns displayed on the housing of the electronic device may also be brand icons, etc. The pattern of the housing of the electronic device also includes a pattern corresponding to the material of the housing of the electronic device. For example, when the housing material of the electronic device is metal, rubber, plastic or the like, the pattern of the housing of the electronic device may include a pattern for showing the effects of materials such as metal, rubber, plastic or the like. The embodiments of the present application do not limit the patterns displayed on the housing of the electronic device.

[0103] The color of the housing of an electronic device is the color included on the housing of the electronic device. Figure 4 , the housing of the electronic device includes black and white. In other examples, the housing of the electronic device may also include pink, green, red, etc., and the embodiment of the present application does not limit the colors included in the housing of the electronic device.

[0104] The pattern of the electronic device shell is the pattern shape displayed on the electronic device shell. In some embodiments, the pattern of the electronic device shell is related to the shell process of the electronic device. For example, if the shell of the electronic device adopts a frosting process, the pattern of the electronic device shell is as follows: Figure 4 As shown, a granular pattern is presented. If the housing of the electronic device adopts the Ningguang mother-of-pearl process, the pattern of the housing of the electronic device can present a pattern with a smudge effect like ink, etc. The embodiment of the present application does not limit the shape of the pattern displayed on the housing of the electronic device.

[0105] The shape of the housing of an electronic device is the shape of the body of the electronic device. The same electronic device may correspond to a variety of body shapes. For example, when the electronic device is a folding screen mobile phone, see Figure 1 When the screen of a foldable phone is not fully folded or fully opened, the foldable phone is bent. When the screen of a foldable phone is fully opened, the foldable phone is straight. When the screen of a foldable phone is fully folded, see Figure 4 The foldable screen mobile phone is box-shaped. The embodiment of the present application does not limit the shape of the body of the electronic device.

[0106] In some embodiments, at least one of the pattern, color, pattern, and shape of the shell of the electronic device can be converted into a machine language that can be recognized by the electronic device. For example, at least one of the pattern, color, pattern, and shape of the shell of the electronic device can be converted into ASCII code. Based on the machine language converted from at least one of the pattern, color, pattern, and shape of the shell of the electronic device, the appearance element corresponding to the shell of the electronic device can be determined.

[0107] S303: Determine a theme element associated with the appearance of the electronic device from among at least one theme element included in the first theme.

[0108] In some embodiments, any theme includes theme elements corresponding to at least one of background, main object, decoration, and text.

[0109] The background is the wallpaper displayed by the electronic device. Exemplarily, the theme element corresponding to the background includes at least one of the pattern, design, and color of the background. Moreover, any theme may include multiple backgrounds, and at least one of the patterns, designs, and colors of different backgrounds may be different. For example, see Figure 5A , background 501, background 502 and background 503 are all backgrounds included in the same theme. The patterns and designs of the backgrounds included in background 501, background 502 and background 503 are all different. The color of the background may include black, white, pink, red and the like.

[0110] The main object may be the object that occupies the largest area in the main body or has the most prominent display effect through other forms. For example, the main object may be presented in the form of a virtual animal. For example, see Figure 5B The cute pet 511 included in the displayed interface is the main object. The main object can also be presented in the form of a virtual plant, or the main object can be presented in the form of a virtual person. The embodiment of the present application does not limit the form of the main object. Among them, the theme elements corresponding to the main object include the overall or partial color, texture, components of the main object, etc. of the main object. In addition, for any theme, multiple main objects can be included, and the color and other attributes of different main objects can be different.

[0111] Optionally, different main objects may have different shapes. For example, for the same theme, the theme may include a main object in the shape of a little fox, or may include a main object in the shape of a little dog. This embodiment of the present application is not limited thereto.

[0112] A decoration is an element used to decorate the interface displayed by an electronic device. The theme element corresponding to the decoration includes at least one of the shape, color, and pattern of the decoration. Moreover, any theme element may include multiple decorations, and different decorations may have at least one of different shapes, colors, and patterns.

[0113] Text is the bytes included in the interface displayed by the electronic device. The theme elements corresponding to the text include the color, size, font, thickness, style, etc. of the text. For any theme element, multiple types of text can be included. Text can be displayed in the form of a control, such as a digital clock control.

[0114] Themes can also include various types of controls, such as graphical controls, information controls, etc. Controls can be moved or replaced.

[0115] In some embodiments, for any theme, each theme element included in the theme corresponds to at least one feature tag. The feature tag is used to characterize the features of the corresponding theme element. For example, the feature tag corresponding to the theme element whose background color includes pink can be expressed as C1, and the feature tag corresponding to the theme element whose background color includes white can be expressed as C2. For another example, the feature tag corresponding to the theme element whose background pattern includes a star pattern can be expressed as P1, and the feature tag corresponding to the theme element whose background pattern includes a heart pattern can be expressed as P2, etc. The embodiment of the present application does not limit the setting method of the feature tags corresponding to each theme element. Based on the feature tags corresponding to each theme element, the electronic device can determine the features of each theme element, thereby determining whether each theme element is associated with the appearance of the electronic device.

[0116] In some embodiments, the first theme is a default theme of the electronic device, or the first theme is a theme pre-set by the user in the electronic device. The following describes in detail the method in which the user pre-sets the theme of the electronic device to the first theme in the electronic device in the embodiment of the present application in conjunction with the accompanying drawings and application scenarios.

[0117] In some embodiments, the electronic device may display a setting interface for setting a theme of the electronic device. The setting interface includes at least one item for setting a theme of the electronic device. The user may select a target item in each item in the setting interface. The target item is used to set the theme of the electronic device to a first theme. In response to the user's selection operation, the electronic device may adjust the setting interface based on at least one theme element included in the first theme to display a third interface. The third interface is the adjusted setting interface.

[0118] For example, see Figure 6 , the setting interface 600 displayed by the electronic device displays an interface preview of at least one application interface displayed when the electronic device is set to the corresponding theme. The setting interface 600 includes a setting control 601 and a switching control 602. Among them, the setting control 601 can be an item for setting the theme of the electronic device as described in the embodiment of the present application. The user can select the switching control 602 (for example, the user clicks the switching control 602) to view the interface preview when the electronic device is set to different themes in the setting interface 600. After the setting interface 600 displays a theme that meets the user's wishes (for example, displaying the first theme), the user can select the setting control 601 (for example, the user clicks the setting control 601) to indicate that the theme of the electronic device is set to the first theme. In response to the user's selection operation, the electronic device can adjust the setting interface 600 based on at least one theme element included in the first theme to display the third interface. Among them, the third interface is the adjusted setting interface.

[0119] In some embodiments, after receiving the user's input of selecting the target item, the electronic device can determine the type of the theme element to be adjusted in the setting interface, wherein the type of the theme element to be adjusted in the setting interface is the type of the theme element that can be replaced in the setting interface.

[0120] For example, if the electronic device determines that the pattern of the background in the setting interface can be changed, it can be determined that the type of the theme element to be adjusted in the setting interface includes the pattern of the background. If the electronic device determines that the pattern of the background in the setting interface can be changed, it can be determined that the type of the theme element to be adjusted in the setting interface includes the pattern of the background. If the electronic device determines that the color of the background in the setting interface can be changed, it can be determined that the type of the theme element to be adjusted in the setting interface includes the color of the background. If the electronic device determines that the setting interface includes text and the color of the text included in the setting interface can be changed, it can be determined that the type of the theme element to be adjusted in the setting interface includes the color of the text. If the electronic device determines that the setting interface includes a main object and the color of the main object can be changed, it can be determined that the type of the theme element to be adjusted in the setting interface includes the color of the main object. If the electronic device determines that the setting interface includes a decoration and the shape of the decoration can be changed, it can be determined that the type of the theme element to be adjusted in the setting interface includes the shape of the decoration. If the electronic device determines that the setting interface includes a decoration and the color of the decoration can be changed, it can be determined that the type of the theme element to be adjusted in the setting interface includes the color of the decoration. If the electronic device determines that the setting interface includes decorations and the patterns of the decorations can be changed, it can be determined that the types of the theme elements to be adjusted in the setting interface include the patterns of the decorations.

[0121] In some embodiments, after the electronic device determines the type of theme elements to be adjusted in the settings interface, it can also determine whether there are theme elements of the same type as the theme elements that can be replaced in the settings interface among the theme elements included in the first theme. If the electronic device determines that there are theme elements of the same type as the theme elements that can be replaced in the settings interface among the theme elements included in the first theme, and the theme element is associated with the appearance of the electronic device, then the theme element can be determined as the first theme element. The electronic device can adjust the settings interface based on at least one first theme element to display a third interface. The third interface is the adjusted settings interface.

[0122] In some embodiments, after the electronic device determines the first theme element, it can also determine whether the type of theme element to be adjusted includes the target type. The target type is different from the type of the first theme element. If the type of theme element to be adjusted includes the target type, the electronic device can determine the theme element corresponding to the target type in at least one preset theme element. If the electronic device determines that the theme element corresponding to the target type is associated with the appearance of the electronic device, the theme element can be determined as the second theme element. The electronic device can adjust the setting interface based on the determined at least one first theme element and at least one second theme element to display the third interface.

[0123] For example, see Figure 6, if the pattern and color of the background 610, the color of the text, and the color of the decoration in the setting interface 600 can all be changed. Then the electronic device can determine that the types of the theme elements that can be changed in the setting interface 600 are the pattern and color of the background, the color of the text, and the color of the decoration. If the types of theme elements included in the first theme are the pattern and color of the background, and the color of the decoration. And the pattern of the background included in the first theme is as follows: Figure 5A The background colors included in the first theme are black, white, and pink. The decoration colors included in the first theme are white, blue, and black. And the appearance of the electronic device is as shown in FIG. Figure 4 As shown. Based on the pattern of the electronic device's housing, the electronic device can Figure 5A The pattern in the background 501 shown is determined as the first theme element. The electronic device can determine the background color white as the first theme element based on the shell color of the electronic device including white. The electronic device can set the decoration color black as the first theme element based on the shell color of the electronic device also including black.

[0124] After the electronic device determines the first theme element, the color of the text can be set to the target type based on the determined first theme color and the type of theme elements that can be replaced in the setting interface 600. Afterwards, if the electronic device determines that the color of the text includes red, black, and white in at least one preset theme element, and the housing of the electronic device also includes red, the color of the text can be determined to be red as the second theme element.

[0125] After the electronic device determines the first theme element and the second theme element, it can Figure 6 Adjust the settings interface shown to display the following Figure 7 The third interface 700 is shown. The target theme element includes at least one first theme element and at least one second theme element. Since the pattern and color of the background, the color of the text, and the color of the decorative controls in the third interface are all associated with the appearance of the electronic device, the third interface displayed by the electronic device will be integrated with the body of the electronic device, which can improve the visual experience of the user when using the electronic device.

[0126] In some embodiments, if the electronic device determines that the theme elements included in the first theme do not include the first theme element, the electronic device can determine at least one second theme element from at least one preset theme element. The electronic device can adjust the setting interface based on the determined at least one second theme element to display the third interface.

[0127] S304: Displaying a first interface based on the determined theme element associated with the appearance of the electronic device.

[0128] The first interface may be any interface. For example, the first interface may be any one of a lock screen interface, a desktop, an application interface, a screen saver interface, and a negative one screen interface of an electronic device. The theme element in the first interface is associated with the appearance of the electronic device.

[0129] In some embodiments, the theme element in the first interface is associated with the appearance of the electronic device, which means that at least one pattern included in the background of the first interface is the same as at least one pattern included in the shell of the electronic device. And / or, the pattern of the background in the first interface is the same as the pattern of the shell of the electronic device. And / or, at least one color included in the background of the first interface is the same as at least one color included in the shell of the electronic device.

[0130] For example, the shape, pattern, pattern, color of the housing of the electronic device 800 is as follows: Figure 8 As shown. The patterns of the shell of the electronic device 800 include patterns 801 and 802, and the shell pattern of the electronic device includes pattern 803. The first interface 810 displayed by the electronic device may include pattern 811 that is the same as pattern 801 and pattern 812 that is the same as pattern 802. The background pattern 814 of the first interface 810 is the same as the shell pattern 803 of the electronic device.

[0131] In some embodiments, the association of the theme element in the first interface with the appearance of the electronic device means that at least one color included in the main object in the first interface is the same as at least one color included in the shell of the electronic device. Figure 8 , the main body 820 in the first interface 810 and the shell of the electronic device both include white.

[0132] In some embodiments, the shape of the decoration in the first interface is the same as the shape of the housing of the electronic device. And / or, at least one color included in the decoration in the first interface is the same as at least one color included in the housing of the electronic device. And / or, the pattern of the decoration in the first interface is the same as the pattern of the housing of the electronic device.

[0133] For example, see Figure 8 The decoration 813 in the first interface 810 has the same shape as the housing of the electronic device. The decoration 813 in the first interface 810 and the housing of the electronic device both have white color. The decoration 813 in the first interface 810 has the same pattern as the housing of the electronic device.

[0134] In some embodiments, the color of the text in the first interface is the same as at least one color included in the housing of the electronic device. For example, the color of the text in the first interface 810 is black, and the color of the housing of the electronic device includes black.

[0135] It can be seen that since the theme elements in the first interface are associated with the appearance of the electronic device, the first interface displayed by the electronic device and the body of the electronic device will produce an integrated effect, which can improve the user's visual experience when using the electronic device.

[0136] In other embodiments, the above operations related to determining the appearance and theme elements of the electronic device may not be performed in response to the first operation of the user (such as the screen-on operation), but may be performed when the user sets the screen theme or configures the screen wallpaper. The execution timing may be other timings, and the specific method may refer to the above embodiments.

[0137] In some embodiments, when the electronic device is in the bright screen state, the electronic device can also switch the theme elements included in the displayed interface based on the interaction with the user. The following takes the bright screen state of the electronic device as the state where the electronic device displays the first interface as an example to describe in detail the method for the electronic device to switch the theme elements included in the displayed interface based on the interaction with the user. Fig. 9 The method may include the following steps S900-S902.

[0138] S900: Display the first interface.

[0139] In some embodiments, the first interface is displayed based on multiple layers superimposed on each other. The multiple layers include at least a first layer, a second layer, and a third layer. The first layer is located at the bottom layer of the second layer and the third layer, and is used to display the background of the first interface. The second layer and the third layer are superimposed on the first layer. The second layer is used to display the decorations in the first interface, and the third layer is used to display the main object in the first interface. The area of ​​the second layer and the third layer is less than or equal to the first layer.

[0140] For example, see Fig.10 , the first interface includes layer 1010, layer 1020 and layer 1030. Layer 1010 is the first layer corresponding to the first interface, used to display the background of the first interface. Layer 1020 is the second layer, used to display decorations 1021 and decorations 1022 in the first interface. Layer 1030 is the third layer, used to display the main object 1031 in the first interface. Layer 1010, layer 1020 and layer 1030 are superimposed on each other to form the first interface displayed by the electronic device.

[0141] S901: Receive a second operation input by a user for adjusting at least one theme element in the first interface.

[0142] In some embodiments, the second operation is an operation pre-set by the user in the electronic device for instructing to adjust the currently displayed interface. The second operation may include at least one of the following: the user single-clicking the display screen of the electronic device, the user double-clicking the display screen of the electronic device, the user sliding on the display screen of the electronic device, the user keeping pressing the display screen of the electronic device, and the user inputting a corresponding voice command to the electronic device.

[0143] In some embodiments, for any type of second operation, there is a corresponding adjustment strategy. And different types of second operations correspond to different adjustment strategies. Among them, the adjustment strategy is used to adjust the theme elements in each layer. The adjustment strategy may include adjusting at least one of the pattern, color, and pattern of the background in the first layer, and / or adjusting at least one of the color, shape, and pattern of at least one decoration in the second layer, and / or adjusting the color of the main object in the third layer, and / or adjusting the color of the text in any one or several layers, etc., which are not limited by the embodiments of the present application.

[0144] Exemplarily, the adjustment strategy corresponding to the user clicking on the display screen of the electronic device is the first adjustment strategy. The first adjustment strategy may include adjusting the pattern of the background in the first layer to adjust the pattern of the background in the first layer from the first pattern to the second pattern. The first adjustment strategy may also include adjusting the shape of the decoration in the second layer to adjust the shape of the decoration in the second layer from the first shape to the second shape. The first adjustment strategy may also include adjusting the color of the decoration in the second layer to adjust the color of the decoration in the second layer from the first color to the second color. For another example, the adjustment strategy corresponding to the user double-clicking the display screen of the electronic device is the second adjustment strategy. The second adjustment strategy may include adjusting the color of the main object in the third layer to adjust the color of the main object in the third layer from the first color to the second color. The second adjustment strategy may also include adjusting the color of the text in the second layer to adjust the color of the text in the second layer from the first color to the second color, etc. The embodiment of the present application does not limit the specific adjustment strategy.

[0145] Optionally, the adjustment strategy may also include adjusting the shape of the main object in the third layer. Fig.11 Before adjusting the shape of the subject in the third layer, the interface displayed by the electronic device is interface 1101. After adjusting the shape of the subject in the third layer, the interface displayed by the electronic device may be interface 1102 or interface 1103.

[0146] In some embodiments, the correspondence between the second operation and the adjustment strategy may be pre-stored in the electronic device, and the electronic device may also obtain the correspondence between the second operation and the adjustment strategy from other electronic devices (for example, a server), which is not limited in the embodiments of the present application.

[0147] S902: In response to the second operation, display a second interface.

[0148] In some embodiments, the electronic device may determine an adjustment strategy corresponding to the second operation input by the user in response to the second operation. Based on the determined adjustment strategy, the electronic device may determine at least one theme element in the first theme for adjusting the first interface. Among them, the theme elements determined by the electronic device for adjusting the first interface are all associated with the appearance of the electronic device. Based on the determined theme elements for adjusting the first interface, the electronic device may adjust the first interface to display the second interface. The second interface is the adjusted first interface.

[0149] For example, the electronic device is based on Fig.10 The interfaces displayed by the layers 1010, 1020, and 1030 in the example can be as follows: Fig.11 The user can input a second operation to the first interface 1101 by clicking the display screen of the electronic device. In response to the second operation input by the user, the electronic device can determine an adjustment strategy corresponding to the user clicking the display screen of the electronic device. If the adjustment strategy includes adjusting the shape of the main object in the layer 1030 and adjusting the color of the decoration in the layer 1020, the electronic device can display the second interface 1102 after adjustment.

[0150] The theme elements included in the first interface 1101 and the second interface 1102 are all associated with the appearance of the electronic device. The background of the second interface 1102 is different from that of the first interface 1101; the shape of the main object in the second interface 1102 is also different from that of the main object in the first interface 1101. The color of the decoration in the second interface 1102 is also different from that of the decoration in the first interface 1101.

[0151] It can be seen that the user can switch the interface displayed by the electronic device to the second interface by inputting a second operation for adjusting at least one theme element corresponding to the first interface into the electronic device. The theme elements included in the second interface are associated with the appearance of the electronic device, and the theme elements included in the second interface are not completely the same as the theme elements included in the first interface. That is, the user can switch the theme elements displayed in the electronic device through interaction with the electronic device. Since the theme elements included in the interface displayed by the electronic device after switching are still associated with the appearance of the electronic device, the switched interface displayed by the electronic device still produces an integrated effect with the body of the electronic device, which can improve the user's visual experience when using the electronic device.

[0152] In some embodiments, the electronic device may also store a correspondence between the state of the electronic device and an adjustment strategy for adjusting the currently displayed interface. The state of the electronic device may include a call state, a text message state, a lock screen state, a game state, etc., which is not limited in the embodiments of the present application. When the state of the electronic device switches, a corresponding adjustment strategy may be determined based on the state of the electronic device after the switch, and the theme elements included in the interface displayed by the electronic device may be adjusted based on the determined adjustment strategy. For example, if the state of the electronic device is a call state, the interface displayed by the electronic device may be as follows: Fig.11 As shown in the interface 1101, the interface 1101 shows a small animal holding a mobile phone.

[0153] In an embodiment of the present application, when the electronic device is in the screen-off state, the user can input an operation for lighting up the screen of the electronic device to the electronic device, so as to switch the electronic device from the screen-off state to the screen-on state. When the electronic device is in the screen-on state, the displayed interface includes theme elements associated with the appearance of the electronic device. The interface displayed by the electronic device can be integrated with the body of the electronic device, thereby enhancing the user's visual experience. The following takes the scenario of switching the electronic device from the screen-off state to the screen-on state as an example to specifically introduce the display method in the embodiment of the present application.

[0154] See also Fig.12 When the electronic device is in the screen-off state, the user can input a first operation to the electronic device for instructing the electronic device to switch from the screen-off state to the screen-on state, so as to light up the screen of the electronic device. In response to the first operation input by the user, the electronic device can obtain an appearance element corresponding to the housing of the electronic device.

[0155] If the electronic device does not obtain the appearance element corresponding to the shell of the electronic device, a theme element associated with the appearance of the electronic device can be determined from at least one preset theme element. The electronic device can display the first interface based on the theme element associated with the appearance of the electronic device determined from at least one preset theme element.

[0156] If the electronic device obtains the appearance element corresponding to the shell of the electronic device, and obtains the theme element associated with the appearance of the electronic device in at least one theme element included in the first theme, the first interface can be displayed based on the theme element associated with the appearance of the electronic device in the first theme. The first theme is a theme pre-set by the user in the electronic device.

[0157] If the electronic device obtains the appearance element corresponding to the shell of the electronic device, and the theme element associated with the appearance of the electronic device is not obtained in the at least one theme element included in the first theme, the theme element associated with the appearance of the electronic device can be determined in the at least one preset theme element. The electronic device can display the first interface based on the theme element associated with the appearance of the electronic device determined in the at least one preset theme element.

[0158] In an embodiment of the present application, when the electronic device is in a bright screen state, a user can input a second operation to the electronic device for adjusting at least one theme element included in an interface displayed by the electronic device. In response to the second operation input by the user, the electronic device can determine an adjustment strategy corresponding to the second operation to adjust the theme elements included in the displayed interface based on the corresponding adjustment strategy. The theme elements included in the adjusted displayed interface are associated with the appearance of the electronic device. Not only can the user's interactive experience be increased, but the interface displayed by the electronic device can also be integrated with the body of the electronic device, thereby enhancing the user's visual experience. The following takes the scenario in which a user interacts with an electronic device in a bright screen state as an example to specifically introduce the display method in an embodiment of the present application.

[0159] In some embodiments, the second operation input by the user may be that the user clicks on the display screen of the electronic device. The adjustment strategy corresponding to the user clicking on the display screen of the electronic device may be to adjust the shape of the decorative object to shape 1, and to adjust the form of the main object to form 1. The second operation input by the user may be that the user double-clicks the display screen of the electronic device. The adjustment strategy corresponding to the user double-clicking the display screen of the electronic device may be to adjust the device of the decorative object to shape 2, and to adjust the form of the main object to form 2.

[0160] For example, see Fig.13If the electronic device detects that the user clicks the display screen of the electronic device, the electronic device can adjust the shape of the decoration included in the displayed interface to shape 1 in response to the user's single click on the display screen of the electronic device, and adjust the form of the main object included in the displayed interface to form 1. If the electronic device detects that the user double-clicks the display screen of the electronic device, the electronic device can adjust the shape of the decoration included in the displayed interface to shape 2 in response to the user's double-click on the display screen of the electronic device, and adjust the form of the main object included in the displayed interface to form 2.

[0161] Optionally, if the electronic device detects that the user input operation is neither an operation of the user clicking the display screen of the electronic device nor an operation of the user double-clicking the display screen of the electronic device, the theme elements included in the displayed interface can be adjusted based on the default adjustment strategy. Fig.13 The electronic device can adjust the shape of the decoration included in the displayed interface to shape 3, and adjust the form of the main object included in the displayed interface to shape 3.

[0162] In some schemes, multiple embodiments of the present application can be combined, and the combined scheme can be implemented. Optionally, some operations in the process of each method embodiment are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a restriction on the execution order between the steps. There can also be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. A person of ordinary skill in the art will think of a variety of ways to reorder the operations described herein. In addition, it should be noted that the process details involved in a certain embodiment of this article are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.

[0163] In addition, some steps in the method embodiment may be equivalently replaced by other possible steps. Alternatively, some steps in the method embodiment may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiment.

[0164] Furthermore, the various method embodiments may be implemented separately or in combination.

[0165] It is understandable that in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.

[0166] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0167] The present application also provides an electronic device, such as Fig.14 , the electronic device may include one or more processors 1401 , a memory 1402 and a communication interface 1403 .

[0168] The memory 1402 and the communication interface 1403 are coupled to the processor 1401. For example, the memory 1402, the communication interface 1403 and the processor 1401 may be coupled together via a bus 1404.

[0169] The communication interface 1403 is used for data transmission with other devices. The memory 1402 stores computer program codes. The computer program codes include computer instructions. When the computer instructions are executed by the processor 1401, the electronic device executes the method in the embodiment of the present application.

[0170] Among them, the processor 1401 can be a processor or a controller, for example, it can be a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the contents of this disclosure. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessors, and so on. The processor can be used to support electronic devices to execute the method steps provided in the above embodiments. For example, the processor can be used to support electronic devices to execute Figure 3 S301-S304 in FIG. 4. For another example, the processor may be used to support the electronic device to execute Fig. 9 S900-S902 in.

[0171] The bus 1404 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus 1404 may be divided into an address bus, a data bus, a control bus, etc.

[0172] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.

[0173] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0174] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0175] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0176] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0177] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program code is stored. When the processor executes the computer program code, the electronic device executes the relevant method steps in the method embodiment.

[0178] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the relevant method steps in the above method embodiment.

[0179] In addition, an embodiment of the present application further provides a device. The device may be a component or a module, and the device may include one or more processors and a memory connected to each other. The memory is used to store a computer program. When the computer program is executed by one or more processors, the device performs the scene configuration method in the above-mentioned method embodiments.

[0180] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0181] The steps of the method or algorithm described in conjunction with the disclosed content of the embodiments of the present application can be implemented in hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).

[0182] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0183] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

Claims

1. A display method, characterized in that: Applied to electronic equipment, the method comprises: In the screen-off state, receiving a first operation input by a user; the first operation is used to instruct the electronic device to switch from the screen-off state to the screen-on state; In response to the first operation, a first interface is displayed; the theme elements in the first interface are associated with the appearance of the electronic device; the theme elements in the first interface include theme elements corresponding to at least one of the background, main object, decoration and text in the first interface; the appearance of the electronic device includes appearance elements corresponding to the shell of the electronic device.

2. The method according to claim 1, characterized in that: The theme elements corresponding to the background include at least one of the pattern, design, and color of the background; the theme elements corresponding to the main object include the color of the main object; the theme elements corresponding to the decoration include at least one of the shape, color, and pattern of the decoration; the theme elements corresponding to the text include the color of the text.

3. The method according to claim 2, characterized in that The appearance element corresponding to the shell includes at least one of the color, shape, pattern and pattern of the shell.

4. The method according to claim 3, characterized in that: The theme elements in the first interface are associated with the appearance of the electronic device, including: At least one pattern included in the background of the first interface is the same as at least one pattern included in the housing of the electronic device; and / or, The pattern of the background in the first interface is the same as the pattern of the housing of the electronic device; and / or, At least one color included in the background of the first interface is the same as at least one color included in the housing of the electronic device.

5. The method according to claim 3 or 4, characterized in that: The theme elements in the first interface are associated with the appearance of the electronic device, including: At least one color of the main object in the first interface is the same as at least one color of the housing of the electronic device.

6. The method according to any one of claims 3 to 5, characterized in that: The theme elements in the first interface are associated with the appearance of the electronic device, including: The shape of the decoration in the first interface is the same as the shape of the housing of the electronic device; and / or, At least one color of the decoration in the first interface is the same as at least one color of the housing of the electronic device; and / or, The pattern of the decoration in the first interface is the same as the pattern of the shell of the electronic device.

7. The method according to any one of claims 3 to 6, characterized in that: The theme elements in the first interface are associated with the appearance of the electronic device, including: The color of the text in the first interface is the same as at least one color of the housing of the electronic device.

8. The method according to any one of claims 1 to 7, characterized in that: After displaying the first interface, the method further includes: Receive a second operation input by a user; the second operation is used to adjust the theme element in the first interface; In response to the second operation, a second interface is displayed; the second interface is obtained based on the adjustment of the first interface.

9. The method according to claim 8, characterized in that The theme elements in the second interface are associated with the appearance of the electronic device.

10. The method according to claim 8 or 9, characterized in that: The first interface is displayed based on multiple layers superimposed on each other; and the second interface is displayed, including: The theme elements in at least one layer included in the multiple layers are adjusted; wherein, for any layer, the theme elements in the layer after adjustment are associated with the appearance of the electronic device.

11. The method according to any one of claims 1 to 10, characterized in that: Before the first operation of receiving user input, the method further includes: Displaying a setting interface; the setting interface includes at least one item for setting a theme of the electronic device; receiving a user's selection operation on a target item; the target item is used to set the theme of the electronic device to a first theme; the first theme includes at least one theme element; In response to the selection operation, a third interface is displayed; the third interface is obtained based on the adjustment of the theme elements in the setting interface; the theme elements in the third interface include target theme elements; the target theme elements are determined based on at least one theme element included in the first theme, and the target theme element is associated with the appearance of the electronic device.

12. The method according to claim 11, characterized in that The displaying of the third interface includes: Determining an appearance element corresponding to a housing of the electronic device; Determining the target theme element based on at least one theme element included in the first theme and an appearance element corresponding to a shell of the electronic device; At least one theme element in the setting interface is adjusted to the target theme element.

13. The method according to claim 12, characterized in that The determining the target theme element based on at least one theme element included in the first theme and an appearance element corresponding to a shell of the electronic device includes: The target theme element is determined from at least one theme element included in the first theme based on the appearance element corresponding to the shell of the electronic device.

14. The method according to claim 12 or 13, characterized in that The determining the target theme element based on at least one theme element included in the first theme and an appearance element corresponding to a shell of the electronic device includes: Based on the appearance element corresponding to the shell of the electronic device, determining that at least one theme element included in the first theme does not include the target theme element; The target theme element is determined from at least one preset theme element.

15. The method according to any one of claims 1 to 14, characterized in that: The first interface includes any one of a lock screen interface, a desktop, an application interface, a screen saver interface, and a negative one screen interface of the electronic device.

16. An electronic device, characterized in that: include: A memory and one or more processors; the memory is coupled to the processor; wherein the memory stores computer program code, the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the method as described in any one of claims 1-15.

17. A computer-readable storage medium comprising computer instructions, characterized in that: When the computer instructions are executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 15.

18. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 15.