CN114428618A - Cross-device application interaction method, electronic device and server - Google Patents

Cross-device application interaction method, electronic device and server Download PDF

Info

Publication number
CN114428618A
CN114428618A CN202011171571.3A CN202011171571A CN114428618A CN 114428618 A CN114428618 A CN 114428618A CN 202011171571 A CN202011171571 A CN 202011171571A CN 114428618 A CN114428618 A CN 114428618A
Authority
CN
China
Prior art keywords
application
information
target
intention
intention information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011171571.3A
Other languages
Chinese (zh)
Inventor
姚艳兵
李伟
崔威风
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011171571.3A priority Critical patent/CN114428618A/en
Priority to PCT/CN2021/123510 priority patent/WO2022089207A1/en
Publication of CN114428618A publication Critical patent/CN114428618A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home

Abstract

The application provides a cross-device application interaction method, electronic devices and a server, which are used for realizing flexibility of cross-device application interaction among the electronic devices. In the scheme, the electronic equipment receives application interaction requests sent by other electronic equipment, wherein the application interaction requests comprise target intention information; after determining that the target application is not installed locally, the electronic equipment sends an application downloading request carrying target intention information to a server; the electronic equipment receives the downloading information of the target application from the server, starts the target application after downloading and installing the target application according to the downloading information of the target application, and executes the action corresponding to the target intention information through the target application. By the scheme, two electronic devices for performing cross-device application interaction are not limited to be provided with the same application in advance, the problem of failure of cross-device application interaction when the same application is not installed is solved, and the flexibility of cross-device application interaction between the electronic devices is realized.

Description

