Application processing method and first electronic equipment

By displaying and adding the application identifier of the second electronic device to the desktop shortcut bar on the first electronic device, the problem that users cannot access the distributed device applications efficiently is solved, and a simplified operation process and an improved user experience is achieved.

CN119127010APending Publication Date: 2024-12-13HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310695602.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-13
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

When users access the application of distributed devices through super desktops in the Hongmeng operating system, they need multiple steps to operate and cannot access the application of distributed devices efficiently.

Method used

The first electronic device establishes a communication connection with the second electronic device, displays the application identifier of the second electronic device, and adds it to the desktop shortcut bar in response to a user's operation, and the user can directly access the application of the second electronic device from the local shortcut bar.

Benefits of technology

It realizes the application of users to access distributed devices efficiently and conveniently, simplifies operational processes, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127010A_ABST
    Figure CN119127010A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an application processing method and first electronic equipment. The method is applied to first electronic equipment, and the first electronic equipment displays a desktop shortcut bar. The method comprises the following steps: the first electronic equipment establishes communication connection with the second electronic equipment; the first electronic equipment displays an identifier of a second application of the second electronic equipment; and the first electronic equipment responds to a first operation of a user on an identifier of a specified second application, and adds the identifier of the specified second application to a desktop shortcut bar. In the embodiment of the invention, a user can quickly access the application of the second electronic equipment through the local desktop shortcut bar of the first electronic equipment, so that the user can efficiently access the application of the distributed equipment.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Embodiments of the present invention relate to the field of terminal technology, and in particular to a method for processing an application and a first electronic device. [Background technology]

[0002] Distributed technology is the main feature of Hongmeng OS. Hongmeng OS uses distributed technology to connect distributed devices such as mobile phones, tablets, smart watches, smart cockpits, and smart screens, breaking the boundaries between different hardware and achieving boundary-free communication between people and devices, and between devices, making it as easy for users to operate multiple devices as to operate one device.

[0003] Hongmeng 3.0 adds a new super desktop function, which allows users to access mobile phone desktop applications on other devices. However, in related technologies, users need to perform multiple steps to access distributed device mobile phone applications through the super desktop, making it impossible for users to efficiently access distributed device applications. [Summary of the invention]

[0004] In view of this, the present invention provides an application processing method and a first electronic device, which are used to enable a user to efficiently access applications of distributed devices.

[0005] A first aspect provides a method for processing an application, the method being applied to a first electronic device, the first electronic device displaying a desktop shortcut bar; the method comprising:

[0006] The first electronic device establishes a communication connection with the second electronic device;

[0007] The first electronic device displays an identification of a second application of the second electronic device;

[0008] The first electronic device adds the identifier of the designated second application to the desktop shortcut bar in response to a first operation of the user on the identifier of the designated second application.

[0009] In a possible implementation, the method further includes:

[0010] The first electronic device opens the second application in the desktop shortcut bar in response to a second operation of the user on the identifier of the second application in the desktop shortcut bar.

[0011] In a possible implementation, the method further includes:

[0012] The communication connection between the first electronic device and the second electronic device is disconnected;

[0013] The first electronic device stops displaying the identifier of the second application in the desktop shortcut bar.

[0014] In a possible implementation, the method further includes:

[0015] reestablishing a communication connection between the first electronic device and the second electronic device after the communication connection is disconnected;

[0016] The first electronic device resumes displaying the logo of the second application at the designated position of the desktop shortcut bar.

[0017] In a possible implementation, the method further includes:

[0018] After the second electronic device uninstalls the second application, the first electronic device stops displaying the identifier of the uninstalled second application in the desktop shortcut bar.

[0019] In a possible implementation, the logo of the first application and the logo of the second application in the desktop shortcut bar have different superscripts or different background colors; or,

[0020] The logo of the first application in the desktop shortcut bar has a corner mark; or,

[0021] The logo of the second application in the desktop shortcut bar has a corner mark.

[0022] In a possible implementation, after the first electronic device adds the identifier of the specified second application to the desktop shortcut bar in response to a first operation of the user on the identifier of the specified second application, the method further includes:

[0023] The first electronic device stores device information of at least one of the second electronic devices, where the device information includes an identifier of the first electronic device, an identifier of the second electronic device, and a timestamp.

[0024] In a possible implementation, the method further includes:

[0025] If the amount of device information of the second electronic device stored in the first electronic device reaches a set amount, the device information with the smallest timestamp is deleted, and new device information of the second electronic device is stored.

[0026] In a possible implementation, after the first electronic device adds the identifier of the specified second application to the desktop shortcut bar in response to a first operation of the user on the identifier of the specified second application, the method further includes:

[0027] The first electronic device stores application information of at least one of the second electronic devices, the application information including an identifier of the first electronic device, an identifier of the second electronic device, and application data of at least one designated second application corresponding to the identifier of the first electronic device and the identifier of the second electronic device.

[0028] In a possible implementation, the method further includes:

[0029] If the first electronic device deletes the device information including the identification of the first electronic device and the identification of the second electronic device, the first electronic device deletes the identification of the first electronic device, the identification of the second electronic device and the application data of the second application corresponding to the identification of the first electronic device and the identification of the second electronic device in the application information.

[0030] In a possible implementation, the first electronic device restoring display of the logo of the second application at a designated position of the desktop shortcut bar includes:

[0031] The first electronic device acquires, from the application information, application data of the second application corresponding to the identifier of the first electronic device and the identifier of the second electronic device;

[0032] The first electronic device displays the logo of the second application at a designated position of the desktop shortcut bar according to the application data of the second application.

[0033] In a possible implementation manner, the identifier includes an icon or a card.

[0034] In a possible implementation, the first operation includes clicking, long pressing and dragging, adding to a menu, or inputting a voice command.

[0035] A second aspect provides a first electronic device, characterized in that it includes: a communication module, a display module and a first operation module;

[0036] The display module is used to display the desktop shortcut bar;

[0037] The communication module is used to establish a communication connection with the second electronic device;

