CN118057798A - Application sharing method and electronic equipment - Google Patents

Application sharing method and electronic equipment Download PDF

Info

Publication number
CN118057798A
CN118057798A CN202211445265.3A CN202211445265A CN118057798A CN 118057798 A CN118057798 A CN 118057798A CN 202211445265 A CN202211445265 A CN 202211445265A CN 118057798 A CN118057798 A CN 118057798A
Authority
CN
China
Prior art keywords
application
business card
electronic device
signature
multimedia content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211445265.3A
Other languages
Chinese (zh)
Inventor
唐伟
刘瑞涛
汪芳山
刘晓波
尤鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202211445265.3A priority Critical patent/CN118057798A/en
Publication of CN118057798A publication Critical patent/CN118057798A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides an application sharing method and electronic equipment. In the method, in response to a first operation, a first electronic device generates an application business card of a first application; the application business card of the first application comprises multimedia content corresponding to the first application and a signature of the first application, wherein the signature of the first application is used for indicating installation information of the first application. The first electronic device displays an application business card of the first application. And responding to the second operation, the first electronic equipment shares the application business card of the first application to the target application, and/or the first electronic equipment sends the application business card of the first application to the second electronic equipment. By the method, the application business cards can be transferred among the electronic devices to share the application, and a user can clearly know the application through the application business cards, so that user experience is improved.

Description