Cross-device application interaction method, electronic device and server
Technical Field
The present application relates to the field of terminal control, and in particular, to a cross-device application interaction method, an electronic device, and a server.
Background
With the richness of the types and functions of electronic devices, one user may have multiple electronic devices, such as a tablet computer, a mobile phone, and a smart watch. Multiple electronic devices may interact with each other to bring a richer use experience to the user.
The cross-device application interaction is a process of interaction among a plurality of electronic devices, and a user can operate one of the electronic devices to make applications of other electronic devices execute corresponding actions. For example, when an application is running, a first electronic device sends an application interaction request to a second electronic device in response to an application interaction instruction triggered by a user, so that a task currently executed by the application in the first electronic device is distributed to the second electronic device, and the same application in the second electronic device executes an action corresponding to the application interaction request. If the first electronic device distributes the received information to the second electronic device, the user may continue to view or process the information on the second electronic device.
As can be seen from the above description, the same application needs to be installed on multiple electronic devices that perform cross-device application interaction. If a user triggers an application interaction instruction in a navigation application on first electronic equipment, the first electronic equipment sends an application interaction request to second electronic equipment, and the same navigation application needs to be installed on the second electronic equipment; and if the navigation application is not installed on the second electronic device, the application interaction request of the first electronic device cannot be responded, and corresponding action cannot be executed.
Therefore, the existing cross-device application interaction method is single, has more limiting conditions and is not flexible enough.
Disclosure of Invention
The application provides a cross-device application interaction method, electronic devices and a server, which are used for realizing flexibility of cross-device application interaction among the electronic devices.
In a first aspect, an embodiment of the present application provides a cross-device application interaction method, which is applied to an electronic device, where the electronic device receives an application interaction request sent by another electronic device, where the application interaction request includes target intention information, and the application interaction request is used to instruct a target application in the electronic device to execute an action corresponding to the target intention information; after the electronic equipment determines that the target application is not installed locally, sending an application downloading request carrying the target intention information to a server; and the electronic equipment receives the downloading information of the target application from the server, starts the target application after downloading and installing the target application according to the downloading information of the target application, and executes the action corresponding to the target intention information through the target application.
By the method, when the electronic equipment receives the application interaction request sent by other equipment, if the electronic equipment determines that the target application is not installed locally, the electronic equipment can acquire the downloading information of the target application from the server according to the target intention information contained in the application interaction request, so that the target application can be downloaded and installed according to the downloading information of the target application, and the target application is started to complete cross-equipment application interaction. The cross-device application interaction method provided by the embodiment of the application does not limit that the same application is installed in advance in both the two electronic devices for cross-device application interaction any more, the target application can be installed silently in the cross-device application interaction, and the target application does not need to be installed manually by a user, so that the problem of failure of cross-device application interaction when the same application is not installed is solved, a flexible cross-device application interaction mode is provided, the cross-device application interaction efficiency is improved, and the user experience is improved.
In one possible design, the target intention information includes at least one of an application package name, function information, action information, and intention extension parameter.
Optionally, the function information includes a meta capability type and/or a meta capability name.
Through the design, the target intention information is carried in the application interaction request, so that the electronic equipment can be instructed to execute corresponding actions through the target application according to the target intention information, and when the target application is not installed locally on the electronic equipment, the electronic equipment can acquire the downloading information of the target application from the server according to the target intention information, download and install the target application, and therefore cross-equipment application interaction is completed.
In a possible design, the download information includes installation package information of the target application, a download address of the target application, an instant installation identifier, and a version number.
Through the design, after the electronic equipment acquires the downloading information of the target application, the target application can be downloaded and installed according to the downloading information, the user does not need to install the application manually, and the user experience is improved.
In a possible design, when the electronic device determines that the target application is not installed locally, it may be determined that the application information database stored in the electronic device does not include installation package information of the target application; after receiving the downloading information of the target application from the server, storing the installation package information of the target application in the downloading information into the application information database.
Through the design, the electronic equipment can store the installation package information of the installed application in the local application information database, so that whether the target application is installed locally or not can be judged by searching the installation package information of the target application after the application interaction request is received, whether the download information of the target application needs to be requested to the server or not is further judged, and the problem that no response exists when the target application is not installed in the prior art is solved.
In one possible design, receiving download information of at least two candidate applications from the server, wherein the at least two candidate applications comprise the target application; before downloading and installing the target application according to the downloading information of the target application, displaying an application selection interface comprising the at least two candidate applications; and receiving an application selection instruction triggered by a user, wherein the application selection instruction is used for indicating the application selected by the user as the target application.
Through the design, when the electronic equipment receives the download information of at least two candidate applications sent by the server, the electronic equipment displays the application selection interface to the user and takes the application selected by the user as the target application, so that the user is prompted to select the application when the server cannot accurately search the target application, and cross-equipment application interaction is flexibly realized.
The second aspect provides a cross-device application interaction method, which is applied to a server, wherein the server receives an application downloading request which is sent by electronic equipment and carries target intention information; inquiring intention information matched with the target intention information in an intention management service; determining download information of a target application corresponding to intention information matched with the target intention information; and sending the downloading information of the target application to the electronic equipment.
By the method, after receiving the application downloading request sent by the electronic equipment, the server can inquire intention information matched with the target intention information in the intention management service, further determine the downloading information of the target application and send the downloading information of the target application to the electronic equipment, and a user does not need to manually search the target application and trigger a downloading instruction, so that a flexible cross-equipment application interaction method is provided, and the user experience is improved.
In one possible design, the target intention information includes at least one of an application package name, function information, action information, and intention extension parameter.
Optionally, the function information includes a meta capability type and/or a meta capability name.
Through the design, the intention information of the application is stored in the intention management service by the server, the intention information of the target application is determined by matching with the target intention information, a mode for searching the target application by the server is provided, and the target application can be searched according to the target intention information without actively triggering a downloading instruction by a user.
In one possible design, at least two candidate intention information matched with the target intention information are inquired in the intention management service, and each candidate intention information corresponds to one candidate application; and selecting intention information which is matched with the target intention information in a higher degree from the at least two candidate intention information as intention information matched with the target intention information.
Through the design, when the server inquires at least two candidate intention information matched with the target intention information in the intention management service, the matching degree of the candidate intention information and the target intention information can be determined, the intention information with higher matching degree with the target intention information is used as the intention information of the target application, and the target application is accurately and flexibly determined.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a communication unit and a processing unit, and is configured to execute the cross-device application interaction method described in the above first aspect.
In a fourth aspect, an embodiment of the present application provides a server, which includes a communication unit and a processing unit, and is configured to execute the cross-device application interaction method described in the second aspect above.
In a fifth aspect, embodiments of the present application provide an electronic device, including at least one processor, at least one memory, and a transceiver, where the at least one memory is used for storing programs and data, and the at least one processor is used for executing the cross-device application interaction method provided in the above first aspect of the present application.
In a sixth aspect, embodiments of the present application provide a server, including at least one processor, at least one memory, and a communication module, where the at least one memory is used for storing programs and data, and the at least one processor is used for executing the cross-device application interaction method provided in the second aspect above.
In a seventh aspect, an embodiment of the present application provides a communication system, including the electronic device as provided in the third aspect, and the server as provided in the fourth aspect.
In an eighth aspect, embodiments of the present application further provide a computer program, which, when run on a computer, causes the computer to perform the method provided in the first aspect or the second aspect.
In a ninth aspect, 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, the computer is caused to execute the method provided in the first aspect or the second aspect.
In a tenth aspect, an embodiment of the present application further provides a chip, where the chip is configured to read a computer program stored in a memory, and perform the method provided in the first aspect or the second aspect.
In an eleventh aspect, embodiments of the present application further provide a chip system, where the chip system includes a processor, and is configured to support a computer device to implement the method provided in the first aspect or the second aspect. In one possible design, the system-on-chip further includes a memory for storing programs and data necessary for the computer device. The chip system may be formed by a chip, and may also include a chip and other discrete devices.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a schematic view of an application scenario provided in an embodiment of the present application;
FIG. 4 is a flowchart of a method for cross-device application interaction according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of an instruction for triggering application interaction according to an embodiment of the present application;
fig. 6 is a schematic diagram of an apparatus selection interface provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of an application selection interface provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a frame layer of a first electronic device according to an embodiment of the present disclosure;
fig. 9 is a flowchart of a cross-device application interaction method implemented by a framework layer of a first electronic device according to an embodiment of the present application;
fig. 10 is a schematic view of a navigation interface of a mobile phone according to an embodiment of the present application;
fig. 11 is a schematic view of a navigation interface of a smart watch according to an embodiment of the present application;
FIG. 12 is a schematic view of a "bump-on-bump" function provided in an embodiment of the present application;
fig. 13 is a schematic view of an application selection interface on a smart watch according to an embodiment of the present application;
fig. 14 is a schematic diagram of a display navigation application interface of a smart watch according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a server according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
Hereinafter, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
1. Cross-device application interaction is an interactive process between the same application on multiple electronic devices. The user can operate the first electronic device to send an application interaction request to the second electronic device, so that the task currently executed by the application in the first electronic device is distributed to the second electronic device, and the same application on the second electronic device can continuously execute the related task.
2. An electronic device, such as a mobile phone, a tablet computer, a wearable device (e.g., a watch, a bracelet, a helmet, an earphone, a necklace, etc.), an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), etc., which is not limited in any way by the embodiments of the present application.
In the embodiment of the present application, a connection may be established between at least two electronic devices through a wireless local area network, a bluetooth network, or a peer-to-peer (P2P) network.
Taking two electronic devices (such as a first electronic device and a second electronic device) as an example, the second electronic device is an electronic device used when a user triggers an application interaction request, and the user can trigger a cross-device application interaction request through the second electronic device to distribute a task executed by the second electronic device to the first electronic device.
The first electronic device is convenient to carry or use in the subsequent use process of a user, and after the user operates the second electronic device to trigger the application interaction request, the first electronic device executes the operation corresponding to the application interaction request.
For example, a user plans a navigation route by using a navigation application in a second electronic device (mobile phone), the user triggers a cross-device application interaction request through the mobile phone, a navigation task is distributed to a first electronic device (smart watch), and the navigation route is displayed on the smart watch, so that the user can conveniently check the navigation route at any time.
For another example, a user uses a 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, the played video file task is distributed to the first electronic device (tablet personal computer), and the tablet personal computer continues to play the video file, so that the viewing experience of the user is improved.
3. And the application can provide corresponding service functions for the user. The electronic device may execute the application by installing an application program (also referred to as application software) of the application, thereby implementing a service function of the application. For example, when the electronic device has a camera application providing a shooting service function and the camera application needs to be installed and run, the shooting service function can be provided to the user. For example, the electronic device may be provided with a wechat application or a QQ application that provides a chat service function, and the electronic device may be required to install wechat application software or QQ application software and run the wechat application or the QQ application, so that the chat service function may be provided to the user.
It should be noted that the application software of the application may be developed by a supplier of the electronic device or by an application supplier, and the application is not limited in this respect.
4. The application package name is a unique identifier of an application, the package name of one application must be unique, one package name represents one application, and two applications are not allowed to use the same application package name. The application package name is mainly used for system identification applications and is hardly visible to the user.
5. The meta-capability can be a meta-capability with a page or without a page, and is used for indicating whether the meta-capability is used for indicating the page to be shown.
The technical solutions in the embodiments of the present application will be described in detail below with reference to the drawings in the following embodiments of the present application.
Fig. 1 shows a schematic structural diagram of an electronic device 100. As shown in fig. 1, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like.
Processor 110 may include one or more processing units, such as: 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. The different processing units may be separate devices or may be integrated into one or more processors. The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution. A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. The charging management module 140 is configured to receive charging input from a 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 input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. 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 electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
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 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The display screen 194 is used for displaying a display interface of an application, such as a navigation interface of a navigation application. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system, software codes of at least one application program (such as an Aichi art application, a WeChat application, etc.), and the like. The data storage area may store data (e.g., captured images, recorded videos, etc.) generated during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as pictures, videos, and the like are saved in an external memory card.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.
The touch sensor 180C is also referred to as a "touch panel". The touch sensor 180C may be disposed on the display screen 194, and the touch sensor 180C and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180C is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180C may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100. The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization. Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc. The SIM card interface 195 is used to connect a SIM card. The SIM card may be brought into and out of contact with the electronic device 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195.
It is to be understood that the components shown in fig. 1 are not to be construed as limiting the electronic device 100, and that the handset may include more or fewer components than those shown, or some components may be combined, some components may be separated, or a different arrangement of components may be used. In addition, the combination/connection relationship between the components in fig. 1 may also be modified.
Fig. 2 shows a block diagram of a software structure of an electronic device according to an embodiment of the present application. As shown in fig. 2, the software structure of the electronic device may be a layered architecture, for example, the software may be divided into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer (FWK), an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 2, the application layer may include a camera, settings, a skin module, a User Interface (UI), a three-party application, and the like. The three-party application program may include WeChat, QQ, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer may include some predefined functions. As shown in FIG. 2, the application framework layers may include a window Manager, a content provider, a view system, a telephony Manager, a resource Manager, a notification Manager, a distributed execution framework, a package management Service, an Affinity Manager Service (AMS), a package instant install Service, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The distributed execution framework can call the package management Service to inquire whether the application corresponding to the intention information is installed on the equipment or not according to the intention information carried in the received application interaction request, and can start an application downloading and installing process according to the downloading information request meta-capability management Service (AMS) acquired by the package management Service when the application is not installed.
The package management service is a system service and is mainly used for realizing the functions of application installation and uninstallation, component query matching, authority management and the like. In the embodiment of the application, the package management service is used for maintaining an application information database of the installed application of the electronic device, and can search the download information of the target application corresponding to the target intention information issued by the distributed execution framework in the application information database, so as to judge whether the target application is installed locally. The package management service can also request the server to acquire the downloading information corresponding to the target application when the target application is determined not to be installed locally.
And the meta-capability management service is used for managing the installed application meta-capability information of the electronic equipment, and can start the application according to the intention information and execute the operation corresponding to the intention information.
And the package instant installation service is used for silently installing the application according to the request parameters sent by the AMS and updating the downloading information of the application which is silently installed successfully into the package management service.
The Android runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android. The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
In addition, the system library can also comprise an image processing library which is used for processing the images so as to realize the shooting effects of shaking, moving, lifting and descending.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The hardware layer may include various sensors, such as an acceleration sensor, a gyro sensor, a touch sensor, and the like, which are referred to in the embodiments of the present application.
Taking two electronic devices (a first electronic device and a second electronic device) as an example, a user may trigger, on the first electronic device, to distribute a task executed on the first electronic device to the second electronic device, and after receiving an application interaction request, the second electronic device executes an action corresponding to the application interaction request. However, before performing cross-device application interaction, multiple electronic devices need to install the same application, and if an 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, resulting in failure of cross-device application interaction.
In order to solve the above problem, an embodiment of the present application provides a cross-device application interaction method, so as to implement flexibility of cross-device application interaction between electronic devices.
As shown in fig. 3, the application scenario includes a server 31 and a plurality of electronic devices (e.g., a first electronic device 32 and a second electronic device 33 shown in fig. 3), and the following description takes the first electronic device 32 and the second electronic device 33 as examples.
The first electronic device 32 and the second electronic device 33 may establish a connection through a wireless local area network, a bluetooth network, or a peer-to-peer (P2P) network, and further transfer data with each other. The first electronic device 32, the second electronic device 33 and the server 31 can establish connection and transfer data through a wireless local area network and a mobile communication network.
The server 31 may be an application store server for managing applications in an application store, and upon receiving a download request sent by the electronic device, sends download information of the application requested by the electronic device to the electronic device. Therefore, after the electronic equipment downloads and installs the application according to the downloading information of the application, the application can be started and the service provided by the application can be used.
In one embodiment, the server 31 further comprises an intent management service for managing intent information of applications supporting on-demand downloading. The application developer uploads the installation package of the application to the server 31, and if the installation package of the application contains the configuration file, it indicates that the application supports downloading on demand. Specifically, the configuration file may include: package name, version number, supported electronic device type, boot parameters, system rights information to be used, etc. The server 31 extracts information in the configuration file and synchronizes the extracted information to the intention management service as intention information corresponding to the application.
It should be noted that one application may correspond to a plurality of intention information. At least one of the following may be included in the intention information: application package name, function information (e.g., meta-capability type, meta-capability name), etc. The application supports downloading on demand, namely, the electronic equipment acquires downloading information of the application from the server for downloading and installing without actively triggering a downloading instruction by a user.
The method for cross-device application interaction provided by the embodiment of the application can be applied to an application scenario shown in fig. 3, and the steps of the method are described in detail below with reference to a flowchart shown in fig. 4. The first electronic device related in this embodiment is an electronic device that receives an application interaction request, and the second electronic device is an electronic device that sends the application interaction request.
S401: the second electronic device sends an application interaction request containing the target intention information to the first electronic device.
In a specific implementation, the second electronic device sends an application interaction request to the first electronic device in response to an application interaction instruction triggered by a user. For example, as shown in fig. 5, when the second electronic device runs the navigation application, the user clicks an "application interaction" button on the display interface to trigger an application interaction instruction; or when the second electronic device runs the navigation application, the application interaction instruction is triggered through near field communication such as NFC, for example, the user triggers the application interaction instruction by using a "touch-and-dash" function of the second electronic device and the first electronic device.
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 including the multiple electronic devices connected to the second electronic device, and responds to an operation of the user selecting one electronic device in the device selection interface, and the selected electronic device is used as the first electronic device, and the second electronic device sends the application interaction request to the first electronic device. For example, the second electronic device displays a device selection interface as shown in fig. 6, and electronic devices such as a smart watch and a tablet computer that establish connection with the second electronic device are displayed on the device selection interface, and the user may select one electronic device on the device selection interface as the first electronic device, and 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.
It should be noted that the target intention information is included in the application interaction request, and the application interaction request is used for instructing a target application in the electronic device to execute an action corresponding to the target intention information. For example, the action corresponding to the target intention information is to display a navigation page in a navigation application, or the action corresponding to the target intention information is to play a video in a video player application, and so on.
Specifically, the target intention information may include at least one of an application package name, function information, action information, and intention extension parameter. Wherein, the function information may include a meta capability type and/or a meta capability name; the action information is used for describing functions supported by the meta-capability; the intention extension parameter is an operation parameter corresponding to the target intention information, and if the display page is a navigation page, the intention extension parameter may be a navigation route (such as starting point and terminal position information, route intersection position information, and the like) and a navigation mode (such as walking, self-driving, riding, and the like).
S402: the first electronic device determines that the target application is not installed locally.
In specific implementation, the first electronic device locally stores/maintains an application information database, where the application information database includes installation package information corresponding to an application installed on the first electronic device. The installation package information includes the meta-capability name, the meta-capability type, and the action information supported by the meta-capability of the application. After receiving an application interaction request containing target intention information sent by second electronic equipment, first electronic equipment searches installation package information of the target application in an application information database, and if the installation package information of the target application is found in the application information database and indicates that the first electronic equipment has installed the target application, the first electronic equipment executes operation corresponding to the target intention information through the target application. If the installation package information of the target application is not found in the application information database, it indicates that the target application is not installed in the first electronic device.
Further, whether the installation package information of the target application is included in the application information database is searched according to the meta-capability name and the meta-capability type included in the target intention information, and because the installation package information of the application includes the meta-capability name and the meta-capability type of the application, if the meta-capability name and the meta-capability type in the installation package information are matched with the meta-capability name and the meta-capability type in the target intention information, it is determined that the installation package information of the target application is included in the application information database, namely the target application is installed in the first electronic device; otherwise, determining that the application information database does not include the installation package information of the target application, that is, the target application is not installed in the first electronic device.
S403: and the first electronic equipment sends an application downloading request carrying the target intention information to the server.
S404: the server inquires intention information matched with the target intention information in the intention management service.
In a specific implementation, the intention management service includes intention information of an application supporting on-demand downloading in an application store, and if the intention information matched with the target intention information is found in the intention management service, it is determined that the target application supports on-demand downloading.
S405: the server determines download information of the target application corresponding to the intention information matching the target intention information.
Optionally, the download information may include an application package name, installation package information, a download address corresponding to the application package name, an instant installation identifier, a version number, and the like of the target application. Wherein, the immediate installation mark indicates that the target application needs to be downloaded and installed.
In a specific implementation, the downloading information of the target application corresponding to the intention information matched with the target intention information is determined according to the following modes:
in the method 1, if the target intention information includes the target application package name, the server searches the corresponding download information according to the target application package name.
Mode 2, if the target intention information includes function information (meta-capability name and/or meta-capability type) and/or action information, the server searches intention information matched with the target intention information according to the function information and/or the action information, and determines download information corresponding to the searched intention information.
Optionally, if multiple pieces of intention information are found and the applications corresponding to the multiple pieces of intention information are different, that is, when multiple candidate applications exist, the target application may be determined according to the following manner:
1. the server respectively sends the download information corresponding to the candidate applications to the first electronic device, and the first electronic device selects one of the candidate applications as a target application.
In a specific implementation, a first electronic device presents an application selection interface comprising a plurality of candidate applications; and receiving an instruction for selecting a target application from a plurality of candidate applications triggered by a user, and taking the candidate application selected by the user as the target application.
For example, the first electronic device presents an application selection interface as shown in fig. 7 according to the received download information corresponding to the multiple candidate applications, the user may click an identifier of one candidate application in the interface, and the first electronic device takes the candidate application selected by the user as the target application.
2. The server determines the matching degree of the plurality of intention information and the target intention information, sorts the plurality of intention information according to the matching degree of the plurality of intention information and the target intention information, and takes the application corresponding to the intention information with the highest matching degree as the target application.
S406: and the server sends the downloading information of the target application to the first electronic equipment.
S407: and the first electronic equipment downloads and installs the target application according to the downloading information of the target application.
It should be noted that, the first electronic device installs the target application silently 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.
S408: the first electronic equipment starts the target application and executes the action corresponding to the target intention information through the target application.
In specific implementation, if the target intention information includes a meta-capability name, a meta-capability type and an intention extension parameter, executing a corresponding action according to the meta-capability name, the meta-capability type and the intention extension parameter; otherwise, displaying a default interface of the target application; the default interface of the target application can be the main interface of the target application.
It should be noted that, when the application package name is not included in the target intention information, the target application downloaded and installed by the first electronic device may be an application that is different from the application triggering the application interaction request on the second electronic device, but has the same meta-capability, that is, the first electronic device may execute the action corresponding to the target intention 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 the application interaction can be flexibly implemented.
Based on the same technical concept, the embodiment of the application also provides a cross-device application interaction method. The method mainly includes the first electronic device in the embodiment shown in fig. 4, and the execution process of the first electronic device in the method is analyzed in terms of the frame layer. As shown in fig. 8, the first electronic device is divided according to logical functions, and its framework layer may include: a distributed execution framework 81, a meta-capability management service 82, a package management service 83, and a package immediate install service 84.
When the first electronic device implements the cross-device application interaction method, as shown in fig. 9, the method includes the following steps:
s901, the distributed execution framework 81 receives an application interaction request containing the target intention information sent by the second electronic device.
S902, the distributed execution framework 81 sends the target intention information to the package management service 83.
S903, the package management service 83 determines that the installation package information of the target application corresponding to the target intention information is not queried in the application information database.
S904, the package management service 83 sends an application download request carrying the target intention information to the server.
S905, the server inquires intention information matched with the target intention information in the intention management service.
S906, the server determines the downloading information of the target application corresponding to the intention information matched with the target intention information.
S907, the server sends the download information of the target application to the package management service 83.
S908, the package management service 83 returns the download information of the target application to the distributed execution framework 81.
S909, the distributed execution framework 81 sends the download information of the target application to the meta-capability management service 82.
S910, the meta-capability management service 82 sends a download installation request including download information of the target application to the package immediate installation service 84.
S911, the package immediate installation service 84 downloads and installs the target application.
S912, the package immediate installation service 84 updates the installation package information in the download information of the target application to the package management service.
S913, the meta capability management service 82 starts the target application.
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 through bluetooth. The navigation application is run on the mobile phone, the navigation interface shown in fig. 10 is displayed, and the user clicks an application interaction button on the display interface of the navigation application to trigger the navigation task executed by the mobile phone to be distributed to the smart watch.
The mobile phone sends an application interaction request to the smart watch, where the application interaction request includes target intention information, and specifically, the target intention information includes: the information about the navigation route includes, for example, an application package name (e.g., com. map), a meta capability name (e.g., com. map. activity. navigation availability), a meta capability type (e.g., PAGE, which indicates that the meta capability is used to indicate a display PAGE corresponding to the meta capability) and an intention extension parameter, referring to fig. 10, the intention extension parameter may be position information of a start point and an end point of the navigation route, position information of the route intersection, and a navigation manner (e.g., walking, riding, driving by oneself, etc.), and optionally, the position information of the start point and the end point may be longitude and latitude coordinates of the start point and the end point, and the position information of the route intersection may be longitude and latitude coordinates of the route intersection.
The intelligent watch inquires installation package information of the navigation application corresponding to the target intention information in an application information database of the equipment, determines that the application information database of the equipment does not contain the installation package information corresponding to the navigation application, and then sends an application downloading request carrying the target intention information to the server.
The server queries intention information matched with the target intention information through the intention management service, and sends download information of the navigation application corresponding to the intention information matched with the target intention information to the smart watch, specifically, the download information of the navigation application may include information such as an application package name, installation package information of the application, a download address in an application store corresponding to the application package name, an instant installation identifier, and a version number.
The smart watch downloads and silently installs the navigation application according to the received download information of the navigation application, starts the navigation application after the navigation application is installed, and displays a navigation interface according to the target intention information, for example, the smart watch displays the navigation interface as shown in fig. 11.
In some embodiments, for example, the first electronic device is a computer, and the second electronic device is a mobile phone, the computer and the mobile phone are connected through P2P. As shown in fig. 12, a user triggers an application interaction instruction through a "touch-and-dash" function of the computer and the mobile phone, and the computer sends an application interaction request containing target intention information to the mobile phone. Specifically, the target intention information includes: the metadata includes an application package name (e.g., com), a meta capability name (e.g., com.music.activity.playeractivity), a meta capability type (e.g., SERVICE, indicating that the meta capability is used to indicate that an action corresponding to the meta capability is performed), and an intention extension parameter, wherein the intention extension parameter may be information of an address of played music, a play mode, and the like.
The mobile phone inquires the installation package information of the music player application corresponding to the target intention information in an application information database of the device, determines that the application information database of the device does not contain the installation package information corresponding to the music player application, and then the smart phone sends an application downloading request carrying the target intention information to the server.
The server queries intention information matched with the target intention information through an intention management service, and sends downloading information of the music player application corresponding to the intention information matched with the target intention information to the smart phone.
And the mobile phone downloads and silently installs the music player application according to the received download information corresponding to the music player application, starts the music player application after the music player application is installed, and plays music according to the target intention information.
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 a user triggers an instruction for starting a navigation function on a mobile phone, an application distribution instruction is triggered; if the user inputs an instruction for starting the navigation function through voice, an application interaction instruction is triggered through the 'touch-and-catch' function of the mobile phone and the smart watch.
The mobile phone sends an application interaction request to the smart watch, where the application interaction request includes target intention information, and specifically, the target intention information includes: the action information (specifically, action information indicating that the navigation function is started) is provided.
The smart watch inquires whether installation package information of the target application corresponding to the target intention information exists in an application information database of the device, specifically, the installation package information containing action information in the target intention information can be searched in the application information database, when the fact that the installation package information in the application information database does not contain the action information in the target intention information is determined, the fact that the target application is not installed on the smart watch is determined, and then the smart watch sends an application downloading request carrying the target intention information to a server.
The method comprises the steps that the server inquires intention information matched with target intention information through intention management service, and sends downloaded information of the navigation application corresponding to the intention information matched with the target intention information to the smart watch, specifically, if the server finds a plurality of intention information matched with the target intention information, for example, action information in the target intention information is found in the intention information of the plurality of applications; the server sends the download information of the candidate applications corresponding to the plurality of intention information to the smart watch.
The smart watch presents an application selection interface containing a plurality of candidate application names, for example, presents an application selection interface as shown in fig. 13, which includes candidate applications thereon: application A, application B and application C; if the user selects the application a on the application selection interface, the application a is used as a target application, the smart watch downloads and silently installs the application a according to the received download information of the application a, after the application a is installed, the application a is started, and the application interface is displayed according to the target intention information, for example, the smart watch displays a navigation application interface as shown in fig. 14.
Based on the above embodiments, the present application further provides an electronic device, where the electronic device is configured to implement the cross-device application interaction method shown in fig. 4. Referring to fig. 15, the electronic device 1500 includes: a communication unit 1501 and a processing unit 1502. The functions of the respective units are described below.
The communication unit 1501 is configured to receive an application interaction request sent by another electronic device, where the application interaction request includes target intention information, and the application interaction request is used to instruct a target application in the electronic device to execute an action corresponding to the target intention information; after the processing unit 1502 determines that the target application is not installed locally, the processing unit is configured to send an application download request carrying the target intention information to a server, and receive download information of the target application from the server.
The processing unit 1502 is configured to determine that the target application is not installed, start the target application after downloading and installing the target application according to the download information of the target application, and execute an action corresponding to the target intention information through the target application.
In one implementation, the target intention information includes at least one of an application package name, function information, action information, and intention extension parameters.
Optionally, the function information includes a meta capability type and/or a meta capability name.
In one implementation manner, the download information includes installation package information of a target application, a download address of the target application, an instant installation identifier, and a version number.
It should be noted that the immediate installation flag is used to indicate that the target application needs to be installed.
In one implementation, the processing unit 1502 is specifically configured to: determining that the stored application information database does not contain the installation package information of the target application; after receiving the downloading information of the target application from the server, storing the installation package information of the target application in the downloading information into the application information database.
In one implementation, the communication unit 1501 is specifically configured to: receiving download information of at least two candidate applications from the server, wherein the at least two candidate applications comprise the target application;
the processing unit 1502 is specifically configured to: before downloading and installing the target application according to the downloading information of the target application, displaying an application selection interface comprising the at least two candidate applications; and receiving an application selection instruction triggered by a user, wherein the application selection instruction is used for indicating the application selected by the user as the target application.
Based on the above embodiments, the present application further provides a server, where the server is configured to implement the cross-device application interaction method shown in fig. 4. Referring to fig. 16, the server 1600 includes: a communication unit 1601 and a processing unit 1602. The functions of the respective units are described below.
The communication unit 1601 is used for receiving an application download request carrying target intention information sent by the electronic device; and after the processing unit 1602 determines the download information of the target application corresponding to the intention information matching the target intention information, sending the download information of the target application to the electronic device.
A processing unit 1602, configured to query, in an intention management service, intention information matching the target intention information; determining download information of a target application corresponding to intention information matched with the target intention information;
in one implementation, the target intention information includes at least one of an application package name, function information, action information, and intention extension parameters.
Optionally, the function information includes a meta capability type and/or a meta capability name.
In one implementation, the processing unit 1602 is specifically configured to: at least two candidate intention information matched with the target intention information are inquired in the intention management service, and each candidate intention information corresponds to one candidate application; and selecting intention information which is matched with the target intention information in a higher degree from the at least two candidate intention information as intention information matched with the target intention information.
Based on the above embodiments, an embodiment of the present application further provides an electronic device, where the electronic device is configured to implement the cross-device application interaction method shown in fig. 4. Referring to fig. 17, the electronic device 1700 includes: the processor 1701, memory 1702, and of course, may also have the various peripheral or internal hardware shown in FIG. 1.
The memory 1702 and other components are interconnected with the processor 1701.
In particular, the electronic device 1700 may communicatively interact with other devices via the transceiver 1703. Optionally, the transceiver 1703 may be a bluetooth module, a WiFi module, an RF circuit, or the like.
The processor 1701 is configured to receive, through the transceiver 1703, an application interaction request sent by another electronic device, where the application interaction request includes target intention information, and the application interaction request is used to instruct a target application in the electronic device to execute an action corresponding to the target intention information; after determining that the target application is not installed locally, sending an application downloading request carrying the target intention information to a server through a transceiver 1703; receiving download information of the target application from the server through a transceiver 1703; and after downloading and installing the target application according to the downloading information of the target application, starting the target application, and executing the action corresponding to the target intention information through the target application.
In one implementation, the target intention information includes at least one of an application package name, function information, action information, and intention extension parameters.
Optionally, the function information includes a meta capability type and/or a meta capability name.
In one implementation manner, the download information includes installation package information of a target application, a download address of the target application, an instant installation identifier, and a version number.
In one implementation, the processor 1701 is specifically configured to: determining that the stored application information database does not contain the installation package information of the target application; after receiving download information of the target application from the server through the transceiver 1703, storing installation package information of the target application in the download information into the application information database.
In one implementation, the processor 1701 is specifically configured to: receiving, by the transceiver 1703, download information of at least two candidate applications from the server, the at least two candidate applications including the target application; before downloading and installing the target application according to the downloading information of the target application, displaying an application selection interface comprising the at least two candidate applications; and receiving an application selection instruction triggered by a user, wherein the application selection instruction is used for indicating the application selected by the user as the target application.
The memory 1702 is used for storing program instructions and data (e.g., image templates corresponding to different motion types), etc. In particular, the program instructions may comprise program code comprising instructions for the operation of a computer. The memory 1702 may include a Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The processor 1701 executes the program stored in the memory 1702 and implements the above functions through the above components, thereby finally implementing the method provided by the above embodiment.
Based on the above embodiments, the embodiments of the present application further provide a server, where the server is configured to implement the cross-device application interaction method shown in fig. 4. Referring to fig. 18, the server 1800 includes: a processor 1801, a memory 1802.
The memory 1802 and other components are interconnected to the processor 1801.
Specifically, the server 1800 may perform communication interaction with other devices through the communication module 1803.
The processor 1801 is configured to receive, through the communication module 1803, an application download request that is sent by the electronic device and carries the target intention information; inquiring intention information matched with the target intention information in an intention management service; determining download information of a target application corresponding to intention information matched with the target intention information; and sending the downloading information of the target application to the electronic device through a communication module 1803.
In one implementation, the target intention information includes at least one of an application package name, function information, action information, and intention extension parameters.
Optionally, the function information includes a meta capability type and/or a meta capability name.
In one implementation, the processor 1801 is specifically configured to: at least two candidate intention information matched with the target intention information are inquired in the intention management service, and each candidate intention information corresponds to one candidate application; and selecting intention information which is matched with the target intention information in a higher degree from the at least two candidate intention information as intention information matched with the target intention information.
The memory 1802 is used for storing program instructions and data (such as image templates corresponding to different motion types), and the like. In particular, the program instructions may comprise program code comprising instructions for the operation of a computer. Memory 1802 may include Random Access Memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The processor 1801 executes the program stored in the memory 1802, and implements the functions through the above components, thereby finally implementing the methods provided by the above embodiments.
Based on the above embodiments, the present application embodiment also provides a cross-device application interaction system, which includes an electronic device as shown in fig. 15, and a server as shown in fig. 16.
Based on the above embodiments, the embodiments of the present application further provide a computer program, which, when running on a computer, causes the computer to execute the cross-device application interaction method provided by the above embodiments.
Based on the above embodiments, the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a computer, the computer causes the computer to execute the cross-device application interaction method provided by the above embodiments.
Storage media may be any available media that can be accessed by a computer. Taking this as an example but not limiting: computer-readable media can include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
Based on the above embodiments, the embodiments of the present application further provide a chip, where the chip is used to read a computer program stored in a memory, so as to implement the cross-device application interaction method provided by the above embodiments.
Based on the foregoing embodiments, an embodiment of the present application provides a chip system, where the chip system includes a processor, and is used to support a computer device to implement functions related to service equipment, forwarding equipment, or site equipment in the foregoing embodiments. In one possible design, the system-on-chip further includes a memory for storing programs and data necessary for the computer device. The chip system may be constituted by a chip, or may include a chip and other discrete devices.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (26)

