This application relates to the field of electronic devices, and more specifically, to a home screen sharing method and an electronic device.
As a quantity of electronic devices owned by a user increases, when the user uses a same application on a plurality of electronic devices, the user needs to download the application on each electronic device, or the user needs to operate each electronic device to perform personalized setting. Therefore, the user needs to spend a lot of time in managing home screens of different electronic devices, which affects user experience and operation efficiency.
This application provides a home screen sharing method and an electronic device. According to the method, home screens of different electronic devices can be shared, to meet a requirement of a user for centrally managing the home screens of the different electronic devices.
According to a first aspect, a home screen sharing method is provided. The method is applied to a first electronic device, and the method includes: obtaining information about a first application, where the first application is installed on a second electronic device, and the first electronic device is connected to the second electronic device: and displaying a first icon on a home screen of the first electronic device based on the information about the first application, where the icon is used to open the first application installed on the second electronic device.
Specifically, the first electronic device may be connected to the second electronic device through a server, or the first electronic device may be directly connected to the second electronic device.
In this embodiment of this application, a plurality of electronic devices may share an application. After an application is installed on one electronic device, an icon of the application may be displayed on another electronic device. Therefore, a user can use the application on the another electronic device without downloading and installing the application on the another electronic device through AppGallery, to save time of the user.
With reference to the first aspect, in some implementations of the first aspect, the first icon includes a thumbnail of the second electronic device.
Specifically, a thumbnail identifying the second electronic device is displayed in a lower right corner of the first icon.
Alternatively, a display form of the first icon may be highlight display, grayscale display, or shadow display.
With reference to the first aspect, in some implementations of the first aspect, the method further includes: receiving a first operation of tapping the first icon by a user: and in response to the first operation, obtaining interface information of the first application running on the second electronic device, and displaying an interface of the first application on the first electronic device based on the interface information of the first application.
Specifically, after receiving the first operation of tapping the first icon by the user, the first electronic device may be connected to the second electronic device, obtain the interface information of the first application in the second electronic device, and display the interface of the first application in the first electronic device in a projection display manner.
With reference to the first aspect, in some implementations of the first aspect, the method further includes: receiving a first operation of tapping the first icon by a user: installing the first application on the first electronic device in response to the first operation: and running the first application and displaying an interface of the first application on the first electronic device.
Specifically, after the first electronic device receives the first operation of tapping the first icon by the user, the first electronic device may display the interface of the first application after installing the first application.
When the first electronic device installs the first application, the first electronic device may download installation data of the first application through AppGallery, or the second electronic device sends the installation data of the first application to the first electronic device.
It should be noted that, the first electronic device may determine, based on a distance between the first electronic device and the second electronic device, a manner of displaying the interface of the first application. When the distance between the first electronic device and the second electronic device is less than a preset distance, the first electronic device may be connected to the second electronic device, and display the interface of the first application through projection. When the distance between the first electronic device and the second device is greater than the preset distance, the first electronic device may display the interface of the first application after installing the first application.
It should be understood that the user may choose. based on a requirement, whether to display the interface of the first application through projection. When the user presets that the interface of the first application is not displayed through projection, even if the distance between the first electronic device and the second electronic device is less than the preset distance. the interface of the first application is not displayed through projection.
With reference to the first aspect, in some implementations of the first aspect, the home screen includes a first page, the first page includes a first icon of the first application and a second icon of a second application, and the second application is installed on the first electronic device.
With reference to the first aspect, in some implementations of the first aspect, the home screen further includes a first identifier of the second electronic device; and in response to a second operation performed by the user on the first identifier, the home screen displays the first icon of the first application installed on the second electronic device, and does not display the second icon of the second application installed on the first electronic device.
In this embodiment of this application. the first electronic device may quickly classify application icons by using an identifier of the electronic device, and the user may search for an application based on a source of the electronic device.
With reference to the first aspect, in some implementations of the first aspect. the home screen includes a first page and a second page, the first page is used to display a first icon of the first application installed on the second electronic device, and the second page is used to display a second icon of a second application installed on the first electronic device.
In this embodiment of this application, the first electronic device displays icons of applications from different electronic devices on pages, so that the user can quickly search for a local application and an application on another electronic device.
With reference to the first aspect. in some implementations of the first aspect. the method further includes: receiving a third operation performed by the user on the first icon: displaying a first list in response to the third operation, where the first list includes a first option: and installing the first application on the first electronic device in response to a fourth operation performed by the user on the first option.
For example, the third operation may be that the user touches and holds the first icon
With reference to the first aspect, in some implementations of the first aspect, the method further includes: receiving a fifth operation performed by the user on the first icon; displaying a second list in response to the fifth operation. where the second list includes a second option; and skipping displaying the first icon on the first electronic device in response to a sixth operation performed by the user on the second option: or uninstalling the first application installed on the second electronic device.
For example, the fifth operation may be that the user touches and holds the first icon.
With reference to the first aspect. in some implementations of the first aspect, the method further includes: displaying a third icon of a third application on the home screen, where the third application is installed on the first electronic device and the second electronic device; displaying a third list in response to a seventh operation performed by a user on the third icon, where the third list includes a third option and a fourth option, the first option is used to open the third application installed on the first electronic device, and the second option is used to open the third application installed on the second electronic device; if an eighth operation performed by the user on the third option is detected, running the third application and displaying an interface of the third application on the first electronic device; and if a ninth operation performed by the user on the fourth option is detected, obtaining interface information of the third application running on the second electronic device, and displaying the interface of the third application on the first electronic device based on the interface information of the third application.
For example, the seventh operation may be that the user touches and holds the first icon.
With reference to the first aspect, in some implementations of the first aspect, the third list further includes a fifth option, and the fifth option is used to uninstall the third application.
With reference to the first aspect, in some implementations of the first aspect, the uninstalling the third application includes: uninstalling the third application installed on the first electronic device; uninstalling the third application installed on the second electronic device: uninstalling the third application installed on the first electronic device and the third application installed on the second electronic device, and skipping displaying the third icon on the first electronic device: uninstalling the third application installed on the first electronic device, and further displaying the third icon on the first electronic device, where the third icon is used to open the third application installed on the second electronic device; or uninstalling the third application installed on the first electronic device, and skipping displaying the third icon on the first electronic device.
In this embodiment of this application, when the user uninstalls an application, the user does not need to perform an uninstallation operation on different electronic devices one by one, and can uninstall an application on another device on the first electronic device, to save time of the user.
With reference to the first aspect, in some implementations of the first aspect, the method further includes: obtaining information about a fourth application and information about a fifth application, where the fourth application and the fifth application are installed on the second electronic device, and a fourth icon of the fourth application and a fifth icon of the fifth application are displayed in a same folder of the second electronic device; and displaying a folder on the home screen of the first electronic device, where the folder includes a sixth icon of the fourth application and a seventh icon of the fifth application.
In this embodiment of this application, personalized information such as a home screen layout and classification information of an application may be synchronized between electronic devices that form an electronic device group. After the user performs personalized setting on one electronic device, another electronic device may automatically complete the personalized setting. to save time of the user.
With reference to the first aspect, in some implementations of the first aspect, the method further includes: connecting the first electronic device to a display; displaying an interface on the display, where the interface includes an identifier of the first electronic device; and displaying, by the first electronic device, the home screen of the first electronic device on the display if an operation of tapping the identifier by the user is detected.
With reference to the first aspect, in some implementations of the first aspect, the method further includes: displaying, by the first electronic device on the first page based on a home screen layout of the second electronic device, an icon of an application installed on the second electronic device.
With reference to the first aspect, in some implementations of the first aspect, the method further includes: displaying, by the first electronic device, an exit interface if an operation performed by the user to indicate to disconnect from the second electronic device is detected, where the exit interface includes a sixth option and/or a seventh option and/or an eighth option, the sixth option is used to log out of an account of the first application, the seventh option is used to uninstall data stored by the second electronic device in the first electronic device, and the eighth option is used to uninstall the first application.
In this embodiment of this application, when logging out of the electronic device group, the user may choose to log out of the account of the first application, delete data of the electronic device group, uninstall the first application, and does not need to perform an operation on different electronic devices one by one, to save time of the user and uninstall information more completely.
According to a second aspect, an embodiment of this application provides an electronic device. The electronic device includes modules/units that perform the method according to any one of the first aspect or the possible designs of the first aspect. These modules/units may be implemented by hardware, or may be implemented by hardware executing corresponding software.
According to a third aspect, an embodiment of this application provides a chip. The chip is coupled to a memory in an electronic device, and is configured to: invoke a computer program stored in the memory and execute the technical solution according to any one of the first aspect or the possible designs of the first aspect in embodiments of this application. In this embodiment of this application, “coupling” means that two components are directly or indirectly combined with each other.
According to a fourth aspect, an embodiment of this application provides a computer-readable storage medium. The computer-readable storage medium includes a computer program, and when the computer program is run on an electronic device, the electronic device is enabled to perform the technical solution according to any one of the first aspect or the possible designs of the first aspect.
According to a fifth aspect, an embodiment of this application provides a computer program. The computer program includes instructions, and when the instructions are run on a computer, the computer is enabled to perform the technical solution according to any one of the first aspect or the possible designs of the first aspect.
According to a sixth aspect, an embodiment of this application provides a graphical user interface on an electronic device. The electronic device includes a display, one or more memories, and one or more processors. The one or more processors are configured to execute one or more computer programs stored in the one or more memories. The graphical user interface includes a graphical user interface displayed when the electronic device performs the technical solution according to any one of the first aspect or the possible designs of the first aspect.
For beneficial effects of the second aspect to the sixth aspect, refer to the beneficial effects of the first aspect. Details are not described again.
Terms used in the following embodiments are merely intended to describe specific embodiments, but are not intended to limit this application. As used in this specification and appended claims of the application, singular expressions “one”, “a”, “the”, “the foregoing”, “this”, and “the one” are also intended to include expressions such as “one or more”. unless the contrary is clearly indicated in the context. It should be further understood that in the following embodiments of this application, “at least one” and “one or more” mean one, two, or more. The term “and/or” is used to describe an association relationship between associated objects and represents that three relationships may exist. For example, A and/or B may represent the following cases: Only A exists. both A and B exist, and only B exists, where A and B each may be singular or plural. The character “/” usually indicates an “or” relationship between the associated objects.
Reference to “an embodiment”, “some embodiments”, or the like described in this specification indicates that one or more embodiments of this application include a specific feature, structure, or characteristic described with reference to the embodiments. Therefore, statements “in an embodiment”. “in some embodiments”, “in some other embodiments”, and the like appeared in different places in this specification do not necessarily refer to a same embodiment, but mean “one or more but not all embodiments” unless otherwise specifically emphasized in another manner. The terms “include”, “have”, and their variants all mean “include but are not limited to”, unless otherwise specifically emphasized in another manner.
The following describes an electronic device, a user interface used for the electronic device, and embodiments used for using the electronic device. In some embodiments, the electronic device may be a portable electronic device that further includes other functions such as a personal digital assistant function and/or a music player function, for example, a mobile phone, a tablet computer, or a wearable electronic device (for example, a smartwatch) having a wireless communication function. An example embodiment of a portable electronic device includes but is not limited to a portable electronic device using iOSR®. Android®, Microsoft®, or another operating system. The portable electronic device may alternatively be another portable electronic device, such as a laptop (Laptop) computer. It should be further understood that, in some other embodiments, the foregoing electronic device may not be the portable electronic device but a desktop computer.
For example,
It may be understood that the structure shown in this embodiment of this application does not constitute a specific limitation on the electronic device 100. In some other embodiments of this application, the electronic device 100 may include more or fewer components than those shown in the figure, or combine some components, or split some components, or have different component arrangements. The components shown in the figure may be implemented by hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units. For example. the processor 110 may include an application processor (application processor, AP), a modem processor. a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural-network processing unit (neural-network, processing unit, NPU). Different processing units may be independent components, or may be integrated into one or more processors. In some embodiments, the electronic device 101 may alternatively include one or more processors 110. The controller may generate an operation control signal based on instruction operation code and a time sequence signal, to complete control of instruction reading and instruction execution. In some other embodiments, a memory may be further disposed in the processor 110, to store instructions and data. For example, the memory in the processor 110 may be a cache. The memory may store instructions or data that is just used or is cyclically used by the processor 110. If the processor 110 needs to use the instructions or the data again, the processor may directly invoke the instructions or the data from the memory. This avoids repeated access and reduces waiting time of the processor 110, thereby improving data processing or instruction execution efficiency of the electronic device 101.
In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (inter-integrated circuit, I2C) interface, an inter-integrated circuit sound (inter-integrated circuit sound, I2C) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver/transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (general-purpose input/output, GPIO) interface, a SIM card interface, a USB port, and/or the like. The USB port 130 is a port that conforms to a USB standard specification, and may be specifically a mini USB port, a micro USB port, a USB Type-C port, or the like. The USB port 130 may be configured to connect to a charger to charge the electronic device 101, or may be configured to transmit data between the electronic device 101 and a peripheral device. The USB port 130 may alternatively be configured to connect to a headset to play audio through the headset.
It may be understood that an interface connection relationship between the modules illustrated in this embodiment of this application is merely an example for description, and constitutes no limitation on the structure of the electronic device 100. In some other embodiments of this application, the electronic device 100 may alternatively use an interface connection manner different from that in the foregoing embodiment, or use a combination of a plurality of interface connection manners.
The charging management module 140 is configured to receive a charging input from the charger. The charger may be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 may receive a charging input of a wired charger through the USB port 130. In some embodiments of wireless charging, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 supplies power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is configured to connect to the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives an input of the battery 142 and/or the charging management module 140, to supply power to the processor 110, the internal memory 121. an external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may be further configured to monitor a parameter such as a battery capacity, a battery cycle count, or a battery health status (electric leakage or impedance). In some other embodiments, the power management module 141 may alternatively be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 may alternatively be disposed in a same device.
A wireless communication function of the electronic device 100 may be implemented by using the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antenna 1 and the antenna 2 are configured to: transmit and receive an electromagnetic wave signal. Each antenna in the electronic device 100 may be configured to cover one or more communication frequency bands. Different antennas may be further multiplexed, to improve antenna utilization. For example, the antenna 1 may be multiplexed as a diversity antenna in a wireless local area network. In some other embodiments, the antenna may be used in combination with a tuning switch.
The mobile communication module 150) may provide a wireless communication solution that is applied to the electronic device 100 and that includes 2G/3G/4G/5G or the like. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (low noise amplifier, LNA), and the like. The mobile communication module 150 may receive an electromagnetic wave through the antenna 1, perform processing such as filtering or amplification on the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may further amplify a signal modulated by the modem processor, and convert the signal into an electromagnetic wave for radiation through the antenna 1. In some embodiments, at least some functional modules in the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some functional modules in the mobile communication module 150 may be disposed in a same device as at least some modules of the processor 110.
The wireless communication module 160 may provide a wireless communication solution that is applied to the electronic device 100 and that includes a wireless local area network (wireless local area network, WLAN) (for example, a wireless fidelity (wireless fidelity, Wi-Fi) network), Bluetooth (Bluetooth, BT), a global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), a near field communication (near field communication, NFC) technology, an infrared (infrared, IR) technology, and the like. The wireless communication module 160 may be one or more components integrating at least one communication processor module. The wireless communication module 160 receives an electromagnetic wave through the antenna 2, performs frequency modulation and filtering processing on an electromagnetic wave signal, and sends a processed signal to the processor 110. The wireless communication module 160 may further receive a to-be-sent signal from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into an electromagnetic wave for radiation through the antenna 2.
The electronic device 100 may implement a display function through the GPU, the display 194, the application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is configured to: perform mathematical and geometric computation, and render an image. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display 194 is configured to display an image, a video, and the like. The display 194 includes a display panel. The display panel may be a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (organic light-emitting diode, OLED), an active-matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), a flexible light-emitting diode (flexible light-emitting diode, FLED), a mini LED, a micro LED, a micro OLED, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include one or more displays 194.
In some embodiments of this application, when the display panel is made of a material such as an OLED. an AMOLED, or an FLED, the display 194 in
The display 194 of the electronic device 100 may be a flexible display. Currently. the flexible display attracts much attention because of unique features and huge potential of the flexible display. Compared with a conventional display, the flexible display has features of strong flexibility and bendability, and can provide the user with a new bendability-based interaction mode, to meet more requirements of the user for the electronic device. For an electronic device provided with a collapsible display, the collapsible display on the electronic device can switch between a small screen in a folded form and a large screen in an unfolded form at any time. Therefore, the user uses a split-screen function more frequently on the electronic device provided with the foldable display.
The electronic device 100 can implement a photographing function by using the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is configured to process data fed back by the camera 193. For example. during photographing, a shutter is pressed, and light is transmitted to a photosensitive element of the camera through a lens. An optical signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, to convert the electrical signal into a visible image. The ISP may further perform algorithm optimization on noise, brightness, and complexion of the image. The ISP may further optimize parameters such as exposure and a color temperature of a photographing scenario. In some embodiments, the ISP may be disposed in the camera 193.
The camera 193 is configured to capture a static image or a video. An optical image of an object is generated through the lens, and is projected onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (complementary metal-oxide-semiconductor, CMOS) phototransistor. The photosensitive element converts an optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert the electrical signal into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard format such as RGB or YUV. In some embodiments, the electronic device 100 may include one or more cameras 193.
The digital signal processor is configured to process a digital signal, and may process another digital signal in addition to the digital image signal. For example, when the electronic device 100 selects a frequency, the digital signal processor is configured to perform Fourier transform on frequency energy.
The video codec is configured to: compress or decompress a digital video. The electronic device 100 may support one or more video codecs. Therefore, the electronic device 100 may play or record videos in a plurality of coding formats. for example. moving picture experts group (moving picture experts group, MPEG)-1, MPEG-2, MPEG-3, MPEG-4, and the like.
The NPU is a neural-network (neural-network, NN) computing processor. The NPU quickly processes input information based on a structure of a biological neural network. for example, based on a transfer mode between human brain neurons; and may further continuously perform self-learning. The NPU may be used to implement applications such as intelligent cognition of the electronic device 100, for example, image recognition, facial recognition, voice recognition, and text understanding.
The external memory interface 120 may be used to connect to an external storage card. for example, a micro SD card, to extend a storage capability of the electronic device 100. The external storage card communicates with the processor 110 through the external memory interface 120, to implement a data storage function. For example, files such as music and videos are stored in the external storage card.
The internal memory 121 may be configured to store one or more computer programs, and the one or more computer programs include instructions. The processor 110 may run the instructions stored in the internal memory 121, so that the electronic device 101 performs the method provided in some embodiments of this application, various applications, data processing, and the like. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system. The program storage area may further store one or more applications (for example, Gallery and Contacts), and the like. The data storage area may store data (for example, a photo and a contact) created during use of the electronic device 101, and the like. In addition, the internal memory 121 may include a high-speed random access memory, or may include a nonvolatile memory, for example, one or more magnetic disk storage devices, a flash memory device, or a universal flash storage (universal flash storage, UFS). In some embodiments, the processor 110 may run the instructions stored in the internal memory 121 and/or the instructions stored in the memory disposed in the processor 110, so that the electronic device 101 performs the method provided in embodiments of this application, another application, and data processing. The electronic device 100 may implement an audio function, for example, music playing or recording, by using the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headset jack 170D, the application processor, and the like.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, an optical proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is configured to sense a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display 194. There are a plurality of types of pressure sensors 180A, such as a resistive pressure sensor, an inductive pressure sensor, and a capacitive pressure sensor. The capacitive pressure sensor may include at least two parallel plates made of conductive materials. When a force is applied to the pressure sensor 180A, capacitance between electrodes changes. The electronic device 100 determines pressure intensity based on the change in the capacitance. When a touch operation is performed on the display 194, the electronic device 100 detects intensity of the touch operation through the pressure sensor 180A. The electronic device 100 may also calculate a touch location based on a detection signal of the pressure sensor 180A. In some embodiments, touch operations that are performed on a same touch location but have different touch operation intensity may correspond to different operation instructions. For example, when a touch operation whose touch operation intensity is less than a first pressure threshold is performed on a Messages application icon, an instruction for viewing an SMS message is performed. When a touch operation whose touch operation intensity is greater than or equal to the first pressure threshold is performed on the Messages application icon, an instruction for creating a new SMS message is performed.
The gyro sensor 180B may be configured to determine a moving posture of the electronic device 100. In some embodiments. an angular velocity of the electronic device 100 around three axes (that is, axes X, Y, and Z) may be determined by using the gyro sensor 180B. The gyro sensor 180B may be configured to implement image stabilization during photographing. For example, when the shutter is pressed, the gyro sensor 180B detects an angle at which the electronic device 100 jitters, calculates, based on the angle, a distance for which a lens module needs to compensate, and allows the lens to cancel the jitter of the electronic device 100 through reverse motion, to implement image stabilization. The gyro sensor 180B may also be used in a navigation scenario and a somatic game scenario.
The acceleration sensor 180E may detect accelerations in various directions (usually on three axes) of the electronic device 100. When the electronic device 100 is still, a magnitude and a direction of gravity may be detected. The acceleration sensor 180E may be further configured to identify a posture of the electronic device, and is used in an application such as switching between a landscape mode and a portrait mode or a pedometer.
The ambient light sensor 180L is configured to sense ambient light brightness. The electronic device 100 may adaptively adjust brightness of the display 194 based on the sensed ambient light brightness. The ambient light sensor 180L may also be configured to automatically adjust white balance during photographing. The ambient light sensor 180L may also cooperate with the optical proximity sensor 180G to detect whether the electronic device 100 is in a pocket, to avoid an accidental touch.
The fingerprint sensor 180H is configured to collect a fingerprint. The electronic device 100 may use a feature of the collected fingerprint to implement fingerprint-based unlocking. application lock access, fingerprint-based photographing, fingerprint-based call answering. and the like.
The temperature sensor 180J is configured to detect a temperature. In some embodiments, the electronic device 100 executes a temperature processing policy through the temperature detected by the temperature sensor 180J. For example. when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 lowers performance of a processor near the temperature sensor 180J, to reduce power consumption for thermal protection. In some other embodiments, when the temperature is less than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from being shut down abnormally due to a low temperature. In some other embodiments, when the temperature is less than still another threshold, the electronic device 100 boosts an output voltage of the battery 142 to avoid abnormal shutdown caused by a low temperature.
The touch sensor 180K is also referred to as a “touch panel”. The touch sensor 180K may be disposed on the display 194, and the touch sensor 180K and the display 194 constitute a touchscreen. The touch sensor 180K is configured to detect a touch operation performed on or near the touch sensor. The touch sensor may transfer the detected touch operation to the application processor to determine a type of the touch event. A visual output related to the touch operation may be provided through the display 194. In some other embodiments, the touch sensor 180K may also be disposed on a surface of the electronic device 100 at a location different from that of the display 194.
As shown in
The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for an application at the application layer, and the application framework layer includes some predefined functions.
As shown in
The window manager is configured to manage a window program. The window manager may obtain a size of a display. and determine whether there is a status bar, a lock screen, a screen capture, or the like.
The content provider is configured to: store and obtain data, and enable the data to be accessed by an application. The data may include a video, an image, audio, calls that are made and received. a browsing history, a bookmark, an address book, and the like.
The view system includes visual controls such as a control for displaying a text and a control for displaying a picture. The view system may be configured to construct an application. A display interface may include one or more views. For example, a display interface including an SMS message notification icon may include a text display view and a picture display view.
The phone manager is configured to provide a communication function for the electronic device 100, for example, management of a call status (including answering. declining. or the like).
The resource manager provides various resources for the application, for example, a localized string, an icon, a picture, a layout file, and a video file.
The notification manager enables the application to display notification information in the status bar, and may be configured to convey a notification-type message. The displayed notification information may automatically disappear after a short pause without requiring user interaction. For example, the notification manager is configured to: notify download completion, give a message notification, and the like. The notification manager may alternatively be a notification that appears in a top status bar of the system in a form of a graph or a scroll bar text, for example, a notification of an application that is run on the background, or may be a notification that appears on the screen in a form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is produced, the electronic device vibrates, or an indicator blinks.
The system library may include a plurality of functional modules, for example, a surface manager (surface manager), a media library (media library), a three-dimensional graphics processing library (for example, OpenGL ES), and a 2D graphics engine (for example, SGL).
The surface manager is configured to: manage a display subsystem and provide fusion of 2D and 3D layers for a plurality of applications.
The media library supports playback and recording of a plurality of commonly used audio and video formats, a static image file, and the like. The media library may support a plurality of audio and video coding formats, for example, MPEG-4, H.264, MP3, AAC, AMR, JPG, and PNG.
The three-dimensional graphics processing library is configured to implement three-dimensional graphics drawing, image rendering, composition, layer processing, and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
Before embodiments of this application are described, several concepts related to embodiments of this application are first described.
Electronic device group: A plurality of electronic devices are associated with each other, and may form the electronic device group. For example, as shown in
Feature ability (Feature Ability, FA): A function that can be executed is referred to as an FA. “Huawei Music” is used as an example. “Huawei Music” includes functions that can be executed, such as music playing and downloading, and each function may be referred to as an FA.
Currently, a user has increasingly more types of electronic devices, and the user needs to spend a lot of time in managing applications and home screens of different electronic devices. For example. when using a same application on a plurality of electronic devices, the user needs to download the application on each electronic device. Specifically, for example, after the user logs in to a Huawei account A on a mobile phone to purchase and install an application B in AppGallery. if the user needs to use the application B on a tablet computer, the user needs to log in to the account A on the tablet computer again to download and install the application B. For another example, the user needs to operate each electronic device to perform personalized setting. Specifically, after the user moves icons of an application A and an application B to a same folder on a mobile phone, if the user needs to display the icons of the application A and the application B in the same folder on a tablet computer, the user further needs to move the icons of the application A and the application B to the same folder on the tablet computer. Based on this, an embodiment of this application provides a home screen sharing method.
As shown in
The interface 510 is configured to display application icons (for example, a Clock application icon, a Calendar application icon, a Gallery application icon, and a Music application icon 511) of one or more applications installed on the first electronic device. For ease of description. the “application installed on the first electronic device” is also referred to as a “local application” below:
The interface 512 is configured to display application icons of one or more applications installed on another electronic device. For example, if a user installs an application Music on a second electronic device (for example, a tablet computer), the home screen (for example. the interface 512) of the first electronic device (for example, the mobile phone) displays an icon (for example, an icon 514) used to open a Music application of a tablet computer version. It should be noted that, the one or more applications may be applications that are not installed on the first electronic device and that are installed only on another electronic device, or may be applications that are installed on both the first electronic device and another device. For ease of description, the “application installed on the device other than the first electronic device” is also referred to as a “shared application” below:
For example, the application Music is installed on both the mobile phone and the tablet computer. In this case, as shown in
Optionally, the first electronic device may display an icon of the local application and an icon of the shared application in a differentiation manner. For example, the first electronic device may display the icon of the shared application through highlight display, grayscale display, or shadow display. For another example, a thumbnail may be displayed in a lower right corner of the icon to identify an electronic device from which an application comes. For example, as shown in
It should be understood that descriptions are provided in the foregoing embodiment by using an example in which the icon of the shared application is displayed in a last interface of the home screen. However, this is not limited in this embodiment of this application. The electronic device may use any one or more interfaces of the home screen to display the icon of the shared application.
In this embodiment of this application. a plurality of electronic devices may share an application. After an application A is installed on one electronic device, an icon of the application A may be displayed on another electronic device. Therefore, the user can use the application A on the another electronic device without downloading and installing the application A on the another electronic device through AppGallery, to save time of the user.
Optionally, to facilitate a user operation and effectively use home screen space. a plurality of application icons used to open a same application may be displayed in an integrated manner. For example, if a total of three versions, that is, a tablet computer version, a mobile phone version, and a computer version, of music applications are respectively installed on a tablet computer, a mobile phone, and a computer, icons used to open music applications of different versions may be displayed in an integrated manner. As shown in
Optionally, when a plurality of application icons of a same application are displayed in an integrated manner. a version of a to-be-opened application may be determined based on user selection. As shown in
Optionally, the version of the to-be-opened application may also be determined based on a use habit of the user. For example, the version of the to-be-opened application may be determined based on a use frequency of each version. If a frequency of using the Music application of the mobile phone version by the user on the mobile phone is higher than a frequency of using the Music application of the computer version. the mobile phone opens the Music application of the mobile phone version in response to detecting that the user taps the Music application icon 610. For another example, the version of the to-be-opened application may be determined based on a use time of each version. If the user last uses the Music application on the tablet computer, the mobile phone opens the Music application of the tablet computer version in response to detecting that the user taps the Music application icon 610. For another example, the version of the to-be-opened application may also be determined based on a version of an application last used by the user on the mobile phone. As shown in
Optionally, the version of the to-be-opened application may also be determined according to a preset rule. Assuming that the preset rule is that a priority of the Music application of the tablet computer version is higher than a priority of the Music application of the computer version and a priority of the Music application of the mobile phone version, the mobile phone opens the Music application of the mobile phone version in response to detecting that the user taps the Music application icon 610. The foregoing priority may be preset by a user or a system. This is not limited in this application.
An interface of the shared application is displayed on the first electronic device in various methods. For example, the first electronic device may establish a connection to the second electronic device, receive interface information of the shared application that is sent by the second electronic device, and display the interface of the shared application based on the received interface information. For ease of description, this is referred to as “projection” below:
Optionally, when a distance between the first electronic device and the second electronic device is less than a first threshold, the first electronic device displays the interface of the shared application through projection. For example, the mobile phone is connected to the tablet computer, and the mobile phone receives interface information of the Music application that is sent by the tablet compute, and displays an interface 618 of the Music application on the mobile phone based on the interface information of the Music application. Optionally, when displaying the interface of the shared application through projection, the first electronic device may display a source of the application. For example, as shown in
It should be understood that the user may choose, based on a requirement, whether to display the interface of the shared application through projection. When, the user presets that the interface of the shared application is not displayed through projection, even if the distance between the electronic devices is less than the first threshold, the shared application is not displayed through projection.
It should be noted that, optionally, when the shared application is opened. information about a same application may be synchronized between the electronic devices.
For example, the information about the same application may be an application account and/or application data. For example, an electronic device group includes a tablet computer and a mobile phone. A Music application is installed on the tablet computer and an account is logged in to. When the user opens the application on the mobile phone (which may be opened through projection, or may be opened after installation), the user may automatically log in to the account, and may further synchronize an interface of the Music application on the tablet computer.
It can be learned from the descriptions in this embodiment of this application that when the shared application is opened, a plurality of different opening manners may be used based on the distance between the electronic devices, use behavior of the user, and the like. The information about the same application may be further synchronized between the electronic devices.
To help the user search for a shared application based on a device source,
As shown in
It may be understood that in this case, the first electronic device may not display a thumbnail identifying an electronic device from which an application comes. As shown in
It should be understood that descriptions are provided in the foregoing embodiment by using an example in which the shared application and the local application are separately displayed on different pages of the home screen. However, this is not limited in this embodiment of this application. The first electronic device may display icons of the shared application and the local application in a same interface of the home screen. As shown in
Optionally, the first electronic device may be connected to a display. As shown in
As shown in
For example, if the home screen of the mobile phone includes a plurality of pages (for example, a first page and a second page), an interface 914 and an interface 915 may be displayed on the display in response to the first operation of the user. The interface 914 includes icons displayed on the first page of the home screen of the mobile phone. The interface 914 may be configured to display content included in the interface 911, for example, the time information 916.
Optionally, a display area of the home screen of the mobile phone may be added based on a user operation. As shown in
Optionally, content displayed on the display may be determined based on a historical connection status. For example, if it is detected that the mobile phone is connected to the display for the first time, a first connection interface, for example, the interface 911, is displayed. If it is detected that the mobile phone is connected to the display for a non-first time, an interface different from the interface obtained during the first connection is displayed. As shown in
For example, the interface 1010 may display an icon of an application most frequently used by the user and/or an icon of an application last used by the user. Optionally, the icon of the application that is most frequently used and the icon of the application recently used by the user may be displayed in different areas. For example, the first electronic device displays a Camera application icon, a Contacts application icon, a Phone application icon, and a Messages application icon in a lower display area of the interface 1010, and displays a Clock application icon, a Calendar application icon, a Gallery application icon, and the like in an upper display area of the interface 1010.
It should be understood that, the icons of the applications displayed in each of the interface 914 and the interface 1010 may be icons of applications installed on the mobile phone. and may also be icons of applications installed on another device connected to the mobile phone.
In the embodiments shown in
Optionally, the first electronic device may be further connected to an external device. If a function of the first electronic device is similar to a function of another electronic device after the first electronic device is connected to the external device, the first electronic device may preferentially use an application of a version of the another electronic device. For example, as shown in
As described in this embodiment of this application, when a function of the first electronic device is similar to a function of another electronic device after the first electronic device is connected to an external device, an application of a version of the another electronic device may be preferentially displayed on the first electronic device, to increase a degree of matching between the electronic devices and improve user experience.
Optionally, the first electronic device may display, based on a home screen layout of the second electronic device, an icon of a shared application installed on the second electronic device. For example, as shown in
In this embodiment of this application, the first electronic device displays, based on the home screen layout of the second electronic device, the icons of the shared applications installed on the second electronic device. When the display of the first electronic device is large and the display of the second electronic device is small, the first electronic device may also display the icons of the shared applications in the different areas of the same interface, so that the user can search for an application.
Optionally, classification information of an application may be synchronized between electronic devices that form an electronic device group, and application icons are displayed through classification based on the classification information.
For example, the electronic device group includes a mobile phone, a tablet computer, and a smartwatch. As shown in
Similarly, settings of a Dock bar may be synchronized between electronic devices that form an electronic device group.
It is assumed that the electronic device group includes a mobile phone, a tablet computer, a smartwatch, a television, and a notebook computer. The mobile phone displays an interface 1310 including a Dock bar 1311, and the Dock bar 1311 includes a Health application icon 1312, a Contacts application icon 1313, a Notepad application icon 1314, a Messages application icon 1315, and the like. In this case, settings of the Dock bar of the mobile phone may be synchronized between the tablet computer, the smartwatch, the television, and the notebook computer. Specifically, after the settings of the Dock bar are synchronized, the application icons are also displayed on a Dock bar 1316 of the tablet computer, a Dock bar 1318 of the computer, and a Dock bar 1319 of the television. Optionally, if the second electronic device does not include the Dock bar, the second electronic device may use an area on a home screen to display the application icons on the Dock bar, where the area may be obtained by the second electronic device through division according to a preset rule, or may be specified by the user. For example, as shown in
In this embodiment of this application, personalized information such as a home screen layout, classification information of an application, settings of a Dock bar may be synchronized between the electronic devices that form the electronic device group. After the user performs personalized setting on one electronic device, another electronic device may automatically complete the personalized setting, to save time of the user. Further, each device may further perform adaptation based on a feature of the devic, to provide a more suitable home screen for the user.
As shown in
As described above, when the user taps an icon of a shared application on the first electronic device, if a distance between the second electronic device on which the shared application is installed and the first electronic device is greater than a first threshold, the application may be installed on the first electronic device in response to an operation of tapping the icon of the shared application by the user. For example, no Music application is installed on the mobile phone, and a Music application is installed on the tablet computer. The mobile phone displays, in the interface 1414, the icon 1415 used to open the Music application of the tablet computer version. When the Music application icon 1415 is tapped on the mobile phone, if a distance between the mobile phone and the tablet computer is greater than the first threshold, the Music application is installed on the mobile phone.
It should be noted that installation data of the shared application may be transmitted through Bluetooth, Wi-Fi, NFC, or the like. The installed application may be a conventional application, or may be a quick application, an FA, or the like.
Installing the shared application based on the FA may be downloading and installing a corresponding FA based on a function of the shared application used by the user. For example, a Music application is installed. When installing the Music application, the electronic device first downloads and installs an FA on a home page. After the FA on the home page is installed, when detecting, on the home page, an operation of selecting a function on the home page by the user, the electronic device downloads and installs, in response to the operation, the FA of the function on the home page that is selected by the user.
It should be understood that the user may select different installation manners based on a requirement, or the electronic device may independently select different installation manners.
As shown in
As shown in
Optionally, the uninstallation operation interface 1514 may further include a control 1517 and/or a control 1518. The control 1517 may be used to uninstall a same shared application installed on another electronic device. For specific content, refer to the following description. The control 1518 may be used to uninstall a shared application icon displayed on the first electronic device. When neither the control 1517 nor the control 1518 is selected, the first electronic device uninstalls an application installed on the first electronic device, and retains an application installed on the another electronic device and the shared application icon displayed on the first electronic device. When the control 1518 is selected, the first electronic device further uninstalls the shared application icon displayed on the first electronic device when uninstalling the application installed on the first electronic device.
As shown in
As shown in
As shown in
As shown in
When no shared application is installed on the first electronic device, the first electronic device may uninstall an icon of the shared application by default. For example, as shown in
Optionally, the uninstallation operation interface may further include a control 1715, and the control 1715 may be used to uninstall a shared application on another electronic device. For related descriptions, refer to the control 1617 in the foregoing embodiment. Details are not described herein again.
It should be noted that the GUIs shown in
As shown in
Optionally, the uninstallation operation interface may further include a control 1817 and a control 1818. The control 1817 is used to uninstall a Music application installed on another device, and the control 1818 is used to uninstall a shared application icon displayed on a local device. For related descriptions, refer to the control 1517 and the control 1518 in the foregoing embodiment. Details are not described herein again.
As shown in
As shown in
Optionally. the uninstallation operation interface may further include a control 1915. and the control 1915 is used to choose whether to uninstall the application installed on another electronic device. The uninstallation operation interface 1914 may further include one or more controls that respectively correspond to the applications installed on different electronic devices. for example. a control 1916, a control 1917, and a control 1918. The control 1916 corresponds to the application installed on the mobile phone, the control 1917 corresponds to the application installed on the tablet computer, and the control 1918 corresponds to the application installed on the television. It should be noted that the first electronic device may display the controls 1916 to 1918 in response to detecting that the user selects the control 1915, or may display the control 1915 and the controls 1916 to 1918 when displaying the interface 1914.
It may be understood that, as shown in
Optionally, when an application installed on another electronic device is chosen to be uninstalled on the first electronic device, user identity verification may be performed. After the user identity verification succeeds, the application installed on the another electronic device is uninstalled. For example, the user identity verification may be password verification and/or biometric information verification (for example, fingerprint verification or palmprint verification).
According to the application uninstallation method in
The following uses
As shown in
Optionally, the interface 2010 may further include a control 2011, so that the user chooses whether to no longer share an application account. The shared application account may be understood as a same application account used when the electronic device group logs in to a same application. For example, an account 111 is an account of a Huawei Video application, the electronic device group includes a mobile phone and a tablet computer, and both the mobile phone and the tablet computer use the account 111 when logging in to the Huawei Video application. After the user chooses to log out of the shared application account, the mobile phone and the tablet computer no longer share the account 111, and the user may use an application account different from that of the tablet computer when logging in to Huawei Video on the mobile phone.
As shown in
Optionally, the interface 2010 may further include a control 2012, so that the user chooses whether to delete data of the electronic device group. As shown in
Optionally, the interface 2010 may further include a control 2013, so that the user chooses whether to uninstall a shared application icon. As shown in
In this embodiment of this application, when logging out of the electronic device group, the user may choose to log out of the shared application icon, delete data of the electronic device group, uninstall the shared application icon, and does not need to perform an operation on different electronic devices one by one, to save time of the user and uninstall information more completely.
With reference to the foregoing embodiments and related accompanying drawings, an embodiment of this application provides a home screen sharing method. The method may be implemented by an electronic device (for example, a mobile phone or a tablet computer) that includes a touchscreen and that is shown in
S2101: Obtain information about a first application, where the first application is installed on a second electronic device, and a first electronic device is connected to the second electronic device.
S2102: Display a first icon on a home screen of the first electronic device based on the information about the first application, where the icon is used to open the first application installed on the second electronic device.
In a possible implementation, the first icon includes a thumbnail of the second electronic device.
Specifically, a thumbnail identifying the second electronic device is displayed in a lower right corner of the first icon.
Alternatively, a display form of the first icon may be highlight display, grayscale display, or shadow display.
In a possible implementation, the method further includes: receiving a first operation of tapping the first icon by a user; and in response to the first operation, obtaining interface information of the first application running on the second electronic device, and displaying an interface of the first application on the first electronic device based on the interface information of the first application.
Specifically, after receiving the first operation of tapping the first icon by the user, the first electronic device may be connected to the second electronic device, obtain the interface information of the first application in the second electronic device, and display the interface of the first application in the first electronic device in a projection display manner.
Optionally, when displaying the interface of the first application, the first electronic device may display device information of the first application. For example, as shown in
In another possible implementation, the method further includes: receiving a first operation of tapping the first icon by a user; installing the first application on the first electronic device in response to the first operation; and running the first application and displaying an interface of the first application on the first electronic device.
Specifically, after the first electronic device receives the first operation of tapping the first icon by the user, the first electronic device may display the interface of the first application after installing the first application.
When the first electronic device installs the first application, the first electronic device may download installation data of the first application through AppGallery, or the second electronic device sends the installation data of the first application to the first electronic device.
Specifically, the first electronic device may obtain installation data of the first application, or may download and install the first application based on an FA.
It should be noted that, the first electronic device may determine, based on a distance between the first electronic device and the second electronic device, a manner of displaying the interface of the first application. When the distance between the first electronic device and the second electronic device is less than a preset distance, the first electronic device may be connected to the second electronic device, and display the interface of the first application through projection. When the distance between the first electronic device and the second device is greater than the preset distance, the first electronic device may display the interface of the first application after installing the first application.
It should be understood that the user may choose, based on a requirement, whether to display the interface of the first application through projection. When the user presets that the interface of the first application is not displayed through projection, even if the distance between the first electronic device and the second electronic device is less than the preset distance, the interface of the first application is not displayed through projection.
In a possible implementation, the home screen includes a first page, the first page includes a first icon of the first application and a second icon of a second application, and the second application is installed on the first electronic device.
For example, as shown in
In a possible implementation, the home screen further includes a first identifier of the second electronic device; and in response to a second operation performed by the user on the first identifier, the home screen displays the first icon of the first application installed on the second electronic device, and does not display the second icon of the second application installed on the first electronic device.
In a possible implementation, the home screen includes a first page and a second page, the first page is used to display a first icon of the first application installed on the second electronic device, and the second page is used to display a second icon of a second application installed on the first electronic device.
For example, as shown in
In a possible implementation, the method further includes: receiving a third operation performed by the user on the first icon; displaying a first list in response to the third operation, where the first list includes a first option; and installing the first application on the first electronic device in response to a fourth operation performed by the user on the first option.
For example, the third operation may be that the user touches and holds the first icon.
In a possible implementation, the method further includes: receiving a fifth operation performed by the user on the first icon; displaying a second list in response to the fifth operation. where the second list includes a second option; and skipping displaying the first icon on the first electronic device in response to a sixth operation performed by the user on the second option; or uninstalling the first application installed on the second electronic device.
In a possible implementation, the method further includes: displaying a third icon of a third application on the home screen, where the third application is installed on the first electronic device and the second electronic device: displaying a third list in response to a seventh operation performed by a user on the third icon, where the third list includes a third option and a fourth option, the first option is used to open the third application installed on the first electronic device, and the second option is used to open the third application installed on the second electronic device; if an eighth operation performed by the user on the third option is detected, running the third application and displaying an interface of the third application on the first electronic device: and if a ninth operation performed by the user on the fourth option is detected, obtaining interface information of the third application running on the second electronic device, and displaying the interface of the third application on the first electronic device based on the interface information of the third application.
For example, the sixth operation may be that the user touches and holds the first icon.
In a possible implementation, the third list further includes a fifth option, and the fifth option is used to uninstall the third application.
In a possible implementation, the uninstalling the third application includes: uninstalling the third application installed on the first electronic device; uninstalling the third application installed on the second electronic device; uninstalling the third application installed on the first electronic device and the third application installed on the second electronic device, and skipping displaying the third icon on the first electronic device, uninstalling the third application installed on the first electronic device, and further displaying the third icon on the first electronic device, where the third icon is used to open the third application installed on the second electronic device; or uninstalling the third application installed on the first electronic device, and skipping displaying the third icon on the first electronic device.
For example, as shown in
In a possible implementation, the method further includes: obtaining information about a fourth application and information about a fifth application, where the fourth application and the fifth application are installed on the second electronic device, and a fourth icon of the fourth application and a fifth icon of the fifth application are displayed in a same folder of the second electronic device; and displaying a folder on the home screen of the first electronic device, where the folder includes a sixth icon of the fourth application and a seventh icon of the fifth application.
For example, as shown in
In a possible implementation, the method further includes: connecting the first electronic device to a display; displaying an interface on the display, where the interface includes an identifier of the first electronic device; and displaying, by the first electronic device, the home screen of the first electronic device on the display if an operation of tapping the identifier by the user is detected.
In a possible implementation, the method further includes: displaying, by the first electronic device on the first page based on a home screen layout of the second electronic device, an icon of an application installed on the second electronic device.
In a possible implementation, the method further includes: displaying, by the first electronic device, an exit interface if an operation performed by the user to indicate to disconnect from the second electronic device is detected, where the exit interface includes a sixth option and/or a seventh option and/or an eighth option, the sixth option is used to log out of an account of the first application, the seventh option is used to uninstall data stored by the second electronic device in the first electronic device, and the eighth option is used to uninstall the first application.
In this embodiment of this application, a plurality of electronic devices may share an application and personalized setting. After an application is installed and personalized setting is performed on one electronic device, an icon of the application may be displayed on another electronic device, and the another electronic device may synchronize the personalized setting. Therefore, the user can use the application on the another electronic device without downloading and installing the application on the another electronic device through AppGallery, to save time of the user.
The foregoing embodiments may be used separately, or may be used in combination to implement different technical effects.
In the foregoing embodiments provided in this application, the method provided in embodiments of this application is described from a perspective of an electronic device serving as an execution body. To implement the functions in the method provided in the foregoing embodiments of this application, the electronic device may include a hardware structure and/or a software module, to implement the functions in a form of the hardware structure, the software module, or a combination of the hardware structure and the software module. Whether a function in the foregoing functions is performed by using the hardware structure, the software module, or the combination of the hardware structure and the software module depends on particular applications and design constraints of the technical solutions.
An embodiment of this application further provides an electronic device. including a display, a processor, a memory, one or more sensors, a power button, an application, and a computer program. The foregoing components may be connected through one or more communication buses. The one or more computer programs are stored in the memory and are configured to be executed by the one or more processors. The one or more computer programs include instructions, and the instructions may be used to enable the electronic device to perform the steps of the interface display method in the foregoing embodiments.
For example, the processor may be specifically the processor 110 shown in
In addition, an embodiment of this application further provides a graphical user interface (graphical user interface, GUI) on an electronic device. The graphical user interface specifically includes a graphical user interface displayed when the electronic device performs the foregoing method embodiments.
As used in embodiments, depending on the context, the term “when” or “after” can be interpreted as “if . . . ”, “after . . . ”, “in response to determining that . . . ”, or “in response to detecting that . . . ”. Similarly, depending on the context, the phrase “when it is determined that . . . ”, or “if it is detected that . . . , (a stated condition or event)” can be interpreted as “if it is determined that . . . ”, “in response to determining that . . . ”, “when it is detected that . . . (the stated condition or event)”, or “in response to detecting that . . . (the stated condition or event)”.
All or some of the foregoing embodiments may be implemented by using software, hardware, firmware, or any combination thereof. When the software is used to implement embodiments, all or some embodiments may be implemented in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedure or functions according to embodiments of the present invention are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable apparatuses. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or a wireless manner (for example, infrared, radio, or microwave). The computer-readable storage medium may be any usable medium that can be accessed by a computer, or a data storage device, for example, a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), a semiconductor medium (for example, a solid-state drive (Solid-State Drive, SSD)), or the like. In a case in which no conflict occurs, the solutions in the foregoing embodiments may be combined for use.
Number | Date | Country | Kind |
---|---|---|---|
202110597533.2 | May 2021 | CN | national |
This application is a national stage of International Application No. PCT/CN2022/092139 filed on May 11, 2022, which claims priority to Chinese patent application No. 202110597533.2 filed on May 31, 2021. Both of the aforementioned applications are hereby incorporated by reference in their entireties.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2022/092139 | 5/11/2022 | WO |