Method for calling applications across devices and electronic device

By displaying relevant application icons of other devices on the first electronic device and directly instructing processing, the problem of multiple user operations in multi-device operation is solved and work efficiency is improved.

CN114296948BActive Publication Date: 2025-09-30HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010997315.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-21
Publication Date
2025-09-30
Estimated Expiration
2040-09-21

AI Technical Summary

Technical Problem

During the operation of multiple electronic devices, users need to perform multiple operations, resulting in low work efficiency.

Method used

By displaying application icons related to target data in other electronic devices on the first electronic device and directly sending a message to instruct the second electronic device to process the target data, the number of operations performed by the user on different devices is reduced.

Benefits of technology

It improves the user's work efficiency in multi-device operations and reduces the number of operations the user performs on different devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114296948B_ABST
    Figure CN114296948B_ABST
Patent Text Reader

Abstract

The present application provides a method and electronic device for invoking applications across multiple devices, relating to the field of electronic device technology. The method can reduce operational complexity and improve user work efficiency. Specifically, the method includes: in response to a user's first operation on target data, a first electronic device can display a first interface. Subsequently, in response to a user's second operation on an icon of a first application among multiple application icons, the first electronic device can send a first message to a second electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of electronic devices, and in particular to a method for calling an application across devices and an electronic device. Background Art

[0002] With the advancement of technology, the types of electronic devices (such as mobile phones, tablets, and laptops) are increasing. Because different types of electronic devices have different functions, their application scenarios also vary. For example, mobile phones can not only install various photo-taking applications, but are also compact and easy to carry, allowing users to take photos with their phones at any time. Laptops have higher processing performance than mobile phones and larger screens for easier operation, so users can use them to process photos.

[0003] Currently, to improve the user experience, different electronic devices are often linked to share data, allowing users to perform a series of operations across multiple devices. For example, a user might take a photo with a mobile phone and then send it to a laptop via Bluetooth or a mobile network. The user then uses the laptop to receive the photo, open an image processing application, and then process the photo using that application.

[0004] However, in the above solution, the user needs to first use a laptop to receive the photos, then open the application, and finally use the application to process the photos. As can be seen, when the user needs to use multiple electronic devices to perform a series of operations, the user needs to perform multiple operations, which is inefficient. Summary of the Invention

[0005] An embodiment of the present application provides a method for calling applications across devices. When a user needs to use multiple electronic devices to perform a series of operations, the number of user operations can be reduced and the user's work efficiency can be improved.

[0006] In a first aspect, an embodiment of the present application provides a method for calling an application across devices, which can be applied to a first electronic device.

[0007] In this method for calling applications across devices, in response to a first user operation on target data, a first electronic device may display a first interface, wherein the first interface includes icons of multiple applications, wherein the multiple applications include applications related to the target data on one or more electronic devices, and the distance between the one or more electronic devices and the first electronic device is less than a preset distance threshold. Subsequently, in response to a second user operation on an icon of a first application among the multiple application icons, the first electronic device sends a first message to a second electronic device, wherein the first message includes the target data, the first application is an application on the second electronic device among the one or more electronic devices, and the first message is used to instruct the second electronic device to process the target data through the first application.

[0008] Based on the above technical solution, after the user performs a first operation on the target data, the first electronic device can display a first interface including icons of multiple applications, which are applications in other electronic devices related to the target data. In this way, the user can view applications in other electronic devices related to the target data through the first electronic device without opening other electronic devices. In addition, in response to the user's second operation on the icon of the first application, the first electronic device can send a first message to the second electronic device to instruct the second electronic device to process the target data through the first application. In other words, the first electronic device can call the first application in the second electronic device to process the target data in response to the user's second operation on the icon of the first application. Therefore, using the method of the present application, the user does not need to perform multiple operations on the first electronic device and the second electronic device respectively, and can call the first application in the second electronic device to process the target data. In this way, the number of user operations can be reduced and the efficiency of processing the above target data can be improved.

[0009] Exemplarily, the laptop computer includes a photo editing application, the mobile phone b includes a social application, and the mobile phone c includes an audio application. The distance between mobile phone a and the laptop computer, mobile phone b, and mobile phone c is less than 8 meters (i.e., the preset distance threshold). When the user uses a mobile phone to take a photo, obtains picture A, and beautifies picture A through the photo editing application in the laptop computer, the technical solution of the present application can be used. Specifically, the user can perform a sharing operation on picture A (i.e., the first operation), and the mobile phone displays the icon of the photo editing application (the photo editing application can perform photo editing operations on picture A) and the icon of the social application (the social application can send picture A). Afterwards, the user operates the icon of the photo editing application, and the mobile phone can send picture A to the laptop computer, and enable the laptop computer to open picture A through the photo editing application.

[0010] In combination with the first aspect, in one possible design method, the first application is a social application. The above-mentioned method of "in response to the user's second operation on the icon of the first application among the icons of multiple applications, the first electronic device can send a first message to the second electronic device" includes: in response to the user's second operation on the icon of the first application, the first electronic device can display a second interface, and the second interface includes multiple contact options of the first application, and each contact option corresponds to a contact in the first application. Afterwards, in response to the user's third operation on the first contact option in the second interface, the first electronic device can send a first message to the second electronic device, and the first message also includes a first account, and the first account is the account of the contact corresponding to the first contact option. The first message is used to instruct the second electronic device to send target data to the first account through the first application.

[0011] Based on the above technical solution, when the first application is a social application, in response to a user's second operation on the first application's icon, the first electronic device can display multiple contact options within the first application. This allows the user to display multiple contact options within the first application on the first electronic device without having to operate the second electronic device. Subsequently, in response to a user's third operation on the first contact option, the first electronic device can send a first message including the first account number to the second electronic device, instructing the second electronic device to send target data to the first account via the first application. In other words, in response to the user's second and third operations, the first electronic device can invoke the first application on the second electronic device to send the target data to the first account. Using the method of this application, the user can invoke the first application on the second electronic device to send the target data to the first account without having to operate the second electronic device to perform a series of operations, such as opening the first application, finding the first contact, and selecting the target data to send it to the first contact. This reduces the number of user operations required and improves the efficiency of processing the target data.

[0012] For example, a user has a tablet computer and a mobile phone. The tablet computer has an application for taking notes, and the distance between the mobile phone and the tablet computer is less than 8 meters (i.e., a preset distance threshold). After the user completes the class notes using the tablet computer, he wants to share them with Zhang San through the social application a on the mobile phone. Specifically, after the tablet computer displays the icon of the social application on the mobile phone, the user performs a second operation on the icon of the social application, and the tablet computer can display multiple contact options in the social application that include an option corresponding to Zhang San. Afterwards, the user selects the option corresponding to Zhang San, and the tablet computer can send the class notes and Zhang San's account to the mobile phone, so that the mobile phone can send the class notes to Zhang San through the social application.

[0013] In conjunction with the first aspect, in another possible design, the method of "in response to a first user operation on target data, the first electronic device may display a first interface" includes: in response to the first user operation on the target data, the first electronic device may send information indicating the file type of the target data to one or more electronic devices. Thereafter, the first electronic device may receive icons of multiple applications from the one or more electronic devices and display a first interface including the icons of the multiple applications, where the multiple applications are related to the target data in the one or more electronic devices.

[0014] It is understandable that when the first electronic device sends information indicating the file type of the target data to another electronic device (such as a second electronic device), the second electronic device can select an application related to the target data based on the file type, and the second electronic device can only send icons of applications related to the target data to the first electronic device. In this way, the first electronic device only displays applications related to the target data, that is, applications unrelated to the target data are not displayed on the first electronic device, which can help users reduce the number of options and improve the user experience.

[0015] In combination with the first aspect, in another possible design method, the first interface also includes: an identifier of the electronic device corresponding to each application in the multiple applications.

[0016] It is understandable that the same application may exist in one or more electronic devices. In order to distinguish applications in different electronic devices, the identifier of the electronic device corresponding to each application can be displayed in the first interface. In this way, users can select applications based on electronic devices, avoiding the user using applications in other electronic devices and improving the accuracy of users calling applications across devices.

[0017] In conjunction with the first aspect, in another possible design, the one or more electronic devices include multiple electronic devices; the method further includes: the first electronic device may display identifiers of the multiple electronic devices. Thereafter, in response to a user selecting an identifier of a second electronic device from the multiple electronic device identifiers, the first electronic device may display a first interface, wherein the multiple application icons included in the first interface are icons of applications on the second electronic device that are related to the target data.