Application sharing method and electronic equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to an application sharing method and an electronic device.
Background
Applications installed on electronic devices may provide various functional services to users, and when users use electronic devices, there is often a need to share applications installed on currently used electronic devices to other electronic devices. Typically, a wireless or wired communication connection may be established between two electronic devices through a transmission protocol such as wireless fidelity (WIRELESS FIDELITY, wiFi) or transmission control protocol (transmission control protocol, TCP), and an application installation package is transmitted through a communication connection between the two electronic devices. After receiving the application installation package, the receiver electronic device can install the application on the local machine, so that application sharing between the two electronic devices is realized.
However, at present, when application sharing is performed between electronic devices, only application installation packages can be transferred. When receiving a transmission request, the electronic equipment of the receiver can only know that the file is an installation package of an application, but cannot know specific information of the application, and a user does not have clear perception on the transmitted installation package of the application. It can be seen that the current application shares a single function.
Disclosure of Invention
The application provides an application sharing method and electronic equipment, which are used for providing an intuitive and quick application sharing mode.
In a first aspect, the present application provides an application sharing method, which may be applied to a first electronic device. The first electronic device may be an electronic device that initiates application sharing, and the second electronic device may be an electronic device that accepts application sharing. The method comprises the following steps: responding to the first operation, and generating an application business card of a first application by the first electronic equipment; the application business card of the first application comprises multimedia content corresponding to the first application and a signature of the first application, wherein the signature of the first application is used for indicating installation information of the first application; the first electronic device displays the application business card of the first application; and responding to the second operation, the first electronic equipment shares the application business card of the first application to the target application, and/or the first electronic equipment sends the application business card of the first application to the second electronic equipment.
In the method, when the application is shared between the electronic devices, the first electronic device can generate the application business card of the first application, the application business card of the first application can comprise multimedia content corresponding to the first application, such as content including an application interface screenshot, an effect video and the like corresponding to the first application, the application business card of the first application can visually display functions, interfaces and the like of the first application, and a user can clearly know the first application through the application business card of the first application, so that user experience is improved. In addition, the first electronic device may share the application business card of the first application to the target application, or the first electronic device may send the application business card of the first application to the second electronic device, thereby enriching the application sharing manner.
In one possible design, the generating the application business card of the first application includes: acquiring the installation information of the first application, and carrying out coding processing on the installation information of the first application based on a preset coding mode to obtain the installation information after the coding processing; generating a signature of the first application according to the installation information after the encoding processing and the first time corresponding to the first operation; and encoding the signature of the first application into a preset encoding slot of the multimedia content corresponding to the first application, and generating an application business card of the first application.
Through the design, the first electronic equipment can generate the signature of the first application, the signature can indicate the installation information of the first application, the first electronic equipment encodes the signature of the first application into the preset encoding slot of the multimedia content corresponding to the first application, so that the multimedia content carries the installation information of the application, and therefore the application business card of the first application can display the function or interface of the first application through the multimedia content and indicate the installation information of the application, and compared with the original mode of sharing the application installation package, the method is more visual, and the user experience is improved.
In one possible design, the encoding the signature of the first application into the preset encoding slot of the multimedia content corresponding to the first application includes: replacing the multimedia content in the preset coding slot by using the signature of the first application; or performing logic operation on the signature of the first application and the multimedia content in the preset coding slot.
Through the design, when the first electronic device generates the business card of the first application, the signature of the first application can be used for replacing the multimedia in the preset coding slot, so that the signature of the first application is inserted into the multimedia content; or the first electronic device may perform a logic operation on the signature of the first application and the multimedia content in the preset coding slot, so that the application business card of the first application may carry the signature of the first application while the complete content of the multimedia content is reserved.
In one possible design, the preset coding slot corresponds to a first area in the application business card of the first application; or the preset coding slot corresponds to a plurality of pixel point positions in the application business card of the first application.
Through the design, the application sharing method can provide various application business card display effects, and when the preset coding slot corresponds to the first area, the signature of the first application can be displayed on the multimedia content in the form of an image; when the preset coding slot corresponds to a plurality of pixel positions, the signature of the first application may not affect the display effect of the multimedia content.
In one possible design, the sending the application business card of the first application to the second electronic device includes: the first electronic device sends the application business card of the first application to the second electronic device through the communication application; or the first electronic device sends the application business card of the first application to the second electronic device through the end-to-end communication connection between the first electronic device and the second electronic device; or the first electronic equipment sends the application business card of the first application to the second electronic equipment through the wireless local area network.
Through the design, application sharing can be realized among the electronic devices through transferring the application business cards, so that the application sharing channel is widened, for example, application sharing can be realized among the electronic devices through communication application, end-to-end communication connection, wireless local area network and other modes, further, application sharing can be realized according to the application sharing method provided by the application in various device interaction scenes, and application sharing is more convenient.
In one possible design, the method further comprises: receiving request information sent by the second electronic equipment, wherein the request information is used for requesting to download an installation package of the first application; and sending the installation package of the first application and the application data of the first application to the second electronic equipment.
Through the design, when the second electronic equipment determines that the first application needs to be downloaded, the second electronic equipment sends request information to the first electronic equipment, and compared with the existing mode of directly transmitting the application installation package, the second user can know the first application according to the application business card of the first application, then determine whether to install the first application or not, and user experience is improved.
In one possible design, before the generating the application business card of the first application, the method further includes: and uploading the installation package of the first application and the application data of the first application to a caching device.
Through the design, the situation that the first electronic equipment uploads the installation package and application information of the first application for multiple times brings greater pressure to the communication channel can be avoided, and the application sharing efficiency is guaranteed.
In one possible design, the multimedia content corresponding to the first application includes at least one of an application snapshot of the first application, an application interface screenshot of the first application, and a video of the first application.
Through the design, when the first electronic device generates the application business card of the first application, multiple types of multimedia contents can be used, the business card contents of the first application are enriched, and the user experience is improved.
In one possible design, the installation information of the first application includes at least one of an installation packet storage address, an integrity check code, a data storage address, and an installation packet version number of the first application.
Through the design, the second electronic device which receives the application business card can acquire the installation package of the first application according to the installation information of the first application, and can also determine the version of the first application shared by the first electronic device according to the version number in the installation information, so that the second electronic device can download the first application with the same version, and the synchronism of application sharing is ensured.
In a second aspect, the present application provides an application sharing method, which may be applied to a second electronic device. The second electronic device may be an electronic device that accepts application sharing. The method comprises the following steps: the method comprises the steps that a second electronic device displays an application business card of a first application, wherein the application business card of the first application comprises multimedia content corresponding to the first application and a signature of the first application, and the signature of the first application is used for indicating installation information of the first application; and responding to a third operation, the second electronic equipment acquires an installation package of the first application according to the application business card of the first application, and installs the first application on the second electronic equipment according to the installation package of the first application.
In the above method, after the second electronic device obtains the application business card of the first application, the application business card of the first application may be displayed, and the function or the interface of the first application may be displayed through the multimedia content corresponding to the first application in the application business card of the first application. After the user triggers the third operation, the second electronic device acquires the installation package of the first application and installs the first application, so that an application sharing mode for determining whether to install after knowing the first application is provided for the user, and user experience is improved.
In one possible design, before the displaying the application business card of the first application, the method further includes: displaying an application market interface, wherein the application market interface comprises application business cards of the first application; or displaying an interface of a target application, wherein the interface of the target application comprises application business cards of the first application shared by a first user; or receiving an application business card of the first application sent by the first electronic equipment.
By the method, the second electronic equipment can acquire the application business card of the first application from the application market or the target application, and can also receive the application business card of the first application sent by the first electronic equipment, so that the application sharing channel is widened.
In one possible design, when the second electronic device obtains a plurality of candidate application business cards of a first application, before the obtaining, according to the application business card of the first application, an installation package of the first application, the method further includes: and determining the candidate application business card with the latest time according to the first time in the signature of each candidate application business card, and taking the determined candidate application business card as the application business card of the first application.
Through the design, when the second electronic device receives the application business cards of the plurality of first applications, the application business card with the latest first time in the plurality of application business cards can be determined according to the first time in the signature to analyze, and the signature of the first application is acquired, so that the signature acquired by the second electronic device is ensured to be the latest signature.
In one possible design, the obtaining, according to the application business card of the first application, the installation package of the first application includes: acquiring a signature of the first application from a preset coding slot of the multimedia content corresponding to the first application in an application business card of the first application according to a preset decoding mode; generating request information according to the signature of the first application, wherein the request information is used for requesting to download an installation package of the first application; the request information is sent to the first electronic equipment or the caching device; and receiving an installation packet of the first application and application data of the first application, which are sent by the first electronic equipment or the caching device.
In one possible design, the obtaining, according to a preset decoding manner, the signature of the first application from a preset coding slot of the multimedia content corresponding to the first application in the application business card of the first application includes: directly acquiring the signature of the first application from the preset coding slot; or acquiring first content from the preset coding slot, wherein the first content is a result obtained by performing logic operation on the signature of the first application and the multimedia content corresponding to the first application; and performing error correction coding on the first content to acquire a signature of the first application.
Through the design, when the first electronic equipment encodes the signature of the first application into the preset encoding slot of the multimedia content through the replacement operation, the second electronic equipment can directly acquire the signature of the first application from the multimedia content corresponding to the first application according to the preset encoding slot; when the first electronic device encodes the signature of the first application into the preset encoding slot of the multimedia content through logic operation, the second electronic device can perform error correction encoding on the first content, restore rewritten bits in the multimedia content corresponding to the first application, and further obtain the signature of the first application and the multimedia content in the preset encoding slot.
In one possible design, the multimedia content corresponding to the first application includes at least one of an application snapshot of the first application, an application interface screenshot of the first application, and a video of the first application.
In one possible design, the installation information of the first application includes at least one of an installation packet storage address, an integrity check code, a data storage address, and an installation packet version number of the first application.
In a third aspect, the present application provides an electronic device including a plurality of functional modules; the plurality of functional modules interact to implement the methods described in the first aspect, the second aspect, and embodiments thereof. The plurality of functional modules may be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules may be arbitrarily combined or divided based on the specific implementation.
In a fourth aspect, the present application provides an electronic device comprising at least one processor and at least one memory, the at least one memory storing computer program instructions, the at least one processor, when the electronic device is operating, performing the methods of the first aspect, the second aspect and embodiments thereof.
In a fifth aspect, the present application also provides a computer program which, when run on a computer, causes the computer to perform the method of any one of the aspects described above and embodiments thereof.
In a sixth aspect, the present application also provides a computer readable storage medium having a computer program stored therein, which when executed by a computer, causes the computer to perform the method of any one of the aspects and embodiments thereof described above.
In a seventh aspect, the present application further provides a chip for reading a computer program stored in a memory, and performing the method shown in any one of the above aspects and embodiments thereof.
In an eighth aspect, the present application further provides a chip system, where the chip system includes a processor, and the processor is configured to support a computer device to implement the method shown in any one of the above aspects and embodiments thereof. In one possible design, the chip system further includes a memory for storing programs and data necessary for the computer device. The chip system may be formed of a chip or may include a chip and other discrete devices.
Drawings
FIG. 1 is a schematic diagram of an application sharing interface;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 3 is a software structural block diagram of an electronic device according to an embodiment of the present application;
FIG. 4 is a flowchart of an application sharing method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an application business card for generating a first application triggered by a user according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an application business card of a first application according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an application business card of a first application according to an embodiment of the present application;
Fig. 8 is a schematic diagram of an application business card for displaying a first application by a first electronic device according to an embodiment of the present application;
FIG. 9 is a schematic diagram of sharing an application business card to a target application according to an embodiment of the present application;
fig. 10 is a schematic diagram of an application business card for displaying a first application by a second electronic device according to an embodiment of the present application;
FIG. 11 is a schematic diagram of an album application of a second electronic device according to an embodiment of the present application;
Fig. 12 is a schematic diagram of a second electronic device after a first application is installed according to an embodiment of the present application;
FIG. 13 is a flowchart of an application sharing method according to an embodiment of the present application;
FIG. 14 is a flowchart of an application sharing method according to an embodiment of the present application;
FIG. 15 is a flowchart of an application sharing method according to an embodiment of the present application;
Fig. 16 is a flowchart of an application sharing method according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings. Wherein in the description of embodiments of the application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature.
It should be understood that in embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one (item) below" or the like, refers to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b and c can be single or multiple.
Applications installed on electronic devices may provide various functional services to users, and when users use electronic devices, there is often a need to share applications installed on currently used electronic devices to other electronic devices. Typically, a wireless or wired communication connection may be established between two electronic devices through a transmission protocol such as WiFi or transmission control protocol (transmission control protocol, TCP), and an application installation package is transmitted through the communication connection between the two electronic devices. After receiving the application installation package, the receiver electronic device can install the application on the local machine, so that application sharing between the two electronic devices is realized.
However, at present, when application sharing is performed between electronic devices, only application installation packages can be transferred. FIG. 1 is a schematic diagram of an application sharing interface. Referring to fig. 1, when receiving a transmission request, a receiving electronic device only can know that the file is an installation package of an application, but cannot know specific information of the application, and a user does not have clear perception of the transmitted installation package of the application. In addition, the installation package files can only be transmitted between the two electronic devices in a one-to-one communication mode, and the application cannot be shared by other social platforms. It can be seen that the current application shares a single function.
Based on the above problems, the embodiment of the application provides an application sharing method. The method may be performed by a first electronic device and a second electronic device. The first electronic device may be an electronic device that initiates application sharing, and the second electronic device may be an electronic device that receives application sharing. In the method, a first electronic device responds to a first operation to generate an application business card corresponding to a first application, and the first electronic device displays the application business card of the first application. The application business card of the first application comprises multimedia content corresponding to the first application and a signature of the first application, wherein the signature of the first application is used for indicating installation information of the first application. The first electronic device responds to the second operation, and shares the application business card of the first application to the target application, and/or sends the application business card corresponding to the first application to the second electronic device. The second electronic device displays the application business card of the first application, responds to the third operation, acquires the installation package of the first application according to the application business card of the first application, and installs the first application on the second electronic device according to the installation package of the first application.
By the method, when sharing the application among the electronic devices, the first electronic device can generate the application business card of the first application, the application business card of the first application can comprise multimedia content corresponding to the first application, such as content including an application interface screenshot, an effect video and the like corresponding to the first application, the application business card of the first application can visually display functions, interfaces and the like of the first application, and a user can clearly know the first application through the application business card of the first application, so that user experience is improved. In addition, the first electronic device can share the application business card of the first application to the target application, or the first electronic device can send the application business card of the first application to the second electronic device, so that the first application sharing mode is realized, and the application sharing mode is enriched.
Embodiments of an electronic device, and for using such an electronic device, are described below. The first electronic device and the second electronic device in the embodiments of the present application may be a tablet computer, a mobile phone, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a wearable device, or the like, and the embodiments of the present application do not limit specific types of electronic devices.
In some embodiments of the application, the electronic device may also be a portable terminal device that also contains other functions, such as personal digital assistant and/or music player functions. Exemplary embodiments of portable terminal devices include, but are not limited to, piggy-back Or other operating system.
Fig. 2 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. As shown in fig. 2, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, a subscriber identity module (subscriber identification module, SIM) card interface 195, and the like.
The processor 110 may include one or more processing units, such as: 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), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution. A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. The charge management module 140 is configured to receive a charge input from a charger. The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The display 194 is used to display a display interface of an application, such as a display page of an application installed on the electronic device 100. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microLed, micro-oLed, a quantum dot LIGHT EMITTING diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an operating system, software code of at least one application program, and the like. The storage data area may store data (e.g., captured images, recorded video, etc.) generated during use of the electronic device 100, and so forth. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as pictures and videos are stored 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 playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, and the like, among others.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.
The touch sensor 180C, also referred to as a "touch panel". The touch sensor 180C may be disposed on the display 194, and the touch sensor 180C and the display 194 form a touch screen, which is also referred to as a "touch screen". The touch sensor 180C is used to detect a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180C may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100. The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization. The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc. The SIM card interface 195 is used to connect a SIM card. The SIM card may be contacted and separated from the electronic device 100 by inserting the SIM card interface 195 or extracting it from the SIM card interface 195.
It is to be understood that the components shown in fig. 2 are not to be construed as a particular limitation of the electronic device 100, and the electronic device may include more or less components than illustrated, or may combine certain components, or may split certain components, or may have a different arrangement of components. Furthermore, the combination/connection relationships between the components in fig. 2 may also be modified.
Fig. 3 is a software structure block diagram of an electronic device according to an embodiment of the present application. As shown in fig. 3, the software structure of the electronic device may be a hierarchical architecture, for example, the software may be divided into several layers, each layer having a distinct role and division of work. The layers communicate with each other through a software interface. In some embodiments, the operating system is divided into four layers, from top to bottom, an application layer, an application framework layer (FWK), a runtime (runtime) and a system library, and a kernel layer, respectively.
The application layer may include a series of application packages (application package). As shown in fig. 3, the application layer may include a camera, settings, skin modules, user Interfaces (UIs), three-way applications, and the like. The three-party application program can comprise a gallery, calendar, conversation, map, navigation, WLAN, bluetooth, music, video, short message, and the like. In the embodiment of the application, the application program layer can comprise a target installation package of a target application, wherein the electronic device requests to download from a server, and the function files and the layout files in the target installation package are adapted to the electronic device.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer may include some predefined functions. As shown in FIG. 3, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, and a notification manager.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is for providing communication functions of the electronic device. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The runtime includes a core library and a virtual machine. The runtime is responsible for the scheduling and management of the operating system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of an operating system. The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), two-dimensional graphics engine (e.g., SGL), image processing library, etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The hardware layer may include various sensors such as acceleration sensors, gyroscopic sensors, touch sensors, and the like.
It should be noted that the structures shown in fig. 2 and fig. 3 are only examples of the electronic device provided in the embodiments of the present application, and the electronic device provided in the embodiments of the present application is not limited in any way, and in a specific implementation, the electronic device may have more or fewer devices or modules than those shown in fig. 2 or fig. 3.
The application sharing method provided by the embodiment of the application is introduced below.
The application sharing method provided by the embodiment of the application can be used for sharing the application among the electronic devices. Fig. 4 is a schematic view of an application sharing scenario provided in an embodiment of the present application. Referring to fig. 4, the scenario may include a plurality of electronic devices, illustrated in fig. 4 as a first electronic device and a second electronic device. The first electronic device may be an electronic device that initiates application sharing, and the second electronic device may be an electronic device that receives application sharing. The first user may trigger the generation of an application business card of a first application on the first electronic device, and the first application may be any application installed on the first electronic device. The first electronic device may send the application business card of the first application to the second electronic device. The application business card of the first application may use the multimedia content of the first application as a carrier, such as an interface screenshot of the first application, a promotional video of the first application, and so on. The application business card of the first application may also be used to indicate installation information of the first application. After receiving the application business card of the first application, the second electronic device can request the first electronic device for an installation package of the first application according to the installation information of the first application indicated by the application business card of the first application, and then install the first application on the second electronic device according to the installation package of the first application.
In the embodiment of the application, the first electronic device and the second electronic device can share the application through end-to-end communication between the two electronic devices, for example, the first electronic device can send an application business card of the first application to the second electronic device through NFC or Bluetooth connection. The first electronic device may also share the application business card with the second electronic device through an application installed on the first electronic device. If the first electronic device sends the application business card of the first application in the chat interface of the first user and the second user through the instant messaging application, or the first electronic device shares the application business card of the first application to the social application platform in the social application. The first electronic device may also send the application business card of the first application to the second electronic device through a system level sharing function of the electronic device. The system level sharing function of the electronic device can be a function provided by an electronic device manufacturer for rapidly transferring data among a plurality of electronic devices.
Optionally, referring to fig. 4, the scenario may further include an application market server, a developer of the first application may upload an application business card of the first application to an application market, a user may view the application business card of the first application in an application of the application market installed on the electronic device, the electronic device may save the application business card of the first application to an album application, the electronic device may convert and install the first application according to the application business card of the first application, and the electronic device may further share the application business card of the first application to other electronic devices.
It can be understood that, in the embodiment of the present application, the application business card of the first application may use the multimedia content as a carrier, and application sharing between electronic devices may be regarded as sharing the multimedia content between the electronic devices, so that the scenario of sharing the multimedia content between the electronic devices is applicable to the application sharing method provided in the embodiment of the present application, which is not limited in the embodiment of the present application.
The application sharing method provided by the embodiment of the application is further described below by taking interaction of the first electronic device and the second electronic device as an example. The first electronic device is an electronic device for initiating application sharing, the second electronic device is an electronic device for receiving application sharing, and the second electronic device can be multiple.
Fig. 5 is a flowchart of an application sharing method according to an embodiment of the present application. Referring to fig. 5, the method includes the steps of:
s501: the first electronic device responds to the first operation to generate an application business card of the first application.
Alternatively, the first operation may be an operation triggered by the first user to generate an application business card of the first application, for example, the first operation may be a long-press operation, a double-click operation, etc. on an icon of the first application, and for example, the first operation may be a click operation of a generation button corresponding to the application business card of the first application. For example, fig. 6 is a schematic diagram of an application business card triggered by a user to generate a first application according to an embodiment of the present application. Referring to (a) of fig. 6, the first electronic device displays application icons of a plurality of applications installed on the first electronic device, the first user may press the icons of the first application for a long time, the first electronic device displays an interface as shown in (b) of fig. 6, in which a function list may be displayed beside the icons of the first application, and the first user may click a control corresponding to "generate business card" in the function list, to trigger the first operation.
The application business card of the first application in the embodiment of the application can be used for displaying the functions, interfaces and other contents of the first application. After detecting the first operation, the first electronic device may acquire multimedia content corresponding to the first application. Optionally, the multimedia content corresponding to the first application may include an application snapshot, an application interface screenshot, a video, and the like. The multimedia content corresponding to the first application may be used as a presentation form of an application business card of the first application, that is, when the first electronic device or the second electronic device displays the application business card of the first application, the content observable by the user may be the multimedia content corresponding to the first application.
For example, fig. 7 is a schematic diagram of an application business card of a first application according to an embodiment of the present application. Referring to fig. 7, the application business card of the first application may include multimedia content corresponding to the first application, for example, the multimedia content corresponding to the first application in fig. 7 may be an interface screenshot of the first application.
The application business card of the first application in the embodiment of the application can also comprise the signature of the first application, and the signature of the first application can be used for indicating the installation information of the first application. In an optional embodiment, after detecting the first operation, the first electronic device may acquire installation information of the first application, where the installation information of the first application may include an installation packet storage address of the first application, and optionally, the installation information of the first application may further include at least one of an integrity check code, a data storage address, an installation packet version number, and other information. The first electronic device can carry out coding processing on the installation information of the first application according to a preset coding mode to obtain the installation information after the coding processing. Alternatively, the preset encoding mode may be a serialization encoding mode, such as hash encoding. The first electronic device may acquire a first time when the user triggers the first operation, and splice the first time with the installation information after the encoding process, to generate a signature of the first application.
In the embodiment of the application, after the first electronic device generates the signature of the first application, the signature of the first application can be encoded into the preset encoding slot of the multimedia content, so that the application business card of the first application is generated.
Alternatively, the preset encoding slots may be a plurality of preset pixel bits of the multimedia content. For example, fig. 8 is a schematic diagram of a preset coding slot according to an embodiment of the present application. In fig. 8, taking multimedia content as an example of a picture, assuming that the resolution of the picture is 12×12, the picture includes 144 pixels, and the electronic device may store a pixel value of each pixel when storing the picture. For example, when the picture is in RGB format, the electronic device may store R, G, B three-channel values for each pixel in the picture. Referring to fig. 8, the preset encoding slot may be a plurality of preset pixel bits in the picture, and the plurality of pixel bits may be a plurality of continuous pixel bits or a plurality of scattered pixel bits. For example, the preset encoding slots may be 12 consecutive pixel bits within the dashed box in fig. 8; or the preset encoding slots may be 12 discrete pixel bits shown filled with black in fig. 8.
It should be noted that, when the multimedia content is a moving picture or a video, the preset encoding slot may be a plurality of pixel bits on a frame of image, or the preset encoding slot may be a plurality of pixel bits on a multi-frame image. The embodiment of the present application is not limited thereto.
In an alternative embodiment, when the first electronic device encodes the signature of the first application into the preset encoding slot of the multimedia content, the first electronic device may encode the signature of the first application into the preset encoding slot of the multimedia content through a substitution operation or a logic operation. For example, the first electronic device may replace the multimedia content corresponding to the preset encoding slot with the signature of the first application, thereby implementing encoding the signature of the first application into the preset encoding slot of the multimedia content. For another example, the first electronic device may perform a logical operation on the multimedia content corresponding to the signature of the first application and the preset encoding slot, for example, perform a superposition operation on the multimedia content corresponding to the signature of the first application and the preset encoding slot, and encode the signature of the first application into the preset encoding slot of the multimedia content. In this way, the application business card of the first application can be made to carry the signature of the first application while maintaining the complete content of the multimedia content.
As can be seen from the foregoing description, the preset encoding slot may be a plurality of continuous pixel bits or a plurality of scattered pixel bits, and in an alternative embodiment, when the preset encoding slot corresponds to the first area in the application business card, the application business card of the first application generated by the first electronic device may embody, through a display effect, a signature of the first application included in the application business card. Optionally, according to different encoding modes adopted by the first electronic device, a display mode of the signature of the first application in the application business card of the first application may also be different, for example, the signature of the first application in the application business card of the first application may be displayed as a barcode, a two-dimensional code, a mosaic area, and the like. For example, fig. 9 is a schematic diagram of an application business card of a first application according to an embodiment of the present application. Referring to fig. 9, a signature of a first application is displayed as a two-dimensional code in an application business card of the first application.
In another alternative embodiment, when the preset coding slot corresponds to the positions of the plurality of scattered pixels in the application business card, the display effect of the application business card of the first application generated by the first electronic device is the same as the display effect of the multimedia content, that is, after the signature codes of the first application are scattered and coded into the multimedia content, the scattered fewer pixels change, and the display of the multimedia content is not greatly affected, and when the electronic device displays the application business card of the first application, the content that can be seen by the user is still the multimedia content, as shown in fig. 7, where the application business card of the first application generated according to this manner can be shown in fig. 7.
In the embodiment of the application, the first electronic device can also take any one of the preset coding slots as the identification bit, the identification bit is used for storing the name card identification, and the name card identification can be used for indicating that the multimedia content is an application name card. For example, the first electronic device may use the name card identifier as a starting position of the signature of the first application when encoding the signature of the first application into a preset encoding slot of the multimedia content. After receiving the application business card of the first application, the other electronic devices can determine that the received multimedia content is the application business card according to the business card identification, can search a preset coding slot where the signature of the first application is located according to the business card identification, and acquire the signature of the first application.
S502: the first electronic device displays an application business card of the first application.
Optionally, after the first electronic device generates the application business card of the first application, the application business card of the first application may be displayed on the display screen. Fig. 10 is a schematic diagram of displaying an application business card of a first application by a first electronic device according to an embodiment of the present application. Referring to fig. 10, the first electronic device displays an application business card of the first application, and the first electronic device may also display a function control associated with the application business card of the first application in the interface, such as the save control and the share control in fig. 10. The storage control can be used for storing the application business card of the first application into the album application of the first electronic device, and the sharing control can be used for sharing the application business card of the first application to the target application or other electronic devices. It can be understood that, after the first electronic device stores the application business card of the first application in the album application of the first electronic device, the first user can view the application business card of the first application in the album application, and the first user can trigger to share the application business card of the first application in the album application.
S503: and the first electronic equipment responds to the second operation, and shares the application business card of the first application to the target application or sends the application business card of the first application to the second electronic equipment.
In an optional embodiment, the second operation may be an operation triggered by the first user to share the application business card of the first application to the target application, for example, the second operation may be a click operation applied to a sharing control corresponding to the target application. And responding to the second operation, the first electronic equipment can share the application business card corresponding to the first application to the target application corresponding to the second operation. For example, the target application may be a social application, the first user may share the application business card of the first application to the social application, thereby posting the application business card of the first application to the social platform, and other users may view the application business card of the first application shared by the first user through the social application. Fig. 11 is a schematic diagram of sharing an application business card to a target application according to an embodiment of the present application. Referring to fig. 11, the first electronic device may issue an application business card of the first application to the target application, and according to the browsing permission set by the user, friends of the first user in the target application may view and store the application business card of the first application, or may directly convert the application business card of the first application into the first application, and install the first application on the electronic device of the friends.
In another optional implementation manner, the second operation may be an operation triggered by the first user to share the application business card of the first application with the second electronic device, for example, the second operation may be a click operation applied to a sharing control corresponding to the second electronic device. In response to the second operation, the first electronic device may send the application business card of the first application to the second electronic device. If the first electronic device can send the application business card of the first application to the second electronic device in an end-to-end communication mode, if the first electronic device can send the application business card of the first application to the second electronic device through NFC connection or Bluetooth connection between the first electronic device and the second electronic device; or the first electronic device may send the application business card of the first application to the second electronic device through the instant messaging application, for example, the first electronic device sends the application business card of the first application to a server of the instant messaging application, and the server of the instant messaging application forwards the application business card of the first application to the second electronic device; or the first electronic device may send the application business card of the first application to the second electronic device through the wireless local area network, for example, when the first electronic device and the second electronic device are in the same local area network, the first electronic device may send the application business card of the first application to the router, and the router forwards the application business card of the first application to the second electronic device. It should be noted that, the above manner of communication between the first electronic device and the second electronic device is merely an example and not a limitation, and the embodiment of the present application does not limit the manner of communication between the first electronic device and the second electronic device.
S504: the second electronic device displays the application business card of the first application.
In the embodiment of the application, if the first electronic device shares the application business card of the first application to the target application, the second user can use the second electronic device to view the application business card of the first application shared by the first user in the target application. If the first electronic device sends the application business card of the first application to the second electronic device, the second electronic device can receive the application business card of the first application and display the application business card of the first application in the display screen, and optionally, the second electronic device can also store the application business card of the first application in an album application of the second electronic device.
In the embodiment of the application, after receiving the application business card of the first application, the second electronic device can determine that the application business card is currently received by the second electronic device instead of the common multimedia content according to the business card identification in the application business card of the first application, and when the second electronic device displays the application business card, the second electronic device can simultaneously display the conversion control, and the conversion control can be used for triggering the second electronic device to convert and install the first application according to the application business card of the first application.
For example, fig. 12 is a schematic diagram of displaying an application business card of a first application by a second electronic device according to an embodiment of the present application. Referring to fig. 12, the first electronic device sends an application business card of the first application to the second electronic device through the chat application, the second electronic device may display the application business card of the first application in the chat interface, and the second electronic device may also display a conversion control and a save control in the interface. The conversion control can be used for converting and installing the first application according to the application business card of the first application, and the storage control can be used for storing the application business card of the first application into the album application of the second electronic device. For example, fig. 13 is a schematic diagram of an album application of a second electronic device according to an embodiment of the present application. Referring to fig. 13, the second electronic device may save the application business card of the first application to the album application of the second electronic device, the second user may view the application business card of the first application in the album application, and the second user may trigger the second electronic device to share the application business card of the first application in the album application, or trigger the second electronic device to convert and install the first application according to the application business card of the first application.
S505: the second electronic equipment responds to the third operation, obtains an installation package of the first application according to the application business card of the first application, and installs the first application on the second electronic equipment according to the installation package of the first application.
Optionally, the third operation may be an operation triggered by the second user that the user converts and installs the first application according to the application business card of the first application. For example, the third operation may be a click operation triggered by the second user on the conversion control shown in FIG. 12. And responding to the third operation, the second electronic equipment can obtain the signature of the first application from the application business card of the first application based on a preset decoding mode according to the preset coding slot position of the signature of the first application in the multimedia content corresponding to the first application.
For example, when the first electronic device encodes the signature of the first application into the preset encoding slot of the multimedia content through the replacement operation, the second electronic device may directly obtain the signature of the first application from the multimedia content corresponding to the first application according to the preset encoding slot.
For another example, when the first electronic device encodes the signature of the first application into the preset encoding slot of the multimedia content through the logic operation, the second electronic device may obtain the first content from the multimedia content corresponding to the first application according to the preset encoding slot, where the first content is a result obtained after the logic operation is performed on the signature of the first application and the multimedia content in the preset encoding slot, and the second electronic device may perform error correction encoding on the first content, restore the rewritten bit in the multimedia content corresponding to the first application, and further obtain the signature of the first application and the multimedia content in the preset encoding slot.
According to the above description, the signature of the first application includes a first time when the user triggers the sharing application, and when the second electronic device receives the application business cards of the plurality of first applications, the second electronic device can determine, according to the first time in the signature, that the application business card of the plurality of application business cards, which is the latest in the first time, analyzes to obtain the signature of the first application, thereby ensuring that the signature obtained by the second electronic device is the latest signature.
The signature of the first application may be used to indicate installation information of the first application, the installation information of the first application may include an installation package storage address of the first application, and the installation information of the first application may further include at least one of an integrity check code, a data storage address, an installation package version number, and the like. The second electronic device can carry out integrity check on the signature of the first application according to the integrity check code, and after the verification is confirmed, the second electronic device can acquire information such as an installation package storage address, a data storage address, an installation package version number and the like of the first application in the signature of the first application.
The second electronic device may send request information to the first electronic device, where the request information may include information such as an installation package storage address, a data storage address, an installation package version number, and the like of the first application. After receiving the request information sent by the second electronic device, the first electronic device may send the installation package and the application data of the first application to the second electronic device. After receiving the installation package and the application data of the first application, the second electronic device can install the first application on the second electronic device according to the installation package and the application data of the first application.
In some scenarios of the embodiments of the present application, when the first electronic device shares the application business card of the first application to the target application or sends the application business card of the first application to the plurality of second electronic devices, there may be a plurality of second electronic devices requesting the first electronic device for an installation package of the first application, and when an end-to-end communication link is not established between the first electronic device and the plurality of second electronic devices, the first electronic device needs to send the installation package and application data of the first application to the second electronic device through a cloud server or a router in the wireless local area network, and then the first electronic device needs to upload the installation package and application information of the first application multiple times, and because of limited upload bandwidth, repeated uploading may bring a larger pressure to the communication channel. Therefore, in the embodiment of the application, the first electronic device can upload the installation package and the application data of the first application to the cache device, and at this time, the installation package storage address of the first application in the signature of the first application is the address of the installation package of the first application stored in the cache device. After detecting the third operation, the second electronic device may send the request information to the cache device, and after receiving the request information sent by the second electronic device, the cache device may send the installation package and the application data of the first application to the second electronic device. After receiving the installation package and the application data of the first application, the second electronic device can install the first application on the second electronic device according to the installation package and the application data of the first application.
For example, fig. 14 is a schematic diagram of a second electronic device after a first application is installed according to an embodiment of the present application. Referring to fig. 14, after the second electronic device installs the first application on the second electronic device according to the obtained installation package of the first application and application data, an icon of the first application may be displayed on an interface of the second electronic device, and the second user may use the first application on the second electronic device.
Optionally, the application sharing method provided by the embodiment of the application can be used as a system level function or an application level function of the electronic device. Specifically, according to the application sharing method provided by the embodiment of the application, the operating system of the electronic equipment can support the generation of the application business card, and can also analyze the received application business card, convert and install the application according to the application business card. Or the application sharing method provided by the embodiment of the application can be used as a plug-in function of an application (such as an application market), and when the application runs, the electronic equipment can generate application business cards of other applications, analyze the received application business cards and convert and install the application according to the application business cards.
The application sharing method provided by the embodiment of the application is further described below by using two examples.
Example 1
Fig. 15 is a flowchart of an application sharing method according to an embodiment of the present application. Referring to fig. 15, the method includes the steps of:
s1501: the first electronic device responds to the first operation to generate an application business card of the first application.
The application business card of the first application comprises multimedia content corresponding to the first application and a signature of the first application, and the signature of the first application can be used for indicating installation information of the first application.
S1502: the first electronic device displays an application business card of the first application.
S1503: and the first electronic equipment responds to the second operation and sends the application business card of the first application to the second electronic equipment.
S1504: the second electronic device displays the application business card of the first application.
S1505: and the second electronic equipment responds to the third operation, and obtains the installation information of the first application according to the signature of the first application in the application business card of the first application.
S1506: the second electronic device generates request information according to the installation information of the first application.
S1507: the second electronic device sends the request information to the first electronic device.
Alternatively, the request information may include installation information of the first application.
S1508: the first electronic device sends the installation package of the first application and the application data to the second electronic device.
S1509: the second electronic device installs the first application on the second electronic device according to the installation package of the first application and the application data.
It should be noted that, in the embodiment of the application sharing method shown in fig. 15 of the present application, reference may be made to the above embodiments of the present application, and the repetition is not repeated.
Example 2
In example 2, the caching device may be a storage container in a cloud server, and may also be a router in a wireless lan. Fig. 16 is a flowchart of an application sharing method according to an embodiment of the present application. Referring to fig. 16, the method includes the steps of:
s1601: and the first electronic equipment responds to the first operation and sends the installation package of the first application and the application data to the caching device.
S1602: the first electronic device generates an application business card of the first application.
Optionally, the application business card of the first application includes multimedia content corresponding to the first application and a signature of the first application, where the signature of the first application may be used to indicate installation information of the first application. The installation information of the first application may include an installation packet storage address of the first application, where the address may be an address of storing the installation packet of the first application in the cache device.
S1603: the first electronic device displays an application business card of the first application.
S1604: and the first electronic equipment responds to the second operation to share the application business card of the first application to the target application.
S1605: and the second electronic equipment runs the target application and displays the application business card of the first application in the target application.
S1606: and the second electronic equipment responds to the third operation, and obtains the installation information of the first application according to the signature of the first application in the application business card of the first application.
S1607: the second electronic device generates request information according to the installation information of the first application.
S1608: the second electronic device sends the request information to the caching device.
Alternatively, the request information may include installation information of the first application.
S1609: and the caching device sends the installation package and the application data of the first application to the second electronic equipment.
S1610: the second electronic device installs the first application on the second electronic device according to the installation package of the first application and the application data.
It should be noted that, in the implementation of the application sharing method shown in fig. 16 of the present application, reference may be made to the above embodiments of the present application, and the repetition is not repeated.
Based on the above embodiments, the present application further provides an electronic device, including a plurality of functional modules; the functional modules interact to implement the methods described in the embodiments of the present application. The plurality of functional modules may be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules may be arbitrarily combined or divided based on the specific implementation.
Based on the above embodiments, the present application further provides an electronic device, where the electronic device includes at least one processor and at least one memory, where the at least one memory stores computer program instructions, and where the at least one processor executes the methods described in the embodiments of the present application when the electronic device is running.
Based on the above embodiments, the present application also provides a computer program which, when run on a computer, causes the computer to perform the methods described in the embodiments of the present application.
Based on the above embodiments, the present application also provides a computer-readable storage medium having stored therein a computer program which, when executed by a computer, causes the computer to execute the methods described in the embodiments of the present application.
Based on the above embodiment, the present application further provides a chip, where the chip is configured to read a computer program stored in a memory, and implement the methods described in the embodiments of the present application.
Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the methods described in the embodiments of the present application. In one possible design, the chip system further includes a memory for storing programs and data necessary for the computer device. The chip system can be composed of chips, and can also comprise chips and other discrete devices.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows 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 a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (20)