1. A cross-device application interaction method is applied to an electronic device, and is characterized by comprising the following steps:
receiving an application interaction request sent by other electronic equipment, wherein the application interaction request comprises target intention information, and the application interaction request is used for indicating a target application in the electronic equipment to execute an action corresponding to the target intention information;
after the target application is determined not to be installed locally, an application downloading request carrying the target intention information is sent to a server;
receiving download information of the target application from the server;
and after downloading and installing the target application according to the downloading information of the target application, starting the target application, and executing the action corresponding to the target intention information through the target application.
2. The method of claim 1, wherein the target intent information comprises at least one of an application package name, function information, action information, and intent extension parameters.
3. The method of claim 2, wherein the function information comprises a meta-capability type and/or a meta-capability name.
4. The method of claim 1, wherein the download information comprises installation package information of a target application, a download address of the target application, an instant installation identifier, and a version number.
5. The method of claim 4, wherein determining that the target application is not installed locally comprises:
determining that the stored application information database does not contain the installation package information of the target application;
after the receiving the download information of the target application from the server, further comprising:
and storing the installation package information of the target application in the downloading information into the application information database.
6. The method of any of claims 1 to 5, wherein receiving download information of the target application from the server comprises:
receiving download information of at least two candidate applications from the server, wherein the at least two candidate applications comprise the target application;
before downloading and installing the target application according to the download information of the target application, the method further comprises:
presenting an application selection interface comprising the at least two candidate applications;
and receiving an application selection instruction triggered by a user, wherein the application selection instruction is used for indicating the application selected by the user as the target application.
7. A cross-device application interaction method is applied to a server and is characterized by comprising the following steps:
receiving an application downloading request which is sent by electronic equipment and carries target intention information;
inquiring intention information matched with the target intention information in an intention management service;
determining download information of a target application corresponding to intention information matched with the target intention information;
and sending the downloading information of the target application to the electronic equipment.
8. The method of claim 7, wherein the target intention information includes at least one of an application package name, function information, action information, and intention extension parameters.
9. The method of claim 8, wherein the function information includes a meta-capability type and/or a meta-capability name.
10. The method of any one of claims 7 to 9, wherein querying the intent information matching the target intent information in an intent management service comprises:
at least two candidate intention information matched with the target intention information are inquired in the intention management service, and each candidate intention information corresponds to one candidate application;
and selecting intention information which is matched with the target intention information in a higher degree from the at least two candidate intention information as intention information matched with the target intention information.
11. An electronic device, comprising:
the communication unit is used for receiving an application interaction request sent by other electronic equipment, wherein the application interaction request contains target intention information, and the application interaction request is used for indicating a target application in the electronic equipment to execute an action corresponding to the target intention information; after the processing unit determines that the target application is not installed locally, an application downloading request carrying the target intention information is sent to a server; receiving download information of the target application from the server;
a processing unit for determining that the target application is not installed locally; and after downloading and installing the target application according to the downloading information of the target application, starting the target application and executing the action corresponding to the target intention information through the target application.
12. The electronic device of claim 11, wherein the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
13. The electronic device of claim 12, wherein the function information includes a meta-capability type and/or a meta-capability name.
14. The electronic device of claim 11, wherein the download information includes installation package information of a target application, a download address of the target application, an instant installation identifier, and a version number.
15. The electronic device of claim 14, wherein the processing unit is specifically configured to:
determining that the stored application information database does not include the installation package information of the target application;
after the communication unit receives the downloading information of the target application from the server, the installation package information of the target application in the downloading information is stored in the application information database.
16. The electronic device according to any of claims 11 to 15, wherein the communication unit is specifically configured to:
receiving download information of at least two candidate applications from the server, wherein the at least two candidate applications comprise the target application;
the processing unit is specifically configured to:
before downloading according to the downloading information of the target application and according to the target application, displaying an application selection interface comprising the at least two candidate applications; and receiving an application selection instruction triggered by a user, wherein the application selection instruction is used for indicating the application selected by the user as the target application.
17. A server, comprising:
the communication unit is used for receiving an application downloading request which is sent by the electronic equipment and carries the target intention information; after the processing unit determines the downloading information of the target application corresponding to the intention information matched with the target intention information, the downloading information of the target application is sent to the electronic equipment;
the processing unit is used for inquiring intention information matched with the target intention information in an intention management service; and determining the downloading information of the target application corresponding to the intention information matched with the target intention information.
18. The server according to claim 17, wherein the target intention information includes at least one of an application package name, function information, action information, and intention extension parameter.
19. The server according to claim 18, wherein the function information includes a meta-capability type and/or a meta-capability name.
20. The server according to any one of claims 17 to 19, wherein the processing unit is specifically configured to:
at least two candidate intention information matched with the target intention information are inquired in the intention management service, and each candidate intention information corresponds to one candidate application; and selecting intention information which is matched with the target intention information in a higher degree from the at least two candidate intention information as intention information matched with the target intention information.
21. An electronic device, comprising:
a memory for storing programs and data;
a transceiver for receiving and transmitting data;
a processor for performing the method of any one of claims 1 to 6.
22. A server, comprising:
a memory for storing programs and data;
a communication module for receiving and transmitting data;
a processor for performing the method of any one of claims 7 to 10.
23. A cross-device application interaction system, comprising:
the electronic device of any of claims 11-16; and
a server as claimed in any one of claims 17 to 20.
24. A computer program for causing a computer to perform the method of any one of claims 1 to 10 when the computer program runs on the computer.
25. A computer storage medium, in which a computer program is stored which, when executed by a computer, causes the computer to carry out the method of any one of claims 1 to 10.
26. A chip for reading a computer program stored in a memory, for performing the method according to any one of claims 1 to 10.
CN202011171571.3A 2020-10-28 2020-10-28 Cross-device application interaction method, electronic device and server Pending CN114428618A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011171571.3A CN114428618A (en) 2020-10-28 2020-10-28 Cross-device application interaction method, electronic device and server
PCT/CN2021/123510 WO2022089207A1 (en) 2020-10-28 2021-10-13 Cross-device application interaction method, electronic device, and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011171571.3A CN114428618A (en) 2020-10-28 2020-10-28 Cross-device application interaction method, electronic device and server

