A cross-device application interaction method, an electronic device, and a server

By automatically downloading and installing the target application from the server when the electronic device receives an application interaction request, the problem of not installing applications in cross-device application interaction is solved, and a flexible and efficient interaction method is achieved, improving the user experience.

CN114428618BActive Publication Date: 2025-07-29HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011171571.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-28
Publication Date
2025-07-29
Estimated Expiration
2040-10-28

AI Technical Summary

Technical Problem

Existing cross-device application interaction methods require electronic devices to install the same application in advance, resulting in interaction failure and inflexibility.

Method used

After the electronic device receives the application interaction request, if the target application is not installed, it sends a download request to the server, acquires and installs the target application, and performs actions corresponding to the intention information through the target application.

Benefits of technology

It realizes flexibility in cross-device application interaction, improves interaction efficiency and user experience, and does not require users to manually install target applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114428618B_ABST
    Figure CN114428618B_ABST
Patent Text Reader

Abstract

The present application provides a cross-device application interaction method, an electronic device, and a server, which are used to achieve the flexibility of cross-device application interaction between electronic devices. In this solution, the electronic device receives an application interaction request sent from another electronic device, and the application interaction request contains target intent information; after determining that the target application is not installed locally, the electronic device sends an application download request carrying the target intent information to the server; the electronic device receives the download information of the target application from the server, downloads and installs the target application according to the download information of the target application, starts the target application, and executes the action corresponding to the target intent information through the target application. Through this solution, it is no longer restricted that both of the two electronic devices for cross-device application interaction are pre-installed with the same application, solving the problem of cross-device application interaction failure when the same application is not installed, and achieving the flexibility of cross-device application interaction between electronic devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal control, and particularly to a cross-device application interaction method, an electronic device, and a server. Background Art

[0002] With the diversification of electronic devices and their functions, a user may own multiple electronic devices simultaneously, such as a tablet computer, a mobile phone, a smart watch, etc. Multiple electronic devices can interact with each other to bring a richer user experience.

[0003] Cross-device application interaction is a process of interaction between multiple electronic devices. A user can operate one electronic device to cause an application on another electronic device to perform corresponding actions. For example, when a first electronic device is running an application and responds to an application interaction instruction triggered by the user, it sends an application interaction request to a second electronic device, thereby distributing the task currently executed by the application in the first electronic device to the second electronic device. The same application in the second electronic device performs the actions corresponding to the application interaction request. For example, the first electronic device distributes the received information to the second electronic device, and the user can continue to view or process the information on the second electronic device.

[0004] As can be seen from the above description, the same application needs to be installed on multiple electronic devices for cross-device application interaction. For example, when a user triggers an application interaction instruction in a navigation application on a first electronic device, the first electronic device sends an application interaction request to a second electronic device, and the same navigation application needs to be installed on the second electronic device; if the navigation application is not installed on the second electronic device, it cannot respond to the application interaction request of the first electronic device and cannot perform corresponding actions.

[0005] Therefore, the existing cross-device application interaction methods are relatively single, with many limiting conditions and lack of flexibility. Summary of the Invention

[0006] The present application provides a cross-device application interaction method, an electronic device, and a server to achieve flexibility in cross-device application interaction between electronic devices.

[0007] In a first aspect, an embodiment of the present application provides a cross-device application interaction method, which is applied to an electronic device. The electronic device receives an application interaction request sent by another electronic device, and the application interaction request includes target intent information. The application interaction request is used to instruct a target application in the electronic device to perform an action corresponding to the target intent information. After determining that the target application is not installed locally, the electronic device sends an application download request carrying the target intent information to a server. The electronic device receives the download information of the target application from the server, downloads and installs the target application according to the download information of the target application, starts the target application, and performs the action corresponding to the target intent information through the target application.

[0008] Through this method, when the electronic device receives an application interaction request sent by another device, if it determines that the target application is not installed locally, it can obtain the download information of the target application from the server according to the target intent information included in the application interaction request. Thus, it can download and install the target application according to the download information of the target application, start the target application to complete cross-device application interaction. The cross-device application interaction method provided by the embodiment of the present application no longer restricts that both of the two electronic devices for cross-device application interaction are pre-installed with the same application. Instead, in cross-device application interaction, the target application can be silently installed without the user manually installing the target application, thereby solving the problem of cross-device application interaction failure when the same application is not installed, providing a flexible cross-device application interaction method, improving the efficiency of cross-device application interaction, and enhancing the user experience at the same time.

[0009] In a possible design, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.

[0010] Optionally, the function information includes a meta-capability type and / or a meta-capability name.

[0011] Through the above design, the target intent information is carried in the application interaction request, so that it can instruct the electronic device to perform corresponding actions through the target application according to the target intent information, and when the target application is not installed locally on the electronic device, the electronic device can obtain the download information of the target application from the server according to the target intent information, download and install the target application, thereby completing cross-device application interaction.

[0012] In a possible design, the download information includes the installation package information of the target application, the download address of the target application, an immediate installation flag, and a version number.

[0013] Through this design, after the electronic device obtains the download information of the target application, it can download and install the target application according to the download information without the user manually installing the application, improving the user experience.

[0014] In a possible design, when the electronic device determines that the target application is not installed locally, it can determine that the application information database saved for the electronic device does not contain the installation package information of the target application; after receiving the download information of the target application from the server, it stores the installation package information of the target application in the download information into the application information database.

[0015] Through this design, the electronic device can save the installation package information of the installed applications in the local application information database, so that after receiving an application interaction request, it can determine whether the target application is installed locally by looking up the installation package information of the target application, and then determine whether it is necessary to request the download information of the target application from the server, solving the problem of no response in the prior art when the target application is not installed.

[0016] In a possible design, it receives the download information of at least two candidate applications from the server, and the at least two candidate applications include the target application; before downloading and installing the target application according to the download information of the target application, it displays an application selection interface including the at least two candidate applications; it receives an application selection instruction triggered by the user, and the application selection instruction is used to indicate that the application selected by the user is the target application.

[0017] Through this design, when the electronic device receives the download information of at least two candidate applications sent by the server, it displays an application selection interface to the user and uses the application selected by the user as the target application, so that when the server cannot accurately find the target application, it prompts the user to select an application, flexibly realizing cross-device application interaction.