[0018] That is to say, the first electronic device can first display the identifications of multiple electronic devices. Since each electronic device usually includes multiple applications, compared to displaying the identifications of multiple applications in multiple electronic devices in the first electronic device, the first electronic device only displays the identifications of multiple electronic devices, which can reduce the options displayed by the first electronic device and improve the simplicity of the interface. Moreover, in response to the user's selection operation of the identification of the second electronic device among the identifications of multiple electronic devices, the first electronic device then displays the icon of the application related to the target data in the second electronic device. In this way, if the user knows that the electronic device he is using is the second electronic device, the user only needs to select the identification of the second electronic device to display the icon of the application in the second electronic device on the first electronic device, thereby allowing the user to select the icon of the appropriate application from the icons of multiple applications in the second electronic device.

[0019] In combination with the first aspect, in another possible design method, the multiple applications include applications in one or more electronic devices that are related to the target data. Specifically, the multiple applications include applications in one or more electronic devices that are related to the target data and are not installed in the first electronic device.

[0020] It is understandable that, under normal circumstances, if an application (such as a first application) is installed in the first electronic device, the user does not need to use the first application in another electronic device. In other words, the user usually processes the target data through the second application in the second electronic device only when the first application is not installed in the first electronic device. Therefore, when the first electronic device displays multiple applications that are related to the target data in one or more electronic devices and are not installed in the first electronic device, it can effectively help the user reduce options, avoid the user from choosing from too many options, and improve the user experience.

[0021] In combination with the first aspect, in another possible design manner, the icons of the multiple applications further include: icons of applications related to the target data in the first electronic device.

[0022] It is understood that the multiple application icons include not only applications in one or more electronic devices that are related to the target data and are not installed on the first electronic device, but also icons of applications in the first electronic device that are related to the target data. In other words, the user can select applications in other electronic devices (such as the second electronic device) as well as applications in the first electronic device, which can provide users with more choices and improve the user experience.

[0023] In conjunction with the first aspect, in another possible design, the method of "in response to a user selecting an identifier of a second electronic device from among the identifiers of multiple electronic devices, the first electronic device may display a first interface" includes: in response to a user selecting an identifier of a second electronic device from among the identifiers of multiple electronic devices, if the account logged into the second electronic device is a related account and the account logged into the first electronic device is a related account, the first electronic device may display the first interface. If the account logged into the second electronic device is not a related account and the account logged into the first electronic device is not a related account, the first electronic device performs identity authentication on the user of the first electronic device; if the identity authentication is successful, the first electronic device displays the first interface.

[0024] It is understandable that since the icons of applications in other electronic devices will be displayed in the first electronic device, the first electronic device will obtain the private content in other electronic devices. Therefore, in order to avoid the privacy of users of other electronic devices from being leaked, the first electronic device can only display the icons of applications in the second electronic device when the account logged in by the second electronic device is an associated account with the account logged in by the first electronic device. If the account logged in by the second electronic device is not an associated account with the account logged in by the first electronic device, it means that the second electronic device does not trust the first electronic device. Therefore, the first electronic device needs to authenticate the user of the first electronic device; if the identity authentication is passed, the first electronic device can display the icons of applications in the second electronic device. In this way, electronic devices that the second electronic device does not trust can be prevented from obtaining the private content of the second electronic device, thereby protecting the privacy of the user.

[0025] In a second aspect, an embodiment of the present application provides a method for calling an application across devices, which can be applied to a second electronic device.

[0026] In this cross-device application invocation method, a second electronic device receives information indicating the file type of target data from a first electronic device and sends an icon of at least one application to the first electronic device. The at least one application includes an application related to the target data on the second electronic device, and the distance between the second electronic device and the first electronic device is less than a preset distance threshold. Subsequently, the second electronic device receives a first message from the first electronic device, and processes the target data using a first application. The first message includes the target data, and the first application is one of the at least one application. The first message instructs the second electronic device to process the target data using the first application.

[0027] Based on the above technical solution, the second electronic device can send applications related to the target data to the first electronic device based on the file type of the received target data. In this way, the number of applications sent by the second electronic device to the first electronic device can be reduced, so that fewer application icons are displayed in the first electronic device, helping users reduce the number of options and improving user experience. Moreover, after receiving the first message from the first electronic device, the second electronic device can process the target data through the first application without the user having to operate the second electronic device. Therefore, when a user needs to use multiple electronic devices to perform a series of operations, the technical solution of the present application can reduce the number of user operations and improve the efficiency of processing target data.

[0028] In conjunction with the second aspect, in one possible design, the first application is a social application. The method for calling applications across devices further includes: the second electronic device may send information about multiple contacts of the first application to the first electronic device, where the information about the multiple contacts is used to display multiple contact options of the first application, where each contact option corresponds to a contact in the first application.

[0029] In conjunction with the second aspect, in another possible design, the first message also includes the first account. The aforementioned method of "the second electronic device can receive the first message from the first electronic device and process the target data through the first application" includes: the second electronic device receives the first message from the first electronic device and sends the target data to the first account through the first application.

[0030] It is understandable that after receiving the first message from the first electronic device, the second electronic device can send the target data to the first account through the first application, without the user having to operate the second electronic device. Therefore, when a user needs to use multiple electronic devices to perform a series of operations, the technical solution of this application can reduce the number of user operations and improve user work efficiency.

[0031] In a third aspect, an embodiment of the present application provides an electronic device, which is a first electronic device; the first electronic device includes: a memory and a processor, the memory being coupled to the processor; the memory being used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the processor, the first electronic device executes the method described in the first aspect and any possible design method thereof.

[0032] In a fourth aspect, an embodiment of the present application provides an electronic device, which is a second electronic device; the second electronic device includes: a memory and a processor, the memory being coupled to the processor; the memory being used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the processor, the second electronic device executes the method described in the second aspect and any possible design method thereof.

[0033] In a fifth aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected via a line. The interface circuit is configured to receive a signal from a memory of the electronic device and send the signal to the processor, the signal including computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device executes the method described in the first aspect or the second aspect and any possible design thereof.

[0034] In a sixth aspect, an embodiment of the present application provides a computer storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method described in the first aspect or the second aspect and any possible design method thereof.

[0035] In a seventh aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in the first aspect or the second aspect and any possible design thereof.

[0036] It can be understood that the beneficial effects that can be achieved by the electronic device described in the third aspect and any possible design thereof, the electronic device described in the fourth aspect, the chip system described in the fifth aspect, the computer storage medium described in the sixth aspect, and the computer program product described in the seventh aspect can be referred to as the beneficial effects in the first aspect or the second aspect and any possible design thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1A This is a schematic diagram of an example of a display interface for sharing data provided in an embodiment of the present application;

[0038] Figure 1B A schematic diagram of another example of a display interface for sharing data provided in an embodiment of the present application;

[0039] Figure 1C A schematic diagram of another example of a display interface for sharing data provided in an embodiment of the present application;

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

[0041] Figure 3 A schematic diagram of the system architecture of an electronic device provided in an embodiment of the present application;

[0042] Figure 4 A flow chart of a method for calling an application across devices provided in an embodiment of the present application;

[0043] Figure 5A A schematic diagram of an example of a display interface for calling an application across devices provided in an embodiment of the present application;

[0044] Figure 5B A schematic diagram of another example of a display interface for calling an application across devices provided in an embodiment of the present application;

[0045] Figure 5C A schematic diagram of another example of a display interface for calling an application across devices provided in an embodiment of the present application;

[0046] Figure 5D A schematic diagram of another example of a display interface for calling an application across devices provided in an embodiment of the present application;

[0047] Figure 6 A flowchart of another method for calling an application across devices provided in an embodiment of the present application;

[0048] Figure 7A A schematic diagram of an example of a display interface for calling an application across devices provided in an embodiment of the present application;

[0049] Figure 7B A schematic diagram of another example of a display interface for calling an application across devices provided in an embodiment of the present application;

[0050] Figure 7C A schematic diagram of another example of a display interface for calling an application across devices provided in an embodiment of the present application;

[0051] Figure 8 A flowchart of another method for calling an application across devices provided in an embodiment of the present application;

[0052] Figure 9A A schematic diagram of another example of a display interface for calling an application across devices provided in an embodiment of the present application;

[0053] Figure 9B A schematic diagram of another example of a display interface for calling an application across devices provided in an embodiment of the present application;

[0054] Figure 10 A flowchart of another method for calling an application across devices provided in an embodiment of the present application;

[0055] Figure 11 A schematic diagram of another example of a display interface for calling an application across devices provided in an embodiment of the present application;

[0056] Figure 12 A flowchart of another method for calling an application across devices provided in an embodiment of the present application;

[0057] Figure 13 A schematic diagram of the composition of the cross-device application calling apparatus provided in an embodiment of the present application;