1. An application sharing method applied to a first electronic device is characterized by comprising the following steps:
generating an application business card of a first application in response to a first operation; the application business card of the first application comprises multimedia content corresponding to the first application and a signature of the first application, wherein the signature of the first application is used for indicating installation information of the first application;
displaying the application business card of the first application;
and responding to a second operation, sharing the application business card of the first application to a target application, and/or sending the application business card of the first application to second electronic equipment.
2. The method of claim 1, wherein generating the application business card for the first application comprises:
Acquiring the installation information of the first application, and carrying out coding processing on the installation information of the first application based on a preset coding mode to obtain the installation information after the coding processing;
generating a signature of the first application according to the installation information after the encoding processing and the first time corresponding to the first operation;
And encoding the signature of the first application into a preset encoding slot of the multimedia content corresponding to the first application, and generating an application business card of the first application.
3. The method of claim 2, wherein encoding the signature of the first application into the preset encoding slot of the multimedia content corresponding to the first application comprises:
Replacing the multimedia content in the preset coding slot by using the signature of the first application; or alternatively
And carrying out logic operation on the signature of the first application and the multimedia content in the preset coding slot.
4. A method as claimed in claim 2 or 3, wherein the predetermined code slot corresponds to a first area in an application business card of the first application; or the preset coding slot corresponds to a plurality of pixel point positions in the application business card of the first application.
5. The method of any one of claims 1-4, wherein the sending the application business card of the first application to the second electronic device comprises:
The first electronic device sends the application business card of the first application to the second electronic device through the communication application; or alternatively
The first electronic device sends the application business card of the first application to the second electronic device through end-to-end communication connection between the first electronic device and the second electronic device; or alternatively
And the first electronic equipment sends the application business card of the first application to the second electronic equipment through the wireless local area network.
6. The method of any one of claims 1-5, wherein the method further comprises:
Receiving request information sent by the second electronic equipment, wherein the request information is used for requesting to download an installation package of the first application;
And sending the installation package of the first application and the application data of the first application to the second electronic equipment.
7. A method as recited in any one of claims 1-6, wherein prior to said generating an application business card for a first application, the method further comprises:
and uploading the installation package of the first application and the application data of the first application to a caching device.
8. The method of any of claims 1-7, wherein the multimedia content corresponding to the first application comprises at least one of an application snapshot of the first application, an application interface screenshot of the first application, a video of the first application.
9. The method of any of claims 1-8, wherein the installation information of the first application includes at least one of an installation package deposit address, an integrity check code, a data deposit address, an installation package version number of the first application.
10. An application sharing method applied to a second electronic device, wherein the method comprises the following steps:
Displaying an application business card of a first application, wherein the application business card of the first application comprises multimedia content corresponding to the first application and a signature of the first application, and the signature of the first application is used for indicating installation information of the first application;
and responding to a third operation, acquiring an installation package of the first application according to the application business card of the first application, and installing the first application on the second electronic equipment according to the installation package of the first application.
11. The method of claim 10, wherein prior to said displaying the application business card of the first application, the method further comprises:
Displaying an application market interface, wherein the application market interface comprises application business cards of the first application; or alternatively
Displaying an interface of a target application, wherein the interface of the target application comprises application business cards of the first application shared by a first user; or alternatively
And receiving an application business card of the first application sent by the first electronic equipment.
12. The method of claim 10 or 11, wherein when the second electronic device obtains a plurality of candidate application business cards of a first application, before the obtaining an installation package of the first application according to the application business card of the first application, the method further comprises:
And determining the candidate application business card with the latest time according to the first time in the signature of each candidate application business card, and taking the determined candidate application business card as the application business card of the first application.
13. A method according to any one of claims 10-12, wherein the obtaining an installation package of the first application from an application business card of the first application comprises:
acquiring a signature of the first application from a preset coding slot of the multimedia content corresponding to the first application in an application business card of the first application according to a preset decoding mode;
generating request information according to the signature of the first application, wherein the request information is used for requesting to download an installation package of the first application;
The request information is sent to the first electronic equipment or the caching device;
And receiving an installation packet of the first application and application data of the first application, which are sent by the first electronic equipment or the caching device.
14. The method of claim 13, wherein the obtaining, according to a preset decoding manner, the signature of the first application from a preset encoding slot of the multimedia content corresponding to the first application in the application business card of the first application includes:
Directly acquiring the signature of the first application from the preset coding slot; or alternatively
Acquiring first content from the preset coding slot, wherein the first content is a result obtained by performing logic operation on a signature of the first application and multimedia content corresponding to the first application; and performing error correction coding on the first content to acquire a signature of the first application.
15. The method of any of claims 10-14, wherein the multimedia content corresponding to the first application includes at least one of an application snapshot of the first application, an application interface screenshot of the first application, a video of the first application.
16. The method of any of claims 10-15, wherein the installation information of the first application includes at least one of an installation package deposit address, an integrity check code, a data deposit address, an installation package version number of the first application.
17. An electronic device comprising at least one processor coupled to at least one memory, the at least one processor configured to read a computer program stored in the at least one memory to perform the method of any one of claims 1-9 or to perform the method of any one of claims 10-16.
18. An electronic device comprising a plurality of functional modules; the plurality of functional modules interact to implement the method of any of claims 1-9 or to perform the method of any of claims 10-16.
19. A computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of any one of claims 1-9 or to perform the method of any one of claims 10-16.
20. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 9 or to perform the method of any one of claims 10 to 16.
CN202211445265.3A 2022-11-18 2022-11-18 Application sharing method and electronic equipment Pending CN118057798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211445265.3A CN118057798A (en) 2022-11-18 2022-11-18 Application sharing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211445265.3A CN118057798A (en) 2022-11-18 2022-11-18 Application sharing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN118057798A true CN118057798A (en) 2024-05-21