[0018] In a second aspect, a cross-device application interaction method is provided, which is applied to a server. The server receives an application download request carrying target intent information sent by an electronic device; queries intent information matching the target intent information in an intent management service; determines the download information of the target application corresponding to the intent information matching the target intent information; and sends the download information of the target application to the electronic device.

[0019] Through this method, after receiving the application download request sent by the electronic device, the server can query the intent information matching the target intent information in the intent management service, then determine the download information of the target application, and send the download information of the target application to the electronic device, without the user manually searching for the target application and triggering a download instruction, providing a flexible cross-device application interaction method and enhancing the user experience.

[0020] In a possible design, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.

[0021] Optionally, the function information includes a meta-capability type and / or a meta-capability name.

[0022] With the above design, the server saves the intent information of the application in the intent management service, determines the intent information of the target application by matching it with the target intent information, and provides a way for the server to find the target application, so that the target application can be found according to the target intent information without the user actively triggering a download instruction.

[0023] In a possible design, at least two candidate intent information items that match the target intent information are queried in the intent management service, and each candidate intent information item corresponds to a candidate application; the intent information item with a higher matching degree with the target intent information among the at least two candidate intent information items is selected as the intent information item that matches the target intent information.

[0024] With this design, when the server queries at least two candidate intent information items that match the target intent information in the intent management service, it can determine the matching degree between the candidate intent information and the target intent information, and use the intent information item with a higher matching degree with the target intent information as the intent information of the target application, thereby accurately and flexibly determining the target application.

[0025] In a third aspect, an embodiment of the present application provides an electronic device, including a communication unit and a processing unit, configured to execute the cross-device application interaction method described in the first aspect above.

[0026] In a fourth aspect, an embodiment of the present application provides a server, including a communication unit and a processing unit, configured to execute the cross-device application interaction method described in the second aspect above.

[0027] In a fifth aspect, an embodiment of the present application provides an electronic device, including at least one processor, at least one memory, and a transceiver, where the at least one memory is used to store programs and data, and the at least one processor is used to execute the cross-device application interaction method provided in the first aspect of the present application.

[0028] In a sixth aspect, an embodiment of the present application provides a server, including at least one processor, at least one memory, and a communication module, where the at least one memory is used to store programs and data, and the at least one processor is used to execute the cross-device application interaction method provided in the second aspect of the present application.

[0029] In a seventh aspect, an embodiment of the present application provides a communication system, including the electronic device provided in the third aspect, and the server provided in the fourth aspect.

[0030] In an eighth aspect, an embodiment of the present application further provides a computer program, which, when running on a computer, causes the computer to execute the method provided in the first aspect or the second aspect above.

[0031] In a ninth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a computer, it causes the computer to execute the method provided in the first aspect or the second aspect above.

[0032] In a tenth aspect, an embodiment of the present application further provides a chip, which is used to read a computer program stored in a memory and execute the method provided in the first aspect or the second aspect above.

[0033] In an eleventh aspect, an embodiment of the present application further provides a chip system, which includes a processor for supporting a computer device to implement the method provided in the first aspect or the second aspect above. In a possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. The chip system can be composed of chips or can include chips and other discrete devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application;

[0035] Figure 2 It is a schematic diagram of the software structure of an electronic device provided by an embodiment of the present application;

[0036] Figure 3 It is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0037] Figure 4 It is a flowchart of a method for cross-device application interaction provided by an embodiment of the present application;

[0038] Figure 5 It is a schematic diagram of a trigger for an application interaction instruction provided by an embodiment of the present application;

[0039] Figure 6 It is a schematic diagram of a device selection interface provided by an embodiment of the present application;

[0040] Figure 7 It is a schematic diagram of an application selection interface provided by an embodiment of the present application;

[0041] Figure 8 It is a schematic diagram of the structure of the framework layer of a first electronic device provided by an embodiment of the present application;

[0042] Figure 9Flowchart of a cross-device application interaction method implemented by the framework layer of the first electronic device provided by an embodiment of the present application;

[0043] Figure 10 Schematic diagram of a mobile phone navigation interface provided by an embodiment of the present application;

[0044] Figure 11 Schematic diagram of a smartwatch navigation interface provided by an embodiment of the present application;

[0045] Figure 12 Schematic diagram of a "touch and touch" function provided by an embodiment of the present application;

[0046] Figure 13 Schematic diagram of an application selection interface on a smartwatch provided by an embodiment of the present application;

[0047] Figure 14 Schematic diagram of a smartwatch displaying a navigation application interface provided by an embodiment of the present application;

[0048] Figure 15 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application;

[0049] Figure 16 Schematic diagram of the structure of a server provided by an embodiment of the present application;

[0050] Figure 17 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application;

[0051] Figure 18 Schematic diagram of the structure of a server provided by an embodiment of the present application. Detailed implementation manners

[0052] Hereinafter, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0053] 1. Cross-device application interaction is an interaction process between the same applications on multiple electronic devices. The user can operate the first electronic device to send an application interaction request to the second electronic device, so as to distribute the tasks executed by the application in the current first electronic device to the second electronic device, so that the same application on the second electronic device can continue to execute related tasks.

[0054] 2. Electronic devices, such as mobile phones, tablet computers, wearable devices (e.g., watches, bracelets, helmets, earphones, necklaces, etc.), in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.

[0055] In the embodiments of the present application, connections can be established between at least two electronic devices through a wireless local area network, a Bluetooth network, or a peer-to-peer (P2P) network.

[0056] Taking two electronic devices (such as a first electronic device and a second electronic device) as an example, the second electronic device is the electronic device used by the user to trigger an application interaction request. The user can trigger a cross-device application interaction request through the second electronic device to distribute the task executed by the second electronic device to the first electronic device.

[0057] The first electronic device is an electronic device that is convenient for the user to carry or use during subsequent use. After the user operates the second electronic device to trigger an application interaction request, the first electronic device executes the operation corresponding to the application interaction request.

[0058] For example, when the user uses the navigation application in the second electronic device (mobile phone) to plan a navigation route, the user triggers a cross-device application interaction request through the mobile phone to distribute the navigation task to the first electronic device (smart watch), and the navigation route is displayed on the smart watch, which is convenient for the user to view at any time.

