A method for sharing the home screen, electronic devices, and computer-readable storage media.

VN10062891BActive Publication Date: 2026-11-11HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
VN1202308833
Authority / Receiving Office
VN · VN
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-05-31
Filing Date
2022-05-11
Publication Date
2026-11-11
Estimated Expiration
2042-05-11

AI Technical Summary

Technical Problem

When users use the same application on multiple electronic devices, they need to download and personalize the settings separately, which consumes a lot of management time and affects user experience and operational efficiency.

Method used

Provides a method for sharing a desktop by obtaining application information on a second electronic device, displaying an icon on the first electronic device, and supporting the icon to be connected to the second electronic device after being clicked, to display on the screen or install an application. Application sharing and personalized synchronization between multiple electronic devices.

Benefits of technology

Users do not need to repeatedly download and set up applications on each electronic device, saving time, achieving unified management of the desktops of different electronic devices, and improving user experience and operating efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure VN1202308833_0
    Figure VN1202308833_0
Patent Text Reader

Abstract

This invention proposes a method for sharing home screens, electronic devices, and computer-readable storage media. The method described above is applied to electronic devices. Electronic devices and other electronic devices can form a group of electronic devices. Electronic devices can synchronize home screen information of other electronic devices within the group. Electronic devices can adjust the home screen based on home screen information to meet user requirements for centralized management of home screens of multiple electronic devices, saving user time and improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Desktop sharing method and electronic device

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 31, 2021, with application number 202110597533.2 and application name “A method and electronic device for sharing a desktop”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of electronic devices, and more particularly, to a desktop sharing method and electronic device. Background Art

[0003] As the number of electronic devices owned by users increases, users need to download the same application on each device separately when using multiple devices. Alternatively, users need to customize the settings for each device individually. This requires users to spend a considerable amount of time managing the desktops of different devices, impacting user experience and operational efficiency.

[0004] Summary of the Invention

[0005] The present application provides a method and electronic device for sharing a desktop. The method can share desktops between different electronic devices, meeting the user's need for unified management of the desktops of different electronic devices.

[0006] In a first aspect, a method for sharing a desktop is provided, which is applied to a first electronic device and includes: obtaining information of 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 the desktop of the first electronic device according to the information of the first application, where the icon is used to open the first application installed on the second electronic device.

[0007] 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.

[0008] In an embodiment of the present application, applications can be shared between multiple electronic devices. After an application is installed on one electronic device, the icon of the application can be displayed on another electronic device. The user does not need to download and install the application through the application store on the other electronic device before using the application on the other electronic device, which saves the user's time.

[0009] In combination with the first aspect, in some implementations of the first aspect, the first icon includes a thumbnail of the second electronic device.

[0010] Specifically, a thumbnail for identifying the second electronic device is displayed in the lower right corner of the first icon.

[0011] Alternatively, the first icon may be displayed in a highlighted manner, a grayscale manner, or a shadow manner.

[0012] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: receiving a first operation of a user clicking the first icon; in response to the first operation, obtaining interface information of the first application running on the second electronic device, and displaying the interface of the first application on the first electronic device according to the interface information of the first application.

[0013] Specifically, after the first electronic device receives the first operation of the user clicking the first icon, it can connect 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 on the first electronic device through screen projection.

[0014] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: receiving a first operation of a user clicking the first icon; installing the first application on the first electronic device in response to the first operation; running the first application on the first electronic device and displaying the interface of the first application.

[0015] Specifically, after the first electronic device receives the first operation of the user clicking the first icon, the first electronic device may install the first application and then display the interface of the first application.

[0016] When the first electronic device installs the first application, the first electronic device may download the installation data of the first application through an application store, or the second electronic device may send the installation data of the first application to the first electronic device.

[0017] It should be noted that the first electronic device can determine the method of displaying the interface of the first application based on the distance between the first electronic device and the second electronic device. When the distance between the first electronic device and the second electronic device is less than the preset distance, the first electronic device can be connected to the second electronic device and the interface of the first application can be projected and displayed. When the distance between the first electronic device and the second device is greater than the preset distance, the first electronic device can install the first application and then display the interface of the first application.

[0018] It should be understood that the user can choose whether to display the interface of the first application through screen projection as needed. When the user presets not to display the interface of the first application through screen projection, the interface of the first application will not be displayed through screen projection even if the distance between the first electronic device and the second electronic device is less than the preset distance.

[0019] In combination with the first aspect, in some implementations of the first aspect, the desktop 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.

[0020] In combination with the first aspect, in certain implementations of the first aspect, the desktop also includes a first identifier of the second electronic device; in response to the user's second operation on the first identifier, the desktop 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.

[0021] In the embodiment of the present application, the first electronic device can quickly classify application icons according to the identification of the electronic device, and the user can search for application programs according to the electronic device source.

[0022] In combination with the first aspect, in certain implementations of the first aspect, the desktop includes a first page and a second page, the first page being used to display a first icon of the first application installed on the second electronic device, and the second page being used to display a second icon of the second application installed on the first electronic device.

[0023] In the embodiment of the present application, the first electronic device displays icons of applications from different electronic devices in pages, and the user can quickly find local applications and applications on other electronic devices.

[0024] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: receiving a third operation of the user on the first icon; in response to the third operation, displaying a first list, the first list including a first option; in response to the user's fourth operation on the first option, installing the first application on the first electronic device.

[0025] Exemplarily, the third operation may be that the user long presses the first icon.

[0026] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: receiving a fifth operation of the user on the first icon; in response to the fifth operation, displaying a second list, the second list including a second option; in response to the user's sixth operation on the second option, no longer displaying the first icon on the first electronic device; or uninstalling the first application installed on the second electronic device.

[0027] Exemplarily, the fifth operation may be that the user long presses the first icon.

[0028] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: the desktop displays a third icon of a third application, which is installed on the first electronic device and the second electronic device; in response to the user's seventh operation on the third icon, a third list is displayed; wherein 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 the user's eighth operation on the third option is detected, the third application is run on the first electronic device and the interface of the third application is displayed; if the user's ninth operation on the fourth option is detected, the interface information of the third application running on the second electronic device is obtained, and the interface of the third application is displayed on the first electronic device according to the interface information of the third application.

[0029] Exemplarily, the seventh operation may be that the user long presses the first icon.

[0030] In combination with 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.

[0031] In combination with the first aspect, in certain implementations of the first aspect, uninstalling the third application includes: uninstalling the third application installed on the first electronic device; or uninstalling the third application installed on the second electronic device; or uninstalling the third application installed on the first electronic device and the third application installed on the second electronic device, and no longer displaying the third icon on the first electronic device; or uninstalling the third application installed on the first electronic device, and still displaying the third icon on the first electronic device, which 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 no longer displaying the third icon on the first electronic device.

[0032] In the embodiment of the present application, when a user uninstalls an application, the user does not need to perform the uninstall operation on different electronic devices one by one. The user can uninstall the application on other devices on the first electronic device, which saves the user's time.

[0033] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: obtaining information of a fourth application and information of a fifth application, the fourth application and the fifth application being installed on the second electronic device, and the fourth icon of the fourth application and the fifth icon of the fifth application being displayed in the same folder of the second electronic device; and displaying a folder on the desktop of the first electronic device, the folder including the sixth icon of the fourth application and the seventh icon of the fifth application.

[0034] In an embodiment of the present application, the electronic devices constituting the electronic device group can synchronize desktop layout, application classification information and other personalized information. After the user performs personalized settings on one electronic device, other electronic devices can automatically complete the personalized settings, saving the user's time.

[0035] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the first electronic device is connected to a display; an interface is displayed on the display, and the interface includes an identifier of the first electronic device; if an operation of a user clicking on the identifier is detected, the first electronic device displays the desktop of the first electronic device on the display.