[0038] The display module is further used to display an identification of a second application of the second electronic device;

[0039] The first operating module is configured to add the identifier of the designated second application to the desktop shortcut bar in response to a first operation of the user on the identifier of the designated second application.

[0040] The third aspect provides a first electronic device, comprising: a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the first device, enable the first electronic device to execute the processing method of the application in the first aspect or any possible implementation of the first aspect.

[0041] The fourth aspect provides a computer-readable storage medium, which includes a stored program, wherein when the program is run, the device where the computer-readable storage medium is located is controlled to execute the processing method applied in the first aspect or any possible implementation of the first aspect.

[0042] In the technical solution provided by an embodiment of the present invention, a first electronic device displays a desktop shortcut bar, the first electronic device establishes a communication connection with a second electronic device, the first electronic device displays an identifier of a second application of the second electronic device, and the first electronic device adds the identifier of the specified second application to the desktop shortcut bar in response to a first operation of a user on the identifier of the specified second application. The user can quickly access the application of the second electronic device through the local desktop shortcut bar of the first electronic device, thereby enabling the user to efficiently access the applications of distributed devices.

Brief Description of the Drawings

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0044] Figure 1 is a schematic diagram of the structure of a communication system in some embodiments;

[0045] Figure 2 is a schematic diagram of the hardware structure of an electronic device in some embodiments;

[0046] Figure 3 is a flow chart of a processing method applied in some embodiments;

[0047] Figures 4a to 4e is a schematic diagram of a processing method applied in some embodiments;

[0048] Figure 5 is a software structure block diagram of a first electronic device in some embodiments;

[0049] Figure 6 is a flowchart of a method for adding an identifier of a second application to a desktop shortcut bar in some embodiments;

[0050] Figure 7 is a flowchart of a method for displaying a logo of a second application in a desktop shortcut bar in some embodiments;

[0051] Figure 8 is a schematic diagram of the structure of a first electronic device in some embodiments. [Specific implementation method]

[0052] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0053] It should be clear that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0055] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0056] Figure 1 is a schematic diagram of the structure of the communication system in some embodiments, such as Figure 1 As shown, the system includes a first electronic device 10 and a second electronic device 20. A communication connection can be established between the first electronic device 10 and the second electronic device 20. In some embodiments, the first electronic device 10 and the second electronic device 20 can establish a wireless connection through a short-range communication technology, for example, the short-range communication technology may include wireless local area networks (WLAN), Bluetooth (BT) or near field communication (NFC).

[0057] In some embodiments, the first electronic device 10 includes but is not limited to a device equipped with The first electronic device 10 includes but is not limited to a mobile phone, a car computer, a tablet computer, a laptop computer, a desktop computer, a smart screen, etc.

[0058] In some embodiments, the second electronic device 20 includes but is not limited to a The second electronic device 20 includes but is not limited to a mobile phone, a car computer, a tablet computer, a laptop computer, a desktop computer, a smart screen, etc.

[0059] For example, Figure 2 As shown, a Figure 1 Schematic diagram of the hardware structure of the electronic equipment in the Figure 1 The first electronic device 10 and the second electronic device 20 can both adopt Figure 2 The hardware structure of the electronic equipment in the Figure 2 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195. It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present invention, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0060] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Among them, different processing units may be independent devices or integrated into one or more processors. Among them, the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a high-speed cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.

[0061] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc. It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present invention, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0062] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0063] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. 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.

[0064] The wireless communication function of the electronic device 100 can be implemented by antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modulation and demodulation processor and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. For example, antenna 1 can be reused as a diversity antenna of a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0065] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G / 6G 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, 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. The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor can be an independent device. In other embodiments, the modem processor can be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

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

[0067] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), 5G and subsequent evolution standards, BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0068] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute instructions to generate or change display information. The electronic device 100 can implement a shooting function through an ISP, one or more cameras 193, a video codec, a GPU, one or more display screens 194, and an application processor.

[0069] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

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

[0071] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

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

[0073] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0074] like Figure 1 As shown, the first electronic device 10 establishes a communication connection with the second electronic device 20 so that the first electronic device 10 and the second electronic device 20 form a super desktop, wherein the first electronic device 10 is a local device, the second electronic device 20 is a remote device, the application installed in the first electronic device 10 is a first application, and the application installed in the second electronic device 20 is a second application. The first electronic device 10 can display the logo of the second application on the desktop of the second electronic device 20 through the super desktop, wherein the logo can include an icon or a card. The super desktop function can be implemented through distributed technology, therefore, when the first electronic device 10 is a local device, the second electronic device 20 can also be called a distributed device.

[0075] For example, Figure 1 As shown, the first electronic device 10 is a car machine, the second electronic device 20 is a mobile phone, the model of the mobile phone is "P40pro", and the first electronic device 10 displays a desktop shortcut bar, which is a local shortcut bar of the first electronic device 10. The desktop shortcut bar can be a smart dock, wherein the smart dock is a floating application card display area at the bottom of the desktop. The desktop shortcut bar includes multiple application logos, and the multiple application logos include icons of "services and applications", icons of "settings", cards of "music", icons of "weather", and icons of "gallery". The first electronic device 10 displays a super desktop, which can be an interface of "Laura's P40pro", and the interface of "Laura's P40pro" includes multiple second application logos of the desktop of the second electronic device 20, for example, multiple second application logos may include icons of "music", "sports and health", "Huawei video", "memo", and "clock", etc., which are not listed here one by one.

[0076] The first electronic device 10 as a car machine is a device that is inconvenient for users to operate or is used in special scenarios, and its application resources are not rich enough; the second electronic device 20 as a mobile phone is a device that users often use, and its application resources are rich. Therefore, the user can establish communication with the first electronic device 10 and the second electronic device 20, and after the first electronic device 10 obtains the desktop application list of the second electronic device 20 and displays the desktop application of the second electronic device 20, it fully accesses the application icon on the desktop of the second electronic device 20, and the user finds the application icon of the second electronic device 20 and clicks the application icon, and the second electronic device 20 runs the application and displays the running application on the first electronic device 10, so that the user can find and open the application on the desktop of the second electronic device 20 on the first electronic device 10.