[0058] Figure 14 A flowchart of another method for calling an application across devices provided in an embodiment of the present application;

[0059] Figure 15 A schematic diagram of the structural composition of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0061] In this application, the character " / " generally indicates that the preceding and following objects are in an "or" relationship. For example, A / B can be understood as A or B.

[0062] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature identified as "first" or "second" may explicitly or implicitly include one or more of such features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0063] Furthermore, the terms "including," "having," and any variations thereof, as used in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules not listed, or may optionally include other steps or modules inherent to the process, method, product, or apparatus.

[0064] Additionally, in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present concepts in a concrete manner.

[0065] With the development of technology, data can be transmitted between different electronic devices via mobile networks or short-range wireless connections (such as Bluetooth technology). For example, user A explicitly states that they can use the image processing application on their laptop to process picture a on their phone. User A can then use the following method to enable the image processing application on their laptop to process picture a on their phone.

[0066] Method 1: Figure 1A As shown in , user A can click on the share option in the picture (i.e., operation 1). Figure 1B As shown, a first area is displayed on the mobile phone. The electronic devices displayed in the first area are the surrounding electronic devices that user A's mobile phone has searched via Bluetooth, such as Zhang San's mobile phone, Li Si's laptop, Wang Wu's mobile phone, and Li Liu's mobile phone. Among them, user A can use the image processing application in Li Si's laptop to process picture a. User A can then select the option "Li Si's laptop" in the first area, and user A's mobile phone will send picture a to the laptop corresponding to Li Si's laptop, which will receive and store picture a. Afterwards, user A can operate the laptop, for example, open the image processing application, use the image processing application to search for and open picture a stored in the laptop, and finally use the image processing application to process picture a.

[0067] Method 2: Figure 1A As shown in , user A can click on the share option in the picture (i.e., operation 1). Figure 1B As shown, the phone also displays a second area, which displays applications installed in the phone of user A, such as social application A, SMS, browser, and social application B. The user clicks on social application A, and the phone displays the contact information in social application A, as shown in FIG. Figure 1CAs shown, the contact list includes Friend A, Friend B, Friend C, Friend D, and John. The user then selects John and sends picture a to John via the mobile network. User A then uses social application A on their laptop to log in to John's account and receive picture a. User A then saves picture a to the laptop's storage. Finally, user A operates the laptop, for example, by opening an image processing application, then uses the image processing application to search for and open picture a stored on the laptop, and finally uses the image processing application to process picture a.

[0068] However, in the technical solution of the above-mentioned method 1, user A can only send picture a to the laptop computer via Bluetooth technology. However, user A still needs to perform multiple operations (open the application, find the storage location of the picture and open the picture, etc.), which reduces the user's work efficiency. In the technical solution of the above-mentioned method 2, it is necessary not only to ensure that the laptop computer has the same social application as the mobile phone (such as social application A), but also to ensure that the account of user A in the social application is associated with the account of the social application logged in in the laptop computer (such as a friend relationship, etc.). In addition, user A also needs to store the received picture a in the storage space of this basic computer, and then perform multiple operations, which also reduces the user's work efficiency.

[0069] To this end, an embodiment of the present application provides a method for calling applications across devices. In this method, a first electronic device can display icons of multiple applications, and the multiple applications include applications related to target data in other electronic devices other than the first electronic device. Afterwards, the first electronic device can send the target data to the second electronic device and instruct the second electronic device to process the target data through the first application. In this way, the user can view applications related to the target data in other electronic devices through the first electronic device without opening other electronic devices. Moreover, the user does not need to operate the second electronic device, and the second electronic device can process the target data through the first application, which reduces the number of user operations and improves the user's work efficiency.

[0070] It should be noted that the application related to the target data refers to the application that can process the target data. For example, if the target data is audio data, the multiple applications may include: audio playback application, audio processing application, social application, etc. Among them, the audio playback application can play the audio; the audio processing application can process the audio data (for example, reduce the background noise in the audio data); the social application can share the audio data with other users. Since the picture viewer cannot process audio data, the multiple applications may not include the picture viewer. For another example, if the target data is picture data, the multiple applications may include: picture viewer, image processing application, social application. Among them, the picture viewer can view the picture; the image processing application can process the picture data (for example, photo editing); the social application can share the picture with other users. Since the audio player cannot process picture data, the multiple applications may not include the audio player.

[0071] Among them, the applications (such as the first application and the second application) in the embodiments of the present application can be embedded applications (i.e., system applications of the electronic device) installed in the electronic device or downloadable applications. Among them, the embedded application is an application provided as part of the implementation of the electronic device (such as a mobile phone). The downloadable application is an application that can provide its own Internet Protocol Multimedia Subsystem (IMS) connection. The downloadable application can be an application pre-installed in the terminal or a third-party application that can be downloaded and installed in the terminal by the user.

[0072] For example, the above-mentioned application can be an embedded application installed in the terminal (i.e., a system application of the terminal). For example, the above-mentioned first application can be a picture editor, and the second application can be a text message. In this method, taking the target data as picture data as an example, the first electronic device can instruct the second electronic device to open the picture editor, and process the picture data sent by the first electronic device on the second electronic device through the picture editor. The first electronic device can also instruct the second electronic device to open an email and send the picture data to the contacts in the electronic device via text message.

[0073] For another example, the multiple applications may be downloadable applications. The first application may be a video playback application. In this method, taking the target data as video data, the first electronic device may instruct the second electronic device to open the video playback application, and then play the video on the second electronic device through the video playback application.

[0074] For example, the electronic devices in the embodiments of the present application may be tablet computers, mobile phones, desktop computers, laptop computers, handheld computers, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, as well as cellular phones, personal digital assistants (PDAs), augmented reality (AR) and virtual reality (VR) devices, in-vehicle devices, and the like. The embodiments of the present application do not impose any particular restrictions on the specific form of the electronic devices. In the embodiments of the present application, electronic devices may be divided into private devices and public devices. It will be understood that private devices are used to indicate devices that can only be used by the owner (i.e., the owner of the device). In other words, a private device typically has only one account that is logged in and does not change. For example, private devices may include mobile phones, smart watches, smart glasses, headphones, and the like. Public devices are used to indicate devices that can be used by any user. In other words, a public device may have multiple accounts that can be logged in, and there may be associations between multiple different accounts. For example, public devices may include televisions, speakers, tablet computers, and the like.

[0075] The execution subject of the method for calling an application across devices provided in this application may be a device for calling an application across devices, and the execution device may be Figure 2 The electronic device shown. At the same time, the execution device can also be a central processing unit (CPU) of the electronic device, or a control module in the electronic device for calling applications across devices. In the embodiment of the present application, the method for calling applications across devices by an electronic device is taken as an example to illustrate the method provided by the embodiment of the present application.

[0076] Please refer to Figure 2 , this application here takes electronic equipment as Figure 2 Taking the mobile phone 200 shown as an example, the electronic device provided by this application is introduced. Figure 2 The illustrated cell phone 200 is merely one example of an electronic device, and the cell phone 200 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. Figure 2 The various components shown in the drawings may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0077] like Figure 2As shown, the mobile phone 200 may include: a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.

[0078] Among them, the above-mentioned sensor module 280 may include sensors such as pressure sensor, gyroscope sensor, air pressure sensor, magnetic sensor, acceleration sensor, distance sensor, proximity light sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor and bone conduction sensor.

[0079] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone 200. In other embodiments, the mobile phone 200 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The components shown in the illustrations may be implemented in hardware, software, or a combination of software and hardware.

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

[0081] The controller can be the nerve center and command center of the mobile phone 200. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0082] Processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 210 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 210. If processor 210 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 210 latency, and thus improves system efficiency.

[0083] In some embodiments, the processor 210 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 subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0084] It is understood that the interface connection relationship between the modules illustrated in this embodiment is merely illustrative and does not limit the structure of the mobile phone 200. In other embodiments, the mobile phone 200 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0085] The charging management module 240 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While charging the battery 242, the charging management module 240 can also power the electronic device through the power management module 241.

[0086] The power management module 241 is used to connect the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240 and provides power to the processor 210, the internal memory 221, the external memory, the display 294, the camera 293, and the wireless communication module 260. In some embodiments, the power management module 241 and the charging management module 240 can also be provided in the same device.

[0087] The wireless communication function of mobile phone 200 can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor, and baseband processor. In some embodiments, antenna 1 of mobile phone 200 is coupled to mobile communication module 250, and antenna 2 is coupled to wireless communication module 260, so that mobile phone 200 can communicate with the network and other devices via wireless communication technology. For example, in the embodiment of the present application, mobile phone 200 can send the above-mentioned target data to other devices via wireless communication technology.