[0036] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the first electronic device displays icons of applications installed in the second electronic device on the first page according to the desktop layout of the second electronic device.

[0037] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: if a user instruction to disconnect from the second electronic device is detected, the first electronic device displays an exit interface, the exit interface including a sixth option and / or a seventh option and / or an eighth option, the sixth option being used to exit the account of the first application, the seventh option being used to uninstall data stored by the second electronic device in the first electronic device, and the eighth option being used to uninstall the first application.

[0038] In an embodiment of the present application, when the user logs out of the electronic device group, he or she can choose to log out of the first application account, delete the electronic device group data, and uninstall the first application. This saves the user's time by not having to operate on different electronic devices one by one, and the information uninstallation is more thorough.

[0039] The second aspect is an electronic device according to an embodiment of the present application, which includes modules / units for executing the above-mentioned first aspect or any possible design method of the first aspect; these modules / units can be implemented by hardware, or corresponding software can be implemented by hardware.

[0040] The third aspect is a chip according to an embodiment of the present application, which is coupled to a memory in an electronic device and is used to call a computer program stored in the memory and execute the technical solution of the first aspect of the embodiment of the present application and any possible design of the first aspect thereof; in the embodiment of the present application, "coupling" refers to the direct or indirect combination of two components with each other.

[0041] The fourth aspect is a computer-readable storage medium according to an embodiment of the present application, wherein the computer-readable storage medium includes a computer program. When the computer program runs on an electronic device, the electronic device executes a technical solution such as the first aspect and any possible design of the first aspect.

[0042] The fifth aspect is a computer program according to an embodiment of the present application, wherein the computer program includes instructions. When the instructions are executed on a computer, the computer executes the technical solution of the first aspect and any possible design of the first aspect.

[0043] The sixth aspect is a graphical user interface on an electronic device of an embodiment of the present application, wherein the electronic device has a display screen, one or more memories, and one or more processors, wherein the one or more processors are used to execute one or more computer programs stored in the one or more memories, and the graphical user interface includes a graphical user interface displayed when the electronic device executes the above-mentioned first aspect and any possible design technical solution of the first aspect.

[0044] Among them, for the beneficial effects of the second to sixth aspects, please refer to the beneficial effects of the first aspect and will not be repeated. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] FIG1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

[0046] FIG2 is a software structure block diagram of an electronic device provided in an embodiment of the present application.

[0047] FIG3 is a set of GUIs provided in an embodiment of the present application.

[0048] FIG4 is another set of GUIs provided in an embodiment of the present application.

[0049] FIG5 is another set of GUIs provided in an embodiment of the present application.

[0050] FIG6 is another set of GUIs provided in an embodiment of the present application.

[0051] FIG7 is another set of GUIs provided in an embodiment of the present application.

[0052] FIG8 is another set of GUIs provided in an embodiment of the present application.

[0053] FIG9 is another set of GUIs provided in an embodiment of the present application.

[0054] FIG10 is another set of GUIs provided in an embodiment of the present application.

[0055] FIG11 is another set of GUIs provided by an embodiment of the present application.

[0056] FIG12 is another set of GUIs provided by an embodiment of the present application.

[0057] FIG13 is another set of GUIs provided by an embodiment of the present application.

[0058] FIG14 is another set of GUIs provided by an embodiment of the present application.

[0059] FIG15 is another set of GUIs provided by an embodiment of the present application.

[0060] FIG16 is another set of GUIs provided by an embodiment of the present application.

[0061] FIG17 is another set of GUIs provided by an embodiment of the present application.

[0062] FIG18 is another set of GUIs provided by an embodiment of the present application.

[0063] FIG19 is another set of GUIs provided by an embodiment of the present application.

[0064] FIG20 is another set of GUIs provided by an embodiment of the present application.

[0065] Figure 21 is an exemplary flowchart of the method for processing service cards provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of this application and the appended claims, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.

[0067] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0068] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication functions (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to devices equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be other portable electronic devices, such as a laptop computer. It should also be understood that in some other embodiments, the electronic device may not be a portable electronic device, but a desktop computer.

[0069] 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195.

[0070] It should be understood that the structures illustrated in the embodiments of the present application do 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, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0071] 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 processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent components or integrated into one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. The controller may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. In other embodiments, the processor 110 may also include a memory for storing instructions and data. Exemplarily, the memory in the processor 110 may be a cache memory. This memory may store instructions or data that have just been used or are being recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the electronic device 101 in processing data or executing instructions.

[0072] In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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 SIM card interface, and / or a USB interface. Among them, the USB interface 130 is an interface that complies with USB standards, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 101, and can also be used to transfer data between the electronic device 101 and peripheral devices. The USB interface 130 can also be used to connect headphones to play audio through the headphones.

[0073] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative 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 from the above embodiments, or a combination of multiple interface connection methods.

[0074] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.

[0075] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0076] 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.

[0077] 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 antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0078] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G 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.

[0079] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) 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 that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

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

[0081] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or more display screens 194.

[0082] In some embodiments of the present application, when the display panel uses materials such as OLED, AMOLED, or FLED, the display screen 194 in FIG. 1 can be bent. Here, the bendability of the display screen 194 means that the display screen can be bent at any position to any angle and can be maintained at that angle. For example, the display screen 194 can be folded in half from the center, left to right, or vertically from the center.

[0083] The display screen 194 of the electronic device 100 can be a flexible screen. Currently, flexible screens have attracted much attention due to their unique characteristics and huge potential. Compared with traditional screens, flexible screens have the characteristics of strong flexibility and bendability, which can provide users with new interaction methods based on bendability and meet users' more demands for electronic devices. For electronic devices equipped with foldable displays, the foldable displays on the electronic devices can be switched between a small screen in a folded form and a large screen in an unfolded form at any time. Therefore, users are using the split-screen function on electronic devices equipped with foldable displays more and more frequently.

[0084] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0085] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and transformed into a visible image. The ISP can also perform algorithmic optimization for image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0086] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion 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 RGB, YUV or other format. In some embodiments, the electronic device 100 may include one or more cameras 193.

[0087] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0088] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0089] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.

[0090] 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 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0091] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can execute the above instructions stored in the internal memory 121, so that the electronic device 101 performs the methods provided in some embodiments of the present application, as well as various applications and data processing. 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 also store one or more applications (such as a gallery, contacts, etc.). The data storage area may store data created during the use of the electronic device 101 (such as photos, contacts, 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 one or more disk storage components, a flash memory component, a universal flash storage (UFS), etc. In some embodiments, the processor 110 can execute the instructions stored in the internal memory 121, and / or the instructions stored in the memory provided in the processor 110, so that the electronic device 101 performs the methods provided in the embodiments of the present application, as well as other applications and data processing. The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0092] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.

[0093] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be located on the display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the touch intensity based on the pressure sensor 180A. The electronic device 100 can also calculate the touch location based on the detection signal from the pressure sensor 180A. In some embodiments, touch operations applied to the same touch location but with different touch intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, a command to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the short message application icon, a command to create a new short message is executed.

[0094] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., X, Y, and Z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.

[0095] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.

[0096] Ambient light sensor 180L is used to sense ambient light brightness. Electronic device 100 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent accidental touches.

[0097] 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.

[0098] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from shutting down abnormally due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to prevent abnormal shutdown due to low temperature.

[0099] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. 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 applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.

[0100] Figure 2 is a software structure diagram of the electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer, from top to bottom. The application layer can include a series of application packages.

[0101] As shown in FIG2 , the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.

[0102] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0103] As shown in FIG2 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.

[0104] The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.

[0105] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0106] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0107] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).