[0059] Another example is that when the user uses the player application in the second electronic device (mobile phone) to play a video file, the user triggers a cross-device application interaction request through the mobile phone to distribute the task of the played video file to the first electronic device (tablet computer), and the tablet computer continues to play the video file, enhancing the user's viewing experience.

[0060] 3. Application, which can provide corresponding service functions for users. An electronic device can run the application by installing the application program (also known as application software) of the application, so as to realize the service functions of the application. For example, for a camera application with a shooting service function, when the electronic device installs the camera application program and runs the camera application, it can provide the shooting service function for the user. Another example is a WeChat application or QQ application with a chat service function, etc. When the electronic device installs the WeChat application software or QQ application software and runs the WeChat application or QQ application, it can provide the chat service function for the user.

[0061] It should be noted that the application software of the application can be developed by the supplier of the electronic device or by the application supplier. This application does not make any limitations in this regard.

[0062] 4. Application package name, which is the unique identifier of an application. The package name of an application must be unique. One package name represents one application, and it is not allowed for two applications to use the same application package name. The application package name is mainly used by the system to identify the application and is hardly seen by users.

[0063] 5. Meta-capability, which is the service function that an application can provide. For example, the meta-capabilities of a navigation application are navigation, finding maps, etc. The meta-capability can be a meta-capability with a page or a meta-capability without a page, which is used to indicate whether the meta-capability is used to indicate a display page.

[0064] Next, the technical solutions in the embodiments of this application will be described in detail with reference to the accompanying drawings in the following embodiments of this application.

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

[0066] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors. Among them, the controller may be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions. A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0067] The USB interface 130 is an interface that complies with the USB standard specification. Specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. The charging management module 140 is used to receive the charging input from the charger. The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160, etc.

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

[0069] The mobile communication module 150 may provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves by the antenna 1, filter and amplify the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves through the antenna 1 and radiate them out. In some embodiments, at least some functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be provided in the same device.

[0070] The wireless communication module 160 may provide solutions for wireless communications 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., applied to the electronic device 100. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be transmitted from the processor 110, perform frequency modulation and amplification on it, and convert it into electromagnetic waves through the antenna 2 and radiate them out.

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

[0072] The display screen 194 is used to display the display interface of an application, such as the navigation interface of a navigation application, etc. The display screen 194 includes a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0073] The camera 193 is used to capture still images or videos. An object generates an optical image through a lens and projects it onto a photosensitive element. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard format such as RGB, YUV, etc. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0074] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store the operating system and software codes of at least one application program (such as the iQIYI application, the WeChat application, etc.). The data storage area can store the data generated during the use of the electronic device 100 (such as the captured images, the recorded videos, etc.). In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0075] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to achieve the data storage function. For example, files such as pictures and videos are saved in the external memory card.

[0076] The electronic device 100 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.

[0077] Among them, the sensor module 180 can include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, etc.

[0078] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194.

[0079] The touch sensor 180C, also known as the "touch panel". The touch sensor 180C can be disposed on the display screen 194. The touch sensor 180C and the display screen 194 form a touch screen, also known as the "touch control screen". The touch sensor 180C is used to detect touch operations acting on it or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180C can also be disposed on the surface of the electronic device 100, at a different position from the display screen 194.

[0080] The keys 190 include a power-on key, volume keys, etc. The keys 190 can be mechanical keys or touch keys. The electronic device 100 can receive key inputs and generate key signal inputs related to the user settings and function control of the electronic device 100. The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization. The indicator 192 can be an indicator light and can be used to indicate the charging state, battery level change, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the electronic device 100.

[0081] It can be understood that Figure 1The components shown do not constitute a specific limitation on the electronic device 100. The mobile phone may also include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. In addition, Figure 1 The combination / connection relationship between the components in

[0082] Figure 2 shows a software structure block diagram of an electronic device provided in an embodiment of the present application. As Figure 2 shown, the software structure of the electronic device may be a layered architecture. For example, the software can be divided into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom are the application layer, the application framework layer (framework, FWK), the Android runtime, and the system library, and the kernel layer.

[0083] The application layer may include a series of application packages. As Figure 2 shown, the application layer may include a camera, settings, a skin module, a user interface (UI), third-party applications, etc. Among them, the third-party applications may include WeChat, QQ, a gallery, a calendar, a call, a map, a navigation, WLAN, Bluetooth, music, video, short messages, etc.

[0084] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer may include some predefined functions. As Figure 2 shown, the application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, a distributed execution framework, a package management service, a meta-ability management service (AbilityManager Service, AMS), a package instant installation service, etc.

[0085] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data, and make this data accessible to applications. The data may include video, images, audio, incoming and outgoing calls, browsing history and bookmarks, phone book, etc.

[0086] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying pictures.

[0087] The phone manager is used to provide the communication functions of the electronic device. For example, the management of call status (including answering, hanging up, etc.).

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

[0089] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as the notification of a background-running application, and can also be a notification that appears on the screen in the form of a dialogue window. For example, prompt text information in the status bar, emit a prompt tone, the electronic device vibrates, the indicator light flashes, etc.

[0090] The distributed execution framework can, according to the intent information carried in the received application interaction request, call the package management service to query whether the application corresponding to the intent information has been installed on this device, and when the application is not installed, it can request the meta-capability management service (Ability Manager Service, AMS) to start the download and installation application process according to the download information obtained by the package management service.

[0091] The package management service is a system service, mainly used to implement functions such as application installation and uninstallation, component query and matching, and permission management. In the embodiments of this application, the package management service is used to maintain the application information database of the installed applications on the electronic device, and can find the download information of the target application corresponding to the target intent information sent by the distributed execution framework in the application information database, so as to determine whether the target application is installed locally. The package management service can also, when it is determined that the target application is not installed locally, request the server to obtain the download information corresponding to the target application.

[0092] The meta-capability management service is used to manage the meta-capability information of the installed applications on the electronic device, and can start the application according to the intent information and execute the operations corresponding to the intent information.

[0093] The package instant installation service is used to silently install applications according to the request parameters sent by the AMS, and update the download information of the applications successfully installed silently to the package management service.

[0094] The Android runtime includes core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

[0095] The core libraries consist of two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core libraries of Android. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as the management of object life cycles, stack management, thread management, security and exception management, and garbage collection.