[0088] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 200 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.

[0089] Mobile communication module 250 can provide wireless communication solutions for mobile phone 200, including 2G / 3G / 4G / 5G. Mobile communication module 250 can include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. Mobile communication module 250 can receive electromagnetic waves from antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation.

[0090] The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 can be set in the same device as at least some modules of the processor 210.

[0091] The wireless communication module 260 can provide wireless communication solutions for the mobile phone 200, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. For example, in the embodiment of the present application, the mobile phone 200 can access the Wi-Fi network through the wireless communication module 260.

[0092] Wireless communication module 260 can be one or more devices that integrate at least one communication processing module. Wireless communication module 260 receives electromagnetic waves via antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to processor 210. Wireless communication module 260 can also receive signals to be transmitted from processor 210, frequency-modulate and amplify them, and then convert them into electromagnetic waves for radiation via antenna 2.

[0093] Mobile phone 200 implements display functionality through a GPU, display screen 294, and an application processor. The GPU is a microprocessor for image processing that connects display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or modify display information.

[0094] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. For example, in an embodiment of the present application, the display screen 294 can be used to display the application interface of the first application, such as the device sharing interface, the device search interface, and the QR code scanning interface.

[0095] Mobile phone 200 can implement a camera function through an ISP, a camera 293, a video codec, a GPU, a display 294, and an application processor. The ISP is used to process data fed back by the camera 293. The camera 293 is used to capture still images or videos. In some embodiments, mobile phone 200 may include one or N cameras 293, where N is a positive integer greater than one.

[0096] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 200. The external memory card communicates with the processor 210 via the external memory interface 220 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0097] The internal memory 221 can be used to store computer executable program code, which includes instructions. The processor 210 executes various functional applications and data processing of the mobile phone 200 by running the instructions stored in the internal memory 221. For example, in an embodiment of the present application, the processor 210 can execute instructions stored in the internal memory 221, and the internal memory 221 can include a program storage area and a data storage area.

[0098] The program storage area may store an operating system, at least one application required for a 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 mobile phone 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 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.

[0099] The mobile phone 200 can implement audio functions such as music playback and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.

[0100] The buttons 290 include a power button, a volume button, etc. The button 290 can be a mechanical button. It can also be a touch button. The motor 291 can generate a vibration prompt. The motor 291 can be used for an incoming call vibration prompt, or for touch vibration feedback. The indicator 292 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 295 is used to connect the SIM card. The SIM card can be connected to and separated from the mobile phone 200 by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295. The mobile phone 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.

[0101] although Figure 2 Not shown, the mobile phone 200 may also include a flash, a micro-projection device, a near field communication (NFC) device, etc., which will not be described in detail here.

[0102] After introducing the hardware structure of the electronic device, this application takes the electronic device as a mobile phone 200 as an example to introduce the system architecture of the electronic device provided by this application. The system architecture of the mobile phone 200 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the mobile phone 200 is illustrated.

[0103] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, The system is divided into five layers, from top to bottom: application layer, application framework layer, Android runtime layer ( runtime) and system libraries, hardware abstraction layer, and kernel layer.

[0104] The application layer can include a series of application packages. Figure 3 As shown, the application package may include: video applications, audio applications, document applications, etc. For example, the video application may be a video player, a video application, etc. The audio application may be a music player, an audio processing application, etc.

[0105] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 3 As shown, the application framework layer may include a sharing module software development kit (Software Development Kit, SDK), a sharing module, a device authentication module, and a cross-device interaction module. The application can call the sharing module SDK to share data with other electronic devices (such as a second electronic device). The device authentication module can receive the identity information sent by the sharing module (such as the information of the login account of the first electronic device), and obtain the identity information of the second electronic device through the cross-device interaction module to perform identity authentication. In addition, the device authentication module can feed back the verification result to the sharing module. The sharing module can receive the data to be shared in the application (i.e., target data), and send a notification message to the second electronic device through the cross-device interaction module. The notification message may include an instruction to obtain the identity information of the second electronic device, target data, and an instruction to notify the second electronic device to perform the target action. The device authentication module may include HICHAIN. The cross-device interaction module can complete the information interaction between two electronic devices (such as a first electronic device and a second electronic device), and the device authentication module may include a soft bus.

[0106] Android Runtime ( Runtime) includes core libraries and virtual machines. runtime is responsible for System scheduling and management.

[0107] The core library consists of two parts: one is the function that the Java language needs to call, and the other is The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine is responsible for performing functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0108] The system library can include multiple functional modules. For example: surface manager, media library, 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc. The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as 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, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.

[0109] The Hardware Abstraction Layer (HAL) is an interface layer between the operating system kernel and the hardware circuitry. Its purpose is to abstract the hardware. It hides the hardware interface details of a specific platform and provides a virtual hardware platform for the operating system, making it hardware-independent and portable across multiple platforms. For example, in the embodiments of this application, this includes Wi-Fi, Bluetooth, and cameras.

[0110] The kernel layer is the layer between hardware and software. The kernel layer contains at least a display driver, a camera driver, an audio driver, and a sensor driver. The following is an example of the workflow of the electronic device software and hardware, combined with the capture and photo scene. When the touch sensor receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, touch operation timestamp, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture a still image or video through the camera.

[0111] The methods in the following embodiments can all be implemented in an electronic device having the above hardware structure and the above system architecture. In the following embodiments, the methods of the embodiments of the present application are described by taking the electronic device being a mobile phone 200 as an example.

[0112] The present application embodiment provides a method for calling an application across devices, such as Figure 4 As shown, the method for calling an application across devices may include S401-S402.

[0113] S401 : In response to a user's first operation on target data, the mobile phone 200 displays a first interface.

[0114] It should be noted that the target data is any type of file data in the mobile phone 200. The target data includes audio data, video data, image data, document data, etc. For example, when the target data is audio data, the target data may be a piece of music. When the target data is video data, the target data may be a movie. When the target data is image data, the target data may be a photo. When the target data is document data, the target data may be a class note. The embodiments of the present application do not limit the target data.

[0115] The first interface displayed by the mobile phone 200 includes icons of multiple applications, and the multiple applications include applications related to the target data in one or more electronic devices. For example, if the target data is a photo, then Figure 5A As shown, the first interface may include social application A, social application B, image viewing application, and image processing application, etc. If the target data is a piece of music, the first interface may include social application A, social application B, music player, video player, etc.

[0116] It is understood that when using the mobile phone 200, the user can see the first interface displayed by the mobile phone 200 including multiple application icons, so that the user can know the application options available to the user. The multiple applications include applications related to the target data, so that the user can select an application that can process the target data from the multiple applications.

[0117] Optionally, the multiple applications include applications in one or more electronic devices that are related to the target data. Specifically, the multiple applications include applications in one or more electronic devices that are related to the target data and are not installed on mobile phone 200. For example, the target data is a picture. Mobile phone 200 has an image processing application installed. The applications in the laptop include social application A, social application B, and an image processing application. Then, the multiple applications include social application A and social application B. In other words, the first interface displayed by mobile phone 200 includes an icon for social application A and an icon for social application B.

[0118] It is understandable that, under normal circumstances, if a certain application (such as the first application) is installed in the mobile phone 200, the user does not need to use the first application in another electronic device. In other words, the user usually processes the target data through the second application in the second electronic device only when the first application is not installed in the first electronic device. Therefore, when the first electronic device displays multiple applications that are related to the target data in one or more electronic devices and are not installed in the first electronic device, it can effectively help the user reduce the options, avoid the user from choosing from too many options, and improve the user experience.

[0119] Optionally, the icons of multiple applications also include: icons of applications related to the target data in the mobile phone 200. For example, if the target data is a photo, then Figure 5B As shown, the first interface may include area A and area B. The application icons displayed in area A are social application A and social application B installed in other electronic devices (such as a laptop computer), and the application icon displayed in area B is an image processing application installed in mobile phone 200. In other words, the first interface displayed by mobile phone 200 includes an icon for social application A, an icon for social application B, and an icon for the image processing application.

[0120] It is understandable that the user can select applications in other electronic devices (such as a laptop) as well as applications in the mobile phone 200 , which can provide the user with more choices and improve the user experience.

[0121] It should be noted that the one or more electronic devices (e.g., the second electronic device) are electronic devices other than the mobile phone 200. The one or more electronic devices and the mobile phone 200 may be electronic devices in the same network. The mobile phone 200 may be wirelessly connected to the one or more electronic devices via technologies such as WI-FI or Bluetooth. For example, the one or more electronic devices and the mobile phone 200 are all devices in the home network of user A. The one or more electronic devices include: user A's tablet computer, user A's laptop computer, user A's smart speaker, etc.