[0108] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0109] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include displaying text messages in the status bar, sounding notifications, vibrating electronic devices, and flashing indicator lights.

[0110] The system library may include multiple functional modules, such as a surface manager, media libraries, a 3D graphics processing library (e.g., OpenGL ES), and a 2D graphics engine (e.g., SGL).

[0111] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.

[0112] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0113] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing.

[0114] A 2D graphics engine is a drawing engine for 2D drawings.

[0115] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.

[0116] Before introducing the embodiments of the present application, several concepts related to the embodiments of the present application are first introduced.

[0117] Electronic device group: Multiple electronic devices can be associated to form an electronic device group. For example, as shown in Figure 3, if electronic devices A and N are logged into the same account, then electronic devices A and N can form an electronic device group. As shown in Figure 4, if any electronic device in the electronic device group has application X installed, the other electronic devices in the electronic device group can share the application. Furthermore, electronic devices in the electronic device group can also share personalized information, application information, and more.

[0118] Atomic services (Feature Ability, FA) refer to executable functions. Taking "Huawei Music" as an example, "Huawei Music" includes executable functions such as playing music and downloading music, so each function can be called a FA.

[0119] Currently, users have an increasing number of electronic devices, and it takes a lot of time for users to manage applications and desktops of different electronic devices. For example, when a user uses the same application on multiple electronic devices, it is necessary to download the application separately on each electronic device. Specifically, after logging into Huawei account A on a mobile phone and purchasing and installing application B in the application store, if the user needs to use application B on a tablet, the user needs to log in to account A on the tablet to download and install application B. For another example, the user needs to operate each electronic device separately to perform personalized settings. Specifically, if the user moves the icons of application A and application B to the same folder on the mobile phone, if the user needs the icons of application A and application B to be displayed in the same folder on the tablet, the icons of application A and application B also need to be moved to the same folder on the tablet. Based on this, an embodiment of the present application provides a method for sharing a desktop.

[0120] FIG5 shows a set of graphical user interfaces (GUIs) provided in an embodiment of the present application.

[0121] As shown in FIG. 5( a ) and FIG. 5( b ), the first electronic device (mobile phone) displays a desktop, and the interface 510 and the interface 512 are different interfaces of the desktop respectively.

[0122] Interface 510 is used to display application icons of one or more applications installed on the first electronic device (e.g., a clock application icon, a calendar application icon, a gallery application icon, a music application icon 511, etc.). For ease of explanation, "applications installed on the first electronic device" will be referred to as "native applications" hereinafter;

[0123] Interface 512 is used to display application icons of one or more applications installed on other electronic devices. For example, if a user has installed the application music on a second electronic device (such as a tablet), the desktop (such as interface 512) of the first electronic device (such as a mobile phone) displays an icon (such as icon 514) for opening the tablet version of the music application. It should be noted that the one or more applications may be applications that are not installed on the first electronic device and are only installed on other electronic devices; or they may be applications that are installed on both the first electronic device and other devices. For the sake of convenience, "applications installed on devices other than the first electronic device" will be referred to as "shared applications" below.

[0124] For example, if both the mobile phone and the tablet have the music application installed, as shown in FIG5(a) and FIG5(b), the mobile phone interface 510 displays an icon 511, and the mobile phone interface 512 displays an icon 514. Icon 511 is used to open the mobile version of the music application, and icon 514 is used to open the tablet version of the music application.

[0125] Optionally, the first electronic device can distinguish between icons for displaying local applications and icons for shared applications. For example, the icon for a shared application can be highlighted, grayscaled, or shaded. For another example, a thumbnail identifying which electronic device the application originated from can be displayed in the lower right corner of the icon. For example, as shown in (b) in Figure 5 , clicking icon 514 opens the tablet version of the music application, so the tablet thumbnail is displayed in the lower right corner of icon 514. If clicking application icon 511 opens the mobile version of the music application, the thumbnail indicating which electronic device the application originated from may not be displayed, as shown in icon 511.

[0126] It should be understood that the above embodiment is described by taking the display of the shared application icon on the last interface of the desktop as an example, but the embodiment of the present application is not limited to this. The electronic device can use any one or more interfaces of the desktop to display the shared application icon.

[0127] In an embodiment of the present application, applications can be shared between multiple electronic devices. After application A is installed on one electronic device, the icon of application A can be displayed on another electronic device. The user does not need to download and install application A through the application store on the other electronic device to use application A on the other electronic device, which saves the user's time.

[0128] Optionally, to facilitate user operation and effectively utilize desktop space, multiple application icons for opening the same application can be displayed in an aggregated manner. For example, if a tablet, mobile phone, and computer each have three versions of a music application installed, namely, a tablet version, a mobile version, and a computer version, icons for opening the different versions of the music application can be displayed in an aggregated manner. As shown in Figure 6(a), the mobile phone can display only one music application icon 610.

[0129] Optionally, when multiple application icons of the same application are displayed in an aggregated manner, the version of the application to be opened can be determined based on the user's selection. As shown in (a)-(e) in Figure 5, in response to the user long pressing the music application icon 610, the mobile phone displays a list 611, and the list 611 includes an option 614 for opening the mobile version of the music application, an option 613 for opening the tablet version of the music application, and an option 615 for opening the computer version of the music application. If it is detected that the user clicks option 614, the mobile phone opens the mobile version of the music application and can display interface 616. If it is detected that the user clicks option 613, the tablet version of the music application is opened and interface 617 can be displayed. In this way, the user can select the application version to open.

[0130] Optionally, the application version to be opened can be determined based on the user's usage habits. For example, the determination can be based on the frequency of use of each version. If the user uses the mobile version of the music application on their phone more frequently than the desktop version, then in response to detecting the user clicking on the music application icon 610, the phone opens the mobile version of the music application. For another example, the determination can be based on the usage time of each version. If the user last used the music application on a tablet, then in response to detecting the user clicking on the music application icon 610, the phone opens the tablet version of the music application. For another example, the determination can be based on the application version most recently used on the user's phone. As shown in (d)-(f) of Figure 6, in response to detecting the user clicking on option 613, the phone opens the tablet version of the music application. Subsequently, if the user clicks on the music application icon 610, the phone opens the most recently used application version, i.e., the tablet version of the music application. Optionally, to facilitate the user's identification of the application version opened after clicking the icon, a thumbnail can be displayed to indicate which electronic device the application originated from. As shown in Figure 6 (f), a thumbnail of the tablet can be displayed in the lower right corner of the music application. For details, please refer to the relevant description above and will not be repeated here.

[0131] Optionally, the application version to be opened may be determined based on a preset rule. Assuming the preset rule is: the tablet version has a higher priority than the computer version and the mobile version, then in response to detecting that the user clicks on the music application icon 610, the mobile phone opens the mobile version of the music application. The above priorities may be preset by the user or the system, and this application does not limit this.

[0132] There are various methods for displaying the interface of a shared application on a first electronic device. For example, the first electronic device can establish a connection with a second electronic device, receive interface information of the shared application sent by the second electronic device, and display the interface of the shared application based on the received interface information. For the sake of convenience, this is referred to as "screen casting" below.

[0133] Optionally, when the distance between the first electronic device and the second electronic device is less than a first threshold value, the first electronic device projects the screen to display the interface of the shared application. For example, when a mobile phone is connected to a tablet, the mobile phone receives the interface information of the music application sent by the tablet, and based on the interface information of the above-mentioned music application, the interface 618 of the music application is displayed on the mobile phone. Optionally, when the first electronic device projects the screen to display the interface of the shared application, the source of the application can be displayed. For example, as shown in (g) in Figure 6, "from tablet" can be displayed on the interface 618. When the distance between the first electronic device and the second electronic device is greater than the first threshold value and the first electronic device cannot display the interface of the shared application by projecting the screen, the corresponding program instruction can be obtained and the corresponding application interface can be displayed by running the program instruction on the first electronic device. For details, please refer to the following description.