Publications (1)

Publication Number Publication Date
CN114428618A true CN114428618A (en) 2022-05-03

Family

ID=81310231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011171571.3A Pending CN114428618A (en) 2020-10-28 2020-10-28 Cross-device application interaction method, electronic device and server

Country Status (2)

Country Link
CN (1) CN114428618A (en)
WO (1) WO2022089207A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115033396A (en) * 2022-05-27 2022-09-09 荣耀终端有限公司 Communication method and related equipment
CN116700738A (en) * 2022-09-20 2023-09-05 荣耀终端有限公司 Application management method, electronic equipment and system
WO2024067037A1 (en) * 2022-09-30 2024-04-04 华为技术有限公司 Service calling method and system, and electronic device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117319482A (en) * 2022-06-25 2023-12-29 华为技术有限公司 Plug-in control method, system and related device
CN116700552B (en) * 2022-09-28 2024-04-19 荣耀终端有限公司 Application connection method and terminal equipment
CN116702100B (en) * 2022-10-21 2024-04-16 荣耀终端有限公司 Authority management method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10931735B2 (en) * 2012-06-28 2021-02-23 Netflix, Inc. Application discovery
CN103517110B (en) * 2012-06-29 2016-08-17 深圳市快播科技有限公司 A kind of multi-screen interaction communication system and method
CN103856807A (en) * 2014-03-25 2014-06-11 北京奇艺世纪科技有限公司 Method and device for controlling interaction between screens
CN114968614A (en) * 2020-02-27 2022-08-30 华为技术有限公司 Application interaction method among multiple devices and related devices
CN111523095B (en) * 2020-03-31 2024-03-15 华为技术有限公司 Cross-equipment interaction method and terminal equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115033396A (en) * 2022-05-27 2022-09-09 荣耀终端有限公司 Communication method and related equipment
CN115033396B (en) * 2022-05-27 2023-05-02 荣耀终端有限公司 Communication method and related equipment
CN116700738A (en) * 2022-09-20 2023-09-05 荣耀终端有限公司 Application management method, electronic equipment and system
CN116700738B (en) * 2022-09-20 2023-12-12 荣耀终端有限公司 Application management method, electronic equipment and system
WO2024067037A1 (en) * 2022-09-30 2024-04-04 华为技术有限公司 Service calling method and system, and electronic device