[0077] The related technology has been able to realize the user's demand for accessing mobile phone desktop applications through the super desktop function, but there is still a problem that the user needs to perform multiple operations during the access process. The user needs to open "Services and Applications" on the first electronic device 10, open the super desktop formed by the first electronic device 10 and the second electronic device 20, browse the application icons of the second electronic device 20 through the super desktop and find the icon of the required application, and then open the application through the icon of the found application, so that the user cannot efficiently access the application on the desktop of the second electronic device 20 through the local first electronic device 10, and the user cannot efficiently open the commonly used applications of the second electronic device 20 in one step.

[0078] In order to solve the problem in the related art that users cannot efficiently access applications on the desktop of a second electronic device, an embodiment of the present invention provides an application processing method, wherein a first electronic device displays a desktop shortcut bar, the first electronic device establishes a communication connection with a second electronic device, the first electronic device displays an identifier of a second application of the second electronic device, and the first electronic device adds the identifier of the specified second application to the desktop shortcut bar in response to a first operation of the user on the identifier of the specified second application. The user can quickly access the application of the second electronic device through the local desktop shortcut bar of the first electronic device, thereby enabling the user to efficiently access the applications of distributed devices.

[0079] Figure 3 is a flowchart of a processing method applied in some embodiments, Figures 4a to 4e Schematic diagram of the processing method used in some embodiments. Figure 3 , Figures 4a to 4e , the processing method of the application provided by the embodiment of the present invention is described in detail. Figure 3 As shown, the method includes:

[0080] Step 102: The first electronic device establishes a communication connection with the second electronic device.

[0081] The first electronic device and the second electronic device can establish a wireless connection so that the first electronic device and the second electronic device form a super desktop. For example, the user turns on WLAN and Bluetooth on both the first electronic device and the second electronic device, and logs in to the same Huawei account; the user brings the second electronic device close to the first electronic device; the user clicks "Services and Applications" on the first electronic device, and clicks "Super Desktop", the first electronic device will automatically discover the connectable second electronic device and establish a wireless connection with the second electronic device. In an embodiment of the present invention, when the first electronic device is turned on and in a bright screen state, the desktop of the first electronic device displays a local desktop shortcut bar. Regardless of whether the first electronic device and the second electronic device are in a connected state, the first electronic device will display a shortcut bar.

[0082] Step 104: The first electronic device displays an identifier of a second application of the second electronic device.

[0083] In an embodiment of the present invention, the second electronic device is provided with a bundle management service (Bundle Management Service). After the second electronic device is connected to the first electronic device, the second electronic device reports the application data of the second application to the first electronic device through the BMS to form a super desktop on the first electronic device, so that the first electronic device can display the logo of the second application of the second electronic device through the super desktop, thereby realizing the formation of a super desktop by the first electronic device and the second electronic device.

[0084] Figures 4a to 4e Both show the display interface of the first electronic device. Figure 4a As shown, when the first electronic device and the second electronic device form a super desktop, the first electronic device displays the super desktop, which may be a "Laura's P40pro" interface corresponding to the second electronic device.

[0085] like Figure 4a As shown, the first electronic device displays the logos of multiple second applications of the second electronic device through the "Laura's P40pro" interface. For example, the logos of multiple second applications may include an icon of "Music", an icon of "Sports Health", an icon of "Huawei Video", an icon of "Memo", and an icon of "Clock", etc., which are not listed one by one here.

[0086] Step 106: The first electronic device adds the identifier of the designated second application to the desktop shortcut bar in response to the user's first operation on the identifier of the designated second application.

[0087] The first operation includes operations such as clicking, long pressing and dragging, menu adding, or inputting a voice command. For example, the voice command may be "add XX to the desktop shortcut bar". In the embodiment of the present invention, taking the first operation of long pressing and dragging and the second application of "Huawei Video" as an example, adding the logo of the second application to the desktop shortcut bar is described.

[0088] like Figure 4a As shown, the user selects a specified second application logo from the displayed multiple second application logos. For example, the user selects the specified second application "Huawei Video" and prepares to add the icon of the second application "Huawei Video" to the desktop shortcut bar. Figure 4b As shown, the user long presses and drags the icon of the second application "Huawei Video", and the icon of "Huawei Video" moves to form a card following the hand. Figure 4c As shown in the figure, when the icon of "Huawei Video" reaches the area where the desktop shortcut bar is located, it will be squeezed in the desktop shortcut bar. Figure 4d As shown, the user drags the icon of "Huawei Video" to the squeeze position to add the icon of the second application to the desktop shortcut bar. Repeat the above process to add the logo of other second applications to the desktop shortcut bar from the super desktop.

[0089] As another alternative, Figure 4e As shown in , if the first operation is to add a menu, the user long presses the "Huawei Video" icon, and a function menu "Add to shortcut bar" pops up; Figure 4d As shown, the user clicks "Add to Quick Bar" to add the "Huawei Video" icon to the end of the desktop quick bar.

[0090] In the embodiment of the present invention, step 106 may specifically include: the first electronic device, in response to the user's first operation on the identifier of the specified second application, adds the identifier of the specified second application to a specified position of the desktop shortcut bar, for example, Figure 4c and Figure 4d As shown, the designated position may be a position generated in the desktop shortcut bar, and the user may add the "Huawei Video" icon to the designated position of the desktop shortcut bar.

[0091] In the embodiment of the present invention, Figures 4a to 4d As shown, the desktop shortcut bar uses the control "RecyclerView" to display the application logos in the form of a horizontal list.

[0092] In an embodiment of the present invention, the user adds the identifier of the second application to the local desktop shortcut bar, thereby customizing the second application as a commonly used distributed device application. And the user adds the identifier of the second application to a specified position of the desktop shortcut bar, thereby defining the priority of the identifier of the second application in the desktop shortcut bar, wherein the priority refers to the arrangement position of the identifier of the second application in the desktop shortcut bar. The user customizes the commonly used distributed device applications and the priority position of the application, making the definition more accurate and more in line with the user's intention.