[0134] It should be understood that the user can choose whether to display the shared application interface through screen projection as needed. When the user presets not to display the shared application interface through screen projection, even if the distance between the electronic devices is less than the first threshold, the shared application will not be displayed through screen projection.

[0135] It should be noted that, optionally, when a shared application is opened, information of the same application can be synchronized between electronic devices.

[0136] Exemplarily, the information of the same application can be an application account and / or application data. For example, if the electronic device group includes a tablet and a mobile phone, and a music application is installed on the tablet and an account is logged in, when the user opens the application on the mobile phone (either by casting the screen or by opening it after installation), the user can automatically log in to the account and synchronize the music application interface on the tablet.

[0137] According to the description of the embodiments of the present application, when opening a shared application, a variety of different opening methods can be used according to the distance between electronic devices, user usage behavior, etc. Information of the same application can also be synchronized between electronic devices.

[0138] In order to facilitate users to search for shared applications by device source, FIG7 shows another set of GUIs provided in an embodiment of the present application.

[0139] As shown in (a) of Figure 7 , the first electronic device may display an interface 710, which may include electronic device labels (e.g., label 711, label 712, label 713). When the label of a certain electronic device is selected, the first electronic device may display the icons of applications installed on the device. For example, as shown in (a) of Figure 7 , in response to detecting that the user clicks on label 711, the mobile phone may display the icons of all shared applications. When there are many icons of shared applications, the interface 710 may also display a scroll bar 714. In response to detecting that the user clicks on label 712, the mobile phone may display the icons of applications installed on the tablet; in response to detecting that the user clicks on label 713, the mobile phone may display the icons of applications installed on the computer.

[0140] It is understandable that the first electronic device may not display the electronic device thumbnail used to identify the application source. As shown in FIG7(b), the application icon displayed on the interface 710 of the mobile phone may not display the tablet computer thumbnail.

[0141] It should be understood that the above embodiment illustrates the display of shared applications and local applications on different pages of the desktop, but the present embodiment is not limited to this. The first electronic device can display icons for shared applications and local applications on the same desktop interface. As shown in Figure 8, the mobile phone has installed applications such as settings, fitness, and calculator; and the tablet has installed applications such as browser and music. Then, interface 810 can display icon 812 for opening the calculator application installed on the mobile phone and icon 811 for opening the browser application installed on the tablet.

[0142] Optionally, the first electronic device can be connected to a display. As shown in (a) of Figure 9, the mobile phone is connected to the display, and an interface 911 is displayed on the display, wherein the interface 911 may include a search bar 910 and a taskbar (Dock bar) 912. The Dock bar 912 can display the device identifier (identifier 913) of the electronic device (such as a mobile phone) connected thereto and icons of commonly used applications on the electronic device (such as a camera icon, an address book icon, a phone icon, and an information icon). The interface may also include common components of the electronic device connected thereto (such as time information 916).

[0143] As shown in (a)-(b) of Figure 9, in response to detecting a first operation of the user, the display shows the desktop of the mobile phone. Exemplarily, the first operation can be the user clicking the device logo, or the user sliding on a blank space of the display.

[0144] For example, if the mobile phone desktop has multiple pages (e.g., the first page and the second page), then in response to the user's first operation, interface 914 and interface 915 may be displayed on the display. Interface 914 includes the icons displayed on the first page of the mobile phone desktop. Interface 914 may be used to display the content included in interface 911, such as time information 916.

[0145] Optionally, the area displaying the mobile phone desktop can be increased according to the user operation. As shown in (b)-(c) in Figure 9, in response to detecting the user's second operation, the display area of ​​the mobile phone desktop is increased. At this time, multiple pages of the mobile phone desktop can be displayed simultaneously on the display interface 914. Optionally, when the display simultaneously displays multiple desktop pages of the mobile phone on the interface 914, in order to avoid repeated display of the Dock bar. As shown in (d) in Figure 9, multiple Dock bars displayed on different pages can be aggregated into one Dock display.

[0146] Optionally, the content displayed on the display can be determined based on historical connection conditions. For example, if it is detected that the mobile phone and the display are connected for the first time, the first connection interface, such as interface 911, is displayed. If it is detected that the mobile phone and the display are not connected for the first time, a different interface from the first connection is displayed, as shown in Figure 10, where the mobile phone displays interface 1010 on the display.

[0147] For example, interface 1010 may display icons for the user's most frequently used applications and / or icons for the user's most recently used applications. Optionally, the icons for the most frequently used applications and the icons for the user's most recently used applications may be displayed in different regions. For example, the first electronic device may display a camera application icon, a contact application icon, a phone application icon, and a message application icon in the lower display area of ​​interface 1010, and a clock application icon, a calendar application icon, a gallery application icon, and the like in the upper display area.

[0148] It should be understood that the application icons displayed on interface 914 and interface 1010 may be icons of applications installed on the mobile phone or icons of applications installed on other devices connected to the mobile phone.

[0149] As shown in the embodiments of FIG. 9 and FIG. 10 , after the first electronic device is connected to the display, the original desktop layout is changed to adapt to the display space of the display.

[0150] Optionally, the first electronic device can also be connected to an external device. If the first electronic device has similar functions to another electronic device after being connected to the external device, the first electronic device can give priority to using the application of the other electronic device version. For example, as shown in (e)-(h) in Figure 9, the function of a mobile phone is similar to that of a computer after being connected to a keyboard. Therefore, when the mobile phone is connected to a keyboard, the mobile phone can give priority to opening the computer version of the application. When the mobile phone is not connected to a keyboard, in response to detecting that the user clicks on the music application icon 917, the mobile phone can display the interface 918 of the mobile version of the music application; in response to detecting that the mobile phone is connected to a keyboard, the mobile phone can switch icon 917 to icon 919, and the thumbnail of the tablet computer can be displayed on icon 919. In response to detecting that the user clicks on icon 919, the mobile phone can display the interface 920 of the computer version of the music application.

[0151] As described in the embodiments of the present application, when a first electronic device is connected to an external device and has similar functions to another electronic device, the application version of the other electronic device can be preferentially displayed on the first electronic device, thereby increasing the matching degree between the electronic devices and improving the user experience.

[0152] Optionally, the first electronic device can display a shared application icon installed on the second electronic device with reference to the desktop layout of the second electronic device. For example, as shown in (a)-(b) in Figure 11, the electronic device group includes a tablet computer and a mobile phone. The first page desktop of the tablet computer displays smart life, music, and weather application icons, and the second page desktop displays a browser application icon. The mobile phone can display smart life, music, and weather application icons on interface 1114. In response to the user switching to interface 1118, the mobile phone displays the browser application icon on interface 1118. In the above embodiment, the mobile phone is used as an example of the first electronic device. It can be understood that the first electronic device is not limited to this. For example, it can be a tablet computer, a computer, or a TV. Alternatively, when the display screen of the first electronic device is larger and the display screen of the second electronic device is smaller, the first electronic device can display the shared application icons in a sub-area of ​​the same interface with reference to the desktop layout of the second electronic device. For example, as shown in (c) in Figure 11, the electronic device group includes a mobile phone and a tablet; the first page desktop of the mobile phone displays a clock application icon, a calendar application icon, a gallery application icon, etc., the second page displays a file management application icon, an email application icon, a sports and health application icon, etc., and the third page displays a Huawei video application icon, a settings application icon, a recorder application icon, etc. Then, when the tablet computer displays the icons of shared applications installed on the mobile phone, it can display a clock application icon 1119, a calendar application icon 1120, and a gallery application icon 1121 in the first area, as shown in interface 1110, and display a file management application icon 1122, an email application icon 1123, and a sports and health application icon 1124 in the second area, and display a Huawei video application icon 1125, a settings application icon 1126, and a recorder application icon 1127 in the third area.