[0122] In this embodiment of the present application, the distance between the one or more electronic devices and the mobile phone 200 is less than a preset distance threshold. The preset distance threshold can be set according to the hardware capabilities of the electronic device and is not limited in this embodiment of the present application. For example, the preset distance threshold can be 5 meters, 10 meters, 15 meters, etc.

[0123] In one possible implementation, in response to a user's first operation on target data, mobile phone 200 may send information indicating the file type of the target data to one or more electronic devices. Mobile phone 200 may then receive multiple application icons from the one or more electronic devices and display a first interface including the multiple application icons. Mobile phone 200 may determine the file type of the target data based on its file extension, although this embodiment of the present application is not limited thereto.

[0124] In some embodiments, after receiving icons of multiple applications from one or more electronic devices, the mobile phone 200 may determine the first interface displayed by the mobile phone 200 based on the applications already installed in the mobile phone 200 .

[0125] S402: In response to a second operation performed by the user on an icon of a first application among icons of multiple applications, the mobile phone 200 sends a first message to a second electronic device.

[0126] The first message includes target data, the first application is an application in a second electronic device among one or more electronic devices, and the first message is used to instruct the second electronic device to process the target data through the first application.

[0127] For example, the target data is picture a. Figure 5C As shown, the user selects the image processing application in the first interface displayed by the mobile phone 200, and the mobile phone 200 sends the picture a to the laptop and instructs the laptop to open the picture a through the image processing application. Figure 5D As shown, the laptop computer opens image a through an image processing application.

[0128] Based on the above technical solution, after the user performs a first operation on the target data, the first electronic device can display a first interface including icons of multiple applications, which are applications in other electronic devices related to the target data. In this way, the user can view applications in other electronic devices related to the target data through the first electronic device without opening other electronic devices. In addition, in response to the user's second operation on the icon of the first application, the first electronic device can send a first message to the second electronic device to instruct the second electronic device to process the target data through the first application. In other words, the first electronic device can call the first application in the second electronic device to process the target data in response to the user's second operation on the icon of the first application. Therefore, using the method of the present application, the user does not need to perform multiple operations on the first electronic device and the second electronic device respectively, and can call the first application in the second electronic device to process the target data. In this way, the number of user operations can be reduced and the efficiency of processing the above target data can be improved.

[0129] The following describes S402 by taking the first application as a social application as an example. Figure 6 As shown, S402 may include S601-S602.

[0130] S601: In response to a second operation performed by a user on an icon of a first application, the mobile phone 200 displays a second interface.

[0131] The second interface includes multiple contact options of the first application, and each contact option corresponds to a contact in the first application. Figure 7A As shown, the user selects social application A, and the mobile phone 200 displays multiple contact options in social application A. Figure 7B As shown, the multiple contact options include: Friend A, Friend B, Friend C, Friend D, and Li Si, etc.

[0132] In one possible implementation, mobile phone 200 sends a message requesting contact information in a first application to a second electronic device. The second electronic device receives the message requesting contact information in the first application, obtains the contact information in the first application, and sends the contact information in the first application to mobile phone 200. Mobile phone 200 then receives the contact information in the first application and displays a second interface.

[0133] It should be noted that after the user performs a first operation on the target data, mobile phone 200 can send a message to the second electronic device requesting the contact information in the first application; mobile phone 200 can also send a message to the second electronic device requesting the contact information in the first application after the user performs a second operation on the icon of the first application. This embodiment of the present application is not limited to this. Typically, mobile phone 200 will send a message to the second electronic device requesting the contact information in the first application after the user performs the second operation on the icon of the first application.

[0134] S602: In response to the user's third operation on the first contact option in the second interface, the mobile phone 200 sends a first message to the second electronic device.

[0135] The first message also includes a first account, which is the account of the contact corresponding to the first contact option, and the first message is used to instruct the second electronic device to send target data to the first account through the first application. Figure 7B , if the user selects the option corresponding to Li Si, then Figure 7C As shown, the laptop sends picture A to Li Si's account through user B's account in social application A.

[0136] It is understandable that if the user's mobile phone 200 does not have the first application (e.g., social application A), or the user does not have the first contact option (e.g., the option corresponding to Li Si) in the contact options of the account in social application A, then the user cannot directly send data from the mobile phone 200 to the first account (e.g., Li Si's account) through the mobile phone 200. Therefore, the user can send data to Li Si's account through another account logged in to social application A on a second electronic device (e.g., a laptop) (e.g., the account of user B, and the contacts in user B's account include Li Si). In this way, the user does not need to download the first application, or the user does not need to add the first contact's account to send data to the first contact's account.

[0137] Based on the above technical solution, when the first application is a social application, in response to a user's second operation on the first application's icon, the first electronic device can display multiple contact options within the first application. This allows the user to display multiple contact options within the first application on the first electronic device without having to operate the second electronic device. Subsequently, in response to a user's third operation on the first contact option, the first electronic device can send a first message including the first account number to the second electronic device, instructing the second electronic device to send target data to the first account via the first application. In other words, in response to the user's second and third operations, the first electronic device can invoke the first application on the second electronic device to send the target data to the first account. Using the method of this application, the user can invoke the first application on the second electronic device to send the target data to the first account without having to operate the second electronic device to perform a series of operations, such as opening the first application, finding the first contact, and selecting the target data to send it to the first contact. This reduces the number of user operations required and improves the efficiency of processing the target data.

[0138] Since the multiple applications in the first interface displayed by the mobile phone 200 include applications in one or more electronic devices, if the multiple applications in the first interface displayed by the mobile phone 200 include applications in multiple electronic devices, and the multiple electronic devices have the same application (for example, the multiple electronic devices include a laptop and a tablet computer, and the laptop and the tablet computer both have social application A installed), the user cannot determine which electronic device's social application is being used.

[0139] Based on the above problems, the embodiment of the present application provides a method for calling applications across devices, such as Figure 8 As shown, the method for calling an application across devices may include S801-S802.

[0140] S801. The mobile phone 200 displays the identifications of multiple electronic devices.

[0141] For example, Figure 1B As shown, the first area includes: Zhang San's mobile phone, Li Si's notebook, Wang Wu's mobile phone, and Li Liu's mobile phone.

[0142] In one possible design, each of the multiple electronic devices is installed with an application related to the target data.

[0143] A possible implementation method is that after the mobile phone 200 sends indication information of the file type of the target data to multiple electronic devices, each electronic device can receive the indication information. In addition, each electronic device can determine whether it has an application installed that can process the target data based on the file type. If the electronic device has an application installed that can process the target data, a first feedback message can be sent to the mobile phone 200. The first feedback message includes an icon of the application that can process the target data. The first feedback message is used to instruct the mobile phone 200 to display the identification of the electronic device. If the electronic device does not have an application installed that can process the target data, a second feedback message can be sent to the mobile phone 200. The second feedback message is used to instruct the mobile phone 200 not to display the identification of the electronic device.

[0144] It is understandable that if the electronic device does not have an application installed that can process the target data, the user does not need to use the application in the electronic device. Therefore, the mobile phone 200 may not display the logo of the electronic device, which can help the user reduce options and improve user experience.

[0145] Optionally, the first interface also includes: an identifier of the electronic device corresponding to each application in the plurality of applications. For example, Figure 9A As shown, the first interface includes: the browser and social application A installed in Li Si's notebook, and the social application A and text messages installed in Zhang San's mobile phone.

[0146] It is understandable that the same application may exist in one or more electronic devices. In order to distinguish applications in different electronic devices, the identifier of the electronic device corresponding to each application can be displayed in the first interface. In this way, users can select applications based on electronic devices, avoiding the user using applications in other electronic devices and improving the accuracy of users calling applications across devices.

[0147] S802: In response to the user selecting the identifier of the second electronic device from among the identifiers of the multiple electronic devices, the mobile phone 200 displays a first interface.

[0148] Among them, the icons of multiple applications included in the first interface are icons of applications related to the target data in the second electronic device. That is to say, after the user selects the identifier of the second electronic device from the identifiers of multiple electronic devices, the identifiers of applications in the first interface displayed by the mobile phone 200 are all icons of applications that have been installed in the second electronic device. For example, Figure 9B As shown, the first interface includes: the browser and social application A installed in Li Si's notebook, text messages, browser, and social application B.

[0149] It is understood that after the user selects the identifier of the second electronic device from the identifiers of multiple electronic devices, mobile phone 200 displays the first interface including the application icons, which can avoid displaying too many application icons on the first interface and improve the simplicity of the interface. In addition, because the first interface only displays the icons of applications installed on the second electronic device, it can effectively help users reduce the number of options, avoid users from having to choose from too many options, and improve the user experience.