[0093] The user may also use the same operation method as in step 106 to add the identifier of the local first application to the local desktop shortcut bar. Specifically, the first electronic device responds to the user's first operation on the identifier of the first application by adding the identifier of the first application to a designated location of the desktop shortcut bar, thereby customizing the first application as a commonly used local device application.

[0094] In an embodiment of the present invention, the identifier of the second application is added to the local desktop shortcut bar, so that the second application of the distributed device and the local application are mixed and arranged in the local desktop shortcut bar, the display and interactive logic of the local application in the desktop shortcut bar is consistent with that of the distributed device application, the local application in the desktop shortcut bar and the distributed device application can be seamlessly combined, and the user's interactive experience with the local application and the distributed device application is consistent, so that the user has an indiscriminate interactive experience with the local application and the distributed device application, thereby bringing the best experience to the user. In an embodiment of the present invention, the identifier of the second application is added to the local desktop shortcut bar, enriching the local application resources, thereby supporting users to efficiently and conveniently open and use the applications of distributed devices.

[0095] In some embodiments, after adding the identifier of the designated second application to the desktop shortcut bar, the user can also quickly access the second application of the second electronic device through the desktop shortcut bar, and the method can also include:

[0096] Step 200: The first electronic device opens the second application in the desktop shortcut bar in response to a second operation of the user on the identifier of the second application in the desktop shortcut bar.

[0097] If the first electronic device and the second electronic device are connected, the desktop shortcut bar may display the logo of the added second application, and step 200 may be executed to open any second application in the desktop shortcut bar. The second operation may include clicking or inputting a voice command, for example, the voice command may be "open XX in the desktop shortcut bar". Figure 4d As shown, the user clicks the "Huawei Video" icon in the desktop shortcut bar to open the second application "Huawei Video" of the second electronic device on the first electronic device.

[0098] In an embodiment of the present invention, when the first electronic device and the second electronic device remain connected, the user can directly open the second application of the customized commonly used distributed device in the local desktop shortcut bar at any time and use the second application, thereby realizing the opening of the commonly used distributed device application in one step on the local desktop and using the application. In some embodiments, if the first electronic device and the second electronic device are disconnected, the desktop shortcut bar no longer displays the logo of the second application. Then the method also includes:

[0099] Step 300: The communication connection between the first electronic device and the second electronic device is disconnected.

[0100] Specifically, if the distance between the first electronic device and the second electronic device is greater than a set distance, the communication connection is disconnected; or, the user manually disconnects the super desktop and disconnects the communication connection; or, when the network signal between the first electronic device and the second electronic device is poor, the communication connection is disconnected; or, the first electronic device is turned off and / or the second electronic device is turned off and disconnects the communication connection.

[0101] Step 302: The first electronic device stops displaying the logo of the second application in the desktop shortcut bar.

[0102] At this time, the desktop shortcut bar of the first electronic device no longer displays the logo of the second application, but only displays the logo of the first application of the local first electronic device, thereby achieving timely refresh of the application logo in the desktop shortcut bar. Figure 4a For example, suppose Figure 4a The desktop shortcut bar shown is a desktop shortcut bar without adding the identifier of the second application, then after executing step 300 and step 302, Figure 4a The desktop shortcut bar shown only includes multiple first application identifiers, and the multiple first application identifiers include an icon of "Services and Applications", an icon of "Settings", a card of "Music", an icon of "Weather" and an icon of "Gallery".

[0103] In some embodiments, the method further comprises:

[0104] Step 400: After the communication connection between the first electronic device and the second electronic device is disconnected, the communication connection is reestablished.

[0105] The first electronic device re-establishes a communication connection with the second electronic device, so that the first electronic device and the second electronic device re-establish a super desktop.

[0106] Step 402: The first electronic device resumes displaying the logo of the second application at a designated location of the desktop shortcut bar.

[0107] Before the first electronic device and the second electronic device re-establish a communication connection, the desktop shortcut bar only displays the logo of the first application. After the first electronic device and the second electronic device re-establish a communication connection, the desktop shortcut bar can not only display the logo of the first application, but also automatically restore the display of the logo of the second application at a specified position, thereby restoring the display of the logo of the user-defined commonly used second application in the desktop shortcut bar and maintaining the original specified position of the logo of the second application, so that the user can efficiently and conveniently access the second application, and it is convenient for the user to quickly find the required commonly used distributed device applications in the desktop shortcut bar according to memory. For example, Figure 4d As shown, the desktop shortcut bar restores the display of the "Huawei Video" icon in the specified position, and the desktop shortcut bar also displays the "Services and Applications" icon, the "Settings" icon, the "Music" card and the "Weather" icon.

[0108] In some embodiments, the method further comprises:

[0109] Step 500: After the second electronic device uninstalls the second application, the first electronic device stops displaying the logo of the uninstalled second application in the desktop shortcut bar.

[0110] In some embodiments, the first electronic device may store a first desktop shortcut bar application list and a second desktop shortcut bar application list.

[0111] The first desktop shortcut bar application list is a local desktop shortcut bar application list. After the first electronic device adds the identifier of the specified first application to the desktop shortcut bar, the application data of the specified first application can be stored in the first desktop shortcut bar application list. Therefore, the application data of the first application stored in the first desktop shortcut bar application list is used to display the identifier of the first application.

[0112] The second desktop shortcut bar application list is a desktop shortcut bar application list corresponding to the second electronic device. After the first electronic device adds the identifier of the specified second application to the desktop shortcut bar, the application data of the specified second application can be stored in the second desktop shortcut bar application list. Therefore, the application data of the second application stored in the second desktop shortcut bar application list is used to display the identifier of the second application.