[0153] In an embodiment of the present application, the first electronic device displays the shared application icon installed on the second electronic device with reference to the desktop layout of the second electronic device. When the display screen of the first electronic device is larger and the display screen of the second electronic device is smaller, the first electronic device can also display the shared application icon in a sub-area of ​​the same interface to facilitate users to find applications.

[0154] Optionally, the electronic devices constituting the electronic device group may synchronize classification information of the application programs, and display the application program icons in a classified manner according to the classification information.

[0155] For example, the electronic device group includes mobile phones, tablet computers, and smart watches. As shown in Figure 12 (a), the user groups applications 1, 2, 3, and 4 on the mobile phone into the same folder and names the folder "Office Software," groups applications 11, 12, 13, and 14 into the same folder and names the folder "Audio and Video," and groups applications 21, 22, 23, and 24 into the same folder and names the folder "Drawing Software." The mobile phone displays interface 1210, which includes one or more application icons and an office software classification folder 1211 (including applications 1, 2, 3, and 4), an audio and video classification folder 1212 (including applications 11, 12, 13, and 13), and a drawing software classification folder 1213 (including applications 21, 22, 23, and 24). The tablet computer and watch can synchronize application classification information with the mobile phone. As shown in Figure 12 (b), the tablet displays interface 1214, which displays an office software folder 1211, an audio and video folder 1212, and a drawing software folder 1213. Folder 1211 includes applications 1, 2, 3, and 4; folder 1212 includes applications 11, 12, 13, and 14; and folder 1213 includes applications 21, 22, 23, and 24. It should be noted that even if application 1 is not installed on the tablet, the icon for application 1 can still be displayed in folder 1211. As shown in Figure 12(c), if the smartwatch cannot execute applications 21, 22, 23, and 24 in drawing folder 1213, as well as applications 2, 4, 12, 13, and 14, the smartwatch may only display office software folder 1211 and audio and video folder 1212 on interface 1215, omitting drawing software folder 1213. Office software folder 1211 may only include icons for applications 1 and 3, excluding icons for applications 2 and 4; audio and video folder 1212 may only include an icon for application 11, excluding icons for applications 12, 13, and 14. Alternatively, when a folder contains only one application icon, the application icon may be directly used to display the folder. For example, as shown in FIG12(d), the audio and video folder 1212 contains only the application 11 icon, so the smartwatch directly displays the application 11 icon 1216 on the interface 1215.

[0156] Similarly, the Dock bar settings can be synchronized between the electronic devices that constitute the electronic device group.

[0157] Assume that the electronic device group includes a mobile phone, a tablet computer, a smart watch, a television, and a laptop computer. The mobile phone displays an interface 1310 including a Dock bar 1311. The Dock bar 1311 includes icons of applications such as a sports and health application icon 1312, an address book application icon 1313, a memo application icon 1314, and an information application icon 1315. Then, the tablet computer, smart watch, television, and laptop computer can synchronize the Dock bar settings of the mobile phone. Specifically, after synchronizing the Dock bar settings, the above-mentioned application icons are also displayed on the Dock bar 1316 of the tablet computer, the Dock bar 1318 of the computer, and the Dock bar 1319 of the television. Optionally, if the second electronic device does not include a Dock bar, the second electronic device can use a certain area of ​​the desktop to display the application icons in the Dock bar. The area can be divided by the second electronic device according to preset rules or specified by the user. For example, as shown in (c) in Figure 13, the smart watch displays an interface 1320 including an area 1317. Area 1317 includes the above-mentioned application icons.

[0158] In the embodiments of the present application, the electronic devices that make up the electronic device group can synchronize desktop layouts, application classification information, Dock bar settings, and other personalized information. Once a user customizes one electronic device, the other electronic devices can automatically customize the settings, saving the user time. Furthermore, each device can adapt according to its own characteristics to provide the user with a more suitable desktop.

[0159] Figure 11-13 shows how personalized information can be synchronized between groups of electronic devices. The following describes how to install and uninstall applications.

[0160] As shown in (a) and (b) of Figure 14, a native application is displayed on the interface 1410 of the first electronic device, and a shared application is displayed on the interface 1414. The user can select the application to be installed on the interface 1414. As shown in (b)-(c) of Figure 14, in response to the user long pressing the icon 1415 of the music application, the mobile phone displays a list 1416. List 1416 includes an option 1417 for installing the mobile version of the music application, an option 1418 for opening the tablet version of the music application, and an option for opening the computer version of the music application. If it is detected that the user clicks option 1417, the mobile phone installs the mobile version of the music application. In response to the user clicking option 1417, after the mobile phone completes the installation of the mobile version of the music application, an icon 1419 for opening the mobile version of the music application can be displayed on the interface 1410. As a result, the user no longer needs to go to the application store to find and download the application, saving the user's time.

[0161] As described above, if a user clicks on a shared application icon on a first electronic device while a second electronic device on which the shared application is installed is located at a distance greater than a first threshold from the first electronic device, the application may be installed on the first electronic device in response to the user clicking on the shared application icon. For example, if a mobile phone does not have a music application installed, but a tablet computer has a music application installed, the mobile phone displays an icon 1415 on interface 1414 for opening the tablet computer version of the music application. If the mobile phone clicks on music application icon 1415 while the distance between the mobile phone and the tablet computer is greater than the first threshold, the music application is installed on the mobile phone.

[0162] It should be noted that the installation data of shared applications can be transmitted via Bluetooth, Wi-Fi, NFC, etc. The installed applications can be regular applications, quick applications, FA, etc.

[0163] Installing a shared application based on a FA can mean downloading and installing the corresponding FA based on the functions of the shared application used by the user. Taking the installation of a music application as an example, when the electronic device installs the music application, it first downloads and installs the home page FA. After the home page FA is installed, when the electronic device detects the user selecting a function on the home page on the home page, in response to this operation, it downloads and installs the FA for the function selected by the user on the home page.

[0164] It should be understood that the user can select different installation methods according to needs, or the electronic device can also independently select different installation methods.

[0165] FIG14 illustrates a method for installing an application in an embodiment of the present application, and the following describes a method for uninstalling an application.

[0166] FIG15 shows another set of GUIs provided by an embodiment of the present application.

[0167] As shown in (a) of Figure 15 , the first electronic device displays an interface 1510, which includes an icon 1511 of an application, and the mobile phone and tablet have both installed the application. In response to detecting that the user performs an operation to uninstall the application, the first electronic device enters the process of uninstalling the application. Exemplarily, the user performs the operation of uninstalling the shared application as follows: in response to detecting that the user presses and holds the application icon for a time greater than a second threshold, the electronic device displays a list 1512, which includes an uninstall option, and the user clicks the uninstall option to enter the uninstall process of the application. It should be noted that the method of uninstalling the application is not limited to this, and the user can also uninstall the application through the control center.

[0168] As shown in FIG15( b ), the first electronic device enters the uninstall process and may display an uninstall operation interface 1514. The uninstall operation interface 1514 may include an uninstall button 1515 and a cancel button 1516. It is understood that in response to the user clicking the cancel button 1516, the uninstall process is exited.

[0169] Optionally, the uninstall operation interface 1514 may also include a control 1517 and / or a control 1518. The control 1517 may be used to uninstall the same shared application installed on other electronic devices. For details, please refer to the following description. The control 1518 may be used to uninstall the shared application icon displayed on the first electronic device. When both controls 1517 and 1518 are not selected, the first electronic device uninstalls the application installed on the first electronic device, retains the application installed on other electronic devices and the shared application icon displayed on the first electronic device; when the control 1518 is selected, when the first electronic device uninstalls the application installed on the first electronic device, it also uninstalls the shared application icon displayed on the first electronic device.