[0150] Based on the above technical solution, the first electronic device can first display the identifications of multiple electronic devices. Since each electronic device usually includes multiple applications, compared with displaying the identifications of multiple applications in multiple electronic devices in the first electronic device, the first electronic device only displays the identifications of multiple electronic devices, which can reduce the options displayed by the first electronic device and improve the simplicity of the interface. Moreover, in response to the user's selection operation of the identification of the second electronic device among the identifications of multiple electronic devices, the first electronic device then displays the icon of the application related to the target data in the second electronic device. In this way, if the user knows that the electronic device he can use is the second electronic device, the user only needs to select the identification of the second electronic device to display the icon of the application in the second electronic device on the first electronic device, thereby allowing the user to select the icon of the appropriate application from the icons of multiple applications in the second electronic device.

[0151] It is understandable that, in the solution provided by the embodiment of the present application, target data, applications, and account information are shared between electronic devices, and these data belong to the user's private content. Therefore, in order to avoid the leakage of user privacy, S802 is described in detail below. Figure 10 As shown, S802 may include S1001-S1003.

[0152] S1001. In response to a user selecting an identifier of a second electronic device from among identifiers of multiple electronic devices, the mobile phone 200 determines whether an account logged into the second electronic device and an account logged into the mobile phone 200 are associated accounts.

[0153] It should be noted that an associated account means that the account logged into the second electronic device and the account logged into the mobile phone 200 are the same account. For example, the account logged into the laptop is "zhangsan" and the account logged into the mobile phone 200 is "zhangsan", then the account logged into the laptop and the account logged into the mobile phone 200 are the same account, that is, the account logged into the laptop and the account logged into the mobile phone 200 are associated accounts. Alternatively, an associated account means that the account logged into the second electronic device is different from the account logged into the mobile phone 200, and there is a connection between the account logged into the second electronic device and the account logged into the mobile phone 200. The connection between two different accounts includes: the account logged into the second electronic device is a family account of the account logged into the mobile phone 200, the account logged into the second electronic device is a friend account of the account logged into the mobile phone 200, etc. The specific connection between two different accounts can be set by the user in the electronic device (mobile phone 200 and / or second electronic device), and this embodiment of the application does not limit this.

[0154] The login account of the electronic device can be a mobile phone number, a user's network name, a user's network account, etc., which is not limited in the present embodiment. However, in general, the mobile phone 200 will select a unique identifier (such as a mobile phone number, network account, etc.) as the login account, thereby improving the accuracy of the verification.

[0155] It is understood that if the account logged into the second electronic device and the account logged into the mobile phone 200 are associated accounts, it means that the account logged into the second electronic device and the account logged into the mobile phone 200 are mutually trusted accounts. In other words, the icon of the application of the second electronic device is displayed on the mobile phone 200, and the private content of the second electronic device will not be leaked.

[0156] In one possible implementation, mobile phone 200 sends a message to a second electronic device for obtaining the account number logged in by the second electronic device. After receiving the message, the second electronic device sends the account number logged in by the second electronic device to mobile phone 200. Mobile phone 200 obtains the account number logged in by the second electronic device and compares the account number logged in by the second electronic device with the account number logged in by mobile phone 200 to determine whether the account number logged in by the second electronic device and the account number logged in by mobile phone 200 are associated accounts.

[0157] In another possible implementation, the mobile phone 200 sends the account number logged in by the mobile phone 200 to the second electronic device. After receiving the account number logged in by the mobile phone 200, the second electronic device compares the account number logged in by the second electronic device with the account number logged in by the mobile phone 200, and sends the comparison result to the mobile phone 200. The mobile phone 200 receives the comparison result and determines whether the account number logged in by the second electronic device and the account number logged in by the mobile phone 200 are associated accounts based on the comparison result.

[0158] Optionally, after the mobile phone 200 determines whether the account logged into the second electronic device and the account logged into the mobile phone 200 are associated accounts, the mobile phone 200 confirms whether the second electronic device can perform the operation of calling the application across devices, and confirms whether the second electronic device has an application installed that can process the target data. If the mobile phone 200 confirms that the second electronic device can perform the operation of calling the application across devices, and the mobile phone 200 confirms that the second electronic device has an application installed that can process the target data, the mobile phone 200 executes S1002 or executes S1003. If the mobile phone 200 confirms that the second electronic device cannot perform the operation of calling the application across devices, or the mobile phone 200 confirms that the second electronic device does not have an application installed that can process the target data, the mobile phone 200 does not display the first interface.

[0159] It should be noted that the mobile phone 200 may first confirm whether the second electronic device can perform the operation of calling an application across devices, and then confirm whether the second electronic device has an application installed that can process the target data; alternatively, the mobile phone 200 may first confirm whether the second electronic device has an application installed that can process the target data, and then confirm whether the second electronic device can perform the operation of calling an application across devices; alternatively, the mobile phone 200 may simultaneously confirm whether the second electronic device has an application installed that can process the target data, and whether the second electronic device can perform the operation of calling an application across devices. The embodiments of the present application are not limited to this.

[0160] In one possible design, if the account logged in by the second electronic device is an associated account with the account logged in by the mobile phone 200, the mobile phone 200 executes S1002. If the account logged in by the second electronic device is not an associated account with the account logged in by the mobile phone 200, the mobile phone 200 executes S1003.

[0161] S1002. The mobile phone 200 displays the first interface.

[0162] It is understood that if the account logged into the second electronic device is associated with the account logged into the mobile phone 200, it means that the user of the second electronic device and the user of the mobile phone 200 are the same user, or there is a relationship between the user of the second electronic device and the user of the mobile phone 200. Therefore, the icon of the application of the second electronic device is displayed on the first interface of the mobile phone 200, and the privacy of the second electronic device will not be leaked. Therefore, the mobile phone 200 can display the first interface.

[0163] S1003. The mobile phone 200 performs identity authentication on the user of the mobile phone 200 to confirm whether the identity authentication is successful.

[0164] It should be noted that before mobile phone 200 authenticates the user of mobile phone 200, mobile phone 200 may send a message to the second electronic device requesting whether a cross-device application call operation can be performed. After receiving the message, the second electronic device confirms whether the distance between the user of the second electronic device and the second electronic device is less than a second preset distance threshold through a microphone (e.g., voiceprint recognition) or a camera (e.g., facial recognition).

[0165] If the distance between the user of the second electronic device and the second electronic device is less than the second preset distance threshold, the second electronic device sends a message indicating that the cross-device application call operation can be performed to the mobile phone 200. Afterwards, the mobile phone 200 performs identity authentication on the user of the mobile phone 200.

[0166] If the distance between the user of the second electronic device and the second electronic device is greater than a second preset distance threshold, the second electronic device sends a message to the mobile phone 200 indicating that the cross-device application calling operation cannot be performed.

[0167] It can be understood that when the account logged into the second electronic device and the account logged into the mobile phone 200 are not associated accounts, in order to avoid the privacy of the second electronic device from being leaked, the distance between the user of the second electronic device and the second electronic device needs to be less than a second preset distance threshold, so as to ensure that when the private content in the second electronic device is shared with the mobile phone 200, the user of the second electronic device is near the second electronic device and can operate the second electronic device at any time, thereby improving the security of the second electronic device.

[0168] In a possible implementation, the mobile phone 200 displays a security verification interface. After the user inputs verification information, the mobile phone 200 performs identity authentication on the user of the mobile phone 200 according to the verification information input by the user.

[0169] It should be noted that the verification information is used to verify whether the user of the mobile phone 200 is associated with the second electronic device. The verification information can be used to authenticate the user of the mobile phone 200 by means of a preset password, a preset question, etc. The verification information is set by the second electronic device. For example, Figure 11 As shown, after the user selects the option of Li Si's mobile phone, the mobile phone 200 pops up a security verification interface on the screen, and the user enters a pre-set password.

[0170] In some embodiments, after the user enters the verification information, the mobile phone 200 sends the verification information to the second electronic device. After receiving the verification information, the second electronic device verifies whether the verification information is correct and sends the verification result to the mobile phone 200. The mobile phone 200 determines the user's identity based on the verification result.

[0171] It is understandable that when the account logged into the second electronic device and the account logged into the mobile phone 200 are not associated accounts, in order to avoid the privacy of the second electronic device from being leaked, the user can be authenticated through the mobile phone 200 to ensure the security of the electronic device.

[0172] In one possible design, if the mobile phone 200 confirms that the identity authentication can pass, the mobile phone 200 executes S1002.