[0096] The system libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (such as OpenGL ES), 2D graphics engines (such as SGL), etc.

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

[0098] The media libraries support the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media libraries can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

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

[0100] The 2D graphics engine is a graphics engine for 2D drawing.

[0101] In addition, the system libraries can also include an image processing library for processing images to achieve shooting effects such as panning, tilting, zooming in, and zooming out.

[0102] The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.

[0103] The hardware layer can include various sensors, such as the acceleration sensor, gyroscope sensor, touch sensor, etc. involved in the embodiments of the present application.

[0104] Cross-device application interaction is a process of interaction between multiple electronic devices. Taking two electronic devices (the first electronic device and the second electronic device) as an example, a user can trigger on the first electronic device to distribute a task executed on the first electronic device to the second electronic device. After receiving the application interaction request, the second electronic device performs the action corresponding to the application interaction request. However, before multiple electronic devices perform cross-device application interaction, the same application needs to be installed. If the application corresponding to the application interaction request is not installed on the electronic device receiving the application interaction request, the application interaction request cannot be responded to, resulting in the failure of cross-device application interaction.

[0105] To solve the above problems, an embodiment of the present application provides a cross-device application interaction method to achieve the flexibility of cross-device application interaction between electronic devices.

[0106] A possible application scenario applicable to the cross-device application interaction method provided by the embodiment of the present application is as Figure 3 shown. This application scenario includes a server 31 and multiple electronic devices (such as Figure 3 the first electronic device 32 and the second electronic device 33 shown). Hereinafter, the first electronic device 32 and the second electronic device 33 will be taken as examples for description.

[0107] A connection can be established between the first electronic device 32 and the second electronic device 33 through a wireless local area network, a Bluetooth network, or a peer-to-peer (P2P) network, and then data can be transmitted to each other. A connection can be established between the first electronic device 32, the second electronic device 33 and the server 31 through a wireless local area network or a mobile communication network to transmit data.

[0108] The server 31 can be an application store server, which is used to manage the applications in the application store. After receiving a download request sent by an electronic device, the server 31 sends the download information of the application requested by the electronic device to the electronic device. In this way, after the electronic device downloads and installs the application according to the download information of the application, the application can be started and the service provided by the application can be used.

[0109] In an implementation manner, the server 31 further includes an intent management service, which is used to manage the intent information of applications that support on-demand download. The application developer uploads the installation package of the application to the server 31. If the installation package of the application contains a configuration file, it means that the application supports on-demand download. Specifically, the configuration file may include: package name, version number, supported electronic device types, startup parameters, system permission information required to be used, etc. The server 31 extracts the information in the configuration file and synchronizes the extracted information to the intent management service as the intent information corresponding to the application.

[0110] It should be noted that one application may correspond to multiple intent information. The intent information may include at least one of the following: application package name, function information (such as meta - ability type, meta - ability name), etc. That the application supports on - demand download means that without the user actively triggering a download instruction, the electronic device obtains the download information of the application from the server for download and installation.

[0111] A method for cross - device application interaction provided by an embodiment of this application can be applied to an application scenario as Figure 3 shown. Next, the steps of this method will be described in detail with reference to the Figure 4 flowchart shown. Among them, the first electronic device involved in this embodiment is the electronic device that receives the application interaction request, and the second electronic device is the electronic device that sends the application interaction request.

[0112] S401: The second electronic device sends an application interaction request containing target intent information to the first electronic device.

[0113] In specific implementation, the second electronic device responds to the application interaction instruction triggered by the user and sends an application interaction request to the first electronic device. For example, as Figure 5 shown, when the second electronic device runs a navigation application, the user clicks the "Application Interaction" button on the display interface to trigger the application interaction instruction; or when the second electronic device runs a navigation application, the application interaction instruction is triggered through near - field communication such as NFC. For example, the user uses the "touch - to - touch" function of the second electronic device and the first electronic device to trigger the application interaction instruction.

[0114] Optionally, if there are multiple electronic devices connected to the second electronic device at the same time, when the user triggers the application interaction instruction, the second electronic device displays a device selection interface containing the multiple electronic devices connected to itself, and in response to the user's operation of selecting an electronic device in the device selection interface, the selected electronic device is used as the first electronic device, and the second electronic device sends an application interaction request to the first electronic device. For example, the second electronic device displays a device selection interface as Figure 6 shown. The device selection interface displays the electronic devices connected to the second electronic device, such as a smart watch and a tablet computer. The user can select an electronic device as the first electronic device on the device selection interface. For example, if the user selects the smart watch as the first electronic device, the second electronic device sends an application interaction request to the smart watch.

[0115] It should be noted that the application interaction request includes target intent information, and the application interaction request is used to instruct the target application in the electronic device to perform an action corresponding to the target intent information. For example, the action corresponding to the target intent information is to display a navigation page in a navigation application, or the action corresponding to the target intent information is to play a video in a video player application, etc.

[0116] Specifically, the target intent information may include at least one of an application package name, function information, action information, and intent extension parameters. Among them, the function information may include a meta-capability type and / or a meta-capability name; the action information is used to describe the functions supported by the meta-capability; the intent extension parameter is an operation parameter corresponding to the target intent information. For example, if the displayed page is a navigation page, the intent extension parameter may be a navigation route (such as starting point and terminal location information, passing intersection location information, etc.) and a navigation mode (such as walking, self-driving, cycling, etc.).

[0117] S402: The first electronic device determines that the target application is not installed locally.

[0118] In a specific implementation, the first electronic device saves / maintains an application information database locally. The application information database includes installation package information corresponding to the applications installed on the first electronic device. The installation package information includes the meta-capability name, meta-capability type, and action information supported by the meta-capability of the application. After receiving an application interaction request containing the target intent information sent by the second electronic device, the first electronic device searches for the installation package information of the target application in the application information database. If the installation package information of the target application is found in the application information database, it means that the first electronic device has installed the target application, and then the operation corresponding to the target intent information is executed through the target application. If the installation package information of the target application is not found in the application information database, it means that the first electronic device has not installed the target application.