[0113] If the second electronic device uninstalls the second application, the first electronic device will refresh the second desktop shortcut bar application list to delete the application data of the uninstalled second application from the second desktop shortcut bar application list, so that the desktop shortcut bar no longer displays the logo of the uninstalled second application, thereby realizing timely refresh of the application logo in the desktop shortcut bar.

[0114] In some embodiments, since the desktop shortcut bar can simultaneously display the identifier of the first application of the first electronic device and the identifier of the second application of the second electronic device, in order to enable the user to distinguish the identifier of the first application and the identifier of the second application in the desktop shortcut bar, the identifier of the first application and the identifier of the second application in the desktop shortcut bar can be displayed differentially. For example, the identifier of the first application and the identifier of the second application in the desktop shortcut bar have different superscripts or different background colors to achieve the differentiated display of the identifier of the first application and the identifier of the second application. For another example, the identifier of the first application in the desktop shortcut bar does not have a superscript, and only the identifier of the second application has a superscript to achieve the differentiated display of the identifier of the first application and the identifier of the second application. For another example, the identifier of the first application in the desktop shortcut bar has a superscript, and the identifier of the second application does not have a superscript to achieve the differentiated display of the identifier of the first application and the identifier of the second application. By differentially displaying the identifier of the local first application and the identifier of the second application of the distributed device in the desktop shortcut bar, the user can directly perceive the second application of the distributed device.

[0115] In some embodiments, after step 106, the method further includes:

[0116] Step 600: A first electronic device stores device information of at least one second electronic device, where the device information includes an identifier of the first electronic device, an identifier of the second electronic device, and a timestamp.

[0117] A first electronic device can form a super desktop with one or more second electronic devices, so the first electronic device can store device information of one or more second electronic devices. The first electronic device can build a local desktop shortcut bar database and store at least one device information in the desktop shortcut bar database. The first electronic device realizes local persistent storage of device information of the second electronic device by building a desktop shortcut bar database.

[0118] In an embodiment of the present invention, each time the first electronic device executes steps 102 to 106, it can be indicated that the first electronic device and the second electronic device have established a super desktop and there is an operation of adding the identifier of the second application specified on the super desktop to the desktop shortcut bar. At this time, the timestamp can be updated to the time point of the current establishment of the super desktop. Each time the first electronic device executes steps 102 to 106, the timestamp is updated to the time point of the current establishment of the super desktop. Therefore, after the first electronic device executes steps 102 to 106 for the last time, the timestamp can be the time point of the last establishment of the super desktop. When the first electronic device and the second electronic device establish the super desktop this time, steps 102 and 104 can be executed. Therefore, for example, the timestamp can be the time point of the current execution of step 102, that is, the timestamp can be the time point when the first electronic device and the second electronic device establish a communication connection; or, the timestamp can be the time point of the current execution of step 104, that is, the timestamp can be the time point when the first electronic device displays the identifier of the second application of the second electronic device.

[0119] The identifier of the first electronic device is the identifier of the first electronic device that has formed a super desktop with the second electronic device. In other words, the identifier of the first electronic device is the identifier of the first electronic device that has established a communication connection with the second electronic device. The identifier of the second electronic device is the identifier of the first electronic device that has formed a super desktop with the first electronic device. In other words, the identifier of the second electronic device is the identifier of the second electronic device that has established a communication connection with the first electronic device.

[0120] The first electronic device may set a device information table (smartdock_source_device table), the device information table including at least one device information, and the first electronic device may store the device information table in the desktop shortcut bar database. Table 1 shows the device information table, as shown in Table 1 below.

[0121] Table 1

[0122]

[0123]

[0124] Table 1 shows four fields, among which the field named "id" is a table identifier, which is used to identify the device information table, and the type of the field "id" is an integer (integer); the field named "user_id" is a user identifier, and the type of the field "user_id" is an integer (integer); the field named "source_device_udid" is a source device identifier, and the type of the field "source_device_udid" is text "text"; the field named "use_timestamp" is a use timestamp, and the type of the field "use_timestamp" is a timestamp (timestamp). As shown in Table 1 above, the identifier of the first electronic device is the user identifier (user_id), the identifier of the second electronic device is the source device identifier (source_device_udid), and the timestamp is a use timestamp (use_timestamp).

[0125] In some embodiments, the method further includes: if the amount of device information of the second electronic device stored in the first electronic device reaches a set amount, deleting the device information with the smallest timestamp and storing new device information of the second electronic device.

[0126] In an embodiment of the present invention, a maximum of a set number of device information is stored in the device information table. If the first electronic device and a new second electronic device perform steps 102 to 106, the first electronic device needs to store the device information of the new second electronic device. At this time, the first electronic device can determine whether the number of device information of the second electronic device stored has reached the set number. If the number of device information of the second electronic device stored by the first electronic device has not reached the set number, indicating that the device information table can continue to store new device information, the first electronic device can directly store the device information of the new second electronic device in the device information table; if the number of second electronic devices stored by the first electronic device has reached the set number, indicating that the device information table can no longer store new device information, it is necessary to first delete the device information with the smallest timestamp in the stored device information table, and then store the device information of the new second electronic device in the device information table. Among them, the set number can be configured according to product needs, for example, the set number is 3. Only the device information of the set number of second electronic devices used recently is stored in the device information table, thereby achieving the purpose of timely cleaning of aging data.

[0127] In some embodiments, after step 106, the method further includes:

[0128] Step 700: The first electronic device stores application information of at least one second electronic device, where the application information includes an identifier of the first electronic device, an identifier of the second electronic device, and application data of at least one designated second application corresponding to the identifier of the first electronic device and the identifier of the second electronic device.

[0129] A first electronic device can form a super desktop with one or more second electronic devices, so the first electronic device can store application information of one or more second electronic devices. The first electronic device can store application information of at least one second electronic device in a desktop shortcut database. The first electronic device implements local persistent storage of application information of the second electronic device by constructing a desktop shortcut bar database.