[0173] It should be noted that if there is no electronic device logged into an account associated with the account logged into mobile phone 200 within the preset distance threshold of mobile phone 200, and the user of mobile phone 200 needs to use an application on a second electronic device to process target data, and the account logged into the second electronic device is not associated with the account logged into mobile phone 200, to ensure that the user can use the application on the second electronic device to process the target data, mobile phone 200 authenticates the user, and after the authentication is passed, mobile phone 200 can display the first interface. This not only allows the user to use the application on the second electronic device, but also prevents the privacy of the second electronic device from being leaked.

[0174] It is understandable that since the verification information is set by the second electronic device, if the identity authentication is successful, it means that there is a connection between the user of mobile phone 200 and the second electronic device, and the user of mobile phone 200 is a trustworthy user. Therefore, the display of the first interface on mobile phone 200 will not cause the privacy of the second electronic device to be leaked.

[0175] If the mobile phone 200 determines that the identity authentication cannot be passed, that is, the identity authentication fails, the mobile phone 200 does not display the first interface.

[0176] It is understandable that if the identity authentication fails, it means that there is no association between the user of the mobile phone 200 and the second electronic device, and the user of the mobile phone 200 is not a trusted user. Therefore, the mobile phone 200 does not display the first interface, thereby protecting the privacy of the second electronic device from being leaked.

[0177] It is understandable that since the icons of applications in other electronic devices will be displayed in the first electronic device, the first electronic device will obtain the private content in other electronic devices. Therefore, in order to avoid the privacy of users of other electronic devices from being leaked, the first electronic device can only display the icons of applications in the second electronic device when the account logged in by the second electronic device is an associated account with the account logged in by the first electronic device. If the account logged in by the second electronic device is not an associated account with the account logged in by the first electronic device, it means that the second electronic device does not trust the first electronic device. Therefore, the first electronic device needs to authenticate the user of the first electronic device; if the identity authentication is passed, the first electronic device can display the icons of applications in the second electronic device. In this way, electronic devices that the second electronic device does not trust can be prevented from obtaining the private content of the second electronic device, thereby protecting the privacy of the user.

[0178] The present application embodiment provides a method for calling an application across devices, such as Figure 12 As shown, the method for calling an application across devices may include S1201-S1203.

[0179] S1201 : The second electronic device receives information indicating the file type of target data from the mobile phone 200 .

[0180] S1202 : The second electronic device sends an icon of at least one application to the mobile phone 200 .

[0181] The at least one application includes an application related to the target data in the second electronic device, and the distance between the second electronic device and the mobile phone 200 is less than a preset distance threshold.

[0182] Alternatively, the second electronic device may determine, based on the file type of the target data, an application that can process the target data from among the applications installed on the second electronic device, and send an icon of the application that can process the target data to the mobile phone 200. In this way, the mobile phone 200 receives only the icon of the application that can process the target data, reducing the options in the first interface displayed by the mobile phone 200.

[0183] S1203: The second electronic device receives the first message from the mobile phone 200 and processes the target data through the first application.

[0184] The first message includes target data, the first application is an application in at least one application, and the first message is used to instruct the second electronic device to process the target data through the first application.

[0185] In one possible design, the first application is a social application. Before the second electronic device receives the first message from the mobile phone 200, the second electronic device sends information about multiple contacts in the first application to the mobile phone 200. The information about multiple contacts is used to display multiple contact options in the first application, each contact option corresponding to a contact in the first application.

[0186] In one possible implementation, when the first message also includes the first account, the second electronic device receives the first message from the mobile phone 200 and sends the target data to the first account through the first application.

[0187] It is understandable that after receiving the first message from the mobile phone 200, the second electronic device can send the target data to the first account through the first application, without the user having to operate the second electronic device. Therefore, when a user needs to use multiple electronic devices to perform a series of operations, the technical solution of the present application can reduce the number of user operations and improve user work efficiency.

[0188] Optionally, after the second electronic device processes the target data through the first application, the second electronic device can send a sharing result to the mobile phone 200 to notify the mobile phone 200 that the second electronic device has processed the target data through the first application. In this way, the user can be notified in a timely manner that the second device has completed the operation, thereby improving the user experience.

[0189] Based on the above technical solution, the second electronic device can send applications related to the target data to the first electronic device based on the file type of the received target data. In this way, the number of applications sent by the second electronic device to the first electronic device can be reduced, so that fewer application icons are displayed in the first electronic device, helping users reduce the number of options and improving user experience. Moreover, after receiving the first message from the first electronic device, the second electronic device can process the target data through the first application without the user having to operate the second electronic device. Therefore, when a user needs to use multiple electronic devices to perform a series of operations, the technical solution of the present application can reduce the number of user operations and improve the user's work efficiency.

[0190] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of an electronic device. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the method steps of a cross-device calling application described in each example of the embodiment disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or electronic device software driving hardware 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 to be beyond the scope of this application.

[0191] In the embodiment of the present application, the device for calling applications across devices can be divided into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0192] Please refer to Figure 13 , which shows a schematic diagram of a device for calling an application across devices provided by an embodiment of the present application. The device for calling an application across devices may be a functional module in the above-mentioned electronic device (such as mobile phone 200) for implementing the method of the embodiment of the present application. Figure 13 As shown, the apparatus for calling an application across devices may include: a sharing module 1301 , a device authentication module 1302 , and a cross-device interaction module 1303 .

[0193] The sharing module 1301 is used to support the mobile phone 200 in executing: obtaining target data; selecting a target device (e.g., a second electronic device); selecting a first application in the target device; and selecting a first contact in the first application in the target device. For example, the sharing module 1301 is used to support the mobile phone 200 in executing S401, S601, S801, S802, S1002, S1203 in the above-mentioned method embodiment, and / or other processes for the technology described herein. Exemplarily, the functions of the user identification module 1201 can be implemented by the processor 210, internal memory 221, external memory 220, and display screen 294 of the mobile phone 200.

[0194] Device authentication module 1302 is used to support mobile phone 200 in executing: verifying whether the account logged into mobile phone 200 has an association with the accounts logged into one or more electronic devices. For example, device authentication module 1302 is used to support mobile phone 200 in executing S1001, S1003, S901, S1002 in the above-described method embodiment, and / or other processes used in the technology described herein. Exemplarily, the functions of device authentication module 1302 can be implemented by microphone 270C, camera 293, and processor 210 of mobile phone 200.

[0195] The cross-device interaction module 1303 is used to support the mobile phone 200 in executing: exchanging information with one or more electronic devices; obtaining login accounts for one or more electronic devices; and obtaining multiple contact information for the first application. For example, the cross-device interaction module 1303 is used to support the mobile phone 200 in executing S402, S602, S1201, and S1202 in the above-described method embodiment, and / or other processes used in the technology described herein. Exemplarily, the functions of the cross-device interaction module 1303 can be implemented by the processor 210, mobile communication module 250, and wireless communication module 260 of the mobile phone 200.

[0196] For example, Figure 14As shown, taking the first electronic device as a mobile phone 200 as an example, it shows a flow chart of a method for calling an application across devices provided by an embodiment of the present application. Mobile phone 200 includes: a second application, a first sharing module, a first device authentication module, and a first cross-device interaction module. The second electronic device includes: a second cross-device interaction module, a second sharing module, and the first application. The second application is initialized first and sends target data to the first sharing module. The first sharing module obtains devices with associated accounts with the account logged in to mobile phone 200 and sends this data to the first device authentication module. The first device authentication module obtains electronic devices within a preset distance threshold (i.e., the distance between mobile phone 200 and the other electronic device is less than the preset distance threshold). The first device authentication module selects a device with an associated account logged in and sends the identifier of the device with the associated account logged in to the second application. The second application selects a second electronic device. The first sharing module obtains the icon of the application in the second electronic device and sends it to the first cross-device interaction module, which then performs cross-device calling. The second cross-device interaction module then returns the icon of the application in the second electronic device to the second application. Then, the second application selects the first application in the second electronic device, and the first sharing module requests to obtain the contact options in the first application of the second electronic device. Afterwards, the first cross-device interaction module makes a cross-device call across devices. The second sharing module requests to obtain the contact information in the first application, and the first application returns it to the second application. Then, the second application selects the account of the first contact in the first application in the second electronic device. After determining the account of the first contact, the first sharing module shares the target data to the account of the first contact in the first application in the second electronic device. Specifically, the message interaction can be completed by the first cross-device interaction module and the second cross-device interaction module. After the second sharing module sends the first message to the first application, the first application executes the first message, and the second sharing module can send the sharing result (i.e., the result of executing the first message) to the second application.