[0119] Further, according to the meta-capability name and meta-capability type included in the target intent information, search whether the application information database includes the installation package information of the target application. Since the installation package information of the application includes the meta-capability name and meta-capability type of the application, if the meta-capability name and meta-capability type in the installation package information match the meta-capability name and meta-capability type in the target intent information, it is determined that the application information database includes the installation package information of the target application, that is, the target application has been installed in the first electronic device; otherwise, it is determined that the application information database does not include the installation package information of the target application, that is, the target application has not been installed in the first electronic device.

[0120] S403: The first electronic device sends an application download request carrying the target intent information to the server.

[0121] S404: The server queries the intent information matching the target intent information in the intent management service.

[0122] In a specific implementation, the intent management service includes the intent information of the applications supported by on-demand download in the application store. If the intent information matching the target intent information is found in the intent management service, it is determined that the target application supports on-demand download.

[0123] S405: The server determines the download information of the target application corresponding to the intent information that matches the target intent information.

[0124] Optionally, the download information may include the application package name of the target application, the installation package information, the download address corresponding to the application package name, the immediate installation flag, the version number, etc. Among them, the immediate installation flag indicates that the target application needs to be downloaded and installed.

[0125] In specific implementation, the download information of the target application corresponding to the intent information that matches the target intent information is determined according to the following method:

[0126] Method 1: If the target application package name is included in the target intent information, the server searches for the corresponding download information according to the target application package name.

[0127] Method 2: If the function information (meta - ability name and / or meta - ability type), and / or action information is included in the target intent information, the server searches for the intent information that matches the target intent information according to the function information and / or action information, and determines the download information corresponding to the found intent information.

[0128] Optionally, if multiple intent information is found and the applications corresponding to the multiple intent information are different, that is, there are multiple candidate applications, the target application can be determined according to the following method:

[0129] 1. The server sends the download information corresponding to the multiple candidate applications to the first electronic device respectively, and the first electronic device selects one of the multiple candidate applications as the target application.

[0130] In specific implementation, the first electronic device displays an application selection interface including multiple candidate applications; receives an instruction triggered by the user to select a target application from the multiple candidate applications, and uses the candidate application selected by the user as the target application.

[0131] For example, the first electronic device displays an application selection interface as shown according to the received download information of multiple candidate applications. Figure 7 The user can click on the identifier of a candidate application in this interface, and the first electronic device uses the candidate application selected by the user as the target application.

[0132] 2. The server determines the matching degrees of the multiple intent information and the target intent information, sorts the multiple intent information according to the matching degrees of the multiple intent information and the target intent information, and uses the application corresponding to the intent information with the highest matching degree as the target application.

[0133] S406: The server sends the download information of the target application to the first electronic device.

[0134] S407: The first electronic device downloads and installs the target application according to the download information of the target application.

[0135] It should be noted that the first electronic device silently installs the target application according to the download information of the target application, that is, the target application can be installed on the first electronic device without user operation.

[0136] S408: The first electronic device starts the target application and performs the action corresponding to the target intent information through the target application.

[0137] In specific implementation, if the target intent information includes a meta-capability name, a meta-capability type, and intent extension parameters, the corresponding action is performed according to the meta-capability name, the meta-capability type, and the intent extension parameters; otherwise, the default interface of the target application is displayed; wherein, the default interface of the target application can be the main interface of the target application.

[0138] It should be noted that when the target intent information does not include an application package name, the target application downloaded and installed by the first electronic device can be an application different from the application that triggers the application interaction request on the second electronic device but having the same meta-capability, that is, the first electronic device can perform the action corresponding to the target intent information through the target application, and the target application does not need to be the same as the application on the second electronic device, so that application interaction can be flexibly implemented.

[0139] Based on the same technical concept, an embodiment of the present application also provides a cross-device application interaction method. This method takes Figure 4 the first electronic device in the embodiment shown as the main body, and analyzes the execution process of the first electronic device in this method from the perspective of the framework layer. As Figure 8 shown, according to the logical function division, the framework layer of the first electronic device may include: a distributed execution framework 81, a meta-capability management service 82, a package management service 83, and a package instant installation service 84.

[0140] When the first electronic device implements the cross-device application interaction method, as Figure 9 shown, it includes the following steps:

[0141] S901. The distributed execution framework 81 receives an application interaction request including target intent information sent by the second electronic device.

[0142] S902. The distributed execution framework 81 sends the target intent information to the package management service 83.

[0143] S903. The package management service 83 determines that the installation package information of the target application corresponding to the target intent information cannot be queried in the application information database.

[0144] S904. The package management service 83 sends an application download request carrying the target intent information to the server.

[0145] S905. The server queries for intent information that matches the target intent information in the intent management service.

[0146] S906. The server determines the download information of the target application corresponding to the intent information that matches the target intent information.

[0147] S907. The server sends the download information of the target application to the package management service 83.

[0148] S908. The package management service 83 returns the download information of the target application to the distributed execution framework 81.

[0149] S909. The distributed execution framework 81 sends the download information of the target application to the meta-capability management service 82.

[0150] S910. The meta-capability management service 82 sends a download and installation request including the download information of the target application to the package instant installation service 84.

[0151] S911. The package instant installation service 84 downloads and installs the target application.

[0152] S912. The package instant installation service 84 updates the installation package information in the download information of the target application to the package management service.

[0153] S913. The meta-capability management service 82 starts the target application.

[0154] In some embodiments, taking the first electronic device as a smart watch and the second electronic device as a mobile phone as an example, the smart watch and the mobile phone establish a connection via Bluetooth. The navigation application runs on the mobile phone and displays a navigation interface as shown. The user clicks the "Application Interaction" button on the display interface of the navigation application, triggering the distribution of the navigation task executed by the mobile phone to the smart watch. Figure 10 The mobile phone sends an application interaction request to the smart watch. The application interaction request contains the target intent information. Specifically, the target intent information includes: the application package name (such as: com.map), the meta-capability name (such as com.map.activity.NavigationActivity), the meta-capability type (such as PAGE, indicating that this meta-capability is used to indicate the display page corresponding to this meta-capability), and intent extension parameters. Refer to

[0155] The intent extension parameters can be the location information of the starting point and ending point of the navigation route, the location information of the passing intersections, and the navigation mode (such as walking, cycling, driving, etc.). Optionally, the location information of the starting point and ending point can be the longitude and latitude coordinates of the starting point and ending point, and the location information of the passing intersections can be the longitude and latitude coordinates of the passing intersections. Figure 10 The intent extension parameters can be the location information of the starting point and ending point of the navigation route, the location information of the passing intersections, and the navigation mode (such as walking, cycling, driving, etc.). Optionally, the location information of the starting point and ending point can be the longitude and latitude coordinates of the starting point and ending point, and the location information of the passing intersections can be the longitude and latitude coordinates of the passing intersections.

[0156] The smartwatch queries the installation package information of the navigation application corresponding to the target intent information in the application information database of this device. If it determines that the application information database of this device does not contain the installation package information corresponding to the navigation application, the smartwatch sends an application download request carrying the target intent information to the server.

[0157] The server queries the intent information that matches the target intent information through the intent management service, and sends the download information of the navigation application corresponding to the intent information that matches the target intent information to the smartwatch. Specifically, the download information of the navigation application may include information such as the application package name, the installation package information of the application, the download address in the application store corresponding to the application package name, the immediate installation flag, the version number, etc.

[0158] The smartwatch downloads and silently installs the navigation application according to the received download information of the navigation application. After the navigation application is installed, it starts the navigation application and displays the navigation interface according to the target intent information. For example, the smartwatch displays a navigation interface as Figure 11 shown.

[0159] In some embodiments, taking the first electronic device as a computer and the second electronic device as a mobile phone as an example, the computer and the mobile phone establish a connection through P2P. A music player application is running on the computer to play music, as Figure 12 shown. The user triggers an application interaction instruction through the "touch and touch" function of the computer and the mobile phone, and the computer sends an application interaction request containing the target intent information to the mobile phone. Specifically, the target intent information includes: the application package name (such as com.music), the meta-capability name (such as com.music.activity.PlayerActivity), the meta-capability type (such as SERVICE, indicating that this meta-capability is used to indicate the execution of the action corresponding to this meta-capability), and the intent extension parameter, where the intent extension parameter may be information such as the address of the music being played and the playback mode.

[0160] The mobile phone queries the installation package information of the music player application corresponding to the target intent information in the application information database of this device. If it determines that the application information database of this device does not contain the installation package information corresponding to the music player application, the smartphone sends an application download request carrying the target intent information to the server.

[0161] The server queries the intent information that matches the target intent information through the intent management service, and sends the download information of the music player application corresponding to the intent information that matches the target intent information to the smartphone. Specifically, the download information of the music player application may include information such as the application package name, the installation package information of the application, the download address in the application store corresponding to the application package name, the immediate installation flag, the version number, etc.

[0162] The mobile phone downloads and silently installs the music player application according to the received download information corresponding to the music player application. After the installation of the music player application is completed, the music player application is started, and music is played according to the target intent information.

[0163] In some embodiments, taking the first electronic device as a mobile phone and the second electronic device as a smart watch as an example, the mobile phone and the smart watch establish a connection through P2P. After the user triggers an instruction to start the navigation function on the mobile phone, an application distribution instruction is triggered; for example, after the user inputs an instruction to start the navigation function by voice, an application interaction instruction is triggered through the "touch and touch" function of the mobile phone and the smart watch.

[0164] The mobile phone sends an application interaction request to the smart watch, and the application interaction request contains target intent information. Specifically, the target intent information includes: action information (specifically, action information for indicating starting the navigation function).

[0165] The smart watch queries in the application information database of this device whether there is installation package information of the target application corresponding to the target intent information. Specifically, it can search in the application information database for installation package information containing the action information in the target intent information. When it is determined that the installation package information in the application information database does not contain the action information in the target intent information, it is determined that the target application is not installed on the smart watch, and then the smart watch sends an application download request carrying the target intent information to the server.

[0166] The server queries the intent information matching the target intent information through the intent management service, and sends the download information of the navigation application corresponding to the intent information matching the target intent information to the smart watch. Specifically, if the server finds multiple intent information matching the target intent information, for example, the intent information of multiple applications contains the action information in the target intent information; then the server sends the download information of the candidate applications corresponding to the multiple intent information to the smart watch.

[0167] The smart watch displays an application selection interface containing the names of multiple candidate applications. For example, it displays an application selection interface as shown in Figure 13 The application selection interface includes candidate applications: Application A, Application B, and Application C; if the user selects Application A on this application selection interface, then Application A is taken as the target application. The smart watch downloads and silently installs Application A according to the received download information of Application A. After the installation of Application A is completed, Application A is started, and the application interface is displayed according to the target intent information. For example, the smart watch displays a navigation application interface as shown in Figure 14 shown.

[0168] Based on the above embodiments, the present application further provides an electronic device, and the electronic device is used to implement as shown in Figure 4The cross-device application interaction method shown. Refer to Figure 15 As shown, the electronic device 1500 includes: a communication unit 1501 and a processing unit 1502. The functions of each unit will be described below.

[0169] The communication unit 1501 is configured to receive an application interaction request sent from another electronic device, where the application interaction request includes target intent information, and the application interaction request is used to instruct a target application in the electronic device to perform an action corresponding to the target intent information; after the processing unit 1502 determines that the target application is not installed locally, it is configured to send an application download request carrying the target intent information to the server and receive download information of the target application from the server.

[0170] The processing unit 1502 is configured to determine that the target application is not installed, and after downloading and installing the target application according to the download information of the target application, start the target application and perform an action corresponding to the target intent information through the target application.

[0171] In one implementation, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.

[0172] Optionally, the function information includes a meta-capability type and / or a meta-capability name.

[0173] In one implementation, the download information includes installation package information of the target application, a download address of the target application, an immediate installation flag, and a version number.

[0174] It should be noted that the immediate installation flag is used to indicate that the target application needs to be installed.

[0175] In one implementation, the processing unit 1502 is specifically configured to: determine that the installation package information of the target application is not included in the saved application information database; after receiving the download information of the target application from the server, store the installation package information of the target application in the download information into the application information database.

[0176] In one implementation, the communication unit 1501 is specifically configured to: receive download information of at least two candidate applications from the server, where the at least two candidate applications include the target application;

[0177] The processing unit 1502 is specifically configured to: before downloading and installing the target application according to the download information of the target application, display an application selection interface including the at least two candidate applications; receive an application selection instruction triggered by the user, where the application selection instruction is used to indicate that the application selected by the user is the target application.

[0178] Based on the above embodiments, the present application further provides a server, which is used to implement the cross-device application interaction method as Figure 4 shown. Refer to Figure 16 shown, the server 1600 includes: a communication unit 1601 and a processing unit 1602. The functions of each unit will be described below.

[0179] The communication unit 1601 is configured to receive an application download request carrying target intent information sent by an electronic device; and after the processing unit 1602 determines the download information of the target application corresponding to the intent information matching the target intent information, send the download information of the target application to the electronic device.

[0180] The processing unit 1602 is configured to query the intent information matching the target intent information in the intent management service; determine the download information of the target application corresponding to the intent information matching the target intent information;

[0181] In one implementation, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.

[0182] Optionally, the function information includes a meta-capability type and / or a meta-capability name.

[0183] In one implementation, the processing unit 1602 is specifically configured to: query at least two candidate intent information matching the target intent information in the intent management service, and each candidate intent information corresponds to a candidate application; select the intent information with a higher matching degree with the target intent information among the at least two candidate intent information as the intent information matching the target intent information.

[0184] Based on the above embodiments, the embodiments of the present application further provide an electronic device, which is used to implement the cross-device application interaction method as Figure 4 shown. Refer to Figure 17 shown, the electronic device 1700 includes: a processor 1701 and a memory 1702. Of course, it may also have Figure 1 each peripheral or internal hardware as shown.

[0185] The memory 1702 and other components are connected to each other with the processor 1701.

[0186] Specifically, the electronic device 1700 can communicate and interact with other devices through a transceiver 1703. Optionally, the transceiver 1703 can be a Bluetooth module, a WiFi module, an RF circuit, etc.

[0187] The processor 1701 is configured to receive, via the transceiver 1703, an application interaction request sent from other electronic devices. The application interaction request contains target intent information, and is used to instruct a target application in the electronic device to perform an action corresponding to the target intent information. After determining that the target application is not installed locally, the processor 1701 sends an application download request carrying the target intent information to the server via the transceiver 1703. The processor 1701 receives download information of the target application from the server via the transceiver 1703. After downloading and installing the target application according to the download information of the target application, the processor 1701 starts the target application and performs the action corresponding to the target intent information through the target application.

[0188] In one implementation, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.

[0189] Optionally, the function information includes a meta-capability type and / or a meta-capability name.

[0190] In one implementation, the download information includes installation package information of the target application, a download address of the target application, an immediate installation flag, and a version number.

[0191] In one implementation, the processor 1701 is specifically configured to: determine that the installation package information of the target application is not included in the saved application information database; and after receiving the download information of the target application from the server via the transceiver 1703, store the installation package information of the target application in the download information into the application information database.

[0192] In one implementation, the processor 1701 is specifically configured to: receive, via the transceiver 1703, download information of at least two candidate applications from the server, where the at least two candidate applications include the target application; before downloading and installing the target application according to the download information of the target application, display an application selection interface including the at least two candidate applications; and receive an application selection instruction triggered by the user, where the application selection instruction is used to indicate that the application selected by the user is the target application.

[0193] The memory 1702 is used to store program instructions and data (such as image templates corresponding to different motion types), etc. Specifically, the program instructions may include program code, and the program code includes instructions for computer operations. The memory 1702 may include a random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The processor 1701 executes the program stored in the memory 1702, and through the above-mentioned various components, implements the above functions, thereby finally implementing the method provided in the above embodiments.

[0194] Based on the above embodiments, an embodiment of the present application further provides a server, and the server is used to implement the cross-device application interaction method as Figure 4 shown. Refer to Figure 18 shown, the server 1800 includes: a processor 1801 and a memory 1802.

[0195] The memory 1802 and other components are interconnected with the processor 1801.

[0196] Specifically, the server 1800 can communicate and interact with other devices through a communication module 1803.

[0197] The processor 1801 is used to receive an application download request carrying target intent information sent by an electronic device through the communication module 1803; query intent information matching the target intent information in an intent management service; determine download information of a target application corresponding to the intent information matching the target intent information; and send the download information of the target application to the electronic device through the communication module 1803.

[0198] In one implementation, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.

[0199] Optionally, the function information includes a meta-capability type and / or a meta-capability name.

[0200] In one implementation, the processor 1801 is specifically used to: query at least two candidate intent information matching the target intent information in the intent management service, and each candidate intent information corresponds to a candidate application; select the intent information with a higher matching degree with the target intent information among the at least two candidate intent information as the intent information matching the target intent information.

[0201] The memory 1802 is used to store program instructions and data (such as image templates corresponding to different motion types), etc. Specifically, the program instructions may include program code, and the program code includes instructions for computer operations. The memory 1802 may include a random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The processor 1801 executes the program stored in the memory 1802, and through the above-mentioned various components, implements the above functions, thereby finally implementing the method provided in the above embodiments.

[0202] Based on the above embodiments, an embodiment of the present application further provides a cross-device application interaction system, including an Figure 15 electronic device as shown in Figure 16 and a server as shown in

[0203] Based on the above embodiments, an embodiment of the present application further provides a computer program. When the computer program runs on a computer, the computer is enabled to execute the cross-device application interaction method provided in the above embodiments.

[0204] Based on the above embodiments, an embodiment of the present application further provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a computer, the computer is enabled to execute the cross-device application interaction method provided in the above embodiments.

[0205] Among them, the storage medium may be any available medium that can be accessed by a computer. Taking this as an example but not limited to: the computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disc storage, magnetic disk storage medium or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer.

[0206] Based on the above embodiments, an embodiment of the present application further provides a chip. The chip is used to read the computer program stored in the memory and implement the cross-device application interaction method provided in the above embodiments.

[0207] Based on the above embodiments, an embodiment of the present application provides a chip system. The chip system includes a processor, which is used to support a computer device to implement the functions involved in the service device, forwarding device or site device in the above embodiments. In a possible design, the chip system further includes a memory, and the memory is used to store necessary programs and data for the computer device. The chip system may be composed of chips, or may include chips and other discrete devices.

[0208] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) that contain computer-usable program code.

[0209] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or a plurality of flows and / or blocks

[0210] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means implements the functions specified in Figure 1 one or more of the flows Figure 1 or a plurality of flows and / or blocks

[0211] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or a plurality of flows and / or blocks