[0170] As shown in (b)-(d) of Figure 15 , if the phone detects that the user has clicked the uninstall button 1516 and controls 1517 and 1518 are not selected, the phone uninstalls the mobile version of the music app, retaining the music app installed on other devices. Interface 1510 no longer displays icon 1511 for opening the mobile version of the music app. Interface 1519 retains icon 1520 for opening the tablet version of the music app. It is understood that if the phone detects that the user has clicked the uninstall button 1516 and control 1518 is selected, the phone uninstalls the mobile version of the music app, no longer displays the shared application icon for opening the music app installed on other devices, and interface 1519 no longer displays icon 1520. If the phone detects that the user has clicked the uninstall button 1516 and control 1517 is selected, the phone uninstalls the mobile version of the music app and instructs the tablet to uninstall the music app installed on the tablet.

[0171] FIG16 shows another set of GUIs provided by an embodiment of the present application.

[0172] As shown in (a) of Figure 16 , the interface 1610 of a first electronic device (e.g., a mobile phone) displays a shared application icon (e.g., icon 1613 for opening a tablet version of a music application). The first electronic device detects that a user has performed an uninstall operation and, in response to this operation, may enter an uninstall process. For a description of the user's uninstall operation, please refer to the aforementioned embodiments and will not be repeated here. As shown in (b) of Figure 16 , the first electronic device enters the application uninstall process and may display an uninstall operation interface 1614. The uninstall operation interface 1614 may include an uninstall button 1615 and a cancel button 1616. Optionally, the uninstall operation interface 1614 may also include a control 1617 for uninstalling the shared application from other electronic devices. As shown in (b)-(c) of Figure 16 , if the first electronic device detects that the user has clicked the uninstall button 1516 and control 1617 is not selected, the first electronic device deletes the shared application icon displayed on the first electronic device (icon 1613 is no longer displayed on interface 1610). It is understandable that if the control 1617 is selected, the first electronic device may also instruct the tablet computer to uninstall the application installed on the tablet computer.

[0173] FIG17 shows another set of GUIs provided by an embodiment of the present application.

[0174] As shown in FIG17( a ), the first electronic device displays an interface 1710, which displays icons for local applications and shared applications. Assuming that the electronic device group includes a first electronic device (e.g., a mobile phone) and a second electronic device (e.g., a tablet), the first electronic device does not have a music application installed, and the second electronic device has a music application installed, the first electronic device may display an icon 1713 for opening the shared application.

[0175] As shown in (a)-(b) of Figure 17, the first electronic device detects that the user has executed an operation to uninstall the application. In response to this operation, the first electronic device may enter the process of uninstalling the application. For the description of the user's operation of uninstalling the shared application, please refer to the aforementioned embodiment and will not be repeated here. As shown in (b) of Figure 17, the first electronic device enters the process of uninstalling the application and may display an uninstall operation interface 1714. The uninstall operation interface may include a cancel key 1716 and an uninstall key 1717.

[0176] When the first electronic device does not have the shared application installed, the first electronic device may uninstall the icon of the shared application by default. For example, as shown in (b)-(c) of Figure 17, the mobile phone does not have the mobile version of the music application installed. When the mobile phone executes the uninstallation of the music application, the first electronic device may uninstall the icon of the music application by default.

[0177] Optionally, the uninstallation operation interface may further include a control 1715, which may be used to uninstall shared applications on other electronic devices. For related descriptions, please refer to the control 1617 in the aforementioned embodiment, which will not be repeated here.

[0178] It should be noted that the GUI shown in FIG17 introduces the uninstallation process when the first electronic device does not have the music application installed. The following describes the uninstallation process when both the first electronic device and the second electronic device have the music application installed.

[0179] As shown in FIG18(a), the first electronic device displays interface 1810, which displays icons for local applications and shared applications. Assuming that the electronic device group includes a first electronic device (e.g., a mobile phone) and a second electronic device (e.g., a tablet), both of which have music applications installed. The first electronic device displays the icons for opening the local application and the shared application together, i.e., displays icon 1813. As shown in FIG18(a)-(b), the first electronic device detects that a user has executed an operation to uninstall an application. In response to this operation, the first electronic device may enter the application uninstallation process. For a description of the user's operation to uninstall a shared application, please refer to the previous embodiment and will not be repeated here. As shown in FIG18(b), the first electronic device enters the uninstallation process and may display uninstallation interface 1814. When both the first and second electronic devices have music applications installed, the music application installed on the first electronic device may be uninstalled by default. As shown in FIG18(b)-(c), during uninstallation, the mobile phone will uninstall the music application installed on the mobile phone by default. After uninstalling the music application installed on the mobile phone, icon 1819 may still be retained. It is understandable that clicking icon 1819 at this time opens the music application installed on the second electronic device.

[0180] Optionally, the uninstallation interface may further include controls 1817 and 1818. Control 1817 is used to uninstall music applications installed on other devices, and control 1818 is used to uninstall shared application icons displayed on the device. For related descriptions, please refer to controls 1517 and 1518 in the aforementioned embodiment and will not be repeated here.

[0181] FIG19 shows another set of GUIs provided by an embodiment of the present application.

[0182] As shown in (a) of FIG. 19 , the first electronic device displays an interface 1910 , which includes icons of local applications and shared applications and icons.

[0183] As shown in (a)-(b) of Figure 19, the first electronic device detects that the user has performed an uninstall operation. In response to this operation, the first electronic device may enter the uninstall process. For the description of the user performing the uninstall operation, please refer to the aforementioned embodiment and will not be repeated here. As shown in (b) of Figure 19, the first electronic device enters the uninstall application process and may display an uninstall operation interface 1914. The uninstall operation interface 1914 may include a cancel button 1919 and an uninstall button 1920.

[0184] Optionally, the uninstall operation interface may further include a control 1915, which is used to select whether to uninstall the application installed on other electronic devices. The uninstall operation interface 1914 may also include one or more controls corresponding to the application installed on different electronic devices, such as control 1916, control 1917, and control 1918. Control 1916 corresponds to the application installed on the mobile phone, control 1917 corresponds to the application installed on the tablet, and control 1918 corresponds to the application installed on the TV. It should be noted that the first electronic device can display controls 1916-1918 in response to detecting that the user selects control 1915, or it can display control 1915 and controls 1916-1918 when displaying interface 1914.

[0185] It can be understood that, as shown in (b)-(c) in Figure 19, if control 1916 is selected when it is detected that the user clicks the uninstall button 1920, the mobile phone deletes the music application installed on the mobile phone. If control 1918 is selected, the mobile phone can send an uninstall instruction to the TV, and the TV will delete the music application installed on the TV. If control 1917 is not selected, the music application installed on the tablet will not be uninstalled.

[0186] Optionally, when selecting to uninstall an application installed on another electronic device on the first electronic device, user identity verification may be performed. After the user identity verification is passed, the application installed on the other electronic device may be uninstalled. Exemplarily, the user identity verification may be password verification and / or biometric information verification (such as fingerprint verification, palm print verification, etc.).

[0187] By using the method of uninstalling applications shown in Figures 15-19, when uninstalling an application, the user does not need to perform the uninstall operation on different electronic devices one by one. The application on other devices can be uninstalled on the first electronic device, saving the user's time.

[0188] The following uses FIG. 20 as an example to introduce a method for exiting an electronic device group.

[0189] As shown in FIG20 , in response to the first electronic device detecting a user's operation of logging out of the electronic device group, the first electronic device may display interface 2010. Interface 2010 may include a cancel button 2014 and an exit button 2015. In response to the user clicking the cancel button 2014, the first electronic device cancels the process of logging out of the electronic device group. In response to the user clicking the exit button 2015, the first electronic device exits the electronic device group and no longer shares applications or personalized information with other electronic devices in the electronic device group.

[0190] Optionally, interface 2010 may also include a control 2011 for the user to choose whether to no longer share the application account. A shared application account can be understood as the same application account used by a group of electronic devices when logging into the same application. For example, account 111 is the account of the Huawei Video application. The electronic device group includes a mobile phone and a tablet. Both the mobile phone and the tablet use account 111 when logging into the Huawei Video application. After the user chooses to exit the shared application account, the mobile phone and the tablet no longer share account 111, and can use a different application account than the tablet when logging into Huawei Video on the mobile phone.

[0191] As shown in Figure 20, the mobile phone displays one or more shared application accounts on interface 2010 (such as account 111 for the Huawei Video application, account 222 for the Music application, and account 333 for the Sports and Health application), and determines whether to log out of the shared application account based on the user's selection. If the user selects account 111 or account 222, the mobile phone and other electronic devices will no longer share the Music application and Huawei Video application accounts. The mobile phone will log out of account 111 logged in for the Music application and account 222 logged in for the Huawei Video application. It is understandable that in addition to logging out of the application account logged in on the mobile phone side, the mobile phone can also instruct other devices to log out of the corresponding application account.

[0192] Optionally, interface 2010 may also include a control 2012 for the user to select whether to delete the data for the electronic device group. As shown in FIG20 , in response to the mobile phone detecting that the user has selected control 2012, the mobile phone displays an option on interface 2010 for deleting the data for each electronic device in the electronic device group (e.g., a tablet computer, a television). For example, when logging out of the electronic device group, if the option to delete the tablet computer's data is selected and the option to delete the television's data is not selected, the mobile phone deletes the data related to the tablet computer and retains the data related to the television.

[0193] Optionally, interface 2010 may also include a control 2013 for the user to select whether to uninstall the shared application icon. As shown in FIG20 , the mobile phone may display an option on interface 2010 for deleting shared applications (e.g., a music application, a browser application) on the mobile phone. If the option to delete the shared application icon for the music application is selected when logging out of the electronic device group, the mobile phone may uninstall the shared application icon used to open the music application installed on other devices.

[0194] In an embodiment of the present application, when a user logs out of an electronic device group, he or she can choose to log out of the shared application account, delete the electronic device group data, and uninstall the shared application icon. This saves the user's time by eliminating the need to operate on different electronic devices one by one, and information uninstallation is more thorough.

[0195] In conjunction with the above embodiments and related drawings, an embodiment of the present application provides a method for sharing a desktop. This method can be implemented in an electronic device with a touch screen (e.g., a mobile phone, tablet computer, etc.) as shown in Figures 1 and 2. Figure 21 is a schematic flow chart of the method for sharing a desktop provided in an embodiment of the present application. As shown in Figure 21, the method may include the following steps:

[0196] S2101, obtaining information of a first application, where the first application is installed on the second electronic device, and the first electronic device is connected to the second electronic device.

[0197] S2102: Display a first icon on the desktop of the first electronic device according to the information of the first application program, and use the icon to enable a user to open the first application program installed on the second electronic device.

[0198] In a possible implementation, the first icon includes a thumbnail of the second electronic device.

[0199] Specifically, a thumbnail for identifying the second electronic device is displayed in the lower right corner of the first icon.

[0200] Alternatively, the first icon may be displayed in a highlighted manner, a grayscale manner, or a shadow manner.

[0201] In one possible implementation, the method further includes: receiving a first operation of a user clicking the first icon; in response to the first operation, obtaining interface information of the first application running on the second electronic device, and displaying the interface of the first application on the first electronic device according to the interface information of the first application.

[0202] Specifically, after the first electronic device receives the first operation of the user clicking the first icon, it can connect 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 on the first electronic device through screen projection.

[0203] Optionally, the first electronic device may display the device information of the first application when displaying the interface of the first application. For example, as shown in (f) and (g) of FIG6 , the first electronic device displays the information “from tablet computer” on the interface.

[0204] In another possible implementation, the method further includes: receiving a first operation of a user clicking the first icon; installing the first application on the first electronic device in response to the first operation; running the first application on the first electronic device and displaying the interface of the first application.

[0205] Specifically, after the first electronic device receives the first operation of the user clicking the first icon, the first electronic device may install the first application and then display the interface of the first application.

[0206] When the first electronic device installs the first application, the first electronic device may download the installation data of the first application through an application store, or the second electronic device may send the installation data of the first application to the first electronic device.

[0207] Specifically, the first electronic device may obtain installation data of a complete version of the first application, or may download and install the first application based on the FA.

[0208] It should be noted that the first electronic device can determine the method of displaying the interface of the first application based on the distance between the first electronic device and the second electronic device. When the distance between the first electronic device and the second electronic device is less than the preset distance, the first electronic device can be connected to the second electronic device and the interface of the first application can be projected and displayed. When the distance between the first electronic device and the second device is greater than the preset distance, the first electronic device can install the first application and then display the interface of the first application.

[0209] It should be understood that the user can choose whether to display the interface of the first application through screen projection as needed. When the user presets not to display the interface of the first application through screen projection, the interface of the first application will not be displayed through screen projection even if the distance between the first electronic device and the second electronic device is less than the preset distance.

[0210] In a possible implementation, the desktop 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.

[0211] Exemplarily, as shown in FIG8 , the first electronic device may display the icon of the local application and the icon of the application installed in the second electronic device on the same page.

[0212] In one possible implementation, the desktop also includes a first identifier of the second electronic device; in response to the user's second operation on the first identifier, the desktop displays a first icon of the first application installed on the second electronic device, and does not display a second icon of the second application installed on the first electronic device.

[0213] In one possible implementation, the desktop 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 the second application installed on the first electronic device.

[0214] Exemplarily, as shown in FIG5 , the first electronic device displays the local application icon and the application icon installed in the second electronic device on different pages.

[0215] In one possible implementation, the method further includes: receiving a third operation of the user on the first icon; in response to the third operation, displaying a first list, the first list including a first option; and in response to a fourth operation of the user on the first option, installing the first application on the first electronic device.

[0216] Exemplarily, the third operation may be that the user long presses the first icon.

[0217] In one possible implementation, the method also includes: receiving a fifth operation of the user on the first icon; in response to the fifth operation, displaying a second list, the second list including a second option; in response to the user's sixth operation on the second option, no longer displaying the first icon on the first electronic device; or uninstalling the first application installed on the second electronic device.

[0218] In one possible implementation, the method also includes: the desktop displays a third icon of a third application, which is installed on the first electronic device and the second electronic device; in response to the user's seventh operation on the third icon, a third list is displayed; wherein 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 the user's eighth operation on the third option is detected, the third application is run on the first electronic device and the interface of the third application is displayed; if the user's ninth operation on the fourth option is detected, the interface information of the third application running on the second electronic device is obtained, and the interface of the third application is displayed on the first electronic device according to the interface information of the third application.

[0219] Exemplarily, the sixth operation may be that the user long presses the first icon.

[0220] In a possible implementation, the third list further includes a fifth option, where the fifth option is used to uninstall the third application.

[0221] In one possible implementation, uninstalling the third application includes: uninstalling the third application installed on the first electronic device; or uninstalling the third application installed on the second electronic device; or uninstalling the third application installed on the first electronic device and the third application installed on the second electronic device, and no longer displaying the third icon on the first electronic device; or uninstalling the third application installed on the first electronic device, and still displaying the third icon on the first electronic device, which 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 no longer displaying the third icon on the first electronic device.

[0222] Exemplarily, as shown in FIG. 15 to FIG. 19 , the first electronic device may perform different uninstall functions according to selection of different options.

[0223] In one possible implementation, the method also includes: obtaining information about a fourth application and information about a fifth application, the fourth application and the fifth application being installed on the second electronic device, and the fourth icon of the fourth application and the fifth icon of the fifth application being displayed in the same folder of the second electronic device; and displaying a folder on the desktop of the first electronic device, the folder including the sixth icon of the fourth application and the seventh icon of the fifth application.

[0224] For example, as shown in FIG12 , the first electronic device may synchronize information of classification folders in the second electronic device.

[0225] In one possible implementation, the method further includes: connecting the first electronic device to a display; displaying an interface on the display, the interface including an identifier of the first electronic device; if detecting that a user clicks on the identifier, the first electronic device displays the desktop of the first electronic device on the display.

[0226] In a possible implementation, the method further includes: the first electronic device displaying, on the first page, icons of application programs installed in the second electronic device according to a desktop layout of the second electronic device.

[0227] In one possible implementation, the method further includes: if a user instruction to disconnect from the second electronic device is detected, the first electronic device displays an exit interface, the exit interface includes a sixth option and / or a seventh option and / or an eighth option, the sixth option is used to exit the 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.

[0228] In an embodiment of the present application, applications and personalized settings can be shared between multiple electronic devices. After an application is installed and personalized settings are made on one electronic device, the application icon can be displayed on another electronic device, and the other electronic device can synchronize the personalized settings. The user no longer needs to download and install the application through the application store on the other electronic device to use the application on the other electronic device, saving the user's time.

[0229] The above embodiments can be used alone or in combination with each other to achieve different technical effects.

[0230] In the embodiments provided in the present application above, the methods provided in the embodiments of the present application are introduced from the perspective of an electronic device as an execution subject. In order to implement the various functions in the methods provided in the embodiments of the present application above, the electronic device may include a hardware structure and / or a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a function of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

[0231] An embodiment of the present application further provides an electronic device, comprising: a display screen, a processor, a memory, one or more sensors, a power button, an application, and a computer program. The above-mentioned components can be connected via one or more communication buses. The one or more computer programs are stored in the above-mentioned memory and configured to be executed by the one or more processors, and the one or more computer programs include instructions, which can be used to enable the electronic device to perform the various steps of the interface display method in the above-mentioned embodiments.

[0232] For example, the processor may be the processor 110 shown in FIG2 , the memory may be the internal memory 120 shown in FIG2 and / or an external memory connected to the electronic device, the display may be the display 130 shown in FIG2 , the sensor may be one or more sensors in the sensor module 150 shown in FIG2 , and the power button may be the power button 141 shown in FIG2 . This embodiment of the present application does not impose any restrictions on this.

[0233] In addition, an embodiment of the present application further provides a graphical user interface (GUI) on an electronic device, which specifically includes a graphical user interface displayed by the electronic device when executing the above-mentioned method embodiments.

[0234] As used in the above embodiments, the terms “when…” or “after…” may be interpreted to mean “if…” or “after…” or “in response to determining…” or “in response to detecting…”, depending on the context. Similarly, the phrases “upon determining…” or “if (stated condition or event) is detected” may be interpreted to mean “if determining…” or “in response to determining…” or “upon detecting (stated condition or event)” or “in response to detecting (stated condition or event)”, depending on the context.

[0235] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the 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, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)). In the absence of conflict, the solutions of the above embodiments can be used in combination.

Claims

1. A method for sharing a desktop, the method being applied to a first electronic device, characterized in that, the method comprises: obtaining information of a first application installed on a second electronic device, the first electronic device being connected to the second electronic device; displaying a first icon on the desktop of the first electronic device according to the information of the first application, the icon being used to open the first application installed on the second electronic device.

2. The method according to claim 1, characterized in that, the first icon includes a thumbnail of the second electronic device.

3. The method according to claim 1 or 2, characterized in that, the method further comprises: receiving a first operation of a user clicking on the first icon; in response to the first operation, obtaining interface information of the first application running on the second electronic device, and displaying the interface of the first application on the first electronic device according to the interface information of the first application.

4. The method according to claim 1 or 2, characterized in that, the method further comprises: receiving a first operation of a user clicking on the first icon; in response to the first operation, installing the first application on the first electronic device; running the first application on the first electronic device and displaying the interface of the first application.

5. The method according to any one of claims 1 to 4, characterized in that, the desktop includes a first page, and the first page includes a first icon of the first application and a second icon of a second application, the second application being installed on the first electronic device.

6. The method according to claim 5, characterized in that, the desktop further includes a first identifier of the second electronic device; in response to a second operation of a user on the first identifier, the desktop 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.

7. The method according to any one of claims 1 to 4, characterized in that, the desktop includes a first page and a second page, the first page being used to display a first icon of the first application installed on the second electronic device, and the second page being used to display a second icon of a second application installed on the first electronic device.

8. The method according to any one of claims 1 to 7, characterized in that, the method further comprises: receiving a third operation of a user on the first icon; in response to the third operation, displaying a first list, the first list including a first option; in response to a fourth operation of a user on the first option, installing the first application on the first electronic device.

9. The method according to any one of claims 1 to 8, characterized in that, the method further comprises: receiving a fifth operation of a user on the first icon; in response to the third operation, displaying a second list, the second list including a second option; In response to a sixth operation of the user on the second option, the first icon is no longer displayed on the first electronic device; or Uninstall the first application installed on the second electronic device.

10. The method according to claim 1, wherein, the method further includes: The desktop displays a third icon of a third application, and the third application is installed on the first electronic device and the second electronic device; In response to a seventh operation of the user on the third icon, a third list is displayed; wherein 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 it is detected that the user performs an eighth operation on the third option, the third application is run on the first electronic device and the interface of the third application is displayed; If it is detected that the user performs a ninth operation on the fourth option, the interface information of the third application running on the second electronic device is obtained, and the interface of the third application is displayed on the first electronic device according to the interface information of the third application.

11. The method according to claim 10, wherein, The third list further includes a fifth option, and the fifth option is used to uninstall the third application.

12. The method according to claim 11, wherein, The uninstalling the third application includes: Uninstall the third application installed on the first electronic device; or Uninstall the third application installed on the second electronic device; or Uninstall the third application installed on the first electronic device and the third application installed on the second electronic device, and the third icon is no longer displayed on the first electronic device; or Uninstall the third application installed on the first electronic device, and the third icon is still displayed on the first electronic device, and the third is used to open the third application installed on the second electronic device; or Uninstall the third application installed on the first electronic device, and the third icon is no longer displayed on the first electronic device.

13. The method according to any one of claims 1 to 12, wherein, the method further includes: Obtain information of a fourth application and information of a fifth application, the fourth application and the fifth application are installed on the second electronic device, and the fourth icon of the fourth application and the fifth icon of the fifth application are displayed in the same folder on the second electronic device; Display a folder on the desktop of the first electronic device, and the folder includes a sixth icon of the fourth application and a seventh icon of the fifth application.

14. An electronic device, wherein, includes: One or more processors; One or more memories; A display screen; the one or more memories store one or more computer programs, the one or more computer programs including instructions which, when executed by the one or more processors, cause the electronic device to perform the method according to any one of claims 1 to 13.

15. A computer-readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method according to any one of claims 1 to 13.

16. A computer program which, when run on a computer, causes the computer to perform the method according to any one of claims 1 to 13 above.

17. A computer program product which, when run on a computer, causes the computer to perform the method according to any one of claims 1 to 13 above.