[0197] Some other embodiments of the present application provide an electronic device (such as Figure 2 The mobile phone 200 shown in the figure) has multiple preset applications installed in the electronic device. The electronic device may include: a memory and one or more processors. The memory and the processor are coupled. The electronic device may also include a camera. Alternatively, the electronic device may be connected to an external camera. The memory is used to store computer program code, which includes computer instructions. When the processor executes the computer instructions, the electronic device may execute the various functions or steps executed by the mobile phone in the above method embodiment. The structure of the electronic device can refer to Figure 2 The structure of the mobile phone 200 is shown.

[0198] The present application also provides a chip system. Figure 15As shown, the chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 and the interface circuit 1502 can be interconnected via a line. For example, the interface circuit 1502 can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit 1502 can be used to send signals to other devices (such as the processor 1501). Exemplarily, the interface circuit 1502 can read instructions stored in the memory and send the instructions to the processor 1501. When the instructions are executed by the processor 1501, the electronic device (such as Figure 2 The mobile phone 200 shown in FIG2 executes each step in the above embodiment. Of course, the chip system may also include other discrete components, which are not specifically limited in the embodiment of the present application.

[0199] The embodiment of the present application further provides a computer storage medium, which includes computer instructions. When the computer instructions are in the above electronic device (such as Figure 2 When the method is executed on the mobile phone 200 shown in the figure, the electronic device executes the functions or steps executed by the mobile phone in the above method embodiment.

[0200] The embodiment of the present application further provides a computer program product, which, when executed on a computer, enables the computer to execute the functions or steps executed by the mobile phone in the above method embodiment.

[0201] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

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

[0203] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0204] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0205] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or 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 enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0206] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for calling an application across devices, characterized in that: Applied to a first electronic device, the method includes: In response to a first user operation on target data, the first electronic device displays a first interface; wherein the first interface includes icons of multiple applications, the multiple applications include applications related to the target data in one or more electronic devices, and the distance between the one or more electronic devices and the first electronic device is less than a preset distance threshold; In response to a second operation by the user on an icon of a first application among the icons of the multiple applications, the first electronic device sends a message requesting contact information in the first application to a second electronic device; The first electronic device receives the contact information in the first application sent by the second electronic device and displays a second interface; wherein the second interface includes multiple contact options of the first application; each contact option corresponds to a contact in the first application; the second electronic device is one of the one or more electronic devices; In response to the user's third operation on the first contact option in the second interface, the first electronic device sends a first message to the second electronic device, so that the second electronic device sends the target data to the first account through the first application; the first message includes the target data and the first account; the first account is the account of the contact corresponding to the first contact option; the second electronic device has the first application installed, and the first electronic device has not installed the first application.

2. The method according to claim 1, characterized in that The first application is a social application.

3. The method according to claim 1, characterized in that Before the first electronic device displays the first interface, the method further includes: The first electronic device sends indication information of the file type of the target data to the one or more electronic devices; The first electronic device receives icons of the plurality of applications from the one or more electronic devices.

4. The method according to claim 3, characterized in that The first interface also includes: an identifier of the electronic device corresponding to each application in the multiple applications.

5. The method according to claim 3 or 4, characterized in that After the first electronic device receives the icons of the multiple applications from the one or more electronic devices and before displaying the first interface, the method further includes: The first electronic device displays the identifications of the multiple electronic devices; In response to a user selecting the identifier of the second electronic device from among the identifiers of the one or more electronic devices, the first electronic device displays the first interface; The icons of the multiple applications included in the first interface are icons of applications related to the target data in the second electronic device.

6. The method according to any one of claims 1, 2 and 4, characterized in that: The first interface also includes icons of applications in the first electronic device that are related to the target data.

7. The method according to claim 5, characterized in that The step of displaying the first interface by the first electronic device in response to a user selecting the identifier of the second electronic device from the identifiers of the one or more electronic devices includes: In response to the user selecting the identifier of the second electronic device from the identifiers of the plurality of electronic devices, if the account logged into the second electronic device is a related account with the account logged into the first electronic device, the first electronic device displays the first interface; If the account logged into the second electronic device is not an associated account with the account logged into the first electronic device, the first electronic device performs identity authentication on the user of the first electronic device; if the identity authentication is successful, the first electronic device displays the first interface.

8. A method for calling an application across devices, characterized in that: Applied to a second electronic device, the method includes: The second electronic device receives indication information of a file type of target data from the first electronic device; The second electronic device sends an icon of at least one application to the first electronic device, where the at least one application includes an application in the second electronic device that is related to the target data, and a distance between the second electronic device and the first electronic device is less than a preset distance threshold; The second electronic device sends information of multiple contacts of the first application to the first electronic device; wherein the information of the multiple contacts is used to display multiple contact options of the first application, each contact option corresponding to a contact in the first application; The second electronic device receives a first message from the first electronic device; the first message includes the target data and a first account; wherein the first account is an account of a contact among multiple contacts of the first application; and the first application is an application in at least one application; The second electronic device sends the target data to the first account through the first application.

9. An electronic device, characterized in that: The electronic device is a first electronic device; the first electronic device includes a memory and a processor, the memory is coupled to the processor; the memory is used to store computer program code, the computer program code includes computer instructions; when the computer instructions are executed by the processor, the first electronic device performs the following steps: In response to a first user operation on target data, displaying a first interface; wherein the first interface includes icons of multiple applications, the multiple applications including applications related to the target data in one or more electronic devices, and the distance between the one or more electronic devices and the first electronic device is less than a preset distance threshold; In response to a second user operation on an icon of a first application among the icons of the multiple applications, sending a message requesting contact information in the first application to a second electronic device; receiving contact information in the first application sent by the second electronic device and displaying a second interface; wherein the second interface includes multiple contact options in the first application, each contact option corresponding to a contact in the first application; and the second electronic device is one of the one or more electronic devices; In response to the user's third operation on the first contact option in the second interface, a first message is sent to the second electronic device, so that the second electronic device sends target data to the first account through the first application; the first message includes the target data and the first account; the first account is the account of the contact corresponding to the first contact option; the second electronic device has the first application installed, and the first electronic device has not installed the first application.

10. The electronic device according to claim 9, characterized in that When the computer instructions are executed by the one or more processors, the first electronic device further performs the following steps: In response to the first user operation on the target data, sending indication information of the file type of the target data to the one or more electronic devices; Icons for the plurality of applications are received from the one or more electronic devices.

11. The electronic device according to claim 10, characterized in that The first interface also includes: an identifier of the electronic device corresponding to each application in the multiple applications.

12. The electronic device according to claim 10 or 11, characterized in that: When the computer instructions are executed by the one or more processors, the first electronic device further performs the following steps: displaying identifications of the plurality of electronic devices; In response to the user's selection operation of the identifier of the second electronic device among the identifiers of the multiple electronic devices, the first interface is displayed; wherein the icons of the multiple applications included in the first interface are: icons of applications related to the target data in the second electronic device.

13. The electronic device according to any one of claims 9 to 11, characterized in that: The first interface further includes: icons of applications in the first electronic device that are related to the target data.

14. The electronic device according to claim 13, wherein: When the computer instructions are executed by the one or more processors, the first electronic device further performs the following steps: In response to a user selecting the identifier of the second electronic device from among the identifiers of the plurality of electronic devices, if the account logged into the second electronic device is a linked account with the account logged into the first electronic device, displaying the first interface; If the account logged into the second electronic device is not an associated account with the account logged into the first electronic device, the user of the first electronic device is authenticated; if the authentication is successful, the first electronic device displays the first interface.

15. An electronic device, characterized in that: The electronic device is a second electronic device; the second electronic device includes a memory and a processor, the memory being coupled to the processor; the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the processor, the second electronic device performs the following operations: Receiving information indicating a file type of target data from a first electronic device; Sending an icon of at least one application to the first electronic device, where the at least one application includes an application related to the target data in the second electronic device, and a distance between the second electronic device and the first electronic device is less than a preset distance threshold; Sending information of multiple contacts of the first application to the first electronic device; wherein the information of the multiple contacts is used to display multiple contact options of the first application, each contact option corresponding to a contact in the first application; receiving the first message from the first electronic device; the first message including the target data and a first account; wherein the first account is an account of one of the multiple contacts of the first application; and the first application is an application in at least one application; The target data is sent to the first account through the first application.

16. A chip system, characterized in that: The chip system is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive a signal from the memory of the electronic device and send the signal to the processor, the signal including computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device executes the method as described in any one of claims 1 to 8.

17. A computer storage medium, characterized in that The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method according to any one of claims 1 to 8.

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

Citation Information

Patent Citations

  • Getting App List Of Partner Device And Transmitting Selection And Shared Data

    CN105740082A

  • Terminal-to-terminal communication method and device

    CN105743958A