Family

ID=91068493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211445265.3A Pending CN118057798A (en) 2022-11-18 2022-11-18 Application sharing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN118057798A (en)

Similar Documents

Publication Publication Date Title
CN112291764B (en) Content connection system
CN113835649B (en) Screen projection method and terminal
CN114442969B (en) Inter-equipment screen collaboration method and equipment
CN115514882B (en) Distributed shooting method, electronic equipment and medium
CN112738143A (en) Account number binding method, device and system
CN115080941B (en) Account login method and electronic equipment
CN116033342B (en) Geofence processing method, equipment and storage medium
WO2023005711A1 (en) Service recommendation method and electronic device
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN118057798A (en) Application sharing method and electronic equipment
CN116204254A (en) Annotating page generation method, electronic equipment and storage medium
CN116263683A (en) Cross-equipment display method and equipment system for application interface
CN114827439A (en) Panoramic image shooting method and electronic equipment
CN116846853A (en) Information processing method and electronic equipment
WO2023061298A1 (en) Picture backup system and method, and device
WO2024188032A1 (en) Communication method, device, and server
CN117216428B (en) Webpage resource request method, terminal equipment and computer readable storage medium
CN116708334B (en) Notification message display method and electronic equipment
CN116418790A (en) Service quality detection method, system and equipment
CN118170966A (en) Recommendation method, electronic equipment and server
CN117241263A (en) Message communication method and device
CN117632534A (en) Inter-process communication method and electronic equipment
CN117950767A (en) Content sharing method, system, electronic equipment and medium
CN117640717A (en) Equipment connection method and equipment
CN116737123A (en) Application development system, method and equipment

Legal Events

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