WO2022089207A1 - 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
WO2022089207A1
WO2022089207A1 PCT/CN2021/123510 CN2021123510W WO2022089207A1 WO 2022089207 A1 WO2022089207 A1 WO 2022089207A1 CN 2021123510 W CN2021123510 W CN 2021123510W WO 2022089207 A1 WO2022089207 A1 WO 2022089207A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
information
target
intent
electronic device
Prior art date
Application number
PCT/CN2021/123510
Other languages
French (fr)
Chinese (zh)
Inventor
姚艳兵
李伟
崔威风
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022089207A1 publication Critical patent/WO2022089207A1/en

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

Definitions

  • 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.
  • a user may have multiple electronic devices at the same time, such as tablet computers, mobile phones, smart watches, and so on. Multiple electronic devices can interact with each other to bring a richer user experience to the user.
  • Cross-device application interaction is a process of interaction between multiple electronic devices, and a user can operate one of the electronic devices to cause the applications of other electronic devices to perform corresponding actions.
  • the first electronic device runs the application, in response to the application interaction instruction triggered by the user, it sends an application interaction request to the second electronic device, thereby distributing the tasks currently executed by the application in the first electronic device to the second electronic device, and the first electronic device sends an application interaction request to the second electronic device.
  • the same application in the two electronic devices executes the action corresponding to the application interaction request. If the first electronic device distributes the received information to the second electronic device, the user can continue to view or process the information on the second electronic device.
  • the same application needs to be installed on multiple electronic devices that perform cross-device application interaction. If the user triggers an application interaction instruction in the navigation application on the first electronic device, the first electronic device sends an application interaction request to the second electronic device, and the second electronic device needs to have the same navigation application installed; If the navigation application is not installed on the device, the application interaction request of the first electronic device cannot be responded to, and corresponding actions cannot be performed.
  • the present application provides a cross-device application interaction method, an electronic device and a server, so as to realize the flexibility of cross-device application interaction between electronic devices.
  • an embodiment of the present application provides a cross-device application interaction method, which is applied to an electronic device.
  • the electronic device receives an application interaction request sent from other electronic devices, the application interaction request includes target intent information, and the application interaction
  • the request is used to instruct the target application in the electronic device to perform the action corresponding to the target intent information; after the electronic device determines that the target application is not installed locally, it sends an application download request carrying the target intent information to the server; the electronic device Receive the download information of the target application from the server, after downloading and installing the target application according to the download information of the target application, start the target application, and execute the target application corresponding to the target intent information. Actions.
  • the electronic device when it receives an application interaction request sent by another device, if it determines that the target application is not installed locally, it can obtain the download information of the target application from the server according to the target intent information included in the application interaction request, so that it can obtain the download information of the target application from the server according to the application interaction request.
  • the download information of the target application downloads and installs the target application, and starts the target application to complete the cross-device application interaction.
  • the cross-device application interaction method provided by the embodiments of the present application no longer restricts the two electronic devices that perform cross-device application interaction from having the same application installed in advance, and the target application can be silently installed in the cross-device application interaction without requiring the user to manually install the target application. application, thereby solving the problem of failure of cross-device application interaction when the same application is not installed, providing a flexible cross-device application interaction method, improving the efficiency of cross-device application interaction, and improving user experience.
  • the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
  • the function information includes a meta-capability type and/or a meta-capability name.
  • the target intent information is carried in the application interaction request, so that the electronic device can be instructed to perform the corresponding action through the target application according to the target intent information, and when the target application is not installed locally on the electronic device, the electronic device can be based on the target intent information.
  • 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.
  • the electronic device after acquiring the download information of the target application, the electronic device can download and install the target application according to the download information, without requiring the user to manually install the application, thereby improving the user experience.
  • the electronic device determines that the target application is not installed locally, it may be determined for the electronic device that the application information database saved does not contain the installation package information of the target application; After the download information of the target application is stored, the installation package information of the target application in the download information is stored in the application information database.
  • the electronic device can save the installation package information of the installed application in the local application information database, so that after receiving the application interaction request, it can determine whether to install the target application locally by looking up the installation package information of the target application, and then determine whether the target application is installed locally. Whether it is necessary to request the download information of the target application from the server to solve the problem of no response when the target application is not installed in the prior art.
  • download information of at least two candidate applications from the server is received, and the at least two candidate applications include the target application; after downloading and installing the target application according to the download information of the target application Before the target application is selected, an application selection interface including the at least two candidate applications is displayed; an application selection instruction triggered by the user is received, and the application selection instruction is used to indicate that the application selected by the user is the target application.
  • the electronic device when the electronic device receives the download information of at least two candidate applications sent by the server, the electronic device displays the application selection interface to the user, and uses the application selected by the user as the target application, so that when the server cannot accurately find the target application, a prompt is displayed. Users select applications and flexibly implement cross-device application interaction.
  • a cross-device application interaction method is provided, which is applied to a server, where the server receives an application download request carrying target intent information sent by an electronic device; inquires the intent information matching the target intent information in an intent management service; determines Download information of the target application corresponding to the intent information matched with the target intent information; send the download information of the target application to the electronic device.
  • the server can query the intent information matching the target intent information in the intent management service, then determine the download information of the target application, and send the download information of the target application to the electronic device.
  • device without the need for the user to manually find the target application and trigger the download instruction, provide a flexible cross-device application interaction method, and improve the user experience.
  • the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
  • the function information includes a meta-capability type and/or a meta-capability name.
  • the server saves the intent information of the application in the intent management service, and determines the intent information of the target application by matching with the target intent information, providing a way for the server to find the target application, without the user actively triggering the download instruction.
  • the target intent information finds the target application.
  • At least two candidate intent information matching the target intent information is queried in the intent management service, and each candidate intent information corresponds to a candidate application; the at least two candidate intent information is selected.
  • the intent information the intent information with a higher degree of matching with the target intent information is regarded as the intent information matched with the target intent information.
  • the server when the server finds at least two candidate intent information matching the target intent information in the intent management service, it can determine the matching degree between the candidate intent information and the target intent information, and compare the matching degree with the target intent information.
  • the higher intent information is used as the intent information of the target application, so as to determine the target application accurately and flexibly.
  • an embodiment of the present application provides an electronic device, including a communication unit and a processing unit, configured to execute the cross-device application interaction method described in the first aspect above.
  • an embodiment of the present application provides a server, including a communication unit and a processing unit, configured to execute the cross-device application interaction method described in the second aspect above.
  • an embodiment of the present application provides an electronic device, comprising at least one processor, at least one memory, and a transceiver, wherein the at least one memory is used to store programs and data, and the at least one processor is used to execute the above application
  • the cross-device application interaction method provided by the first aspect comprising at least one processor, at least one memory, and a transceiver, wherein the at least one memory is used to store programs and data, and the at least one processor is used to execute the above application The cross-device application interaction method provided by the first aspect.
  • an embodiment of the present application provides a server, comprising at least one processor, at least one memory, and a communication module, wherein the at least one memory is used to store programs and data, and the at least one processor is used to execute the above-mentioned first step of the present application.
  • the cross-device application interaction method provided by the second aspect.
  • an embodiment of the present application provides a communication system, including the electronic device provided in the third aspect, and the server provided in the fourth aspect.
  • an embodiment of the present application further provides a computer program, which, when the computer program runs on a computer, causes the computer to execute the method provided in the first aspect or the second aspect.
  • an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer is made to execute the above-mentioned first A method provided in the aspect or the second 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 execute the method provided in the first aspect or the second aspect.
  • an embodiment of the present application further provides a chip system, where the chip system includes a processor for supporting a computer device to implement the method provided in the first aspect or the second aspect.
  • the chip system further includes a memory for storing necessary programs and data of the computer device.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • FIG. 1 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • FIG. 4 is a flowchart of a method for cross-device application interaction provided by an embodiment of the present application
  • FIG. 5 is a schematic diagram of a triggering application interaction instruction provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a device selection interface provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an application selection interface provided by 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 application.
  • 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 diagram of a mobile phone navigation interface provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a smart watch navigation interface provided by an embodiment of the application.
  • FIG. 12 is a schematic diagram of a “touch and touch” function provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an application selection interface on a smart watch provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of a smart watch displaying a navigation application interface according to an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of an electronic device provided by an embodiment of the 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 provided by an embodiment of the application.
  • FIG. 18 is a schematic structural diagram of a server according to an embodiment of the present application.
  • Cross-device application interaction which is an interaction 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 as to distribute the tasks currently executed by the application in the first electronic device to the second electronic device, so that the same application on the second electronic device can continue to execute related tasks.
  • Task is an interaction 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 as to distribute the tasks currently executed by the application in the first electronic device to the second electronic device, so that the same application on the second electronic device can continue to execute related tasks. Task.
  • Electronic devices such as mobile phones, tablets, wearable devices (eg, watches, bracelets, helmets, headphones, necklaces, etc.), in-vehicle devices, augmented reality (AR)/virtual reality (VR) Devices, notebook computers, ultra-mobile personal computers (ultra-mobile personal computers, UMPCs), netbooks, personal digital assistants (personal digital assistants, PDAs), etc.
  • AR augmented reality
  • VR virtual reality
  • notebook computers notebook computers
  • ultra-mobile personal computers ultra-mobile personal computers
  • UMPCs ultra-mobile personal computers
  • netbooks personal digital assistants
  • PDAs personal digital assistants
  • 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.
  • a wireless local area network a Bluetooth network
  • P2P peer-to-peer
  • the second electronic device is the electronic device used when the user triggers the application interaction request, and the user can trigger the cross-device application interaction request through the second electronic device,
  • the tasks performed by the second electronic device are distributed to the first electronic device.
  • the first electronic device is an electronic device that is easy to carry or use by the user during subsequent use. After the user operates the second electronic device to trigger an application interaction request, the first electronic device executes the operation corresponding to the application interaction request.
  • the user uses the navigation application in the second electronic device (mobile phone) to plan a navigation route, the user triggers a cross-device application interaction request through the mobile phone, and distributes the navigation task to the first electronic device (smart watch), and the smart watch displays the navigation route. It is convenient for users to view at any time.
  • the user uses the player application in the second electronic device (mobile phone) to play a video file
  • the user triggers a cross-device application interaction request through the mobile phone, and distributes the task of playing the video file to the first electronic device (tablet computer), and the tablet
  • the computer continues to play the video file to improve the user's viewing experience.
  • the application can provide users with corresponding service functions.
  • the electronic device can run the application by installing the application program (also referred to as application software) of the application, and realize the service function of the application.
  • application program also referred to as application software
  • the electronic device needs to install the camera application program, and when the camera application runs, the shooting service function can be provided to the user.
  • WeChat application or QQ application that provides a chat service function.
  • the electronic device needs to install the WeChat application software or QQ application software and run the WeChat application or QQ application, that is, the chat service function can be provided to the user.
  • application software of the application may be developed by the supplier of the electronic device, or by the application supplier, which is not limited in this application.
  • the application package name is the unique identifier of the application.
  • the package name of an application must be unique, and a package name represents an application. Two applications are not allowed to use the same application package name.
  • the application package name is mainly used by the system to identify the application and is hardly seen by the user.
  • Meta-capability which is the service function that the application can provide.
  • the meta-capability of the navigation application is navigation, map search, etc.
  • the meta-capability can be the meta-capability with page or the meta-capability without page, which is used to indicate whether the meta-capability is used or not. on the instructed display page.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 may include a processor 110 , an external memory interface 120 , an internal memory 121 , a universal serial bus (USB) interface 130 , a charging management module 140 , a power management module 141 , and a battery 142 , Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193 , a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices.
  • the charging management module 140 is used to receive charging input from the charger.
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • 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, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the 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 wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • 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 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the display screen 194 is used to display a display interface of an application, such as a navigation interface of a navigation application and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • AMOLED organic light-emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area may store the operating system, and the software code of at least one application (eg, iQIYI application, WeChat application, etc.).
  • the storage data area may store data generated during the use of the electronic device 100 (eg, captured images, recorded videos, etc.) and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. Such as saving pictures, videos and other files in an external memory card.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, 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 to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the touch sensor 180C is also called “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, also called a "touch screen”.
  • the touch sensor 180C is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180C may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • FIG. 1 do not constitute a specific limitation to the electronic device 100, and the mobile phone may also include more or less components than those shown in the figure, or combine some components, or disassemble some components, Or a different component arrangement.
  • the combination/connection relationship between the components in FIG. 1 can also be adjusted and modified.
  • FIG. 2 shows a block diagram of a software structure of an electronic device provided by an embodiment of the present application.
  • the software structure of the electronic device may be a layered architecture, for example, the software may be divided into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer (framework, FWK), an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages. As shown in FIG. 2, the application layer may include camera, settings, skin modules, user interface (UI), third-party applications, and the like. Among them, the three-party applications can include WeChat, QQ, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
  • UI user interface
  • the three-party applications can include WeChat, QQ, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer can include some predefined functions.
  • the application framework layer 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, and a meta-capability management service (Ability Manager Service, AMS), package instant installation service, etc.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • 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 the communication function of the electronic device. For example, the management of call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • the distributed execution framework can call the package management service according to the intent information carried in the received application interaction request to query whether the application corresponding to the intent information has been installed on the device, and can obtain the information according to the package management service when the application is not installed.
  • the download information requests the meta-capability management service (Ability Manager Service, AMS) to start the process of downloading and installing the application.
  • AMS Asset Manager Service
  • the package management service is a system service, which is mainly used to implement functions such as application installation and uninstallation, component query matching, and permission management.
  • the package management service is used to maintain the application information database of the installed applications of the electronic device, and can search the application information database for the download information of the target application corresponding to the target intent information issued by the distributed execution framework, so as to determine Whether the target application is installed locally.
  • the package management service may also request the server to obtain download information corresponding to the target application when it is determined that the target application is not installed locally.
  • the meta-capability management service is used to manage the meta-capability information of the applications installed on the electronic device, and can start the application according to the intent information and perform operations corresponding to the intent information.
  • the instant package installation service is used to install applications silently according to the request parameters sent by the AMS, and update the download information of the applications successfully installed silently to the package management service.
  • the Android runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library media library
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • system library may also include an image processing library, which is used to process the image to realize the shooting effects of pan, shift, rise and fall.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • the hardware layer may include various types of sensors, for example, an acceleration sensor, a gyroscope sensor, and a touch sensor involved in the embodiments of the present application.
  • Cross-device application interaction is a process of interaction between multiple electronic devices. Taking two electronic devices (a first electronic device and a second electronic device) as an example, the user can trigger the The executed task is distributed to the second electronic device, and after receiving the application interaction request, the second electronic device executes the action corresponding to the application interaction request.
  • multiple electronic devices need to install the same application before performing cross-device application interaction. If the application corresponding to the application interaction request is not installed on the electronic device that receives the application interaction request, it cannot respond to the application interaction request, resulting in cross-device application interaction. fail.
  • an embodiment of the present application provides a cross-device application interaction method, so as to realize the flexibility of cross-device application interaction between electronic devices.
  • the application scenario includes a server 31 and multiple electronic devices (the first electronic device 32 and the first electronic device shown in FIG. The second electronic device 33), the first electronic device 32 and the second electronic device 33 are used as examples for description below.
  • a connection can be established between the first electronic device 32 and the second electronic device 33 through a wireless local area network, a Bluetooth network or a peer-to-peer (P2P) network, so as to transmit data to each other.
  • the first electronic device 32, the second electronic device 33 and the server 31 may establish a connection and transmit 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 the application store, and upon receiving a download request sent by the electronic device, sends the download information of the application requested by the electronic device to the electronic device. In this way, after downloading and installing the application according to the download information of the application, the electronic device can start the application and use the services provided by the application.
  • the server 31 further includes an intent management service for managing intent information of applications supporting on-demand download.
  • the application developer uploads the installation package of the application to the server 31. If the installation package of the application includes a configuration file, it means that the application supports on-demand downloading.
  • the configuration file may include: package name, version number, supported electronic device types, startup parameters, system permission information to be used, and the like.
  • the server 31 extracts the information in the configuration file, and synchronizes the extracted information to the intent management service as intent information corresponding to the application.
  • an application may correspond to multiple intent information.
  • the intent information may include at least one of the following: application package name, function information (such as meta-capability type, meta-capability name), and the like.
  • the application supports on-demand download means that the electronic device obtains the download information of the application from the server to download and install it without the user actively triggering the download instruction.
  • a cross-device application interaction method provided by an embodiment of the present application can be applied to the application scenario shown in FIG. 3 , and the steps of the method are described in detail below with reference to the flowchart shown in FIG. 4 .
  • the first electronic device involved in this embodiment is an electronic device that receives an application interaction request
  • the second electronic device is an electronic device that sends an application interaction request.
  • S401 The second electronic device sends an application interaction request including target intent information to the first electronic device.
  • the second electronic device sends an application interaction request to the first electronic device in response to the application interaction instruction triggered by the user. For example, as shown in FIG. 5 , when the second electronic device runs the navigation application, the user clicks the "application interaction" button on the display interface to trigger the application interaction instruction; or when the second electronic device runs the navigation application, the user clicks the "application interaction” button on the display interface; Trigger the application interaction instruction, for example, the user uses the "touch" function of the second electronic device and the first electronic device to trigger the application interaction instruction.
  • the second electronic device displays a device selection interface that includes multiple electronic devices connected to itself, and responds to the user in the In the operation of selecting an electronic device in the device selection interface, the selected electronic device is used as the first electronic device, and the second electronic device sends an application interaction request to the first electronic device.
  • the second electronic device displays a device selection interface as shown in FIG. 6 .
  • the device selection interface displays electronic devices that establish a connection with the second electronic device, such as smart watches and tablet computers, and the user can select on the device selection interface.
  • One electronic device is used as the first electronic device. If the user selects a smart watch as the first electronic device, the second electronic device sends an application interaction request to the smart watch.
  • the application interaction request includes target intent information
  • the application interaction request is used to instruct the target application in the electronic device to execute an action corresponding to the target intent information.
  • the action corresponding to the target intent information is to display a navigation page in the navigation application, or the action corresponding to the target intent information is to play a video in a video player application.
  • the target intent information may include at least one of an application package name, function information, action information, and intent extension parameters.
  • the function information may include the meta-capability type and/or the meta-capability name; the action information is used to describe the functions supported by the meta-capability; the intent extension parameter is the operation parameter corresponding to the target intent information, if the display page is a navigation page, the intent extension parameter It can be navigation routes (such as starting point and terminal location information, passing intersection location information, etc.) and navigation methods (such as walking, self-driving, cycling, etc.).
  • S402 The first electronic device determines that the target application is not installed locally.
  • the first electronic device locally saves/maintains an application information database
  • the application information database includes installation package information corresponding to applications installed on the first electronic device.
  • the installation package information includes the meta-capability name of the application, the meta-capability type, and the action information supported by the meta-capability.
  • the first electronic device After receiving the application interaction request containing the target intent information sent by the second electronic device, the first electronic device searches the application information database for the installation package information of the target application. If the installation package information of the target application is found in the application information database , indicating that the target application has been installed on the first electronic device, and the operation corresponding to the target intent information is executed through the target application. If the installation package information of the target application is not found in the application information database, it means that the target application is not installed on the first electronic device.
  • the meta-capability name and meta-capability type included in the target intention information it is searched whether the installation package information of the target application is included in the application information database, because the installation package information of the application includes the meta-capability name and meta-capability type of the application, If the meta-capability name and meta-capability type in the installation package information match the meta-capability name and meta-capability type in the target intent information, it is determined that the application information database includes the installation package information of the target application, that is, the first electronic device has installed it. The target application; otherwise, it is determined that the installation package information of the target application is not included in the application information database, that is, the target application is not installed in the first electronic device.
  • S403 The first electronic device sends an application download request carrying target intent information to the server.
  • S404 The server queries the intent management service for intent information matching the target intent information.
  • the intent management service includes intent information of applications that support on-demand download in the application store. If intent information matching the target intent information is found in the intent management service, it is determined that the target application supports on-demand download.
  • S405 The server determines the download information of the target application corresponding to the intent information matched with the target intent information.
  • the download information may include an application package name of the target application, installation package information, a download address corresponding to the application package name, an instant installation identifier, a version number, and the like.
  • the instant installation identifier indicates that the target application needs to be downloaded and installed.
  • the download information of the target application corresponding to the intent information matching the target intent information is determined according to the following methods:
  • the server searches for intent information that matches the target intent information according to the function information and/or action information, and Determine the download information corresponding to the found intent information.
  • function information metal-capability name and/or meta-capability type
  • action information the server searches for intent information that matches the target intent information according to the function information and/or action information, and Determine the download information corresponding to the found intent information.
  • the target application can be determined according to the following methods:
  • the server sends the download information corresponding to the multiple candidate applications to the first electronic device respectively, and the first electronic device selects one of the multiple candidate applications as the target application.
  • the first electronic device displays an application selection interface including multiple candidate applications; receives an instruction to select a target application from the multiple candidate applications triggered by the user, and uses the candidate application selected by the user as the target application.
  • the first electronic device displays the application selection interface shown in FIG. 7 according to the download information corresponding to the received multiple candidate applications.
  • the user can click the logo of a candidate application in the interface, and the first electronic device selects the candidate application selected by the user. application as the target application.
  • the server determines the matching degree between the multiple intent information and the target intent information, sorts the multiple intent information according to the matching degree between the multiple intent information and the target intent information, and selects the application corresponding to the intent information with the highest matching degree as the target application.
  • S406 The server sends the download information of the target application to the first electronic device.
  • S407 The first electronic device downloads and installs the target application according to the download information of the target application.
  • the first electronic device silently installs the target application according to the download information of the target application, that is, the target application can be installed on the first electronic device without user operation.
  • S408 The first electronic device starts the target application, and executes the action corresponding to the target intent information through the target application.
  • the target intent information includes the meta-capability name, the meta-capability type, and the intent-extension parameter
  • the corresponding action is performed according to the meta-capability name, the meta-capability type, and the intent-extension parameter; otherwise, the default interface of the target application is displayed; wherein , the default interface of the target application can be the main interface of the target application.
  • the target application downloaded and installed by the first electronic device may be different from the application triggering the application interaction request on the second electronic device, but with the same meta-capability.
  • Application that is, the first electronic device can execute the action corresponding to the target intent information through the target application, and the target application does not need to be the same as the application on the second electronic device, so that application interaction can be flexibly realized.
  • the embodiments of the present application also provide a cross-device application interaction method.
  • the method takes the first electronic device in the embodiment shown in FIG. 4 as the main body, and analyzes the execution process of the method by the first electronic device from the perspective of the framework layer.
  • the first electronic device is divided according to logical functions, and its framework layer may include: distributed execution framework 81 , meta-capability management service 82 , package management service 83 and package instant installation service 84 .
  • the distributed execution framework 81 receives an application interaction request including target intent information sent by the second electronic device.
  • the distributed execution framework 81 sends the target intent information to the package management service 83 .
  • the package management service 83 determines that the installation package information of the target application corresponding to the target intent information is not queried in the application information database.
  • the package management service 83 sends an application download request carrying the target intent information to the server.
  • the server queries the intent management service for intent information matching the target intent information.
  • the server determines the download information of the target application corresponding to the intent information matching the target intent information.
  • the server sends the download information of the target application to the package management service 83 .
  • the package management service 83 returns the download information of the target application to the distributed execution framework 81 .
  • the distributed execution framework 81 sends the download information of the target application to the meta-capability management service 82 .
  • the meta-capability management service 82 sends a download and installation request including the download information of the target application to the instant package installation service 84.
  • the instant package installation service 84 downloads and installs the target application.
  • the instant package installation service 84 updates the installation package information in the download information of the target application to the package management service.
  • the meta-capability management service 82 starts the target application.
  • the smart watch and the mobile phone establish a connection through Bluetooth.
  • the navigation application is run on the mobile phone, and the navigation interface shown in Figure 10 is displayed. The user clicks the "application interaction" button on the display interface of the navigation application to trigger the distribution of the navigation tasks performed by the mobile phone to the smart watch.
  • the mobile phone sends an application interaction request to the smart watch, and the application interaction request contains target intent information.
  • the target intent information includes: application package name (eg: com.map), meta-capability name (eg com.map.activity. NavigationActivity), meta-capability type (such as PAGE, indicating that the meta-capability is used to indicate the display page corresponding to the meta-capability), and intent extension parameters.
  • the intent extension parameters can be the location information of the start and end points of the navigation route, the route The location information of the intersection and the navigation method (such as walking, cycling, self-driving, etc.).
  • the location information of the starting point and the ending point can be the latitude and longitude coordinates of the starting point and the ending point
  • the location information of the crossing intersection can be the location information of the crossing intersection. Latitude and longitude coordinates.
  • the smart watch queries the installation package information of the navigation application corresponding to the target intent information in the application information database of the device, and determines that the application information database of the device does not contain the installation package information corresponding to the navigation application, then the smart watch sends the target intent to the server. Information about the application download request.
  • the server queries the intent information matching the target intent information through the intent management service, and sends the download information of the navigation application corresponding to the intent information matching the target intent information to the smart watch.
  • the download information of the navigation application may include the application package name , the installation package information of the application, the download address in the application store corresponding to the application package name, the instant installation identifier, the version number and other information.
  • the smart watch downloads and silently installs the navigation application according to the received download information of the navigation application. After the installation of the navigation application is completed, it starts the navigation application and displays the navigation interface according to the target intent information. For example, the smart watch displays the navigation as shown in Figure 11. interface.
  • the computer and the mobile phone establish a connection through P2P.
  • the target intent information includes: application package name (such as com.music), meta-capability name (such as com.music.activity.PlayerActivity), meta-capability type (such as SERVICE, indicating that the meta-capability is used to instruct the execution of the meta-capability)
  • application package name such as com.music
  • meta-capability name such as com.music.activity.PlayerActivity
  • meta-capability type such as SERVICE, indicating that the meta-capability is used to instruct the execution of the meta-capability
  • the action corresponding to the capability and the intention extension parameter, where the intention extension parameter may be information such as the address of the music to be played, the playback mode, and the like.
  • the mobile phone queries the installation package information of the music player application corresponding to the target intent information in the application information database of the device, and determines that the application information database of the device does not contain the installation package information corresponding to the music player application, then the smartphone sends the server to the server.
  • Application download request carrying target intent information.
  • the server queries the intent information matching the target intent information through the intent management service, and sends the download information of the music player application corresponding to the intent information matching the target intent information to the smartphone.
  • the download information of the music player application can be Including the application package name, the installation package information of the application, the download address in the application store corresponding to the application package name, the instant installation identifier, the version number and other information.
  • 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 installation of the music player application is completed, and plays music according to the target intent information.
  • the mobile phone and the smart watch establish a connection through P2P.
  • the application distribution instruction is triggered; for example, after the user enters the instruction to activate the navigation function through voice, the application interaction instruction is triggered through the "touch" function of the mobile phone and the smart watch.
  • the mobile phone sends an application interaction request to the smart watch, and the application interaction request includes target intention information, specifically, the target intention information includes: action information (specifically, it may be action information for starting a navigation function).
  • the smart watch queries the application information database of the device whether there is installation package information of the target application corresponding to the target intent information. Specifically, it can search the application information database for the installation package information that includes the action information in the target intent information to determine the application. When none of the installation package information in the information database includes the action information in the target intent information, it is determined that the target application is not installed on the smart watch, and the smart watch sends an application download request carrying the target intent information to the server.
  • the server queries the intent information matching the target intent information through the intent management service, and sends the download information of the navigation application corresponding to the intent information matching the target intent information to the smart watch.
  • the matching intent information for example, the intent information of multiple applications is found to include the action information in the target intent information; then the server sends the download information of the candidate applications corresponding to the multiple intent information to the smart watch.
  • the smart watch displays an application selection interface that includes multiple candidate application names. For example, the application selection interface shown in Figure 13 is displayed.
  • the application selection interface includes candidate applications: application A, application B, and application C; Select Application A on the interface, then use Application A as the target application.
  • the smartwatch downloads and silently installs Application A according to the received download information of Application A. After the installation of Application A is completed, Application A is started, and the application is displayed according to the target intent information.
  • the interface for example, the smart watch displays the navigation application interface as shown in Figure 14.
  • the present application further provides an electronic device, where the electronic device is used to implement the cross-device application interaction method shown in FIG. 4 .
  • the electronic device 1500 includes: a communication unit 1501 and a processing unit 1502 . The function of each unit is described below.
  • the communication unit 1501 is configured to receive an application interaction request sent from other electronic devices, where the application interaction request includes target intent information, and the application interaction request is used to instruct a target application in the electronic device to execute the target intent information
  • the processing unit 1502 determines that the target application is not installed locally, it is configured to send an application download request carrying the target intent information to the server, and receive the download information of the target application from the server.
  • the processing unit 1502 is configured to determine that the target application is not installed, and after downloading and installing the target application according to the download information of the target application, start the target application, and execute the target intent information through the target application corresponding action.
  • the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
  • the function information includes a meta-capability type and/or a meta-capability name.
  • 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.
  • the instant installation identifier is used to indicate that the target application needs to be installed.
  • the processing unit 1502 is specifically configured to: determine that the stored application information database does not contain the installation package information of the target application; after receiving the download information of the target application from the server, to The installation package information of the target application in the download information is stored in the application information database.
  • the communication unit 1501 is specifically configured to: receive download information of at least two candidate applications from the server, where the at least two candidate applications include the target application;
  • the processing unit 1502 is specifically configured to: display an application selection interface including the at least two candidate applications before downloading and installing the target application according to the download information of the target application; receive an application selection instruction triggered by the user, the application The selection instruction is used to indicate that the application selected by the user is the target application.
  • the present application further provides a server, where the server is configured to implement the cross-device application interaction method shown in FIG. 4 .
  • the server 1600 includes: a communication unit 1601 and a processing unit 1602 . The function of each unit is described below.
  • the communication unit 1601 is configured to receive an application download request carrying target intent information sent by the electronic device; and after the processing unit 1602 determines the download information of the target application corresponding to the intent information matched with the target intent information, the target application The download information is sent to the electronic device.
  • a processing unit 1602 configured to query the intent information matching the target intent information in the intent management service; determine the download information of the target application corresponding to the intent information matching the target intent information;
  • the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
  • the function information includes a meta-capability type and/or a meta-capability name.
  • the processing unit 1602 is specifically configured to: query the intent management service to find at least two candidate intent information matching the target intent information, and each candidate intent information corresponds to a candidate application; Among the at least two candidate intent information, the intent information with a higher degree of matching with the target intent information is used as the intent information matching the target intent information.
  • an embodiment of the present application further provides an electronic device, where the electronic device is used to implement the cross-device application interaction method shown in FIG. 4 .
  • the electronic device 1700 includes: a processor 1701, a memory 1702, and of course, may also have various peripheral or internal hardware shown in FIG. 1 .
  • the memory 1702 and other components are interconnected with the processor 1701 .
  • the electronic device 1700 can communicate and interact with other devices through the transceiver 1703 .
  • 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 from other electronic devices, where the application interaction request includes target intent information, and the application interaction request is used to indicate a target application in the electronic device Execute the action corresponding to the target intent information; after determining that the target application is not installed locally, send an application download request carrying the target intent information to the server through the transceiver 1703; receive the application download request from the server through the transceiver 1703 Download information of the target application; after downloading and installing the target application according to the download information of the target application, start the target application, and execute the action corresponding to the target intent information through the target application.
  • the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
  • the function information includes a meta-capability type and/or a meta-capability name.
  • 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.
  • the processor 1701 is specifically configured to: determine that the stored application information database does not contain the installation package information of the target application; receive the download of the target application from the server through the transceiver 1703 After the information is obtained, the installation package information of the target application in the download information is stored in the application information database.
  • the processor 1701 is specifically configured to: receive, through the transceiver 1703, download information of at least two candidate applications from the server, where the at least two candidate applications include the target application; The download information of the target application Before downloading and installing the target application, displaying an application selection interface including the at least two candidate applications; receiving an application selection instruction triggered by the user, where the application selection instruction is used to indicate the application selected by the user for the target application.
  • the memory 1702 is used to store program instructions and data (eg, image templates corresponding to different motion types) and the like.
  • the program instructions may include program code, which includes instructions for computer operation.
  • the memory 1702 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.
  • the processor 1701 executes the program stored in the memory 1702, and implements the above functions through the above components, thereby finally implementing the methods provided by the above embodiments.
  • an embodiment of the present application further provides a server, where the server is configured to implement the cross-device application interaction method shown in FIG. 4 .
  • the server 1800 includes: a processor 1801 and a memory 1802.
  • the memory 1802 and other components are interconnected with the processor 1801 .
  • the server 1800 can communicate and interact with other devices through the communication module 1803 .
  • the processor 1801 is configured to receive, through the communication module 1803, an application download request carrying target intent information sent by an electronic device; query the intent management service for intent information that matches the target intent information; determine the target intent information Download information of the target application corresponding to the matched intent information; send the download information of the target application to the electronic device through the communication module 1803 .
  • the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
  • the function information includes a meta-capability type and/or a meta-capability name.
  • the processor 1801 is specifically configured to: query the intent management service to find at least two candidate intent information matching the target intent information, and each candidate intent information corresponds to a candidate application; The intent information that has a higher degree of matching with the target intent information among the at least two candidate intent information is selected as the intent information that matches the target intent information.
  • the memory 1802 is used to store program instructions and data (eg, image templates corresponding to different motion types) and the like.
  • the program instructions may include program code, which includes instructions for computer operation.
  • the memory 1802 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.
  • the processor 1801 executes the program stored in the memory 1802, and implements the above functions through the above components, thereby finally realizing the methods provided by the above embodiments.
  • an embodiment of the present application further provides a cross-device application interaction system, including an electronic device as shown in FIG. 15 and a server as shown in FIG. 16 .
  • the embodiments of the present application further provide a computer program, which, when the computer program runs on a computer, causes the computer to execute the cross-device application interaction method provided by the above embodiments.
  • the embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes the crossover provided by the above embodiments.
  • Device application interaction method
  • the storage medium may be any available medium that the computer can access.
  • computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or be capable of carrying or storing instructions or data structures in the form of desired program code and any other medium that can be accessed by a computer.
  • the embodiments of the present application further provide a chip for reading a computer program stored in a memory and implementing the cross-device application interaction method provided by the above embodiments.
  • the embodiments of the present application provide a chip system, where the chip system includes a processor for supporting a computer device to implement the functions involved in the service equipment, forwarding equipment, or site equipment in the above embodiments.
  • the chip system further includes a memory for storing necessary programs and data of the computer device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the embodiments of the present application may be provided as a method, a system, or a 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, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

A cross-device application interaction method, an electronic device, and a server, being used for achieving the flexibility of cross-device application interaction between electronic devices. The method comprises: an electronic device receives an application interaction request transmitted from other electronic devices, the application interaction request comprising target intention information; the electronic device determines that a target application is not locally installed, and then transmits an application download request carrying the target intention information to a server; and the electronic device receives the download information of the target application from the server, downloads and installs the target application according to the download information of the target application, starts the target application, and by means of the target application, executes an action corresponding to the target intention information. The method does not limit that two electronic devices performing cross-device application interaction install the same application in advance any more, solves the problem that the cross-device application interaction is failed when the same application is not installed, and achieves the flexibility of the cross-device application interaction between the electronic devices.

Description

一种跨设备应用交互方法、电子设备与服务器A cross-device application interaction method, electronic device and server
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2020年10月28日提交中国专利局、申请号为202011171571.3、申请名称为“一种跨设备应用交互方法、电子设备与服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on October 28, 2020 with the application number 202011171571.3 and the application title is "A cross-device application interaction method, electronic device and server", the entire contents of which are by reference Incorporated in this application.
技术领域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 technique
随着电子设备种类及功能的丰富,一个用户可能同时拥有多个电子设备,如平板电脑、手机、智能手表等。多个电子设备可以互相交互从而为用户带来更加丰富的使用体验。With the enrichment of types and functions of electronic devices, a user may have multiple electronic devices at the same time, such as tablet computers, mobile phones, smart watches, and so on. Multiple electronic devices can interact with each other to bring a richer user experience to the user.
跨设备应用交互即为多个电子设备之间进行交互的过程,用户可以操作其中一个电子设备以使其他电子设备的应用执行相应的动作。例如,第一电子设备在运行应用时,响应用户触发的应用交互指令,向第二电子设备发送应用交互请求,从而将第一电子设备中的应用当前执行的任务分发到第二电子设备,第二电子设备中同一应用执行应用交互请求对应的动作。如第一电子设备将接收到的信息分发到第二电子设备,用户可以在第二电子设备上继续查看或处理该信息。Cross-device application interaction is a process of interaction between multiple electronic devices, and a user can operate one of the electronic devices to cause the applications of other electronic devices to perform corresponding actions. For example, when the first electronic device runs the application, in response to the application interaction instruction triggered by the user, it sends an application interaction request to the second electronic device, thereby distributing the tasks currently executed by the application in the first electronic device to the second electronic device, and the first electronic device sends an application interaction request to the second electronic device. The same application in the two electronic devices executes the action corresponding to the application interaction request. If the first electronic device distributes the received information to the second electronic device, the user can continue to view or process the information on the second electronic device.
通过以上描述可知,进行跨设备应用交互的多个电子设备上需要安装有相同的应用。如用户在第一电子设备上的导航应用中触发应用交互指令,第一电子设备向第二电子设备发送应用交互请求,第二电子设备上需要安装有相同的导航应用;而若第二电子设备上并未安装该导航应用,则无法响应第一电子设备的应用交互请求,无法执行相应的动作。It can be seen from the above description that the same application needs to be installed on multiple electronic devices that perform cross-device application interaction. If the user triggers an application interaction instruction in the navigation application on the first electronic device, the first electronic device sends an application interaction request to the second electronic device, and the second electronic device needs to have the same navigation application installed; If the navigation application is not installed on the device, the application interaction request of the first electronic device cannot be responded to, and corresponding actions cannot be performed.
因此,现有的跨设备应用交互方法较为单一,限制条件较多,不够灵活。Therefore, the existing cross-device application interaction methods are relatively simple, have many restrictions, and are not flexible enough.
发明内容SUMMARY OF THE INVENTION
本申请提供一种跨设备应用交互方法、电子设备与服务器,用以实现电子设备间的跨设备应用交互的灵活性。The present application provides a cross-device application interaction method, an electronic device and a server, so as to realize the flexibility of cross-device application interaction between 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. The electronic device receives an application interaction request sent from other electronic devices, the application interaction request includes target intent information, and the application interaction The request is used to instruct the target application in the electronic device to perform the action corresponding to the target intent information; after the electronic device determines that the target application is not installed locally, it sends an application download request carrying the target intent information to the server; the electronic device Receive the download information of the target application from the server, after downloading and installing the target application according to the download information of the target application, start the target application, and execute the target application corresponding to the target intent information. Actions.
通过该方法,电子设备在接收到其它设备发送的应用交互请求时,若确定本地未安装目标应用,则可以根据应用交互请求中包含的目标意图信息向服务器获取目标应用的下载信息,从而能够根据目标应用的下载信息下载并安装目标应用,启动目标应用完成跨设备 应用交互。本申请实施例提供的跨设备应用交互方法不再限制进行跨设备应用交互的两个电子设备均提前安装好相同的应用,而在跨设备应用交互中可以静默安装目标应用,无需用户手动安装目标应用,从而解决了未安装相同应用时跨设备应用交互失败的问题,提供了一种灵活的跨设备应用交互方式,提升跨设备应用交互的效率,同时提升用户体验。With this method, when the electronic device receives an application interaction request sent by another device, if it determines that the target application is not installed locally, it can obtain the download information of the target application from the server according to the target intent information included in the application interaction request, so that it can obtain the download information of the target application from the server according to the application interaction request. The download information of the target application downloads and installs the target application, and starts the target application to complete the cross-device application interaction. The cross-device application interaction method provided by the embodiments of the present application no longer restricts the two electronic devices that perform cross-device application interaction from having the same application installed in advance, and the target application can be silently installed in the cross-device application interaction without requiring the user to manually install the target application. application, thereby solving the problem of failure of cross-device application interaction when the same application is not installed, providing a flexible cross-device application interaction method, improving the efficiency of cross-device application interaction, and improving user experience.
在一种可能的设计中,所述目标意图信息包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。In a possible design, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
可选的,所述功能信息包括元能力类型和/或元能力名称。Optionally, the function information includes a meta-capability type and/or a meta-capability name.
通过以上设计,在应用交互请求中携带目标意图信息,从而能够指示电子设备根据目标意图信息通过目标应用执行对应的动作,并且能够在电子设备本地未安装目标应用时,电子设备可以根据目标意图信息向服务器获取目标应用的下载信息,下载并安装目标应用,从而完成跨设备应用交互。Through the above design, the target intent information is carried in the application interaction request, so that the electronic device can be instructed to perform the corresponding action through the target application according to the target intent information, and when the target application is not installed locally on the electronic device, the electronic device can be based on the target intent information. Obtain the download information of the target application from the server, download and install the target application, so as to complete the cross-device application interaction.
在一种可能的设计中,所述下载信息中包括目标应用的安装包信息、所述目标应用的下载地址、即时安装标识、版本号。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 this design, after acquiring the download information of the target application, the electronic device can download and install the target application according to the download information, without requiring the user to manually install the application, thereby improving the user experience.
在一种可能的设计中,电子设备确定本地未安装所述目标应用时,可以为电子设备确定保存的应用信息数据库中不包含所述目标应用的安装包信息;在所述接收来自所述服务器的所述目标应用的下载信息之后,将所述下载信息中所述目标应用的安装包信息存储到所述应用信息数据库中。In a possible design, when the electronic device determines that the target application is not installed locally, it may be determined for the electronic device that the application information database saved does not contain the installation package information of the target application; After the download information of the target application is stored, the installation package information of the target application in the download information is stored in the application information database.
通过该设计,电子设备可以在本地的应用信息数据库中保存已安装应用的安装包信息,从而能够在接收到应用交互请求后,通过查找目标应用的安装包信息判断本地是否安装目标应用,进而判断是否需要向服务器请求目标应用的下载信息,解决现有技术在未安装目标应用时无响应的问题。Through this design, the electronic device can save the installation package information of the installed application in the local application information database, so that after receiving the application interaction request, it can determine whether to install the target application locally by looking up the installation package information of the target application, and then determine whether the target application is installed locally. Whether it is necessary to request the download information of the target application from the server to solve the problem of no response when the target application is not installed in the prior art.
在一种可能的设计中,接收来自所述服务器的至少两个候选应用的下载信息,所述至少两个候选应用中包含所述目标应用;在根据所述目标应用的下载信息下载并安装所述目标应用之前,展示包括所述至少两个候选应用的应用选择界面;接收用户触发的应用选择指令,所述应用选择指令用于指示用户选择的应用为所述目标应用。In a possible design, download information of at least two candidate applications from the server is received, and the at least two candidate applications include the target application; after downloading and installing the target application according to the download information of the target application Before the target application is selected, an application selection interface including the at least two candidate applications is displayed; an application selection instruction triggered by the user is received, and the application selection instruction is used to indicate that the application selected by the user is the target application.
通过该设计,电子设备在接收到服务器发送的至少两个候选应用的下载信息时,向用户展示应用选择界面,并将用户选择的应用作为目标应用,从而在服务器无法准确查找目标应用时,提示用户选择应用,灵活地实现跨设备应用交互。Through this design, when the electronic device receives the download information of at least two candidate applications sent by the server, the electronic device displays the application selection interface to the user, and uses the application selected by the user as the target application, so that when the server cannot accurately find the target application, a prompt is displayed. Users select applications and flexibly implement cross-device application interaction.
第二方面,提供一种跨设备应用交互方法,应用于服务器,服务器接收电子设备发送的携带目标意图信息的应用下载请求;在意图管理服务中查询与所述目标意图信息匹配的意图信息;确定与所述目标意图信息匹配的意图信息对应的目标应用的下载信息;将所述目标应用的下载信息发送给所述电子设备。In a second aspect, a cross-device application interaction method is provided, which is applied to a server, where the server receives an application download request carrying target intent information sent by an electronic device; inquires the intent information matching the target intent information in an intent management service; determines Download information of the target application corresponding to the intent information matched with the target intent information; send the download information of the target application to the electronic device.
通过该方法,服务器在接收电子设备发送的应用下载请求后,能够在意图管理服务中查询与目标意图信息匹配的意图信息,进而确定目标应用的下载信息,并将目标应用的下载信息发送给电子设备,而无需用户手动查找目标应用并触发下载指令,提供一种灵活的跨设备应用交互方法,提升用户体验。Through this method, after receiving the application download request sent by the electronic device, the server can query the intent information matching the target intent information in the intent management service, then determine the download information of the target application, and send the download information of the target application to the electronic device. device, without the need for the user to manually find the target application and trigger the download instruction, provide a flexible cross-device application interaction method, and improve the user experience.
在一种可能的设计中,所述目标意图信息包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。In a possible design, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
可选的,所述功能信息包括元能力类型和/或元能力名称。Optionally, the function information includes a meta-capability type and/or a meta-capability name.
通过以上设计,服务器在意图管理服务中保存应用的意图信息,通过与目标意图信息进行匹配确定目标应用的意图信息,提供了一种服务器查找目标应用的方式,无需用户主动触发下载指令即可根据目标意图信息查找目标应用。Through the above design, the server saves the intent information of the application in the intent management service, and determines the intent information of the target application by matching with the target intent information, providing a way for the server to find the target application, without the user actively triggering the download instruction. The target intent information finds the target application.
在一种可能的设计中,在所述意图管理服务中查询到至少两个与所述目标意图信息匹配的候选意图信息,且每个候选意图信息对应一个候选应用;选择所述至少两个候选意图信息中与所述目标意图信息匹配度更高的意图信息作为与所述目标意图信息匹配的意图信息。In a possible design, at least two candidate intent information matching the target intent information is queried in the intent management service, and each candidate intent information corresponds to a candidate application; the at least two candidate intent information is selected. In the intent information, the intent information with a higher degree of matching with the target intent information is regarded as the intent information matched with the target intent information.
通过该设计,服务器在意图管理服务中查询到至少两个与目标意图信息匹配的候选意图信息时,能够确定根据候选意图信息与目标意图信息的匹配度,并将与所述目标意图信息匹配度更高的意图信息作为目标应用的意图信息,进而准确且灵活地确定目标应用。Through this design, when the server finds at least two candidate intent information matching the target intent information in the intent management service, it can determine the matching degree between the candidate intent information and the target intent information, and compare the matching degree with the target intent information. The higher intent information is used as the intent information of the target application, so as to determine the target application accurately and flexibly.
第三方面,本申请实施例提供了一种电子设备,包括通信单元和处理单元,用于执行以上第一方面所述的跨设备应用交互方法。In a third aspect, an embodiment of the present application provides an electronic device, including a communication unit and a processing unit, configured to execute the cross-device application interaction method described in the first aspect above.
第四方面,本申请实施例提供了一种服务器,包括通信单元和处理单元,用于执行以上第二方面所述的跨设备应用交互方法。In a fourth aspect, an embodiment of the present application provides a server, including a communication unit and a processing unit, configured to execute the cross-device application interaction method described in the second aspect above.
第五方面,本申请实施例提供了一种电子设备,包括至少一个处理器、至少一个存储器和收发器,其中该至少一个存储器用于存储程序和数据,该至少一个处理器用于执行本申请以上第一方面提供的跨设备应用交互方法。In a fifth aspect, an embodiment of the present application provides an electronic device, comprising at least one processor, at least one memory, and a transceiver, wherein the at least one memory is used to store programs and data, and the at least one processor is used to execute the above application The cross-device application interaction method provided by the first aspect.
第六方面,本申请实施例提供了一种服务器,包括至少一个处理器、至少一个存储器和通信模块,其中该至少一个存储器用于存储程序和数据,该至少一个处理器用于执行本申请以上第二方面提供的跨设备应用交互方法。In a sixth aspect, an embodiment of the present application provides a server, comprising at least one processor, at least one memory, and a communication module, wherein the at least one memory is used to store programs and data, and the at least one processor is used to execute the above-mentioned first step of the present application. The cross-device application interaction method provided by the second aspect.
第七方面,本申请实施例提供了一种通信系统,包括如第三方面提供的电子设备,以及如第四方面提供的服务器。In a seventh aspect, an embodiment of the present application provides a communication system, including the electronic device provided in the third aspect, and the server provided in the fourth aspect.
第八方面,本申请实施例还提供了一种计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述第一方面或第二方面中提供的方法。In an eighth aspect, an embodiment of the present application further provides a computer program, which, when the computer program runs on a computer, causes the computer to execute the method provided in the first aspect or the second aspect.
第九方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行上述第一方面或第二方面中提供的方法。In a ninth aspect, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer is made to execute the above-mentioned first A method provided in the 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 execute the method provided in the first aspect or the second aspect.
第十一方面,本申请实施例还提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现上述第一方面或第二方面中提供的方法。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In an eleventh aspect, an embodiment of the present application further provides a chip system, where the chip system includes a processor for supporting a computer device to implement the method provided in the first aspect or the second aspect. In a possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. The chip system can be composed of chips, and can also include chips and other discrete devices.
附图说明Description of drawings
图1为本申请实施例提供的一种电子设备的硬件结构的示意图;1 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
图2为本申请实施例提供的一种电子设备的软件结构的示意图;2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
图3为本申请实施例提供的一种应用场景示意图;3 is a schematic diagram of an application scenario provided by an embodiment of the present application;
图4为本申请实施例提供的一种跨设备应用交互的方法流程图;4 is a flowchart of a method for cross-device application interaction provided by an embodiment of the present application;
图5为本申请实施例提供的一种触发应用交互指令示意图;5 is a schematic diagram of a triggering application interaction instruction provided by an embodiment of the present application;
图6为本申请实施例提供的一种设备选择界面示意图;FIG. 6 is a schematic diagram of a device selection interface provided by an embodiment of the present application;
图7为本申请实施例提供的一种应用选择界面示意图;FIG. 7 is a schematic diagram of an application selection interface provided by an embodiment of the present application;
图8为本申请实施例提供的一种第一电子设备的框架层的结构示意图;8 is a schematic structural diagram of a frame layer of a first electronic device according to an embodiment of the present application;
图9为本申请实施例提供的一种由第一电子设备的框架层实现的跨设备应用交互方法流程图;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;
图10为本申请实施例提供的一种手机导航界面示意图;10 is a schematic diagram of a mobile phone navigation interface provided by an embodiment of the present application;
图11为本申请实施例提供的一种智能手表导航界面示意图;11 is a schematic diagram of a smart watch navigation interface provided by an embodiment of the application;
图12为本申请实施例提供的一种“碰一碰”功能示意图;FIG. 12 is a schematic diagram of a “touch and touch” function provided by an embodiment of the present application;
图13为本申请实施例提供的一种智能手表上的应用选择界面示意图;13 is a schematic diagram of an application selection interface on a smart watch provided by an embodiment of the present application;
图14为本申请实施例提供的一种智能手表显示导航应用界面的示意图;14 is a schematic diagram of a smart watch displaying a navigation application interface according to an embodiment of the present application;
图15为本申请实施例提供的一种电子设备的结构示意图;FIG. 15 is a schematic structural diagram of an electronic device provided by an embodiment of the application;
图16为本申请实施例提供的一种服务器的结构示意图;FIG. 16 is a schematic structural diagram of a server according to an embodiment of the present application;
图17为本申请实施例提供的一种电子设备的结构示意图;FIG. 17 is a schematic structural diagram of an electronic device provided by an embodiment of the application;
图18为本申请实施例提供的一种服务器的结构示意图。FIG. 18 is a schematic structural diagram of a server according to an embodiment of the present application.
具体实施方式Detailed ways
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms in the embodiments of the present application will be explained, so as to facilitate the understanding of those skilled in the art.
1、跨设备应用交互,为多个电子设备上的同一应用之间的交互过程。用户可以操作第一电子设备向第二电子设备发送应用交互请求,从而将当前第一电子设备中应用执行的任务分发到第二电子设备上,以使第二电子设备上的同一应用继续执行相关任务。1. Cross-device application interaction, which is an interaction 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 as to distribute the tasks currently executed by the application in the first electronic device to the second electronic device, so that the same application on the second electronic device can continue to execute related tasks. Task.
2、电子设备,诸如手机、平板电脑、可穿戴设备(例如,手表、手环、头盔、耳机、项链等)、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等,本申请实施例对电子设备的具体类型不作任何限制。2. Electronic devices, such as mobile phones, tablets, wearable devices (eg, watches, bracelets, helmets, headphones, necklaces, etc.), in-vehicle devices, augmented reality (AR)/virtual reality (VR) Devices, notebook computers, ultra-mobile personal computers (ultra-mobile personal computers, UMPCs), netbooks, personal digital assistants (personal digital assistants, PDAs), etc., the embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
在本申请实施例中,至少两个电子设备之间可以通过无线局域网、蓝牙网络或端对端(peer-to-peer,P2P)网络建立连接。In this 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 the electronic device used when the user triggers the application interaction request, and the user can trigger the cross-device application interaction request through the second electronic device, The tasks performed by the second electronic device are distributed to the first electronic device.
第一电子设备为用户在后续使用过程中便于携带或便于使用的电子设备,用户操作第二电子设备触发应用交互请求后,第一电子设备执行所述应用交互请求对应的操作。The first electronic device is an electronic device that is easy to carry or use by the user during subsequent use. After the user operates the second electronic device to trigger an application interaction request, the first electronic device executes the operation corresponding to the application interaction request.
例如用户使用第二电子设备(手机)中的导航应用规划导航路线,用户通过手机触发跨设备应用交互请求,将导航任务分发到第一电子设备(智能手表)上,智能手表上显示导航路线,方便用户随时查看。For example, the user uses the navigation application in the second electronic device (mobile phone) to plan a navigation route, the user triggers a cross-device application interaction request through the mobile phone, and distributes the navigation task to the first electronic device (smart watch), and the smart watch displays the navigation route. It is convenient for users to view at any time.
又例如,用户使用第二电子设备(手机)中的播放器应用播放视频文件,用户通过手机触发跨设备应用交互请求,将播放的视频文件任务分发到第一电子设备(平板电脑)上,平板电脑继续播放该视频文件,提升用户的观看体验。For another example, the user uses the player application in the second electronic device (mobile phone) to play a video file, the user triggers a cross-device application interaction request through the mobile phone, and distributes the task of playing the video file to the first electronic device (tablet computer), and the tablet The computer continues to play the video file to improve the user's viewing experience.
3、应用,能够为用户提供对应的服务功能。电子设备可以通过安装该应用的应用程 序(也可以称为应用软件),从而运行该应用,实现该应用的服务功能。例如,具有提供拍摄服务功能的相机应用,电子设备需要安装相机应用程序,并运行相机应用时,即可以向用户提供拍摄服务功能。又例如,具有提供聊天服务功能的微信应用或QQ应用等,电子设备需要安装微信应用软件或QQ应用软件,并运行微信应用或QQ应用,即可以向用户提供聊天服务功能。3. The application can provide users with corresponding service functions. The electronic device can run the application by installing the application program (also referred to as application software) of the application, and realize the service function of the application. For example, with a camera application that provides a shooting service function, the electronic device needs to install the camera application program, and when the camera application runs, the shooting service function can be provided to the user. Another example is a WeChat application or QQ application that provides a chat service function. The electronic device needs to install the WeChat application software or QQ application software and run the WeChat application or QQ application, that is, the chat service function can be provided to the user.
需要说明的是,应用的应用软件可以由电子设备的供应商开发,或者由应用供应商开发,本申请对此不作限定。It should be noted that the application software of the application may be developed by the supplier of the electronic device, or by the application supplier, which is not limited in this application.
4、应用包名,是应用的唯一标识,一个应用的包名必须唯一,一个包名代表一个应用,不允许两个应用使用同样的应用包名。应用包名主要用于系统识别应用,几乎不会被用户看到。4. The application package name is the unique identifier of the application. The package name of an application must be unique, and a package name represents an application. Two applications are not allowed to use the same application package name. The application package name is mainly used by the system to identify the application and is hardly seen by the user.
5、元能力,为应用能够提供的服务功能,如导航应用的元能力为导航、查找地图等,元能力可以为带页面的元能力或不带页面的元能力,用以表示元能力是否用于指示展示页面。5. Meta-capability, which is the service function that the application can provide. For example, the meta-capability of the navigation application is navigation, map search, etc. The meta-capability can be the meta-capability with page or the meta-capability without page, which is used to indicate whether the meta-capability is used or not. on the instructed display page.
下面将结合本申请以下实施例中的附图,对本申请实施例中的技术方案进行详尽描述。The technical solutions in the embodiments of the present application will be described in detail below with reference to the accompanying drawings in the following embodiments of the present application.
示例性的,图1示出了电子设备100的结构示意图。如图1所示,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。Exemplarily, 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 , and a battery 142 , Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193 , a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. The controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions. A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。充电管理模块140用于从充电器接收充电输入。电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。The USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. The charging management module 140 is used to receive charging input from the charger. The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁 波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。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, the modulation and demodulation processor, the baseband processor, and the like. Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). 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 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
显示屏194用于显示应用的显示界面,例如导航应用的导航界面等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display a display interface of an application, such as a navigation interface of a navigation application and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成 电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。 Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,以及至少一个应用程序(例如爱奇艺应用,微信应用等)的软件代码等。存储数据区可存储电子设备100使用过程中所产生的数据(例如拍摄的图像、录制的视频等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。 Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 . The internal memory 121 may include a storage program area and a storage data area. The storage program area may store the operating system, and the software code of at least one application (eg, iQIYI application, WeChat application, etc.). The storage data area may store data generated during the use of the electronic device 100 (eg, captured images, recorded videos, etc.) and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将图片,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. Such as saving pictures, videos and other files in an external memory card.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
其中,传感器模块180可以包括压力传感器180A,加速度传感器180B,触摸传感器180C等。The sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, and the like.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 .
触摸传感器180C,也称“触控面板”。触摸传感器180C可以设置于显示屏194,由触摸传感器180C与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180C用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180C也可以设置于电子设备100的表面,与显示屏194所处的位置不同。The touch sensor 180C is also called "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, also called a "touch screen". The touch sensor 180C is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180C may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现与电子设备100的接触和分离。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 . Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization. The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like. The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
可以理解的是,图1所示的部件并不构成对电子设备100的具体限定,手机还可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。此外,图1中的部件之间的组合/连接关系也是可以调整修改的。It can be understood that the components shown in FIG. 1 do not constitute a specific limitation to the electronic device 100, and the mobile phone may also include more or less components than those shown in the figure, or combine some components, or disassemble some components, Or a different component arrangement. In addition, the combination/connection relationship between the components in FIG. 1 can also be adjusted and modified.
图2示出了本申请一实施例提供的电子设备的软件结构框图。如图2所示,电子设备的软件结构可以是分层架构,例如可以将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层(framework,FWK),安卓运行时(Android runtime) 和系统库,以及内核层。FIG. 2 shows a block diagram of a software structure of an electronic device provided by 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, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer (framework, FWK), an Android runtime (Android runtime) and a system library, and a kernel layer.
应用程序层可以包括一系列应用程序包。如图2所示,应用程序层可以包括相机、设置、皮肤模块、用户界面(user interface,UI)、三方应用程序等。其中,三方应用程序可以包括微信、QQ、图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等。The application layer can include a series of application packages. As shown in FIG. 2, the application layer may include camera, settings, skin modules, user interface (UI), third-party applications, and the like. Among them, the three-party applications can include WeChat, QQ, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层可以包括一些预先定义的函数。如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器,分布式执行框架,包管理服务,元能力管理服务(Ability Manager Service,AMS),包即时安装服务等。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer can include some predefined functions. As shown in Figure 2, the application framework layer 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, and a meta-capability management service (Ability Manager Service, AMS), package instant installation service, etc.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc. Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist 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 the communication function of the electronic device. For example, the management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
分布式执行框架可以根据接收到的应用交互请求中携带的意图信息,调用包管理服务查询本设备上是否已安装意图信息对应的应用,并能够在未安装该应用时,根据包管理服务获取到的下载信息请求元能力管理服务(Ability Manager Service,AMS)启动下载安装应用流程。The distributed execution framework can call the package management service according to the intent information carried in the received application interaction request to query whether the application corresponding to the intent information has been installed on the device, and can obtain the information according to the package management service when the application is not installed. The download information requests the meta-capability management service (Ability Manager Service, AMS) to start the process of downloading and installing the application.
包管理服务为一个系统服务,主要用于实现应用安装卸载,组件查询匹配,权限管理等功能。本申请实施例中,包管理服务用于维护电子设备已安装应用的应用信息数据库,并能够在应用信息数据库中查找分布式执行框架下发的目标意图信息对应的目标应用的下载信息,从而判断本地是否已安装目标应用。包管理服务还可以在确定本地未安装目标应用时,向服务器请求获取目标应用对应的下载信息。The package management service is a system service, which is mainly used to implement functions such as application installation and uninstallation, component query matching, and permission management. In the embodiment of the present application, the package management service is used to maintain the application information database of the installed applications of the electronic device, and can search the application information database for the download information of the target application corresponding to the target intent information issued by the distributed execution framework, so as to determine Whether the target application is installed locally. The package management service may also request the server to obtain download information corresponding to the target application when it is determined that the target application is not installed locally.
元能力管理服务,用于管理电子设备已安装的应用元能力信息,能够根据意图信息启动应用并执行意图信息对应的操作。The meta-capability management service is used to manage the meta-capability information of the applications installed on the electronic device, and can start the application according to the intent information and perform operations corresponding to the intent information.
包即时安装服务,用于根据AMS发送的请求参数静默安装应用,并将静默安装成功的应用的下载信息更新到包管理服务中。The instant package installation service is used to install applications silently according to the request parameters sent by the AMS, and update the download information of the applications successfully installed silently to the package management service.
Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。The Android runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心 库。应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android. The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
此外,系统库还可以包括图像处理库,用于对图像进行处理,以实现摇、移、升、降的拍摄效果。In addition, the system library may also include an image processing library, which is used to process the image to realize the shooting effects of pan, shift, rise and fall.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
硬件层可以包括各类传感器,例如本申请实施例中涉及的加速度传感器、陀螺仪传感器、触摸传感器等。The hardware layer may include various types of sensors, for example, an acceleration sensor, a gyroscope sensor, and a touch sensor involved in the embodiments of the present application.
跨设备应用交互为多个电子设备之间进行交互的过程,以两个电子设备(第一电子设备和第二电子设备)为例,用户可以在第一电子设备上触发将第一电子设备上执行的任务分发到第二电子设备,第二电子设备接收应用交互请求后,执行该应用交互请求对应的动作。但多个电子设备在进行跨设备应用交互之前,需要安装同样的应用,若接收应用交互请求的电子设备上未安装应用交互请求对应的应用,则无法响应该应用交互请求,导致跨设备应用交互失败。Cross-device application interaction is a process of interaction between multiple electronic devices. Taking two electronic devices (a first electronic device and a second electronic device) as an example, the user can trigger the The executed task is distributed to the second electronic device, and after receiving the application interaction request, the second electronic device executes the action corresponding to the application interaction request. However, multiple electronic devices need to install the same application before performing cross-device application interaction. If the application corresponding to the application interaction request is not installed on the electronic device that receives the application interaction request, it cannot respond to the application interaction request, resulting in cross-device application interaction. fail.
为了解决以上问题,本申请实施例提供一种跨设备应用交互方法,用以实现电子设备间的跨设备应用交互的灵活性。In order to solve the above problems, an embodiment of the present application provides a cross-device application interaction method, so as to realize the flexibility of cross-device application interaction between electronic devices.
本申请实施例提供的跨设备应用交互方法适用的一种可能的应用场景,如图3所示,该应用场景包括服务器31和多个电子设备(如图3所示的第一电子设备32和第二电子设备33),下面以第一电子设备32和第二电子设备33为例进行说明。A possible application scenario to which the cross-device application interaction method provided by the embodiment of the present application is applicable, as shown in FIG. 3 , the application scenario includes a server 31 and multiple electronic devices (the first electronic device 32 and the first electronic device shown in FIG. The second electronic device 33), the first electronic device 32 and the second electronic device 33 are used as examples for description below.
第一电子设备32和第二电子设备33之间可以通过无线局域网、蓝牙网络或端对端(peer-to-peer,P2P)网络建立连接,进而互相传递数据。第一电子设备32、第二电子设备33与服务器31之间可以通过无线局域网、移动通信网络建立连接并传递数据。A connection can be established between the first electronic device 32 and the second electronic device 33 through a wireless local area network, a Bluetooth network or a peer-to-peer (P2P) network, so as to transmit data to each other. The first electronic device 32, the second electronic device 33 and the server 31 may establish a connection and transmit data through a wireless local area network and a mobile communication network.
服务器31可以为应用商店服务器,用于管理应用商店内的应用,在接收到电子设备发送的下载请求,将电子设备请求的应用的下载信息发送给电子设备。这样,电子设备可以根据应用的下载信息下载并安装应用后,即可启动该应用并使用该应用提供的服务。The server 31 may be an application store server for managing applications in the application store, and upon receiving a download request sent by the electronic device, sends the download information of the application requested by the electronic device to the electronic device. In this way, after downloading and installing the application according to the download information of the application, the electronic device can start the application and use the services provided by the application.
在一种实施方式中,服务器31还包括意图管理服务,用于管理支持按需下载的应用的意图信息。应用开发人员将应用的安装包上传到服务器31,若该应用的安装包中包含配置文件,则表示该应用支持按需下载。具体的,配置文件中可以包括:包名、版本号、支持的电子设备类型、启动参数、需要使用的系统权限信息等。服务器31提取配置文件中的信息,并将提取到的信息同步到意图管理服务中,作为该应用对应的意图信息。In one embodiment, the server 31 further includes an intent management service for managing intent information of applications supporting on-demand download. The application developer uploads the installation package of the application to the server 31. If the installation package of the application includes a configuration file, it means that the application supports on-demand downloading. Specifically, the configuration file may include: package name, version number, supported electronic device types, startup parameters, system permission information to be used, and the like. The server 31 extracts the information in the configuration file, and synchronizes the extracted information to the intent management service as intent information corresponding to the application.
需要说明的是,一个应用可能对应多个意图信息。意图信息中可以包括以下至少一项:应用包名、功能信息(如元能力类型、元能力名称)等。应用支持按需下载是指无需用户主动触发下载指令,由电子设备从服务器获取应用的下载信息进行下载安装。It should be noted that an application may correspond to multiple intent information. The intent information may include at least one of the following: application package name, function information (such as meta-capability type, meta-capability name), and the like. The application supports on-demand download means that the electronic device obtains the download information of the application from the server to download and install it without the user actively triggering the download instruction.
本申请实施例提供的一种跨设备应用交互的方法,可以应用于如图3所示的应用场景中,下面参考图4所示的流程图对该方法的步骤进行详细描述。其中,本实施例中涉及的第一电子设备为接收应用交互请求的电子设备,第二电子设备为发送应用交互请求的电子设备。A cross-device application interaction method provided by an embodiment of the present application can be applied to the application scenario shown in FIG. 3 , and the steps of the method are described in detail below with reference to the flowchart shown in FIG. 4 . The first electronic device involved in this embodiment is an electronic device that receives an application interaction request, and the second electronic device is an electronic device that sends an application interaction request.
S401:第二电子设备向第一电子设备发送包含目标意图信息的应用交互请求。S401: The second electronic device sends an application interaction request including target intent information to the first electronic device.
在具体实施中,第二电子设备响应用户触发的应用交互指令,向第一电子设备发送应用交互请求。例如,如图5所示,第二电子设备运行导航应用时,用户点击显示界面上的“应用交互”按钮,触发应用交互指令;或第二电子设备运行导航应用时,通过近场通信如NFC触发应用交互指令,例如用户使用第二电子设备与第一电子设备“碰一碰”功能,触发应用交互指令。In a specific implementation, the second electronic device sends an application interaction request to the first electronic device in response to the application interaction instruction triggered by the user. For example, as shown in FIG. 5 , when the second electronic device runs the navigation application, the user clicks the "application interaction" button on the display interface to trigger the application interaction instruction; or when the second electronic device runs the navigation application, the user clicks the "application interaction" button on the display interface; Trigger the application interaction instruction, for example, the user uses the "touch" function of the second electronic device and the first electronic device to trigger the application interaction instruction.
可选的,若同时存在多个与第二电子设备建立连接的电子设备,在用户触发应用交互指令时,第二电子设备显示包含自身连接的多个电子设备的设备选择界面,响应用户在该设备选择界面中选择一个电子设备的操作,将被选择的电子设备作为第一电子设备,第二电子设备向第一电子设备发送应用交互请求。例如,第二电子设备显示如图6所示的设备选择界面,该设备选择界面上显示与第二电子设备建立连接的电子设备,如智能手表和平板电脑,用户可以在该设备选择界面上选择一个电子设备作为第一电子设备,如用户选择智能手表作为第一电子设备,则第二电子设备向智能手表发送应用交互请求。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 that includes multiple electronic devices connected to itself, and responds to the user in the In the operation of selecting an electronic device in the device selection interface, the selected electronic device is used as the first electronic device, and the second electronic device sends an application interaction request to the first electronic device. For example, the second electronic device displays a device selection interface as shown in FIG. 6 . The device selection interface displays electronic devices that establish a connection with the second electronic device, such as smart watches and tablet computers, and the user can select on the device selection interface. One electronic device is used as the first electronic device. If the user selects a 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 application interaction request includes target intent information, and the application interaction request is used to instruct the target application in the electronic device to execute an action corresponding to the target intent information. For example, the action corresponding to the target intent information is to display a navigation page in the navigation application, or the action corresponding to the target intent information is to play a video in a video player application.
具体的,目标意图信息可以包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。其中,功能信息可以包括元能力类型和/或元能力名称;动作信息用于描述元能力支持的功能;意图扩展参数为目标意图信息对应的操作参数,如显示页面为导航页面,则意图扩展参数可以为导航线路(如起点和终端位置信息、途径路口位置信息等)和导航方式(如步行、自驾、骑行等)。Specifically, the target intent information may include at least one of an application package name, function information, action information, and intent extension parameters. The function information may include the meta-capability type and/or the meta-capability name; the action information is used to describe the functions supported by the meta-capability; the intent extension parameter is the operation parameter corresponding to the target intent information, if the display page is a navigation page, the intent extension parameter It can be navigation routes (such as starting point and terminal location information, passing intersection location information, etc.) and navigation methods (such as walking, self-driving, cycling, etc.).
S402:第一电子设备确定本地未安装目标应用。S402: The first electronic device determines that the target application is not installed locally.
具体实施中,第一电子设备在本地保存/维护应用信息数据库,应用信息数据库中包括第一电子设备上安装的应用对应的安装包信息。安装包信息中包括应用的元能力名称、元能力类型以及元能力支持的动作信息。第一电子设备在接收到第二电子设备发送的包含目标意图信息的应用交互请求后,在应用信息数据库中查找目标应用的安装包信息,若在应用信息数据库中查找到目标应用的安装包信息,表示第一电子设备已安装目标应用,则通过目标应用执行所述目标意图信息对应的操作。若在应用信息数据库中未查找到目标应用的安装包信息,表示第一电子设备未安装目标应用。In a specific implementation, the first electronic device locally saves/maintains an application information database, and the application information database includes installation package information corresponding to applications installed on the first electronic device. The installation package information includes the meta-capability name of the application, the meta-capability type, and the action information supported by the meta-capability. After receiving the application interaction request containing the target intent information sent by the second electronic device, the first electronic device searches the application information database for the installation package information of the target application. If the installation package information of the target application is found in the application information database , indicating that the target application has been installed on the first electronic device, and the operation corresponding to the target intent information is executed through the target application. If the installation package information of the target application is not found in the application information database, it means that the target application is not installed on the first electronic device.
进一步地,根据目标意图信息中包括的元能力名称和元能力类型查找应用信息数据库中是否包括目标应用的安装包信息,由于应用的安装包信息中包括该应用的元能力名称和元能力类型,若安装包信息中的元能力名称和元能力类型与目标意图信息中的元能力名称和元能力类型匹配,则确定应用信息数据库中包括目标应用的安装包信息,即第一电子设 备中已安装目标应用;否则,确定应用信息数据库中不包括目标应用的安装包信息,即第一电子设备中未安装目标应用。Further, according to the meta-capability name and meta-capability type included in the target intention information, it is searched whether the installation package information of the target application is included in the application information database, because the installation package information of the application includes the meta-capability name and meta-capability type of the application, If the meta-capability name and meta-capability type in the installation package information match the meta-capability name and meta-capability type in the target intent information, it is determined that the application information database includes the installation package information of the target application, that is, the first electronic device has installed it. The target application; otherwise, it is determined that the installation package information of the target application is not included in the application information database, that is, the target application is not installed in the first electronic device.
S403:第一电子设备向服务器发送携带目标意图信息的应用下载请求。S403: The first electronic device sends an application download request carrying target intent information to the server.
S404:服务器在意图管理服务中查询与该目标意图信息匹配的意图信息。S404: The server queries the intent management service for intent information matching the target intent information.
具体实施中,意图管理服务中包括应用商店内支持按需下载的应用的意图信息,若在意图管理服务中查找到与目标意图信息匹配的意图信息,则确定目标应用支持按需下载。In a specific implementation, the intent management service includes intent information of applications that support on-demand download in the application store. If intent information matching the target intent information is found in the intent management service, it is determined that the target application supports on-demand download.
S405:服务器确定与目标意图信息匹配的意图信息对应的目标应用的下载信息。S405: The server determines the download information of the target application corresponding to the intent information matched with the target intent information.
可选的,下载信息可以包括目标应用的应用包名、安装包信息、应用包名对应的下载地址、即时安装标识、版本号等。其中,即时安装标识表示需要下载并安装目标应用。Optionally, the download information may include an application package name of the target application, installation package information, a download address corresponding to the application package name, an instant installation identifier, a version number, and the like. The instant installation identifier indicates that the target application needs to be downloaded and installed.
具体实施中,根据下列方式确定与目标意图信息匹配的意图信息对应目标应用的下载信息:In a specific implementation, the download information of the target application corresponding to the intent information matching the target intent information is determined according to the following methods:
方式1、若目标意图信息中包括目标应用包名,则服务器根据目标应用包名查找对应的下载信息。Manner 1: If the target intent information includes the target application package name, the server searches for the corresponding download information according to the target application package name.
方式2、若目标意图信息中包括功能信息(元能力名称和/或元能力类型),和/或动作信息,则服务器根据功能信息和/或动作信息查找与目标意图信息匹配的意图信息,并确定查找到的意图信息对应的下载信息。Mode 2. If the target intent information includes function information (meta-capability name and/or meta-capability type), and/or action information, the server searches for intent information that matches the target intent information according to the function information and/or action information, and Determine the download information corresponding to the found intent information.
可选的,若查找到多个意图信息且多个意图信息对应的应用不同,即存在多个候选应用时,可以根据下列方式确定目标应用:Optionally, if multiple intent information is found and the applications corresponding to the multiple intent information are different, that is, when there are multiple candidate applications, the target application can be determined according to the following methods:
1、服务器将多个候选应用对应的下载信息分别发送给第一电子设备,第一电子设备从多个候选应用中选择一个作为目标应用。1. The server sends the download information corresponding to the multiple candidate applications to the first electronic device respectively, and the first electronic device selects one of the multiple candidate applications as the target application.
具体实施中,第一电子设备展示包括多个候选应用的应用选择界面;接收用户触发的从多个候选应用中选择目标应用的指令,将用户选择的候选应用作为目标应用。In a specific implementation, the first electronic device displays an application selection interface including multiple candidate applications; receives an instruction to select a target application from the multiple candidate applications triggered by the user, and uses the candidate application selected by the user as the target application.
例如,第一电子设备根据接收到多个候选应用对应的下载信息展示如图7所示的应用选择界面,用户可以在该界面中点击一个候选应用的标识,第一电子设备将用户选择的候选应用作为目标应用。For example, the first electronic device displays the application selection interface shown in FIG. 7 according to the download information corresponding to the received multiple candidate applications. The user can click the logo of a candidate application in the interface, and the first electronic device selects the candidate application selected by the user. application as the target application.
2、服务器确定多个意图信息与目标意图信息的匹配度,并根据多个意图信息与目标意图信息的匹配度对多个意图信息排序,将匹配度最高的意图信息对应的应用作为目标应用。2. The server determines the matching degree between the multiple intent information and the target intent information, sorts the multiple intent information according to the matching degree between the multiple intent information and the target intent information, and selects the application corresponding to the intent information with the highest matching degree as the target application.
S406:服务器将目标应用的下载信息发送给第一电子设备。S406: The server sends the download information of the target application to the first electronic device.
S407:第一电子设备根据目标应用的下载信息下载并安装目标应用。S407: The first electronic device downloads and installs the target application according to the download information of the target application.
需要说明的是,第一电子设备根据目标应用的下载信息静默安装目标应用,即无需用户操作即可在第一电子设备上安装目标应用。It should be noted that the first electronic device silently installs the target application according to the download information of the target application, that is, the target application can be installed on the first electronic device without user operation.
S408:第一电子设备启动目标应用,并通过目标应用执行目标意图信息对应的动作。S408: The first electronic device starts the target application, and executes the action corresponding to the target intent information through the target application.
具体实施中,若目标意图信息中包括元能力名称、元能力类型和意图扩展参数,则根据元能力名称、元能力类型和意图扩展参数执行对应的动作;否则,展示目标应用的默认界面;其中,目标应用的默认界面可以为目标应用的主界面。In the specific implementation, if the target intent information includes the meta-capability name, the meta-capability type, and the intent-extension parameter, the corresponding action is performed according to the meta-capability name, the meta-capability type, and the intent-extension parameter; otherwise, the default interface of the target application is displayed; wherein , the default interface of the target application can be the main interface of the target application.
需要说明的是,当目标意图信息中不包括应用包名时,第一电子设备下载并安装的目标应用可以为,与第二电子设备上触发应用交互请求的应用不同,但具有相同元能力的应用,即第一电子设备可以通过目标应用执行目标意图信息对应的动作,而目标应用无需与第二电子设备上的应用相同,从而能够灵活的实现应用交互。It should be noted that when the target intent information does not include the application package name, the target application downloaded and installed by the first electronic device may be different from the application triggering the application interaction request on the second electronic device, but with the same meta-capability. Application, that is, the first electronic device can execute the action corresponding to the target intent information through the target application, and the target application does not need to be the same as the application on the second electronic device, so that application interaction can be flexibly realized.
基于相同的技术构思,本申请实施例还提供了一种跨设备应用交互方法。该方法以图4所示的实施例中的第一电子设备为主体,以框架层的角度来分析第一电子设备在该方法的执行过程。如图8所示,第一电子设备按照逻辑功能划分,其框架层中可以包括:分布式执行框架81、元能力管理服务82、包管理服务83以及包即时安装服务84。Based on the same technical idea, the embodiments of the present application also provide a cross-device application interaction method. The method takes the first electronic device in the embodiment shown in FIG. 4 as the main body, and analyzes the execution process of the method by the first electronic device from the perspective of the framework layer. As shown in FIG. 8 , the first electronic device is divided according to logical functions, and its framework layer may include: distributed execution framework 81 , meta-capability management service 82 , package management service 83 and package instant installation service 84 .
所述第一电子设备在实现跨设备应用交互方法时,如图9所示,包括以下步骤:When the first electronic device implements the cross-device application interaction method, as shown in FIG. 9 , the following steps are included:
S901、分布式执行框架81接收到第二电子设备发送的包含目标意图信息的应用交互请求。S901. The distributed execution framework 81 receives an application interaction request including target intent information sent by the second electronic device.
S902、分布式执行框架81将目标意图信息发送给包管理服务83。S902 , the distributed execution framework 81 sends the target intent information to the package management service 83 .
S903、包管理服务83确定在应用信息数据库中未查询到目标意图信息对应的目标应用的安装包信息。S903: The package management service 83 determines that the installation package information of the target application corresponding to the target intent information is not queried in the application information database.
S904、包管理服务83向服务器发送携带目标意图信息的应用下载请求。S904, the package management service 83 sends an application download request carrying the target intent information to the server.
S905、服务器在意图管理服务中查询与目标意图信息匹配的意图信息。S905. The server queries the intent management service for intent information matching the target intent information.
S906、服务器确定与目标意图信息匹配的意图信息对应的目标应用的下载信息。S906. The server determines the download information of the target application corresponding to the intent information matching the target intent information.
S907、服务器将目标应用的下载信息发送给包管理服务83。S907 , the server sends the download information of the target application to the package management service 83 .
S908、包管理服务83将目标应用的下载信息返回给分布式执行框架81。S908 , the package management service 83 returns the download information of the target application to the distributed execution framework 81 .
S909、分布式执行框架81将目标应用的下载信息发送给元能力管理服务82。S909 , the distributed execution framework 81 sends the download information of the target application to the meta-capability management service 82 .
S910、元能力管理服务82向包即时安装服务84发送包括目标应用的下载信息的下载安装请求。S910. The meta-capability management service 82 sends a download and installation request including the download information of the target application to the instant package installation service 84.
S911、包即时安装服务84下载并安装目标应用。S911, the instant package installation service 84 downloads and installs the target application.
S912、包即时安装服务84将目标应用的下载信息中的安装包信息更新到包管理服务。S912, the instant package installation service 84 updates the installation package information in the download information of the target application to the package management service.
S913、元能力管理服务82启动目标应用。S913, the meta-capability management service 82 starts the target application.
在一些实施例中,以第一电子设备为智能手表,第二电子设备为手机为例,智能手表与手机通过蓝牙建立连接。手机上运行导航应用,并在显示如图10所示的导航界面,用户点击导航应用显示界面上的“应用交互”按钮,触发将手机执行的导航任务分发到智能手表。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, and the navigation interface shown in Figure 10 is displayed. The user clicks the "application interaction" button on the display interface of the navigation application to trigger the distribution of the navigation tasks performed by the mobile phone to the smart watch.
手机向智能手表发送应用交互请求,该应用交互请求中包含目标意图信息,具体的,目标意图信息中包括:应用包名(如:com.map)、元能力名称(如com.map.activity.NavigationActivity)、元能力类型(如PAGE,表示该元能力用于指示展示该元能力对应的显示页面)以及意图扩展参数,参照图10,意图扩展参数可以为导航路线起点和终点的位置信息、途径交叉路口的位置信息以及导航方式(如步行、骑行、自驾等),可选的,起点和终点的位置信息可以为起点和终点的经纬度坐标、途径交叉路口的位置信息可以为途径交叉路口的经纬度坐标。The mobile phone sends an application interaction request to the smart watch, and the application interaction request contains target intent information. Specifically, the target intent information includes: application package name (eg: com.map), meta-capability name (eg com.map.activity. NavigationActivity), meta-capability type (such as PAGE, indicating that the meta-capability is used to indicate the display page corresponding to the meta-capability), and intent extension parameters. Referring to FIG. 10, the intent extension parameters can be the location information of the start and end points of the navigation route, the route The location information of the intersection and the navigation method (such as walking, cycling, self-driving, etc.). Optionally, the location information of the starting point and the ending point can be the latitude and longitude coordinates of the starting point and the ending point, and the location information of the crossing intersection can be the location information of the crossing intersection. Latitude and longitude coordinates.
智能手表在本设备的应用信息数据库中查询目标意图信息对应的导航应用的安装包信息,确定本设备的应用信息数据库中不包含导航应用对应的安装包信息,则智能手表向服务器发送携带目标意图信息的应用下载请求。The smart watch queries the installation package information of the navigation application corresponding to the target intent information in the application information database of the device, and determines that the application information database of the device does not contain the installation package information corresponding to the navigation application, then the smart watch sends the target intent to the server. Information about the application download request.
服务器通过意图管理服务查询与目标意图信息匹配的意图信息,并将与目标意图信息匹配的意图信息对应的导航应用的下载信息发送给智能手表,具体的,导航应用的下载信息可以包括应用包名、应用的安装包信息、应用包名对应的在应用商店的下载地址、即时 安装标识、版本号等信息。The server queries the intent information matching the target intent information through the intent management service, and sends the download information of the navigation application corresponding to the intent information matching the target intent information to the smart watch. Specifically, the download information of the navigation application may include the application package name , the installation package information of the application, the download address in the application store corresponding to the application package name, the instant installation identifier, the version number and other information.
智能手表根据接收到的导航应用的下载信息下载并静默安装导航应用,在导航应用安装完成后,启动导航应用,并根据目标意图信息展示导航界面,例如,智能手表显示如图11所示的导航界面。The smart watch downloads and silently installs the navigation application according to the received download information of the navigation application. After the installation of the navigation application is completed, it starts the navigation application and displays the navigation interface according to the target intent information. For example, the smart watch displays the navigation as shown in Figure 11. interface.
在一些实施例中,以第一电子设备为电脑,第二电子设备为手机为例,电脑与手机通过P2P建立连接。电脑上运行音乐播放器应用播放音乐,如图12所示,用户通过电脑和手机的“碰一碰”功能,触发应用交互指令,电脑向手机发送包含目标意图信息的应用交互请求。具体的,目标意图信息中包括:应用包名(如com.music)、元能力名称(如com.music.activity.PlayerActivity)、元能力类型(如SERVICE,表示该元能力用于指示执行该元能力对应的动作)以及意图扩展参数,其中意图扩展参数可以为播放的音乐的地址、播放模式等信息。In some embodiments, taking the first electronic device as a computer and the second electronic device as a mobile phone as an example, the computer and the mobile phone establish a connection through P2P. Run the music player application on the computer to play music, as shown in Figure 12, the user triggers the application interaction instruction through the "touch" function of the computer and the mobile phone, and the computer sends the application interaction request containing the target intent information to the mobile phone. Specifically, the target intent information includes: application package name (such as com.music), meta-capability name (such as com.music.activity.PlayerActivity), meta-capability type (such as SERVICE, indicating that the meta-capability is used to instruct the execution of the meta-capability) The action corresponding to the capability) and the intention extension parameter, where the intention extension parameter may be information such as the address of the music to be played, the playback mode, and the like.
手机在本设备的应用信息数据库中查询目标意图信息对应的音乐播放器应用的安装包信息,确定本设备的应用信息数据库中不包含音乐播放器应用对应的安装包信息,则智能手机向服务器发送携带目标意图信息的应用下载请求。The mobile phone queries the installation package information of the music player application corresponding to the target intent information in the application information database of the device, and determines that the application information database of the device does not contain the installation package information corresponding to the music player application, then the smartphone sends the server to the server. Application download request carrying target intent information.
服务器通过意图管理服务查询与目标意图信息匹配的意图信息,并将与目标意图信息匹配的意图信息对应的音乐播放器应用的下载信息发送给智能手机,具体的,音乐播放器应用的下载信息可以包括应用包名、应用的安装包信息、应用包名对应的在应用商店的下载地址、即时安装标识、版本号等信息。The server queries the intent information matching the target intent information through the intent management service, and sends the download information of the music player application corresponding to the intent information matching the target intent information to the smartphone. Specifically, the download information of the music player application can be Including the application package name, the installation package information of the application, the download address in the application store corresponding to the application package name, the instant installation identifier, the version number and other information.
手机根据接收到的音乐播放器应用对应的下载信息,下载并静默安装音乐播放器应用,在音乐播放器应用安装完成后,启动音乐播放器应用,并根据目标意图信息播放音乐。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 installation of the music player application is completed, and plays music according to the target intent information.
在一些实施例中,以第一电子设备为手机,第二电子设备为智能手表为例,手机与智能手表通过P2P建立连接。用户在手机上触发启动导航功能的指令后,触发应用分发指令;如用户通过语音输入启动导航功能的指令后,通过手机和智能手表的“碰一碰”功能,触发应用交互指令。In some embodiments, taking the first electronic device as a mobile phone and the second electronic device as a smart watch as an example, the mobile phone and the smart watch establish a connection through P2P. After the user triggers the instruction to activate the navigation function on the mobile phone, the application distribution instruction is triggered; for example, after the user enters the instruction to activate the navigation function through voice, the application interaction instruction is triggered through the "touch" function of the mobile phone and the smart watch.
手机向智能手表发送应用交互请求,该应用交互请求中包含目标意图信息,具体的,目标意图信息中包括:动作信息(具体可以为用于表示启动导航功能的动作信息)。The mobile phone sends an application interaction request to the smart watch, and the application interaction request includes target intention information, specifically, the target intention information includes: action information (specifically, it may be action information for starting a navigation function).
智能手表在本设备的应用信息数据库中查询是否存在目标意图信息对应的目标应用的安装包信息,具体的,可以在应用信息数据库中查找包含目标意图信息中的动作信息的安装包信息,确定应用信息数据库中的安装包信息均不包含目标意图信息中的动作信息时,确定智能手表上未安装目标应用,则智能手表向服务器发送携带目标意图信息的应用下载请求。The smart watch queries the application information database of the device whether there is installation package information of the target application corresponding to the target intent information. Specifically, it can search the application information database for the installation package information that includes the action information in the target intent information to determine the application. When none of the installation package information in the information database includes the action information in the target intent information, it is determined that the target application is not installed on the smart watch, and the smart watch sends an application download request carrying the target intent information to the server.
服务器通过意图管理服务查询与目标意图信息匹配的意图信息,并将与目标意图信息匹配的意图信息对应的导航应用的下载信息发送给智能手表,具体的,若服务器查找到多个与目标意图信息匹配的意图信息,例如查找到多个应用的意图信息中包含目标意图信息中的动作信息;则服务器将多个意图信息对应的候选应用的下载信息发送给智能手表。The server queries the intent information matching the target intent information through the intent management service, and sends the download information of the navigation application corresponding to the intent information matching the target intent information to the smart watch. The matching intent information, for example, the intent information of multiple applications is found to include the action information in the target intent information; then the server sends the download information of the candidate applications corresponding to the multiple intent information to the smart watch.
智能手表展示包含多个候选应用名称的应用选择界面,例如,展示如图13所示的应用选择界面,该应用选择界面上包括候选应用:应用A、应用B和应用C;用户在该应用选择界面上选择应用A,则将应用A作为目标应用,智能手表根据接收到的应用A的下载 信息下载并静默安装应用A,在应用A安装完成后,启动应用A,并根据目标意图信息展示应用界面,例如,智能手表显示如图14所示的导航应用界面。The smart watch displays an application selection interface that includes multiple candidate application names. For example, the application selection interface shown in Figure 13 is displayed. The application selection interface includes candidate applications: application A, application B, and application C; Select Application A on the interface, then use Application A as the target application. The smartwatch downloads and silently installs Application A according to the received download information of Application A. After the installation of Application A is completed, Application A is started, and the application is displayed according to the target intent information. The interface, for example, the smart watch displays the navigation application interface as shown in Figure 14.
基于以上实施例,本申请还提供了一种电子设备,所述电子设备用于实现如图4所示的跨设备应用交互方法。参阅图15所示,所述电子设备1500包括:通信单元1501和处理单元1502。下面对各个单元的功能进行描述。Based on the above embodiments, the present application further provides an electronic device, where the electronic device is used 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 function of each unit is described below.
通信单元1501,用于接收来自其它电子设备发送的应用交互请求,所述应用交互请求中包含目标意图信息,所述应用交互请求用于指示所述电子设备中的目标应用执行所述目标意图信息对应的动作;在处理单元1502确定本地未安装所述目标应用后,用于向服务器发送携带所述目标意图信息的应用下载请求,接收来自所述服务器的所述目标应用的下载信息。The communication unit 1501 is configured to receive an application interaction request sent from other electronic devices, where the application interaction request includes target intent information, and the application interaction request is used to instruct a target application in the electronic device to execute the target intent information Corresponding action: after the processing unit 1502 determines that the target application is not installed locally, it is configured to send an application download request carrying the target intent information to the server, and receive the download information of the target application from the server.
处理单元1502,用于确定未安装所述目标应用,以及根据所述目标应用的下载信息下载并安装所述目标应用后,启动所述目标应用,并通过所述目标应用执行所述目标意图信息对应的动作。The processing unit 1502 is configured to determine that the target application is not installed, and after downloading and installing the target application according to the download information of the target application, start the target application, and execute the target intent information through the target application corresponding action.
在一个实现方式中,所述目标意图信息包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。In an implementation manner, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
可选的,所述功能信息包括元能力类型和/或元能力名称。Optionally, the function information includes a meta-capability type and/or a meta-capability name.
在一个实现方式中,所述下载信息中包括目标应用的安装包信息、所述目标应用的下载地址、即时安装标识、版本号。In an implementation manner, 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.
需要说明的是,即时安装标识用于表示目标应用需要进行安装。It should be noted that the instant installation identifier is used to indicate that the target application needs to be installed.
在一个实现方式中,处理单元1502具体用于:确定保存的应用信息数据库中不包含所述目标应用的安装包信息;在所述接收来自所述服务器的所述目标应用的下载信息之后,将所述下载信息中所述目标应用的安装包信息存储到所述应用信息数据库中。In an implementation manner, the processing unit 1502 is specifically configured to: determine that the stored application information database does not contain the installation package information of the target application; after receiving the download information of the target application from the server, to The installation package information of the target application in the download information is stored in the application information database.
在一个实现方式中,通信单元1501具体用于:接收来自所述服务器的至少两个候选应用的下载信息,所述至少两个候选应用中包含所述目标应用;In an implementation manner, the communication unit 1501 is specifically configured to: receive download information of at least two candidate applications from the server, where the at least two candidate applications include the target application;
处理单元1502具体用于:在根据所述目标应用的下载信息下载并安装所述目标应用之前,展示包括所述至少两个候选应用的应用选择界面;接收用户触发的应用选择指令,所述应用选择指令用于指示用户选择的应用为所述目标应用。The processing unit 1502 is specifically configured to: display an application selection interface including the at least two candidate applications before downloading and installing the target application according to the download information of the target application; receive an application selection instruction triggered by the user, the application The selection instruction is used to indicate that the application selected by the user is the target application.
基于以上实施例,本申请还提供了一种服务器,所述服务器用于实现如图4所示的跨设备应用交互方法。参阅图16所示,所述服务器1600包括:通信单元1601和处理单元1602。下面对各个单元的功能进行描述。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 function of each unit is described below.
通信单元1601,用于接收电子设备发送的携带目标意图信息的应用下载请求;以及在处理单元1602确定与所述目标意图信息匹配的意图信息对应的目标应用的下载信息之后,将所述目标应用的下载信息发送给所述电子设备。The communication unit 1601 is configured to receive an application download request carrying target intent information sent by the electronic device; and after the processing unit 1602 determines the download information of the target application corresponding to the intent information matched with the target intent information, the target application The download information is sent to the electronic device.
处理单元1602,用于在意图管理服务中查询与所述目标意图信息匹配的意图信息;确定与所述目标意图信息匹配的意图信息对应的目标应用的下载信息;a processing unit 1602, configured to query the intent information matching the target intent information in the intent management service; determine the download information of the target application corresponding to the intent information matching the target intent information;
在一个实现方式中,所述目标意图信息包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。In an implementation manner, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
可选的,所述功能信息包括元能力类型和/或元能力名称。Optionally, the function information includes a meta-capability type and/or a meta-capability name.
在一个实现方式中,处理单元1602具体用于:在所述意图管理服务中查询到至少两个与所述目标意图信息匹配的候选意图信息,且每个候选意图信息对应一个候选应用;选择所述至少两个候选意图信息中与所述目标意图信息匹配度更高的意图信息作为与所述目标意图信息匹配的意图信息。In one implementation, the processing unit 1602 is specifically configured to: query the intent management service to find at least two candidate intent information matching the target intent information, and each candidate intent information corresponds to a candidate application; Among the at least two candidate intent information, the intent information with a higher degree of matching with the target intent information is used as the intent information matching the target intent information.
基于以上实施例,本申请实施例还提供了一种电子设备,所述电子设备用于实现如图4所示的跨设备应用交互方法。参阅图17所示,所述电子设备1700中包括:处理器1701、存储器1702,当然还可以具有图1所示的各个外围或内部硬件。Based on the above embodiments, an embodiment of the present application further provides an electronic device, where the electronic device is used to implement the cross-device application interaction method shown in FIG. 4 . Referring to FIG. 17 , the electronic device 1700 includes: a processor 1701, a memory 1702, and of course, may also have various peripheral or internal hardware shown in FIG. 1 .
所述存储器1702以及其他部件与所述处理器1701之间相互连接。The memory 1702 and other components are interconnected with the processor 1701 .
具体地,所述电子设备1700可以通过收发器1703与其他设备进行通信交互。可选的,所述收发器1703可以为蓝牙模块、WiFi模块,RF电路等。Specifically, the electronic device 1700 can communicate and interact with other devices through the transceiver 1703 . Optionally, the transceiver 1703 may be a Bluetooth module, a WiFi module, an RF circuit, or the like.
所述处理器1701,用于通过收发器1703接收来自其它电子设备发送的应用交互请求,所述应用交互请求中包含目标意图信息,所述应用交互请求用于指示所述电子设备中的目标应用执行所述目标意图信息对应的动作;确定本地未安装所述目标应用后,通过收发器1703向服务器发送携带所述目标意图信息的应用下载请求;通过收发器1703接收来自所述服务器的所述目标应用的下载信息;根据所述目标应用的下载信息下载并安装所述目标应用后,启动所述目标应用,并通过所述目标应用执行所述目标意图信息对应的动作。The processor 1701 is configured to receive, through the transceiver 1703, an application interaction request sent from other electronic devices, where the application interaction request includes target intent information, and the application interaction request is used to indicate a target application in the electronic device Execute the action corresponding to the target intent information; after determining that the target application is not installed locally, send an application download request carrying the target intent information to the server through the transceiver 1703; receive the application download request from the server through the transceiver 1703 Download information of the target application; after downloading and installing the target application according to the download information of the target application, start the target application, and execute the action corresponding to the target intent information through the target application.
在一个实现方式中,所述目标意图信息包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。In an implementation manner, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
可选的,所述功能信息包括元能力类型和/或元能力名称。Optionally, the function information includes a meta-capability type and/or a meta-capability name.
在一个实现方式中,所述下载信息中包括目标应用的安装包信息、所述目标应用的下载地址、即时安装标识、版本号。In an implementation manner, 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.
在一个实现方式中,所述处理器1701具体用于:确定保存的应用信息数据库中不包含所述目标应用的安装包信息;在通过收发器1703接收来自所述服务器的所述目标应用的下载信息之后,将所述下载信息中所述目标应用的安装包信息存储到所述应用信息数据库中。In an implementation manner, the processor 1701 is specifically configured to: determine that the stored application information database does not contain the installation package information of the target application; receive the download of the target application from the server through the transceiver 1703 After the information is obtained, the installation package information of the target application in the download information is stored in the application information database.
在一个实现方式中,所述处理器1701具体用于:通过收发器1703接收来自所述服务器的至少两个候选应用的下载信息,所述至少两个候选应用中包含所述目标应用;在根据所述目标应用的下载信息下载并安装所述目标应用之前,展示包括所述至少两个候选应用的应用选择界面;接收用户触发的应用选择指令,所述应用选择指令用于指示用户选择的应用为所述目标应用。In an implementation manner, the processor 1701 is specifically configured to: receive, through the transceiver 1703, download information of at least two candidate applications from the server, where the at least two candidate applications include the target application; The download information of the target application Before downloading and installing the target application, displaying an application selection interface including the at least two candidate applications; receiving an application selection instruction triggered by the user, where the application selection instruction is used to indicate the application selected by the user for the target application.
所述存储器1702,用于存放程序指令和数据(例如不同运动类型对应的图像模板)等。具体地,程序指令可以包括程序代码,该程序代码包括计算机操作的指令。存储器1702可能包含随机存取存储器(random access memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。所述处理器1701执行所述存储器1702所存放的程序,并通过上述各个部件,实现上述功能,从而最终实现以上实施例提供的方法。The memory 1702 is used to store program instructions and data (eg, image templates corresponding to different motion types) and the like. Specifically, the program instructions may include program code, which includes instructions for computer operation. The memory 1702 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage. The processor 1701 executes the program stored in the memory 1702, and implements the above functions through the above components, thereby finally implementing the methods provided by the above embodiments.
基于以上实施例,本申请实施例还提供了一种服务器,所述服务器用于实现如图4所示的跨设备应用交互方法。参阅图18所示,所述服务器1800中包括:处理器1801、存储 器1802。Based on the above embodiments, an embodiment of 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. 18, the server 1800 includes: a processor 1801 and a memory 1802.
所述存储器1802以及其他部件与所述处理器1801之间相互连接。The memory 1802 and other components are interconnected with the processor 1801 .
具体地,所述服务器1800可以通过通信模块1803与其他设备进行通信交互。Specifically, the server 1800 can communicate and interact with other devices through the communication module 1803 .
所述处理器1801,用于通过通信模块1803接收电子设备发送的携带目标意图信息的应用下载请求;在意图管理服务中查询与所述目标意图信息匹配的意图信息;确定与所述目标意图信息匹配的意图信息对应的目标应用的下载信息;通过通信模块1803将所述目标应用的下载信息发送给所述电子设备。The processor 1801 is configured to receive, through the communication module 1803, an application download request carrying target intent information sent by an electronic device; query the intent management service for intent information that matches the target intent information; determine the target intent information Download information of the target application corresponding to the matched intent information; send the download information of the target application to the electronic device through the communication module 1803 .
在一个实现方式中,所述目标意图信息包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。In an implementation manner, the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
可选的,所述功能信息包括元能力类型和/或元能力名称。Optionally, the function information includes a meta-capability type and/or a meta-capability name.
在一个实现方式中,所述处理器1801具体用于:在所述意图管理服务中查询到至少两个与所述目标意图信息匹配的候选意图信息,且每个候选意图信息对应一个候选应用;选择所述至少两个候选意图信息中与所述目标意图信息匹配度更高的意图信息作为与所述目标意图信息匹配的意图信息。In one implementation, the processor 1801 is specifically configured to: query the intent management service to find at least two candidate intent information matching the target intent information, and each candidate intent information corresponds to a candidate application; The intent information that has a higher degree of matching with the target intent information among the at least two candidate intent information is selected as the intent information that matches the target intent information.
所述存储器1802,用于存放程序指令和数据(例如不同运动类型对应的图像模板)等。具体地,程序指令可以包括程序代码,该程序代码包括计算机操作的指令。存储器1802可能包含随机存取存储器(random access memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。所述处理器1801执行所述存储器1802所存放的程序,并通过上述各个部件,实现上述功能,从而最终实现以上实施例提供的方法。The memory 1802 is used to store program instructions and data (eg, image templates corresponding to different motion types) and the like. Specifically, the program instructions may include program code, which includes instructions for computer operation. The memory 1802 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage. The processor 1801 executes the program stored in the memory 1802, and implements the above functions through the above components, thereby finally realizing the methods provided by the above embodiments.
基于以上实施例,本申请实施例还提供了一种跨设备应用交互系统,包括如图15所示的电子设备,以及如图16所示的服务器。Based on the above embodiments, an embodiment of the present application further provides a cross-device application interaction system, including 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 the computer program runs 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 embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes the crossover provided by the above embodiments. Device application interaction method.
其中,存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。The storage medium may be any available medium that the computer can access. By way of example and not limitation, computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or be capable of carrying or storing instructions or data structures in the form of desired program code and any other medium that can be accessed by a computer.
基于以上实施例,本申请实施例还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,实现以上实施例提供的跨设备应用交互方法。Based on the above embodiments, the embodiments of the present application further provide a chip for reading a computer program stored in a memory and implementing the cross-device application interaction method provided by the above embodiments.
基于以上实施例,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现以上实施例中业务设备、转发设备或站点设备所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。Based on the above embodiments, the embodiments of the present application provide a chip system, where the chip system includes a processor for supporting a computer device to implement the functions involved in the service equipment, forwarding equipment, or site equipment in the above embodiments. In a possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. The chip system may be composed of chips, or may include chips and other discrete devices.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实 施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a 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, etc.) 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 present application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the protection scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (26)

  1. 一种跨设备应用交互方法,应用于电子设备,其特征在于,该方法包括:A cross-device application interaction method, applied to an electronic device, characterized in that the method comprises:
    接收来自其它电子设备发送的应用交互请求,所述应用交互请求中包含目标意图信息,所述应用交互请求用于指示所述电子设备中的目标应用执行所述目标意图信息对应的动作;receiving an application interaction request sent from another electronic device, where the application interaction request includes target intent information, and the application interaction request is used to instruct a target application in the electronic device to perform an action corresponding to the target intent information;
    确定本地未安装所述目标应用后,向服务器发送携带所述目标意图信息的应用下载请求;After determining that the target application is not installed locally, send an application download request carrying the target intent information to the server;
    接收来自所述服务器的所述目标应用的下载信息;receiving download information of the target application from the server;
    根据所述目标应用的下载信息下载并安装所述目标应用后,启动所述目标应用,并通过所述目标应用执行所述目标意图信息对应的动作。After the target application is downloaded and installed according to the download information of the target application, the target application is started, and the action corresponding to the target intent information is executed through the target application.
  2. 如权利要求1所述的方法,其特征在于,所述目标意图信息包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。The method of claim 1, wherein the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
  3. 如权利要求2所述的方法,其特征在于,所述功能信息包括元能力类型和/或元能力名称。The method of claim 2, wherein the function information includes a meta-capability type and/or a meta-capability name.
  4. 如权利要求1所述的方法,其特征在于,所述下载信息中包括目标应用的安装包信息、所述目标应用的下载地址、即时安装标识、版本号。The method of claim 1, wherein 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.
  5. 如权利要求4所述的方法,其特征在于,确定本地未安装所述目标应用,包括:The method of claim 4, wherein determining that the target application is not installed locally comprises:
    确定保存的应用信息数据库中不包含所述目标应用的安装包信息;Determine 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, the method further includes:
    将所述下载信息中所述目标应用的安装包信息存储到所述应用信息数据库中。The installation package information of the target application in the download information is stored in the application information database.
  6. 如权利要求1至5任一项所述的方法,其特征在于,接收来自所述服务器的所述目标应用的下载信息,包括:The method according to any one of claims 1 to 5, wherein receiving the download information of the target application from the server comprises:
    接收来自所述服务器的至少两个候选应用的下载信息,所述至少两个候选应用中包含所述目标应用;receiving 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 download information of the target application, the method further includes:
    展示包括所述至少两个候选应用的应用选择界面;presenting an application selection interface including the at least two candidate applications;
    接收用户触发的应用选择指令,所述应用选择指令用于指示用户选择的应用为所述目标应用。An application selection instruction triggered by the user is received, where the application selection instruction is used to indicate that the application selected by the user is the target application.
  7. 一种跨设备应用交互方法,应用于服务器,其特征在于,该方法包括:A cross-device application interaction method, applied to a server, characterized in that the method includes:
    接收电子设备发送的携带目标意图信息的应用下载请求;Receive an application download request that carries target intent information sent by an electronic device;
    在意图管理服务中查询与所述目标意图信息匹配的意图信息;query the intent management service for intent information matching the target intent information;
    确定与所述目标意图信息匹配的意图信息对应的目标应用的下载信息;determining the download information of the target application corresponding to the intent information matching the target intent information;
    将所述目标应用的下载信息发送给所述电子设备。Send the download information of the target application to the electronic device.
  8. 如权利要求7所述的方法,其特征在于,所述目标意图信息包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。The method of claim 7, wherein the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
  9. 如权利要求8所述的方法,其特征在于,所述功能信息包括元能力类型和/或元能力名称。The method of claim 8, wherein the function information includes a meta-capability type and/or a meta-capability name.
  10. 如权利要求7至9任一项所述的方法,其特征在于,所述在意图管理服务中查询与所述目标意图信息匹配的意图信息,包括:The method according to any one of claims 7 to 9, wherein the querying the intent information matching the target intent information in the intent management service comprises:
    在所述意图管理服务中查询到至少两个与所述目标意图信息匹配的候选意图信息,且每个候选意图信息对应一个候选应用;At least two candidate intent information matching the target intent information are queried in the intent management service, and each candidate intent information corresponds to a candidate application;
    选择所述至少两个候选意图信息中与所述目标意图信息匹配度更高的意图信息作为与所述目标意图信息匹配的意图信息。The intent information that has a higher degree of matching with the target intent information among the at least two candidate intent information is selected as the intent information that matches the target intent information.
  11. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    通信单元,用于接收来自其它电子设备发送的应用交互请求,所述应用交互请求中包含目标意图信息,所述应用交互请求用于指示所述电子设备中的目标应用执行所述目标意图信息对应的动作;在处理单元确定本地未安装所述目标应用后,向服务器发送携带所述目标意图信息的应用下载请求;接收来自所述服务器的所述目标应用的下载信息;A communication unit, configured to receive an application interaction request sent from other electronic devices, where the application interaction request includes target intent information, and the application interaction request is used to instruct the target application in the electronic device to execute the corresponding target intent information After the processing unit determines that the target application is not installed locally, it sends an application download request carrying the target intent information to the server; receives the download information of the target application from the server;
    处理单元,用于确定本地未安装所述目标应用;以及,根据所述目标应用的下载信息下载并安装所述目标应用后,启动所述目标应用,并通过所述目标应用执行所述目标意图信息对应的动作。a processing unit, configured to determine that the target application is not installed locally; and, after downloading and installing the target application according to the download information of the target application, start the target application, and execute the target intent through the target application Actions corresponding to the information.
  12. 如权利要求11所述的电子设备,其特征在于,所述目标意图信息包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。The electronic device according to 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. 如权利要求12所述的电子设备,其特征在于,所述功能信息包括元能力类型和/或元能力名称。The electronic device according to claim 12, wherein the function information includes a meta-capability type and/or a meta-capability name.
  14. 如权利要求11所述的电子设备,其特征在于,所述下载信息中包括目标应用的安装包信息、所述目标应用的下载地址、即时安装标识、版本号。The electronic device according to claim 11, wherein 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.
  15. 如权利要求14所述的电子设备,其特征在于,所述处理单元具体用于:The electronic device according to claim 14, wherein the processing unit is specifically configured to:
    确定保存的应用信息数据库中不包括所述目标应用的安装包信息;Determine that the stored application information database does not include the installation package information of the target application;
    在所述通信单元接收来自所述服务器的所述目标应用的下载信息之后,将所述下载信息中所述目标应用的安装包信息存储到所述应用信息数据库中。After the communication unit receives the download information of the target application from the server, the installation package information of the target application in the download information is stored in the application information database.
  16. 如权利要求11至15任一项所述的电子设备,其特征在于,所述通信单元具体用于:The electronic device according to any one of claims 11 to 15, wherein the communication unit is specifically used for:
    接收来自所述服务器的至少两个候选应用的下载信息,所述至少两个候选应用中包含所述目标应用;receiving download information of at least two candidate applications from the server, where the target application is included in the at least two candidate applications;
    所述处理单元具体用于:The processing unit is specifically used for:
    在根据所述目标应用的下载信息下载并按照所述目标应用之前,展示包括所述至少两个候选应用的应用选择界面;接收用户触发的应用选择指令,所述应用选择指令用于指示用户选择的应用为所述目标应用。Before downloading and following the target application according to the download information of the target application, displaying an application selection interface including the at least two candidate applications; receiving an application selection instruction triggered by the user, where the application selection instruction is used to instruct the user to select The application is the target application.
  17. 一种服务器,其特征在于,包括:A server, characterized in that it includes:
    通信单元,用于接收电子设备发送的携带目标意图信息的应用下载请求;在处理单元确定与所述目标意图信息匹配的意图信息对应的目标应用的下载信息之后,将所述目标应用的下载信息发送给所述电子设备;a communication unit, configured to receive an application download request carrying target intent information sent by an electronic device; after the processing unit determines the download information of the target application corresponding to the intent information matching the target intent information, the download information of the target application is sent to the electronic device;
    处理单元,用于在意图管理服务中查询与所述目标意图信息匹配的意图信息;确定与所述目标意图信息匹配的意图信息对应的目标应用的下载信息。The processing unit is configured to query the intent information matching the target intent information in the intent management service; and determine the download information of the target application corresponding to the intent information matching the target intent information.
  18. 如权利要求17所述的服务器,其特征在于,所述目标意图信息包括应用包名、功能信息、动作信息以及意图扩展参数中的至少一个。The server of claim 17, wherein the target intent information includes at least one of an application package name, function information, action information, and intent extension parameters.
  19. 如权利要求18所述的服务器,其特征在于,所述功能信息包括元能力类型和/或元能力名称。The server of claim 18, wherein the function information includes a meta-capability type and/or a meta-capability name.
  20. 如权利要求17至19任一项所述的服务器,其特征在于,所述处理单元具体用于:The server according to any one of claims 17 to 19, wherein the processing unit is specifically configured to:
    在所述意图管理服务中查询到至少两个与所述目标意图信息匹配的候选意图信息,且每个候选意图信息对应一个候选应用;选择所述至少两个候选意图信息中与所述目标意图信息匹配度更高的意图信息作为与所述目标意图信息匹配的意图信息。At least two candidate intent information matching the target intent information is queried in the intent management service, and each candidate intent information corresponds to a candidate application; select the at least two candidate intent information that matches the target intent information The intent information with a higher degree of information matching is used as the intent information matching the target intent information.
  21. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    存储器,用于存储程序和数据;memory, for storing programs and data;
    收发器,用于接收和发送数据;Transceivers for receiving and transmitting data;
    处理器,用于执行如权利要求1至6任一项所述的方法。A processor for performing the method of any one of claims 1 to 6.
  22. 一种服务器,其特征在于,包括:A server, characterized in that it includes:
    存储器,用于存储程序和数据;memory, for storing programs and data;
    通信模块,用于接收和发送数据;Communication module for receiving and sending data;
    处理器,用于执行如权利要求7至10任一项所述的方法。A processor for performing the method as claimed in any one of claims 7 to 10.
  23. 一种跨设备应用交互系统,其特征在于,包括:A cross-device application interaction system, characterized in that it includes:
    如权利要求11至16任一项所述的电子设备;以及The electronic device of any one of claims 11 to 16; and
    如权利要求17至20任一项所述的服务器。A server as claimed in any one of claims 17 to 20.
  24. 一种计算机程序,其特征在于,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1至10任一项所述的方法。A computer program, characterized in that, when the computer program is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 10.
  25. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行如权利要求1至10任一项所述的方法。A computer storage medium, characterized in that, a computer program is stored in the computer storage medium, and when the computer program is executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 10.
  26. 一种芯片,其特征在于,所述芯片用于读取存储器中存储的计算机程序,执行如权利要求1至10任一项所述的方法。A chip, characterized in that, the chip is used to read a computer program stored in a memory, and execute the method according to any one of claims 1 to 10.
PCT/CN2021/123510 2020-10-28 2021-10-13 Cross-device application interaction method, electronic device, and server WO2022089207A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011171571.3 2020-10-28
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
WO2022089207A1 true WO2022089207A1 (en) 2022-05-05

Family

ID=81310231

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/123510 WO2022089207A1 (en) 2020-10-28 2021-10-13 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
CN116700552A (en) * 2022-09-28 2023-09-05 荣耀终端有限公司 Application connection method and terminal equipment
CN116702100A (en) * 2022-10-21 2023-09-05 荣耀终端有限公司 Authority management method and electronic equipment
WO2023246881A1 (en) * 2022-06-25 2023-12-28 华为技术有限公司 Plug-in control method and system and related apparatus

Families Citing this family (3)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006474A1 (en) * 2012-06-28 2014-01-02 Netflix, Inc. Application Discovery
CN103517110A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Multi-screen interaction communication system and method
CN103856807A (en) * 2014-03-25 2014-06-11 北京奇艺世纪科技有限公司 Method and device for controlling interaction between screens
CN111523095A (en) * 2020-03-31 2020-08-11 华为技术有限公司 Cross-device interaction method and terminal device
CN113311975A (en) * 2020-02-27 2021-08-27 华为技术有限公司 Application interaction method among multiple devices and related devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006474A1 (en) * 2012-06-28 2014-01-02 Netflix, Inc. Application Discovery
CN103517110A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Multi-screen interaction communication system and method
CN103856807A (en) * 2014-03-25 2014-06-11 北京奇艺世纪科技有限公司 Method and device for controlling interaction between screens
CN113311975A (en) * 2020-02-27 2021-08-27 华为技术有限公司 Application interaction method among multiple devices and related devices
CN111523095A (en) * 2020-03-31 2020-08-11 华为技术有限公司 Cross-device interaction method and terminal device

Cited By (5)

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

Also Published As

Publication number Publication date
CN114428618A (en) 2022-05-03

Similar Documents

Publication Publication Date Title
WO2022089207A1 (en) Cross-device application interaction method, electronic device, and server
CN114461239B (en) Software upgrading system and software upgrading method
CN116009977A (en) Notification processing method, chip, electronic device and computer-readable storage medium
WO2022121445A1 (en) Widget adding method, apparatus, and computer-readable storage medium
CN113709026A (en) Method, device, storage medium and program product for processing instant communication message
WO2023005711A1 (en) Service recommendation method and electronic device
CN114489689B (en) Application program installation method and system, electronic equipment and server
WO2022052928A1 (en) Application access method and related apparatus
WO2022052706A1 (en) Service sharing method, system and electronic device
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN113835802A (en) Device interaction method, system, device and computer readable storage medium
CN115840610A (en) Desktop dynamic effect display method and electronic equipment
WO2022267786A1 (en) Shortcut icon display method and terminal device
CN117009023B (en) Method for displaying notification information and related device
CN115017473B (en) Authorization method and electronic equipment
CN115250261B (en) Information display method and electronic equipment
WO2023061014A1 (en) Task management method and apparatus
CN116700660B (en) Audio playing method and electronic equipment
WO2023165413A1 (en) Application development system and method, and device
CN116033333B (en) Method for determining position information, electronic device and readable storage medium
WO2023061298A1 (en) Picture backup system and method, and device
WO2023045774A1 (en) Display method and electronic device
WO2024083114A1 (en) Software distribution method, electronic device, and system
US20230216732A1 (en) Network Configuration Method and Device
CN117729561A (en) System upgrading method, terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21884936

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21884936

Country of ref document: EP

Kind code of ref document: A1