Also Published As

Publication number Publication date
WO2022089207A1 (en) 2022-05-05

Similar Documents

Publication Publication Date Title
CN114428618A (en) Cross-device application interaction method, electronic device and server
CN114461240B (en) Software upgrading method, software upgrading system and electronic equipment
CN114356258A (en) Electronic device, screen projection method thereof and medium
CN114422640B (en) Equipment recommendation method and electronic equipment
CN114461239B (en) Software upgrading system and software upgrading method
CN116009977A (en) Notification processing method, chip, electronic device and computer-readable storage medium
CN112119378A (en) Application installation method and terminal
CN114610419B (en) Method and device for adding widget and computer readable storage medium
CN114745468B (en) Electronic equipment and theme setting method, system and medium thereof
CN114168237A (en) Theme pack adaptation method and device
CN114741256B (en) Sensor monitoring method and device and terminal equipment
EP4354270A1 (en) Service recommendation method and electronic device
CN114489689B (en) Application program installation method and system, electronic equipment and server
CN114443117B (en) Custom package processing method and electronic equipment
WO2022052706A1 (en) Service sharing method, system and electronic device
CN113254132B (en) Application display method and related device
CN113835802A (en) Device interaction method, system, device and computer readable storage medium
WO2022267786A1 (en) Shortcut icon display method and terminal device
WO2023165413A1 (en) Application development system and method, and device
CN117097793B (en) Message pushing method, terminal and server
CN117729561A (en) System upgrading method, terminal and storage medium
CN117698618A (en) Scene display method and electronic equipment
CN115840610A (en) Desktop dynamic effect display method and electronic equipment
CN116846853A (en) Information processing method and electronic equipment
CN117527822A (en) Data synchronization method, electronic equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination