Sharing method and apparatus, electronic device, and readable medium

By generating sharing link information associated with a specified application platform through near-field communication technology, the problem of cumbersome steps in sharing application content in existing technologies is solved, thus improving the user experience.

CN115080065BActive Publication Date: 2025-11-18BEIJING 58 INFORMATION TTECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210542028.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-18
Publication Date
2025-11-18
Estimated Expiration
2042-05-18

AI Technical Summary

Technical Problem

In existing technologies, sharing application content involves cumbersome steps and results in a poor user experience.

Method used

Near Field Communication (NFC) technology is used to generate a sharing link associated with a specified application platform, and then the link is shared with the recipient via NFC so that the recipient can obtain the application content based on the installation status.

Benefits of technology

It simplifies the process of sharing application content and improves the user's sharing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115080065B_ABST
    Figure CN115080065B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a sharing method and device, electronic equipment and storage medium, the method comprising: determining application content to be shared by an application; generating sharing link information corresponding to the application content; the sharing link information is information associated with a specified application platform supporting a near field communication mode, the specified application platform being a platform providing the application; and sharing the sharing link information to a shared end through the near field communication mode, so that the shared end acquires the application content according to the installation state of the application and the sharing link information after determining the installation state of the application. The shared end of the embodiments of the present application can share the application content to the shared end through the near field communication mode, and the operation steps of the shared end are simple, which is conducive to improving the sharing experience of users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of Internet technology, and in particular to a sharing method, a sharing device, an electronic device, and a computer-readable medium. Background Technology

[0002] With the rapid development of the internet, online information has become increasingly abundant, leading to an explosive growth in the number of various applications. Users can use these applications for social networking, browsing news, online shopping, playing music, and more. In particular, users can share application content with friends to share what they see and hear.

[0003] In existing technologies, sharing application content first requires the sharer to send relevant information about the application content, such as keywords, QR codes, or links, via a sharing device. Then, the recipient uses this information to search for the application content. Finally, the recipient obtains the application content using the same information. Clearly, completing the sharing process is cumbersome for both the sharer and the recipient, resulting in a poor user experience. Summary of the Invention

[0004] The present invention provides a sharing method, apparatus, electronic device, and computer-readable storage medium to solve the problem of cumbersome operation steps when sharing application content.

[0005] This invention discloses a sharing method, the method comprising:

[0006] Determine the application content to be shared;

[0007] Generate sharing link information corresponding to the application content; the sharing link information is information that supports near-field communication and is associated with a specified application platform, the specified application platform being the platform that provides the application;

[0008] The sharing link information is shared to the receiving end via the near-field communication method, so that the receiving end can obtain the application content based on the installation status and the sharing link information after determining the installation status of the application.

[0009] Optionally, generating the share link information corresponding to the application content includes:

[0010] Specify the application platform;

[0011] For each specified application platform, generate sharing link information that supports near-field communication for the application content; wherein, the application content includes at least the application, the application's page, and the content within the application's page.

[0012] Optionally, the installation status includes an installed status and an uninstalled status.

[0013] This invention also discloses a sharing method, the method comprising:

[0014] Read sharing link information from the sharing terminal; the sharing link information is information that supports near-field communication and is associated with a specified application platform, the specified application platform being the platform that provides the application;

[0015] Determine the installation status of the application on the receiving end;

[0016] The application content is obtained based on the installation status and the sharing link information.

[0017] Optionally, obtaining the application content based on the installation status and the sharing link information includes:

[0018] The sharing link information corresponding to the specified application platform supported by the sharing end is used as the target sharing link information;

[0019] The application content is obtained based on the installation status and the target sharing link information.

[0020] Optionally, obtaining the application content based on the installation status and the target sharing link information includes:

[0021] When the installation status is "installed"

[0022] If the target sharing link information is a deep link or a custom link, then open the page of the application corresponding to the deep link or the custom link; or, after opening the page of the application corresponding to the deep link or the custom link, locate the content in the page of the application of the deep link or the custom link.

[0023] If the target sharing link information is an application identifier, then the start page of the application corresponding to the application identifier will be opened.

[0024] Optionally, obtaining the application content based on the installation status and the target sharing link information includes:

[0025] When the installation status is not installed.

[0026] If the target sharing link information is a deep link, then the application is downloaded from the specified application platform corresponding to the deep link;

[0027] If the target sharing link is a custom link, then the user is prompted to install the application.

[0028] If the target sharing link information is an application identifier, then the application is downloaded from the specified application platform supported by the sharing end based on the application identifier.

[0029] This invention also discloses a sharing system, the system comprising:

[0030] The sharing end is used to determine the application content to be shared and generate sharing link information corresponding to the application content; the sharing link information is information that supports near-field communication and is associated with a specified application platform, the specified application platform being the platform that provides the application.

[0031] The receiving end is used to obtain the application content based on the installation status and the sharing link information after determining the installation status of the application.

[0032] Optionally, the sharing terminal is used to determine a specified application platform; and generate sharing link information that supports near-field communication for the application content corresponding to the specified application platform; wherein the application content includes at least the application, the page of the application, and the content in the page of the application.

[0033] Optionally, the installation status may include an installed status and an uninstalled status.

[0034] Optionally, the sharing end is configured to use the sharing link information corresponding to the specified application platform supported by the sharing end as the target sharing link information; and obtain the application content according to the installation status and the target sharing link information.

[0035] Optionally, the shared device is configured to, when the installation status is "installed", if the target sharing link information is a deep link or a custom link, open the page of the application corresponding to the deep link or the custom link, or, after opening the page of the application corresponding to the deep link or the custom link, locate the content in the page of the application of the deep link or the custom link; if the target sharing link information is an application identifier, open the start page of the application corresponding to the application identifier.

[0036] Optionally, the sharing device is configured to, when the installation status is not installed, download the application from the specified application platform corresponding to the deep link if the target sharing link information is a deep link; prompt the user to install the application if the target sharing link information is a custom link; and download the application from the specified application platform supported by the sharing device according to the application identifier if the target sharing link information is an application identifier.

[0037] This invention also discloses a sharing device, the device comprising:

[0038] The application content determination module is used to determine the application content to be shared by the application.

[0039] A sharing link information generation module is used to generate sharing link information corresponding to the application content; the sharing link information is information that supports near-field communication and is associated with a specified application platform, and the specified application platform is the platform that provides the application.

[0040] The sharing link information sharing module is used to share the sharing link information to the receiving end via the near-field communication method, so that the receiving end can obtain the application content based on the installation status and the sharing link information after determining the installation status of the application.

[0041] Optionally, the sharing link information generation module is used to determine a specified application platform; and generate sharing link information supporting near-field communication for the application content corresponding to the specified application platform; wherein the application content includes at least the application, the page of the application, and the content in the page of the application.

[0042] Optionally, the installation status includes an installed status and an uninstalled status.

[0043] This invention also discloses a sharing device, the device comprising:

[0044] The sharing link information reading module is used to read sharing link information from the sharing end; the sharing link information is information that supports near-field communication and is associated with a specified application platform, and the specified application platform is the platform that provides the application.

[0045] The installation status determination module is used to determine the installation status of the application in the sharing terminal;

[0046] The application content acquisition module is used to acquire the application content based on the installation status and the sharing link information.

[0047] Optionally, the application content acquisition module is used to take the sharing link information corresponding to the specified application platform supported by the sharing terminal as the target sharing link information; and to acquire the application content according to the installation status and the target sharing link information.

[0048] Optionally, the application content acquisition module is configured to, when the installation status is "installed", if the target sharing link information is a deep link or a custom link, open the page of the application corresponding to the deep link or the custom link, or, after opening the page of the application corresponding to the deep link or the custom link, locate the content in the page of the application of the deep link or the custom link; if the target sharing link information is an application identifier, open the start page of the application corresponding to the application identifier.

[0049] Optionally, the application content acquisition module is configured to, when the installation status is not installed, download the application from the specified application platform corresponding to the deep link if the target sharing link information is a deep link; prompt the user to install the application if the target sharing link information is a custom link; and download the application from the specified application platform supported by the sharing end according to the application identifier if the target sharing link information is an application identifier.

[0050] This invention also discloses an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0051] The memory is used to store computer programs;

[0052] When the processor executes a program stored in the memory, it implements the method described in the embodiments of the present invention.

[0053] This invention also discloses one or more computer-readable media storing instructions that, when executed by one or more processors, cause the processors to perform the methods described in this invention.

[0054] This invention also discloses a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in this invention.

[0055] The embodiments of the present invention have the following advantages:

[0056] In this embodiment of the invention, the application content to be shared is determined, and sharing link information corresponding to the application content is generated. The sharing link information supports near-field communication (NFC) and is associated with a specified application platform, which is the platform providing the application. Then, the sharing link information can be shared to the recipient via NFC, allowing the recipient to determine the application's installation status and obtain the shared application content based on the installation status and the sharing link information. The sharing terminal in this embodiment of the invention can share application content to the recipient via NFC, and the operation steps are simple, which improves the user's sharing experience. Attached Figure Description

[0057] Figure 1 This is a schematic diagram of an application environment provided in an embodiment of the present invention;

[0058] Figure 2 This is a flowchart of the steps of a sharing method provided in an embodiment of the present invention;

[0059] Figure 3 This is a flowchart of another sharing method provided in an embodiment of the present invention;

[0060] Figure 4 This is a flowchart of the steps for obtaining application content provided in an embodiment of the present invention;

[0061] Figure 5 This is a schematic diagram of an NDEF format structure provided in an embodiment of the present invention;

[0062] Figure 6 This is a flowchart illustrating how a sharing end and a shared end can achieve sharing, as provided in an embodiment of the present invention.

[0063] Figure 7 This is a structural block diagram of a sharing system provided in an embodiment of the present invention;

[0064] Figure 8 This is a structural block diagram of a sharing device provided in an embodiment of the present invention;

[0065] Figure 9 This is a structural block diagram of another sharing device provided in an embodiment of the present invention;

[0066] Figure 10 This is a block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0067] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0068] In daily life, users often encounter situations where they want to share application content, such as the application itself, its pages, or content within those pages, with friends they are chatting with. Sharing application content typically involves several steps: First, the sharer sends relevant information about the application content via the sharing device, such as keywords, QR codes, or links. Then, the recipient uses that information to search for the content. Finally, the recipient uses that information to access the application content.

[0069] The first step, where the sharer sends the application content information through the sharing terminal, can be done in the following ways: 1. Sending the application content name through chat software; 2. Verbally conveying the application content name; 3. Sharing the application content via QR code or link.

[0070] However, the above sharing solutions have the following drawbacks: 1. Sharing the application name via chat software is cumbersome on the sharing end, as it requires opening the chat software, entering the application name, and then sharing. 2. Verbally conveying the application name has a high error rate, requiring multiple confirmations between the sharing end and the recipient to ensure accuracy. 3. Sharing via QR codes or links is cumbersome on the recipient's end, requiring them to open the camera, adjust the ambient lighting, and scan the QR code.

[0071] One of the core inventive points of this invention is to provide a new sharing method that uses NFC (Near Field Communication) technology as a point-to-point sharing medium, so that the sharing end and the sharing end can quickly and conveniently share application content, thereby improving the user's sharing experience.

[0072] The sharing method provided in this embodiment of the invention can be applied to, for example... Figure 1 In the application environment shown, the sharing terminal 102 communicates with the receiving terminal 104 via near-field communication (NFC). Specifically, the sharing terminal 102 determines the application content to be shared; generates sharing link information corresponding to the application content; the sharing link information is information that supports NFC and is associated with a specified application platform, which is the platform that provides the application; and shares the sharing link information to the receiving terminal 104 via NFC, so that the receiving terminal 104, after determining the installation status of its application, can obtain the application content based on the installation status and the sharing link information.

[0073] In practical applications, the sharing end 102 and the sharing end 104 may include, but are not limited to, mobile phones, tablets, wearable devices, in-vehicle devices, augmented reality (AR) devices, virtual reality (VR) devices, laptops, personal computers (PCs), personal digital assistants (PDAs), and other electronic devices.

[0074] Reference Figure 2 The diagram illustrates a flowchart of a sharing method provided in an embodiment of the present invention, which may specifically include the following steps:

[0075] Step 202: Determine the application content to be shared.

[0076] In practical implementation, an application can run on the terminal device (client). The terminal device refers to a mobile device that supports reading or sending data via the NFC protocol. NFC is a universal short-range peer-to-peer transmission protocol that allows data transfer between supporting terminal devices at close range (a few centimeters). The data transfer speed is very fast, typically reaching 800 kbps (kilobits per second).

[0077] The NFC protocol supports multiple modes, including reader mode and card emulation mode. Card emulation mode allows a terminal device to emulate an NFC tag capable of storing NDEF formatted data, while reader mode allows reading NDEF formatted data from NFC tags. Specifically, NDEF is a standardized data transmission format common to the NFC protocol, used for exchanging information between any compatible NFC terminal device and another NFC terminal device. NDEF stands for NFC Data Exchange Format. NDEF formatted data can include two parts: NDEF messages and NDEF records. An NDEF message can contain multiple NDEF records. NDEF records can be used to store data such as URIs (Uniform Resource Identifiers) and plain text. By setting the TNF (Type Name Format) flag bit of each NDEF record, the information format of the current NDEF record is confirmed, thus ensuring data transmission consistency.

[0078] In this embodiment of the invention, the terminal device that sends data based on the NFC protocol is called the sharing end, and the terminal device that reads data based on the NFC protocol is called the shared end. Specifically, the sharing end (card emulation end) is a client that has enabled the card emulation mode of a terminal device that supports the NFC protocol; the shared end (reading end) is a terminal device that has enabled the card reader mode of a terminal device that supports the NFC protocol. In practical applications, the shared end can quickly establish a connection (the connection establishment time is less than or equal to 0.1 seconds) and complete data transmission by placing it close to the sharing end. In practical applications, the roles of the sharing end and the shared end can be interchanged. For example, the sharing end can act as a terminal device that reads data, and the shared end can act as a terminal device that shares data. This embodiment of the invention does not limit this.

[0079] As a concrete example, the application content to be shared can at least include the application itself, its pages, and the content within those pages. For instance, if the application content is the application itself, it means sharing the application itself, such as a lifestyle application; if the application content is a page within the application, it means sharing a specific page within the application, such as a house listing page in a lifestyle application; if the application content is content within a page within the application, it means sharing the content within a specific page within the application, such as a section describing the house layout in a house listing page in a lifestyle application.

[0080] Step 204: Generate sharing link information corresponding to the application content; the sharing link information is information that supports near-field communication and is associated with a specified application platform, the specified application platform being the platform that provides the application.

[0081] Supporting near-field communication (NFC) means supporting communication based on the NFC protocol. The specified application platform refers to the application platform corresponding to a mainstream operating system, such as an app store (App Store), for example, the application platforms corresponding to iOS, Android, and Windows operating systems. The application platform can provide the application, for example, by providing an installation package, a cloud application provided through cloud technology, or a mini-program (a mini-program is an application that can be used without downloading and installation). Optionally, supporting NFC can also mean supporting Wi-Fi (Wireless Fidelity), Bluetooth, and other short-range communication methods; this embodiment of the invention does not impose any limitations on this.

[0082] Specifically, the user on the sharing end selects the application content within the application and then chooses to share it via NFC. The sharing end generates a sharing link information corresponding to the application content according to the NDEF format and saves it in memory for the receiving end to read. The sharing link information can be stored in a format where one sharing link corresponds to one specified application platform. That is, assuming there are three specified application platforms, one application content can generate three sharing link information entries. The sharing link information can then be stored as an NDEF record in the NDEF format data. In other words, if there are multiple sharing link information entries corresponding to multiple specified application platforms, the NDEF format data will contain multiple NDEF records.

[0083] Step 206: Share the sharing link information to the receiving end via the near-field communication method, so that the receiving end can obtain the application content based on the installation status and the sharing link information after determining the installation status of the application.

[0084] The installation status can include both installed and uninstalled states. For example, suppose the sharing end is sharing the content of application A. If the receiving end also has application A installed, then application A is considered to be installed. If the receiving end does not have application A installed, then application A is considered to be uninstalled.

[0085] In this embodiment of the invention, when a user on the sharing end selects to share via NFC in the application, card emulation mode is activated. Subsequently, the sharing link information can be shared to the receiving end via near-field communication. After reading the sharing link information, the receiving end can determine the installation status of the application. Thus, based on the application's installation status and the sharing link information, the application content can be obtained. Optionally, the sharing end can maintain card emulation mode until the receiving end has finished reading or the user cancels it.

[0086] As a concrete example, suppose there are users A and B. User A has an application installed on their sharing device. User A can operate the application on their sharing device to determine the application content to be shared with user B. For example, user A can determine the application content to be shared by selecting the application, selecting the currently displayed page of the application, or selecting an image on the currently displayed page. Then, an NFC sharing control is displayed in the application on user A's sharing device. By operating the NFC sharing control, user A can share the application content to be shared with user B via NFC communication. User A's sharing device will generate corresponding sharing link information based on the application content and save it as an NDEF record in NDEF format data. User B can then read the NDEF record in the NDEF format data through the receiving device to obtain the sharing link information, and thus obtain the application content based on the sharing link information.

[0087] In an exemplary embodiment, step 204, generating the share link information corresponding to the application content, may include the following steps:

[0088] Specify the application platform;

[0089] For each specified application platform, generate sharing link information that supports near-field communication for the application content; wherein, the application content includes at least the application, the application's page, and the content within the application's page.

[0090] The specified application platform can be one or more. Therefore, if there are multiple specified application platforms, then multiple sharing link information corresponding to each specified application platform can be generated based on one application content.

[0091] Specifically, when a user on the sharing end selects to share via NFC in the application, card emulation mode is enabled. In card emulation mode, the sharing end can read the application content to be shared and generate sharing link information corresponding to the specified application platform (application platforms of mainstream operating systems such as iOS, Android, and Windows). This sharing link information can be encrypted data generated according to the NFC data transmission format, such as NDEF format, and stored in memory for the sharing end to read.

[0092] Reference Figure 5NDEF format data consists of multiple NDEF records. Each NDEF record comprises a record header and a record payload. The data type and size of the NDEF record are specified in the record header carrying the payload. The record header contains many important fields, such as MB, CF, SR, IL, TNF, Type Length, Payload Length, and Type, etc.

[0093] Specifically: MB (message beginning): Indicates whether the record is the first record; 1 indicates the record is the first record, and 0 indicates the record is not the first record; ME (message end): Indicates whether the record is the last record; 1 indicates the record is the last record, and 0 indicates the record is not the last record; CF (chuck flag): Indicates whether the record is truncated; SR (short record): Indicates whether the record is a long record or a short record; 1 indicates the record is a short record, and the payload length occupies only one byte; 0 indicates a long record, and the payload length occupies only four bytes; IL: Indicates whether the ID length field exists. If it is set to 0, the ID length field will be omitted in the record; TNF (type name format): Indicates the type of format used; Type Length: Indicates the length of the "Record Type" field; Payload Length: Indicates the length of the valid content of the record; Type: Record type, which may include text record format, URI record type, etc.

[0094] As a concrete example, you can set the Type Length to 16 bytes and the Type to "application / json" in the header of the NDEF record. This way, you can write the share link information in the payload of the NDEF record.

[0095] It's understandable that since the sharing link information is generated separately by the sharing client for each specific application platform, there's no need to worry about the application platforms supported by the receiving client. After the sharing client shares the link information to the receiving client, the receiving client selects the corresponding sharing link information based on its supported application platform to access the application content. This method avoids situations where the sharing client shares sharing links for application platforms it doesn't support, preventing the receiving client from accessing the application content and ensuring a better user sharing experience.

[0096] In the above sharing method, the application content to be shared is determined, and sharing link information corresponding to the application content is generated. This sharing link information supports near-field communication (NFC) and is associated with a specified application platform, which is the platform providing the application. Then, the sharing link information can be shared to the recipient via NFC, allowing the recipient to determine the application's installation status and obtain the shared application content based on the installation status and the sharing link information. The sharing terminal in this embodiment of the invention can share application content to the recipient via NFC. The operation steps of the sharing terminal are simple, which helps improve the user's sharing experience.

[0097] Reference Figure 3 The diagram illustrates a flowchart of another sharing method provided in an embodiment of the present invention, which may specifically include the following steps:

[0098] Step 302: Read the sharing link information from the sharing terminal; the sharing link information is information that supports near-field communication and is associated with a specified application platform, and the specified application platform is the platform that provides the application.

[0099] Step 304: Determine the installation status of the application on the shared device.

[0100] Step 306: Obtain the application content based on the installation status and the sharing link information.

[0101] In the specific implementation, the reader mode of the device being shared with can be always on and turned off when switching to card emulation mode. Alternatively, the reader mode can be turned on only when it is necessary to read the sharing link information from the sharing device. When the device being shared with has its reader mode on and is close to the sharing device, it can read the sharing link information from the sharing device's NDEF format data. Subsequently, the NFC parser of the device being shared with will parse the sharing link information based on the information in the TNF field and transmit the parsed sharing link information to the device being shared with. After receiving the parsed sharing link information, the device being shared with will determine the installation status of its application, such as whether it is installed or not, and then retrieve the application content based on the installation status and the sharing link information.

[0102] In an exemplary embodiment, step 306, obtaining the application content based on the installation status and the sharing link information, may include the following steps:

[0103] Step 402: Take the sharing link information corresponding to the specified application platform supported by the sharing terminal as the target sharing link information;

[0104] Step 404: Obtain the application content based on the installation status and the target sharing link information.

[0105] In this embodiment of the invention, the sharing link information can be generated for multiple specified application platforms, such as application platforms corresponding to operating systems like iOS, Android, and Windows. Therefore, when the receiving end reads the sharing link information from the sharing end, the NFC parser will parse the sharing link information according to the information in the TNF field. The parsed sharing link information will carry the information of the application platform. The sharing link information corresponding to the specified application platform supported by the operating system of the receiving end will be selected as the target sharing link information.

[0106] For example, assuming the specified application platform supported by the sharing end is the application platform corresponding to iOS, the sharing link information corresponding to iOS in the sharing link information can be used as the target sharing link information, so that the application content can be further obtained according to the application's installation status and the target sharing link information.

[0107] In an exemplary embodiment, step 404, obtaining the application content based on the installation status and the target sharing link information, may include the following steps:

[0108] When the installation status is "installed", if the target sharing link information is a deep link or a custom link, then the page of the application corresponding to the deep link or the custom link is opened; or, after opening the page of the application corresponding to the deep link or the custom link, the content of the page of the application of the deep link or the custom link is located. If the target sharing link information is an application identifier, then the start page of the application corresponding to the application identifier is opened.

[0109] When the installation status is not installed, if the target sharing link information is a deep link, the application is downloaded from the specified application platform corresponding to the deep link; if the target sharing link information is a custom link, the user is prompted to install the application; if the target sharing link information is an application identifier, the application is downloaded from the specified application platform supported by the sharing device according to the application identifier.

[0110] The shared link information can include deep links, custom links, or application identifiers.

[0111] Deep links (also known as universal links) are based on the application's internal logic. They directly navigate to a corresponding page within the application or trigger specific logic. The purpose of deep links is to open the application, open a specific page within the application, or directly jump to a specific page within the application and locate specific content. Of course, deep links require that the application is installed on the device and that the application programmatically supports the syntax definition of the deep link.

[0112] Custom links (URL schemes) allow you to launch your application from a webpage or other application. Since developers can define these links, they can not only open the application itself, but also a specific page within the application, or directly navigate to a page and navigate to specific content. However, custom links require the application to be installed on the device and for the application to programmatically support the syntax definition of the custom link.

[0113] An application ID is a unique identifier for an application on a specific application platform. It is usually a string of letters and numbers. The application ID can be used to identify the corresponding application on the corresponding application platform.

[0114] In this embodiment of the invention, after determining the target sharing link information, the receiving end classifies the target sharing link information to determine whether the target sharing link is a deep link, a custom link, or an application identifier.

[0115] If the target share link is classified as a deep link, it can redirect to the corresponding application or a specified application platform on the receiving end. Specifically, if the target share link is a deep link and the application on the receiving end is installed, the deep link can open the application, open a page within the application, or directly redirect to a page within the application and locate the specific content. If the target share link is a deep link and the application on the receiving end is not installed, the deep link can redirect to the corresponding specified application platform to access the application.

[0116] If the target share link is categorized as a custom link, the user can be redirected to the corresponding application or a specified application platform on the recipient device. Specifically, if the target share link is a deep link and the application on the recipient device is already installed, the user can open the application, a specific page within the application, or be directly redirected to a specific page within the application and locate the relevant content. If the target share link is a custom link and the application on the recipient device is not installed, the user can be prompted to install the application via the custom link.

[0117] If the target share link is categorized as an application identifier, you can jump to the corresponding application or a specified application platform on the shared device based on the application identifier. Specifically, if the target share link is an application identifier and the application on the shared device is installed, you can open the corresponding application's start page based on the application identifier; if the target share link is an application identifier and the application on the shared device is not installed, you can retrieve the application corresponding to the application identifier from the specified application platform.

[0118] In practical applications, since custom links are defined by developers, if a custom link conflicts with an existing link, preventing the direct opening of a page in the application or direct navigation to a page and specific content, the custom link can open the corresponding application. The user on the sharing end can then locate the application content they want to share based on the opened application and information conveyed verbally or otherwise by the sharing user.

[0119] To enable those skilled in the art to better understand the technical solutions of the embodiments of the present invention, the sharing methods of the embodiments of the present invention will be explained and described below.

[0120] Reference Figure 6 This is a flowchart of a sharing process between a sharing end and a shared end, provided in an embodiment of the present invention, which may specifically include the following steps:

[0121] Step 602: After the sharing device determines the application content to be shared, it clicks to share via NFC (Near Field Communication) within the application.

[0122] Step 604: The sharing end generates sharing link information for the application content within the application according to the NDEF format, which may include sharing link information corresponding to iOS, Android and Windows respectively.

[0123] Step 606: Enable card emulation mode on the sharing device and save the sharing link information to memory;

[0124] Step 608: The device being shared with enables card reader mode;

[0125] Step 610: The receiving device reads the sharing link information from the sharing device via NFC;

[0126] Step 612: The receiving end parses the NDEF format sharing link information and determines the target sharing link information corresponding to the receiving end from the parsed sharing link information.

[0127] Step 614: The receiving end categorizes and processes the target sharing link information;

[0128] Step 616: The receiving end determines the installation status of the application; if it is installed, proceed to step 618; if it is not installed, proceed to step 624.

[0129] Step 618: The receiving end determines whether the target sharing link information can locate the corresponding application page or the content of the application page; if yes, proceed to step 620; if no, proceed to step 622.

[0130] Step 620: The recipient is redirected to the corresponding application page or the content of the application page;

[0131] Step 622: The receiving device is redirected to the application's start page;

[0132] Step 624: Prompt to install the application, or be redirected to the corresponding designated application platform to download the application based on the target share link information.

[0133] This invention provides a new method for sharing application content that differs from traditional methods. It solves the problem of application content sharing failure due to excessive sharing steps in sharing scenarios. Furthermore, it simplifies the operation steps for face-to-face sharing of application content, increases the likelihood of the application being spread and shared, and helps to improve user stickiness to the application.

[0134] In the above sharing method, sharing link information is read from the sharing end. This sharing link information supports near-field communication (NFC) and is associated with a specified application platform, which is the platform providing the application. Then, the receiving end determines the installation status of the application, thereby obtaining the application content shared by the sharing end based on the installation status and the sharing link information. In this embodiment of the invention, the receiving end can read the application content shared by the sharing end via NFC. The operation steps for the receiving end are simple, which helps improve the user's sharing experience.

[0135] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0136] Reference Figure 7 The diagram illustrates a structural block diagram of a sharing system provided in an embodiment of the present invention, which may specifically include the following modules:

[0137] The sharing terminal 702 is used to determine the application content to be shared by the application and generate sharing link information corresponding to the application content; the sharing link information is information that supports near-field communication and is associated with a specified application platform, and the specified application platform is the platform that provides the application.

[0138] The sharing terminal 704 is used to obtain the application content based on the installation status and the sharing link information after determining the installation status of the application.

[0139] In an exemplary embodiment, the sharing terminal 702 is configured to determine a specified application platform; and generate sharing link information supporting near-field communication for the application content corresponding to the specified application platform; wherein the application content includes at least the application, the page of the application, and the content in the page of the application.

[0140] In one exemplary embodiment, the installation state may include an installed state and an uninstalled state.

[0141] In an exemplary embodiment, the sharing terminal 704 is configured to use the sharing link information corresponding to the specified application platform supported by the sharing terminal as the target sharing link information; and to obtain the application content according to the installation status and the target sharing link information.

[0142] In an exemplary embodiment, the sharing terminal 704 is configured to, when the installation state is "installed", if the target sharing link information is a deep link or a custom link, open the page of the application corresponding to the deep link or the custom link, or, after opening the page of the application corresponding to the deep link or the custom link, locate the content in the page of the application of the deep link or the custom link; if the target sharing link information is an application identifier, open the start page of the application corresponding to the application identifier.

[0143] In an exemplary embodiment, the sharing terminal 704 is configured to, when the installation state is not installed, download the application from the specified application platform corresponding to the deep link if the target sharing link information is a deep link; prompt to install the application if the target sharing link information is a custom link; and download the application from the specified application platform supported by the sharing terminal according to the application identifier if the target sharing link information is an application identifier.

[0144] Through the above method, the sharing end and the sharing end of this embodiment of the invention can quickly share application content through near field communication. The operation steps of the sharing end and the sharing end are simple, which helps to improve the user's sharing experience.

[0145] As the system implementation is basically similar to the method implementation, it is described in a relatively simple way. For relevant details, please refer to the description of the method implementation.

[0146] Reference Figure 8 The diagram illustrates a structural block diagram of a sharing device provided in an embodiment of the present invention, which is applied to a sharing terminal and may specifically include the following modules:

[0147] Application content determination module 802 is used to determine the application content to be shared by the application.

[0148] The sharing link information generation module 804 is used to generate sharing link information corresponding to the application content; the sharing link information is information that supports near-field communication and is associated with a specified application platform, and the specified application platform is the platform that provides the application.

[0149] The sharing link information sharing module 806 is used to share the sharing link information to the receiving end through the near-field communication method, so that the receiving end can obtain the application content according to the installation status and the sharing link information after determining the installation status of the application.

[0150] In one exemplary embodiment, the sharing link information generation module 804 is configured to determine a specified application platform; and generate sharing link information supporting near-field communication for the application content corresponding to the specified application platform; wherein the application content includes at least the application, the application's page, and the content within the application's page.

[0151] In one exemplary embodiment, the installation state may include an installed state and an uninstalled state.

[0152] Through the above method, the sharing terminal of this embodiment of the invention can share application content to the receiving terminal via near-field communication. The operation steps of the sharing terminal are simple, which helps to improve the user's sharing experience.

[0153] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0154] Reference Figure 9 This diagram illustrates a structural block diagram of another sharing device provided in an embodiment of the present invention, applied to the sharing end, and specifically may include the following modules:

[0155] The sharing link information reading module 902 is used to read sharing link information from the sharing end; the sharing link information is information that supports near-field communication and is associated with a specified application platform, and the specified application platform is the platform that provides the application.

[0156] Installation status determination module 904 is used to determine the installation status of the application in the sharing terminal;

[0157] The application content acquisition module 906 is used to acquire the application content based on the installation status and the sharing link information.

[0158] In an exemplary embodiment, the application content acquisition module 906 is used to take the sharing link information corresponding to the specified application platform supported by the sharing terminal as the target sharing link information; and to acquire the application content according to the installation status and the target sharing link information.

[0159] In an exemplary embodiment, the application content acquisition module 906 is configured to, when the installation state is "installed", if the target sharing link information is a deep link or a custom link, open the page of the application corresponding to the deep link or the custom link, or, after opening the page of the application corresponding to the deep link or the custom link, locate the content in the page of the application of the deep link or the custom link; if the target sharing link information is an application identifier, open the start page of the application corresponding to the application identifier.

[0160] In an exemplary embodiment, the application content acquisition module 906 is configured to, when the installation state is not installed, download the application from the designated application platform corresponding to the deep link if the target sharing link information is a deep link; prompt the user to install the application if the target sharing link information is a custom link; and download the application from the designated application platform supported by the sharing end according to the application identifier if the target sharing link information is an application identifier.

[0161] In the above manner, the receiving end of this invention can read the application content shared by the sharing end through near-field communication. The operation steps of the receiving end are simple, which helps to improve the user's sharing experience.

[0162] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0163] In addition, embodiments of the present invention also provide an electronic device, which may include terminal devices, servers (clusters), and other electronic devices, such as... Figure 10 As shown, it includes a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004, wherein the processor 1001, the communication interface 1002, and the memory 1003 communicate with each other through the communication bus 1004.

[0164] Memory 1003 is used to store computer programs;

[0165] When processor 1001 executes a program stored in memory 1003, it performs the following steps:

[0166] Determine the application content to be shared;

[0167] Generate sharing link information corresponding to the application content; the sharing link information is information that supports near-field communication and is associated with a specified application platform, the specified application platform being the platform that provides the application;

[0168] The sharing link information is shared to the receiving end via the near-field communication method, so that the receiving end can obtain the application content based on the installation status and the sharing link information after determining the installation status of the application.

[0169] Optionally, generating the share link information corresponding to the application content includes:

[0170] Specify the application platform;

[0171] For each specified application platform, generate sharing link information that supports near-field communication for the application content; wherein, the application content includes at least the application, the application's page, and the content within the application's page.

[0172] When the processor 1001 executes the program stored in the memory 1003, it can also perform the following steps:

[0173] Read sharing link information from the sharing terminal; the sharing link information is information that supports near-field communication and is associated with a specified application platform, the specified application platform being the platform that provides the application;

[0174] Determine the installation status of the application on the receiving end;

[0175] The application content is obtained based on the installation status and the sharing link information.

[0176] Optionally, obtaining the application content based on the installation status and the sharing link information includes:

[0177] The sharing link information corresponding to the specified application platform supported by the sharing end is used as the target sharing link information;

[0178] The application content is obtained based on the installation status and the target sharing link information.

[0179] Optionally, obtaining the application content based on the installation status and the target sharing link information includes:

[0180] When the installation status is "installed"

[0181] If the target sharing link information is a deep link or a custom link, then open the page of the application corresponding to the deep link or the custom link; or, after opening the page of the application corresponding to the deep link or the custom link, locate the content in the page of the application of the deep link or the custom link.

[0182] If the target sharing link information is an application identifier, then the start page of the application corresponding to the application identifier will be opened.

[0183] Optionally, obtaining the application content based on the installation status and the target sharing link information includes:

[0184] When the installation status is not installed.

[0185] If the target sharing link information is a deep link, then the application is downloaded from the specified application platform corresponding to the deep link;

[0186] If the target sharing link is a custom link, then the user is prompted to install the application.

[0187] If the target sharing link information is an application identifier, then the application is downloaded from the specified application platform supported by the sharing end based on the application identifier.

[0188] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0189] The communication interface is used for communication between the aforementioned terminal and other devices.

[0190] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0191] The aforementioned processors can be general-purpose processors, including Central Processing Units (CPUs), Network Processors (NPs), etc.; they can also be Digital Signal Processors (DSPs), Application Processors (APs), Graphics Processing Units (GPUs), Image Signal Processors (ISPs), modem processors, controllers, memory, video codecs, baseband processors, Neural-network Processing Units (NPUs), Application-Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The controller can be the nerve center and command center of the electronic device. The controller generates operation control signals based on instruction opcodes and timing signals to complete instruction fetching and execution control.

[0192] It should be noted that the above description of the structure of the electronic device is merely an example. In practice, an electronic device may include more components than those shown in the figures. For example, an electronic device may also include a camera, battery, mobile communication module, wireless communication module, antenna, receiver, speaker, microphone, sensor, buttons, display screen, etc. Of course, an electronic device may also include fewer components than those shown in the figures, or combine some components, or separate some components, or arrange different components. Furthermore, the components of the electronic device shown in the figures may be implemented as hardware, software, or a combination of software and hardware; this embodiment of the invention does not limit this.

[0193] This invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described sharing method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0194] This invention provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes of the sharing method embodiments described above, and achieves the same technical effect. To avoid repetition, further details are omitted here.

[0195] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0196] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0197] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.

[0198] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0199] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0200] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0201] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0202] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0203] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0204] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A sharing method, characterized in that, The method includes: Determine the application content to be shared; wherein the application content includes at least the application, the application's pages, and the content within the application's pages; Generate sharing link information corresponding to the application content; the sharing link information is information that supports near-field communication and is associated with a specified application platform, the specified application platform is the platform that provides the application, and the specified application platform refers to the application platform corresponding to the mainstream operating system; The sharing link information is shared to the receiving end via the near-field communication method, so that the receiving end can obtain the application content based on the installation status and the sharing link information after determining the installation status of the application. Wherein, the designated application platforms are multiple, and the generation of the sharing link information corresponding to the application content includes: Specify the application platform; For each specified application platform, generate sharing link information that supports near-field communication for the application content according to the NDEF format; and treat the sharing link information for each specified application platform as an NDEF record in the NDEF format data.

2. The method according to claim 1, characterized in that, The installation status includes an installed status and an uninstalled status.

3. A sharing method, characterized in that, The method includes: Read sharing link information from the sharing end; the sharing link information is information that supports near-field communication and is associated with a specified application platform. There are multiple specified application platforms. The sharing link information is generated for each specified application platform according to the NDEF format and corresponds to the application content. The sharing link information corresponding to each specified application platform is used as an NDEF record in the NDEF format data. The specified application platform is the platform that provides the application. The specified application platform refers to the application platform corresponding to the mainstream operating system. Determine the installation status of the application on the receiving end; The application content is obtained based on the installation status and the sharing link information; wherein the application content includes at least the application, the application's pages, and the content within the application's pages.

4. The method according to claim 3, characterized in that, The step of obtaining the application content based on the installation status and the sharing link information includes: The sharing link information corresponding to the specified application platform supported by the sharing end is used as the target sharing link information; The application content is obtained based on the installation status and the target sharing link information.

5. The method according to claim 4, characterized in that, The step of obtaining the application content based on the installation status and the target sharing link information includes: When the installation status is "installed" If the target sharing link information is a deep link or a custom link, then open the page of the application corresponding to the deep link or the custom link; or, after opening the page of the application corresponding to the deep link or the custom link, locate the content in the page of the application of the deep link or the custom link. If the target sharing link information is an application identifier, then the start page of the application corresponding to the application identifier will be opened.

6. The method according to claim 4, characterized in that, The step of obtaining the application content based on the installation status and the target sharing link information includes: When the installation status is not installed. If the target sharing link information is a deep link, then the application is downloaded from the specified application platform corresponding to the deep link; If the target sharing link is a custom link, then the user is prompted to install the application. If the target sharing link information is an application identifier, then the application is downloaded from the specified application platform supported by the sharing end based on the application identifier.

7. A sharing system, characterized in that, The system includes: The sharing end is used to determine the application content to be shared and generate sharing link information corresponding to the application content; wherein, the application content includes at least the application, the application's page, and the content within the application's page; the sharing link information is information that supports near-field communication and is associated with a specified application platform, wherein there are multiple specified application platforms, and the sharing link information is generated for each specified application platform according to the NDEF format corresponding to the application content, and the sharing link information corresponding to each specified application platform is used as an NDEF record in the NDEF format data, wherein the specified application platform is the platform that provides the application, and the specified application platform refers to the application platform corresponding to a mainstream operating system; The receiving end is used to obtain the application content based on the installation status and the sharing link information after determining the installation status of the application.

8. A sharing device, characterized in that, The device includes: The application content determination module is used to determine the application content to be shared by the application. The sharing link information generation module is used to generate sharing link information corresponding to the application content; the sharing link information is information that supports near-field communication and is associated with a specified application platform, the specified application platform is the platform that provides the application, and the specified application platform refers to the application platform corresponding to the mainstream operating system; A sharing link information sharing module is used to share the sharing link information to the receiving end through the near-field communication method, so that the receiving end can obtain the application content based on the installation status and the sharing link information after determining the installation status of the application. The application content includes at least the application, the application's page, and the content in the application's page. The specified application platforms are multiple, and the sharing link information generation module is further used to determine the specified application platforms; for each specified application platform, generate sharing link information corresponding to the application content that supports near-field communication according to the NDEF format; and use the sharing link information corresponding to each specified application platform as an NDEF record in the NDEF format data.

9. A sharing device, characterized in that, The device includes: The sharing link information reading module is used to read sharing link information from the sharing end. The sharing link information is information that supports near-field communication and is associated with a specified application platform. There are multiple specified application platforms. The sharing link information is generated for each specified application platform according to the NDEF format and corresponds to the application content. The sharing link information corresponding to each specified application platform is used as an NDEF record in the NDEF format data. The specified application platform is the platform that provides the application. The specified application platform refers to the application platform corresponding to the mainstream operating system. The installation status determination module is used to determine the installation status of the application in the sharing terminal; The application content acquisition module is used to acquire the application content based on the installation status and the sharing link information.

10. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory is used to store computer programs; When the processor executes a program stored in the memory, it implements the method as described in any one of claims 1 to 6.

11. One or more computer-readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Data sharing implementation method, data sending end and data receiving end

    CN111246592A

  • Data sharing method and device, terminal equipment and computer readable storage medium

    CN113158095A