[0212] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of protection of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application also intends to include these changes and modifications.

Claims

1. A cross-device application interaction method, which is applied to an electronic device, characterized in that, The method includes: Receiving an application interaction request sent from another electronic device, where the application interaction request contains target intent information, and the application interaction request is used to instruct a target application in the electronic device to perform an action corresponding to the target intent information. The target intent information includes function information, and the function information includes a meta-capability type and / or a meta-capability name; After determining that the target application is not installed locally, sending an application download request carrying the target intent information to the server; Receiving download information of the target application from the server, where the target application is an application corresponding to the intent information with the highest matching degree with the target intent information determined by the server, or the target application is an application selected by the user from at least two candidate applications sent by the server. The at least two candidate applications are applications corresponding to at least two candidate intent information that match the target intent information; After downloading and installing the target application according to the download information of the target application, starting the target application and performing an action corresponding to the target intent information through the target application.

2. The method according to claim 1, wherein The target intent information includes at least one of an application package name, action information, and intent extension parameters.

3. The method according to claim 1, characterized in that The download information includes installation package information of the target application, a download address of the target application, an immediate installation flag, and a version number.

4. The method according to claim 3, wherein Determining that the target application is not installed locally includes: Determining that the installation package information of the target application is not included in the saved application information database; After receiving the download information of the target application from the server, it further includes: Storing the installation package information of the target application in the download information into the application information database.

5. The method according to any one of claims 1 to 4, characterized in that, Receiving the download information of the target application from the server includes: Receiving download information of at least two candidate applications from the server, where the at least two candidate applications include the target application; Before downloading and installing the target application according to the download information of the target application, the method further includes: Displaying an application selection interface including the at least two candidate applications; Receiving an application selection instruction triggered by the user, where the application selection instruction is used to indicate that the application selected by the user is the target application.

6. A cross-device application interaction method, applied to a server, characterized in that, The method includes: Receiving an application download request carrying target intent information sent from an electronic device, where the target intent information includes function information, and the function information includes a meta-capability type and / or a meta-capability name; Querying for intent information that matches the target intent information in an intent management service. When at least two candidate intent information that match the target intent information are queried in the intent management service, and each candidate intent information corresponds to a candidate application, selecting the intent information with a higher matching degree with the target intent information among the at least two candidate intent information as the intent information that matches the target intent information; Determining download information of a target application corresponding to the intent information that matches the target intent information; and sending the download information of the target application to the electronic device; Alternatively, determine the download information of at least two candidate applications corresponding to the at least two candidate intent information that matches the target intent information, and send the download information of the at least two candidate applications to the electronic device.

7. The method according to claim 6, characterized in that, The target intent information includes at least one of an application package name, action information, and intent extension parameters.

8. An electronic device, characterized in that, It includes: A communication unit, configured to receive an application interaction request sent from another electronic device, where the application interaction request contains target intent information, and the application interaction request is used to instruct a target application in the electronic device to perform an action corresponding to the target intent information. The target intent information includes function information, and the function information includes a meta-capability type and / or a meta-capability name; after the processing unit determines that the target application is not installed locally, send an application download request carrying the target intent information to the server; Receive the download information of the target application from the server, where the target application is an application selected by the user from at least two candidate applications sent by the server, or the target application is an application corresponding to the intent information with the highest matching degree with the target intent information determined by the server. The at least two candidate applications are applications corresponding to at least two candidate intent information that matches the target intent information; A processing unit, configured to determine that the target application is not installed locally; and after downloading and installing the target application according to the download information of the target application, start the target application and perform the action corresponding to the target intent information through the target application.

9. The electronic device according to claim 8, wherein The target intent information includes at least one of an application package name, action information, and intent extension parameters.

10. The electronic device according to claim 8, wherein The download information includes the installation package information of the target application, the download address of the target application, an instant installation flag, and a version number.

11. The electronic device according to claim 10, wherein, The processing unit is specifically configured to: Determine that the installation package information of the target application is not included in the saved application information database; After the communication unit receives the download information of the target application from the server, store the installation package information of the target application in the download information in the application information database.

12. The electronic device according to any one of claims 8 to 11, characterized in that: The communication unit is specifically configured to: Receive the download information of at least two candidate applications from the server, where the at least two candidate applications include the target application; The processing unit is specifically configured to: Before downloading and installing the target application according to the download information of the target application, display an application selection interface including the at least two candidate applications; receive an application selection instruction triggered by the user, and the application selection instruction is used to indicate that the application selected by the user is the target application.

13. A server, characterized in that, It includes: a communication unit, configured to receive an application download request carrying target intent information sent by an electronic device, the target intent information including function information, the function information including a meta-capability type and / or a meta-capability name; after a processing unit determines download information of a target application corresponding to intent information matching the target intent information, send the download information of the target application to the electronic device; or after the processing unit determines download information of at least two candidate applications corresponding to at least two candidate intent information matching the target intent information, send the download information of the at least two candidate applications to the electronic device; a processing unit, configured to query an intent management service for intent information that matches the target intent information, and when at least two candidate intent information that match the target intent information are queried in the intent management service, and each candidate intent information corresponds to a candidate application, select the intent information with a higher degree of matching with the target intent information among the at least two candidate intent information as the intent information that matches the target intent information; Determine the download information of the target application corresponding to the intent information matching the target intent information, or determine the download information of at least two candidate applications corresponding to the at least two candidate intent information matching the target intent information.

14. The server according to claim 13, wherein: The target intent information includes at least one of an application package name, action information, and intent extension parameters.

15. An electronic device, characterized in that: include: Memory, used to store programs and data; transceiver, used to receive and send data; A processor, configured to execute the method according to any one of claims 1 to 5.

16. A server, characterized in that, include: Memory, used to store programs and data; Communication module, used for receiving and sending data; A processor, configured to execute the method according to claim 6 or 7.

17. A cross-device application interaction system, characterized in that: include: The electronic device according to any one of claims 8 to 12; as well as The server according to claim 13 or 14.

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

19. A computer storage medium, characterized in that, The computer storage medium stores a computer program, and when the computer program is executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 7.

20. A chip, characterized in that, The chip is used to read a computer program stored in a memory and execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for confirming application to be started and executing corresponding operation

    CN104536777A

  • Method and terminal for browsing page of application

    CN110869907A