[0130] In the embodiment of the present invention, the first electronic device stores the device information and application information of the second electronic device in the local desktop shortcut bar database, thereby providing a basic condition for the user to quickly use the device information and application information of the second electronic device on the local first electronic device.

[0131] The first electronic device may set an application information table (smartdock_source_device_element_info table), the application information table including application information of at least one second electronic device, and the first electronic device may store the application information table in the desktop shortcut bar database. In an embodiment of the present invention, the second desktop shortcut bar application list may include an application information table, and the second desktop shortcut bar application list may store application information of at least one second electronic device. Table 2 shows the application information table, as shown in Table 2 below.

[0132] Table 2

[0133]

[0134] Table 2 shows multiple fields, among which the field named "id" is a table identifier, which is used to identify the application information table, and the type of the field "id" is an integer (integer); the field named "user_id" is a user identifier, and the type of the field "user_id" is an integer (integer); the field named "source_device_udid" is a source device identifier, and the type of the field "source_device_udid" is text "text"; the field named "from_container_type" is an element source type, and the type of the field "from_container_type" is an integer (integer). If the value of this field is 0, it indicates that the element source type is a screen adaptive layout, and if the value of this field is 1, it indicates that the element source type is a mobile phone layout; the field named "element_type" is an element type. Type, the type of this field is an integer (integer). When the value of this field is 0, it indicates that the element type is an application icon. For example, this field can also support other element types, which are not listed here one by one; the field named "intent" is the startup information. The type of this field "intent" is text (text). The startup information is the link information for the user to open the application; the field named "form_id" is the card identifier. The type of this field is an integer (integer). The card identifier indicates that the element type added to the desktop shortcut bar supports the service (FormExtensionAbility, FA) card; (cellX, cellY) is the coordinate of the element added to the desktop shortcut bar in the desktop shortcut bar, where the field named "cellX" is the X-axis coordinate, and the field named "cellY" is the Y-axis coordinate; the field named "spanX" is the horizontal size, and the field named "spanY" is the vertical size. In addition, the application information table can also reserve at least one extension field, for example, Figure 2 Two extension fields "reserve1" and "reserve2" are shown.

[0135] As shown in Table 2 above, the field "intent" may include card five-tuple information, which may include the card-bound application name (String bundleName), card application name (String abilityName), card module name (String moduleName), card size (int dimensions) and card name (String formName).

[0136] As shown in Table 2 above, the identifier of the first electronic device is a user identifier (user_id), and the identifier of the second electronic device is a source device identifier (source_device_udid).

[0137] As shown in Table 2 above, in a possible implementation, the application data of the second application specified in the application information may include an element type (element_type), startup information (intent), a position and a size, wherein the position may include an X-axis coordinate and a Y-axis coordinate, and the size may include a horizontal size and a vertical size. Optionally, if the type of element added to the desktop shortcut bar supports a service card, the application data of the specified second application also includes a card identifier (form_id).

[0138] As shown in Table 2 above, optionally, the application data of the specified second application may further include an element source type (from_container_type).

[0139] In some embodiments, the method also includes: if the first electronic device deletes device information including the identification of the first electronic device and the identification of the second electronic device, the first electronic device deletes the identification of the first electronic device, the identification of the second electronic device and the application data of the second application corresponding to the identification of the first electronic device and the identification of the second electronic device in the application information.

[0140] In an embodiment of the present invention, the first electronic device deletes the device information of a second electronic device in Table 1, that is, deletes the "user_id", "source_device_udid" and "use_timestamp" of a second electronic device in Table 1. Accordingly, the first electronic device synchronously deletes the same "source_device_udid", "use_timestamp" and the application data corresponding to the "source_device_udid" and "use_timestamp" in Table 2, so that the application information table and the device information table maintain data synchronization.

[0141] In some embodiments, step 402 may specifically include:

[0142] Step 4022: The first electronic device obtains application data of the second application corresponding to the identifier of the first electronic device and the identifier of the second electronic device from the application information.

[0143] In step 400, the first electronic device reestablishes a communication connection with the second electronic device, so that the first electronic device and the second electronic device re-establish a super desktop. Since the desktop shortcut bar database constructed by the first electronic device stores a second desktop shortcut bar application list, and the second desktop shortcut bar application list stores application information of the second electronic device, the first electronic device can obtain application data of the second application corresponding to the identifier of the first electronic device and the identifier of the second electronic device from the second desktop shortcut bar application list.

[0144] Step 4024: The first electronic device displays the logo of the second application at a designated location of the desktop shortcut bar according to the application data of the second application.

[0145] Before the first electronic device re-establishes the communication connection with the second electronic device, the desktop shortcut bar may only display the identifier of the first application.

[0146] After the first electronic device re-establishes a communication connection with the second electronic device, the first electronic device may display the identifier of the second application at a specified location on the desktop shortcut bar based on the acquired application data of the second application. For example, when the application data of the second application includes element type (element_type), startup information (intent), position and size, the first electronic device may display the icon of the second application at a specified location on the desktop shortcut bar based on the element type, startup information, position and size. For another example, when the application data of the second application includes a card identifier, startup information (intent), position and size, the first electronic device may display the card of the second application at a specified location on the desktop shortcut bar based on the card identifier, startup information, position and size. In this case, the startup information includes card quintuple information.

[0147] For example, Figure 5 As shown, Figure 5 A software structure diagram of a first electronic device is provided. The first electronic device 10 includes a desktop launcher (Launcher), and the desktop launcher includes a desktop shortcut bar and a super desktop. The super desktop includes a screen adaptive layout component, a mobile layout component, and a second desktop shortcut bar application list. The screen adaptive layout may include an application list component and a recently used application component. The recently used application component is used to display Figures 4a to 4d Common applications in .

[0148] Combine the following Figure 5 , a process of adding the identifier of the second application to the desktop shortcut bar and a process of displaying the identifier of the second application in the desktop shortcut bar are described in detail.

[0149] Figure 6 is a flowchart of a method for adding an identifier of a second application to a desktop shortcut bar in some embodiments, such as Figure 5 and Figure 6 As shown, the method includes:

[0150] Step 802: The user inputs a first operation instruction for the identifier of a designated second application into the application list component of the screen adaptive layout component.

[0151] In the embodiment of the present invention, Figure 5 As shown, the first electronic device 10 displays the identifiers of multiple second applications of the super desktop through the application list component. The user selects the identifier of the specified second application to be added to the desktop shortcut bar from the displayed multiple identifiers of the second application. The user performs a first operation on the identifier of the specified second application to input a first operation instruction corresponding to the first operation to the application list component. Among them, the first operation may include operations such as clicking, long pressing and dragging, adding to a menu, or inputting a voice command, and accordingly, the first operation instruction may include a click instruction, a long pressing and dragging instruction, a menu adding instruction, or a voice instruction.

[0152] Step 804: The application list component of the screen adaptive layout component adds the identifier of the specified second application to the specified position of the desktop shortcut bar in response to the first operation instruction.

[0153] Step 806: The application list component of the screen adaptive layout component stores the application data of the specified second application in the second desktop shortcut bar application list in the desktop shortcut bar database.

[0154] In an embodiment of the present invention, after executing step 804, the application list component of the screen adaptive layout component stores the application data of the specified second application in the newly created second desktop shortcut bar application list, but does not store the application data of the specified second application in the local first desktop shortcut bar application list, thereby realizing the shielded warehousing processing of the application data of the second application.

[0155] In an embodiment of the present invention, the first electronic device also stores the identifier of the first electronic device and the identifier of the second electronic device in the device information table shown in Table 1 and the application information table shown in Table 2 to the desktop shortcut bar database to achieve persistent storage of the device information and application information of the second electronic device.

[0156] In an embodiment of the present invention, in a possible implementation, as Figure 5 As shown, when the user inputs a first operation instruction for the identifier of a specified second application to the mobile phone layout component, the mobile phone layout component may add the identifier of the specified second application to the specified position of the desktop shortcut bar in response to the first operation instruction; and the mobile phone layout component may store the application data of the specified second application in the second desktop shortcut bar application list of the desktop shortcut bar database.

[0157] Figure 7 is a flowchart of a method for displaying a logo of a second application in a desktop shortcut bar in some embodiments, such as Figure 5 and Figure 7 As shown, the method includes:

[0158] Step 902: The desktop shortcut bar receives a power-on command input by the user.

[0159] Step 904: The desktop shortcut bar displays the logo of the first application in response to the power-on instruction.

[0160] After the first electronic device is turned on, since the first electronic device has not yet established a communication connection with the second electronic device, the first electronic device and the second electronic device are in a disconnected state, so the desktop shortcut bar only displays the logo of the local first application, and does not display the logo of the remote second application.

[0161] Step 906: The user establishes a communication connection between the first electronic device and the second electronic device so that the first electronic device and the second electronic device form a super desktop.

[0162] Step 908: The super desktop sends a refresh display notification to the desktop shortcut bar, where the refresh display notification carries application data of the second application.

[0163] Since the second desktop shortcut bar application list in the desktop shortcut database stores the application information of the second electronic device, the second desktop shortcut bar application list can send a refresh display notification to the desktop shortcut bar, and carry the application data of the second application in the application information of the second electronic device in the refresh display notification.

[0164] Step 910: The desktop shortcut bar parses the refresh display notification to obtain application data of the second application.

[0165] Step 912: The desktop shortcut bar displays the logo of the second application at a designated location according to the application data of the second application.

[0166] The desktop shortcut bar displays the identifier of the second application according to the application data of the second application in the refresh display notification, thereby refreshing the application identifier displayed in the desktop shortcut bar.

[0167] In the technical solution of the application processing method provided by an embodiment of the present invention, a first electronic device establishes a communication connection with a second electronic device, the first electronic device displays an identifier of a second application of the second electronic device, and the first electronic device adds the identifier of the specified second application to a desktop shortcut bar in response to a first operation of a user on the identifier of the specified second application. The user can directly access the application of the second electronic device through the desktop shortcut bar, thereby enabling the user to efficiently access the application of the second electronic device, thereby achieving efficient one-step direct access to commonly used applications of the second electronic device.

[0168] Figure 8 is a schematic diagram of the structure of the first electronic device in some embodiments, such as Figure 8 As shown, the first electronic device includes: a communication module 11 , a display module 12 and a first operating module 13 .

[0169] The display module 12 is used to display the desktop shortcut bar; the communication module 11 is used to establish a communication connection with the second electronic device; the display module 12 is also used to display the identifier of the second application of the second electronic device; the first operation module 13 is used to respond to the user's first operation on the identifier of the specified second application, and add the identifier of the specified second application to the desktop shortcut bar.

[0170] In some embodiments, the first electronic device further includes a second operating module 14, and the second operating module 14 is used to open the second application in the desktop shortcut bar in response to a second operation of the user on the identifier of the second application in the desktop shortcut bar.

[0171] In some embodiments, the communication module 11 is further used to disconnect the communication connection with the second electronic device; the display module 12 is further used to stop displaying the logo of the second application in the desktop shortcut bar.

[0172] In some embodiments, the communication module 11 is further used to re-establish the communication connection with the second electronic device after the communication connection is disconnected; the display module 12 is further used to restore the display of the logo of the second application at the designated position of the desktop shortcut bar.

[0173] In some embodiments, the display module 12 is further configured to stop displaying the identifier of the uninstalled second application in the desktop shortcut bar after the second electronic device uninstalls the second application.

[0174] In some embodiments, the first electronic device further includes: a storage module 15, the storage module 15 is used to store device information of at least one of the second electronic devices, the device information includes an identifier of the first electronic device, an identifier of the second electronic device and a timestamp.

[0175] In some embodiments, the storage module 15 is further configured to delete the device information with the smallest timestamp and store new device information of the second electronic device if the amount of the stored device information of the second electronic device reaches a set amount.

[0176] In some embodiments, the storage module 15 is also used to store application information of at least one of the second electronic devices, the application information including an identifier of the first electronic device, an identifier of the second electronic device, and application data of at least one specified second application corresponding to the identifier of the first electronic device and the identifier of the second electronic device.

[0177] In some embodiments, the storage module 15 is also used to delete the identification of the first electronic device, the identification of the second electronic device, and the application data of the second application corresponding to the identification of the first electronic device and the identification of the second electronic device in the application information if the device information including the identification of the first electronic device and the identification of the second electronic device is deleted.

[0178] In some embodiments, the display module 12 is specifically used to obtain application data of the second application corresponding to the identifier of the first electronic device and the identifier of the second electronic device from the application information; and display the identifier of the second application at a specified position of the desktop shortcut bar according to the application data of the second application.

[0179] In the technical solution of the first electronic device provided by an embodiment of the present invention, the display module is used to display a desktop shortcut bar, the communication module is used to establish a communication connection with the second electronic device, the display module is also used to display the identifier of the second application of the second electronic device, and the first operation module is used to respond to the user's first operation on the identifier of the specified second application, and add the identifier of the specified second application to the desktop shortcut bar. The user can quickly access the application of the second electronic device through the local desktop shortcut bar of the first electronic device, thereby enabling the user to efficiently access the application of distributed devices.

[0180] An embodiment of the present invention provides a first electronic device, which includes: a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the first electronic device, enable the first electronic device to execute each step in the processing method embodiment of the above-mentioned application.

[0181] An embodiment of the present invention provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes each step in the processing method embodiment of the above application.

[0182] An embodiment of the present invention provides a computer program product including instructions. When the computer program product is run on a computer or any at least one processor, the computer is enabled to execute each step in the above-mentioned application processing method embodiment.

[0183] In the embodiments of the present invention, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. A and B may be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c may be single or multiple.

[0184] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0185] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0186] In several embodiments provided by the present invention, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0187] The above is only a specific embodiment of the present invention. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for processing an application, characterized in that: The method is applied to a first electronic device, where the first electronic device displays a desktop shortcut bar; the method includes: The first electronic device establishes a communication connection with the second electronic device; The first electronic device displays an identification of a second application of the second electronic device; The first electronic device adds the identifier of the designated second application to the desktop shortcut bar in response to a first operation of the user on the identifier of the designated second application.

2. The method according to claim 1, characterized in that: The method further comprises: The first electronic device opens the second application in the desktop shortcut bar in response to a second operation of the user on the identifier of the second application in the desktop shortcut bar.

3. The method according to claim 1, characterized in that The method further comprises: The communication connection between the first electronic device and the second electronic device is disconnected; The first electronic device stops displaying the identifier of the second application in the desktop shortcut bar.

4. The method according to claim 1, characterized in that The method further comprises: reestablishing a communication connection between the first electronic device and the second electronic device after the communication connection is disconnected; The first electronic device resumes displaying the logo of the second application at the designated position of the desktop shortcut bar.

5. The method according to claim 1, characterized in that The method further comprises: After the second electronic device uninstalls the second application, the first electronic device stops displaying the identifier of the uninstalled second application in the desktop shortcut bar.

6. The method according to claim 1, characterized in that The desktop shortcut bar also includes an identifier of a first application of the first electronic device; The logo of the first application and the logo of the second application in the desktop shortcut bar have different superscripts or different background colors; or, The logo of the first application in the desktop shortcut bar has a corner mark; or, The logo of the second application in the desktop shortcut bar has a corner mark.

7. The method according to claim 1, characterized in that After the first electronic device adds the identifier of the designated second application to the desktop shortcut bar in response to a first operation of the user on the identifier of the designated second application, the method further includes: The first electronic device stores device information of at least one of the second electronic devices, where the device information includes an identifier of the first electronic device, an identifier of the second electronic device, and a timestamp.

8. The method according to claim 7, characterized in that The method further comprises: If the amount of device information of the second electronic device stored in the first electronic device reaches a set amount, the device information with the smallest timestamp is deleted, and new device information of the second electronic device is stored.

9. The method according to claim 4, characterized in that After the first electronic device adds the identifier of the designated second application to the desktop shortcut bar in response to a first operation of the user on the identifier of the designated second application, the method further includes: The first electronic device stores application information of at least one of the second electronic devices, the application information including an identifier of the first electronic device, an identifier of the second electronic device, and application data of at least one designated second application corresponding to the identifier of the first electronic device and the identifier of the second electronic device.

10. The method according to claim 9, characterized in that The method further comprises: If the first electronic device deletes the device information including the identification of the first electronic device and the identification of the second electronic device, the first electronic device deletes the identification of the first electronic device, the identification of the second electronic device and the application data of the second application corresponding to the identification of the first electronic device and the identification of the second electronic device in the application information.

11. The method according to claim 9, characterized in that The first electronic device resumes displaying the logo of the second application at a designated position of the desktop shortcut bar, including: The first electronic device acquires, from the application information, application data of the second application corresponding to the identifier of the first electronic device and the identifier of the second electronic device; The first electronic device displays the logo of the second application at a designated position of the desktop shortcut bar according to the application data of the second application.

12. The method according to any one of claims 1 to 11, characterized in that: The logo includes an icon or a card.

13. The method according to any one of claims 1 to 11, characterized in that: The first operation includes clicking, long pressing and dragging, adding to a menu, or inputting a voice command.

14. A first electronic device, characterized in that: include: A communication module, a display module and a first operation module; The display module is used to display the desktop shortcut bar; The communication module is used to establish a communication connection with the second electronic device; The display module is further used to display an identification of a second application of the second electronic device; The first operating module is used to add the identifier of the designated second application to the desktop shortcut bar in response to a first operation of the user on the identifier of the designated second application.

15. A first electronic device, characterized in that: include: Display screen; one or more processors; Memory; And one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the first electronic device, enable the first electronic device to execute the processing method of the application described in any one of claims 1 to 13.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the application processing method according to any one of claims 1 to 13.