[go: up one dir, main page]

CN114048048A - Information sharing method, device, electronic device and storage medium - Google Patents

Information sharing method, device, electronic device and storage medium Download PDF

Info

Publication number
CN114048048A
CN114048048A CN202111346614.1A CN202111346614A CN114048048A CN 114048048 A CN114048048 A CN 114048048A CN 202111346614 A CN202111346614 A CN 202111346614A CN 114048048 A CN114048048 A CN 114048048A
Authority
CN
China
Prior art keywords
information
application
content
electronic device
type
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
CN202111346614.1A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111346614.1A priority Critical patent/CN114048048A/en
Publication of CN114048048A publication Critical patent/CN114048048A/en
Priority to PCT/CN2022/117760 priority patent/WO2023082813A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请公开了一种信息分享方法、装置、电子设备及存储介质,该方法包括:第一电子设备生成第一信息序列;所述第一信息序列至少包括第一信息、第二信息和第三信息;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息;将所述第一信息序列发送至第二电子设备,以使所述第二电子设备基于所述第一信息序列,以所述加载状态在所述第一应用中加载所述第一内容。

Figure 202111346614

The present application discloses an information sharing method, apparatus, electronic device and storage medium. The method includes: a first electronic device generates a first information sequence; the first information sequence includes at least first information, second information and third information information; the first information represents the first content loaded by the first application in the first electronic device; the second information represents the loading state of the first content in the first application; the third The information includes the application package name of the first application and the related information of the access entry; the first information sequence is sent to the second electronic device, so that the second electronic device, based on the first information sequence, uses the The loading state loads the first content in the first application.

Figure 202111346614

Description

信息分享方法、装置、电子设备及存储介质Information sharing method, device, electronic device and storage medium

技术领域technical field

本申请涉及计算机技术领域,尤其涉及一种信息分享方法、装置、电子设备及存储介质。The present application relates to the field of computer technology, and in particular, to an information sharing method, apparatus, electronic device, and storage medium.

背景技术Background technique

用户在使用的电子设备中查看到感兴趣的内容时,通过电子设备的信息分享功能,将感兴趣的内容分享至其他用户使用的电子设备,这样,其他用户便可通过使用的电子设备查看对应的内容。相关技术中,信息分享的效率低,例如,无法精确、快速地将要分享的信息通过电子设备呈现给其他用户。When the user views the content of interest in the electronic device used, the content of interest is shared to the electronic device used by other users through the information sharing function of the electronic device, so that other users can view the corresponding content through the electronic device in use. Content. In the related art, the efficiency of information sharing is low, for example, the information to be shared cannot be presented to other users accurately and quickly through electronic devices.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请实施例提供一种信息分享方法、装置、电子设备及存储介质,以解决相关技术中存在的信息分享的效率低技术问题。In view of this, the embodiments of the present application provide an information sharing method, apparatus, electronic device, and storage medium, so as to solve the technical problem of low efficiency of information sharing in the related art.

为达到上述目的,本申请的技术方案是这样实现的:In order to achieve the above-mentioned purpose, the technical scheme of the present application is achieved in this way:

本申请实施例提供了一种信息分享方法,应用于第一电子设备,所述方法包括:An embodiment of the present application provides an information sharing method, which is applied to a first electronic device, and the method includes:

生成第一信息序列;所述第一信息序列至少包括第一信息、第二信息和第三信息;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息;generating a first information sequence; the first information sequence includes at least first information, second information and third information; the first information represents the first content loaded by the first application in the first electronic device; the The second information represents the loading state of the first content in the first application; the third information includes the application package name of the first application and the related information of the access entry;

将所述第一信息序列发送至第二电子设备,以使所述第二电子设备基于所述第一信息序列,以所述加载状态在所述第一应用中加载所述第一内容。The first information sequence is sent to a second electronic device, so that the second electronic device loads the first content in the first application in the loading state based on the first information sequence.

上述方案中,所述访问入口的相关信息包括:In the above solution, the relevant information of the access entry includes:

至少一种访问入口类型和所述至少一种访问入口类型中每种访问入口类型对应的访问入口;其中,At least one access entry type and an access entry corresponding to each access entry type in the at least one access entry type; wherein,

访问入口类型包括第一类型和/或第二类型;所述第一类型表征统一资源定位符(URL,uniform resource locator);所述第二类型表征所述第一应用的安装包。The access entry type includes a first type and/or a second type; the first type represents a uniform resource locator (URL, uniform resource locator); the second type represents an installation package of the first application.

上述方案中,在所述生成第一信息序列之前,所述方法还包括:In the above solution, before the generating the first information sequence, the method further includes:

获取第一应用上报的所述第一信息、所述第二信息和所述第三信息。Acquire the first information, the second information, and the third information reported by the first application.

上述方案中,在所述生成第一信息序列之前,所述方法还包括:In the above solution, before the generating the first information sequence, the method further includes:

通过与所述第二电子设备进行消息交互,确定出所述第二电子设备中是否存在所述第一应用的访问入口;determining whether there is an access entry for the first application in the second electronic device by interacting with the second electronic device;

在所述第二电子设备中不存在所述第一应用的访问入口的情况下,生成所述第三信息。The third information is generated when the access entry of the first application does not exist in the second electronic device.

上述方案中,在所述生成第一信息序列之前,所述方法还包括:In the above solution, before the generating the first information sequence, the method further includes:

生成包括第一标记和/或第二标记的所述第二信息;其中,generating the second information comprising the first indicia and/or the second indicia; wherein,

所述第一标记用于标记第一位置;所述第一位置表征所述第一内容显示在第一应用的应用界面中的部分在所述第一内容中所处的位置;所述第二标记表征在所述第一电子设备的第一应用中为所述第一内容添加的标注信息。The first mark is used to mark a first position; the first position represents the position where the part of the first content displayed in the application interface of the first application is located in the first content; the second The tag represents the annotation information added to the first content in the first application of the first electronic device.

上述方案中,在所述生成第一信息序列之前,所述方法还包括:In the above solution, before the generating the first information sequence, the method further includes:

生成至少包括所述第一内容的所述第一信息。The first information including at least the first content is generated.

上述方案中,所述第一信息还包括:In the above solution, the first information further includes:

所述第一内容的格式;和/或,the format of the first content; and/or,

所述第一内容的长度。the length of the first content.

上述方案中,所述第一内容的格式包括多用途互联网邮件扩展MIME类型。In the above solution, the format of the first content includes the Multipurpose Internet Mail Extended MIME type.

上述方案中,所述第一信息序列表征为由所述第一信息、所述第二信息和所述第三信息构成的三元组。In the above solution, the first information sequence is represented as a triplet composed of the first information, the second information and the third information.

本申请实施例还提供了一种信息分享方法,应用于第二电子设备,所述方法包括:The embodiment of the present application also provides an information sharing method, which is applied to a second electronic device, and the method includes:

接收第一电子设备发送的第一信息序列;其中,所述第一信息序列至少包括第一信息、第二信息和第三信息;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息;Receive a first information sequence sent by a first electronic device; wherein the first information sequence includes at least first information, second information and third information; the first information represents a first application in the first electronic device The loaded first content; the second information represents the loading state of the first content in the first application; the third information includes the application package name of the first application and the related information of the access entry;

基于所述第一信息序列,以所述加载状态在第一应用中加载所述第一内容。The first content is loaded in the first application in the loaded state based on the first sequence of information.

上述方案中,所述以所述加载状态在第一应用中加载所述第一内容,包括:In the above solution, the loading of the first content in the first application in the loading state includes:

在所述第三信息中确定出第一应用的应用包名,基于确定出的应用包名运行第一应用,并以所述加载状态在第一应用中加载所述第一内容;或者,Determine the application package name of the first application in the third information, run the first application based on the determined application package name, and load the first content in the first application in the loading state; or,

在所述第三信息中确定出第一应用的访问入口的相关信息,基于确定出的访问入口的相关信息运行第一应用,并以所述加载状态在第一应用中加载所述第一内容。Determine the relevant information of the access entry of the first application in the third information, run the first application based on the determined relevant information of the access entry, and load the first content in the first application in the loading state .

上述方案中,所述访问入口的相关信息包括:In the above solution, the relevant information of the access entry includes:

至少一种访问入口类型和所述至少一种访问入口类型中每种访问入口类型对应的访问入口;其中,At least one access entry type and an access entry corresponding to each access entry type in the at least one access entry type; wherein,

访问入口类型包括第一类型和/或第二类型;所述第一类型表征统一资源定位符URL;所述第二类型表征所述第一应用的安装包。The access entry type includes a first type and/or a second type; the first type represents a uniform resource locator URL; the second type represents an installation package of the first application.

上述方案中,所述基于确定出的访问入口的相关信息运行第一应用,包括:In the above solution, the operation of the first application based on the determined relevant information of the access entry includes:

在确定出的访问入口类型为第一类型的情况下,基于URL访问第一应用;When the determined access entry type is the first type, access the first application based on the URL;

在确定出的访问入口类型为第二类型的情况下,基于第一应用的安装包安装第一应用,以及运行安装的第一应用。In the case that the determined access entry type is the second type, the first application is installed based on the installation package of the first application, and the installed first application is executed.

上述方案中,所述以所述加载状态在第一应用中加载所述第一内容,包括:In the above solution, the loading of the first content in the first application in the loading state includes:

基于所述第二信息中包括的第一标记和/或第二标记,在第一应用中加载所述第一内容;其中,Loading the first content in the first application based on the first tag and/or the second tag included in the second information; wherein,

所述第一标记用于标记第一位置;所述第一位置表征所述第一内容显示在第一应用的应用界面中的部分在所述第一内容中的所处位置;所述第二标记表征在所述第一电子设备的第一应用中为所述第一内容添加的标注信息。The first mark is used to mark a first position; the first position represents the position of the part of the first content displayed in the application interface of the first application in the first content; the second The tag represents the annotation information added to the first content in the first application of the first electronic device.

上述方案中,所述第一信息至少包括所述第一内容;所述第一信息还包括:In the above solution, the first information includes at least the first content; the first information further includes:

所述第一内容的格式;和/或,the format of the first content; and/or,

所述第一内容的长度。the length of the first content.

本申请实施例还提供了一种信息分享装置,包括:The embodiment of the present application also provides an information sharing device, including:

第一生成模块,用于生成第一信息序列;所述第一信息序列至少包括第一信息、第二信息和第三信息;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息;a first generating module, configured to generate a first information sequence; the first information sequence includes at least first information, second information and third information; the first information represents the loading of a first application in the first electronic device The first content of the first application; the second information represents the loading state of the first content in the first application; the third information includes the application package name of the first application and the related information of the access entry;

发送模块,用于将所述第一信息序列发送至第二电子设备,以使所述第二电子设备基于所述第一信息序列,以所述加载状态在所述第一应用中加载所述第一内容。a sending module, configured to send the first information sequence to a second electronic device, so that the second electronic device loads the first application in the loading state based on the first information sequence first content.

本申请实施例还提供了一种信息分享装置,包括:The embodiment of the present application also provides an information sharing device, including:

接收模块,用于接收第一电子设备发送的第一信息序列;其中,所述第一信息序列由所述第一电子设备生成,至少包括第一信息、第二信息和第三信息;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息;a receiving module, configured to receive a first information sequence sent by a first electronic device; wherein, the first information sequence is generated by the first electronic device and includes at least first information, second information and third information; the The first information represents the first content loaded by the first application in the first electronic device; the second information represents the loading state of the first content in the first application; the third information includes the The application package name of the first application and the relevant information of the access entry;

加载模块,用于基于所述第一信息序列,以所述加载状态在第一应用中加载所述第一内容。A loading module, configured to load the first content in the first application in the loading state based on the first information sequence.

本申请实施例还提供了一种电子设备,包括:处理器和用于存储能够在所述处理器上运行的计算机程序的存储器,Embodiments of the present application further provide an electronic device, including: a processor and a memory for storing a computer program that can be run on the processor,

其中,所述处理器用于运行所述计算机程序时,执行上述应用于第一电子设备或第二电子设备的信息分享方法的步骤。Wherein, the processor is configured to execute the steps of the above-mentioned information sharing method applied to the first electronic device or the second electronic device when running the computer program.

本申请实施例还提供了一种计算机可读的存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述应用于第一电子设备或第二电子设备的信息分享方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned information sharing method applied to the first electronic device or the second electronic device. step.

本申请实施例中,第一电子设备生成至少包括第一信息、第二信息和第三信息的第一信息序列;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息;;将所述第一信息序列发送至第二电子设备,以使所述第二电子设备基于所述第一信息序列,以所述加载状态在第一应用中加载所述第一内容。由于第二信息表征的加载状态是第一电子设备进行信息分享时显示的部分第一内容的加载状态,第三信息包括所述第一应用的应用包名和访问入口的相关信息,因此,第二电子设备可以基于第三信息访问第一应用,并在第一应用中直接显示第一电子设备分享信息时对应显示的内容,不需要手动安装第一应用,由此可以精确、快速地将要分享的信息通过电子设备呈现给其他用户。In this embodiment of the present application, the first electronic device generates a first information sequence including at least first information, second information and third information; the first information represents the first information loaded by the first application in the first electronic device content; the second information represents the loading state of the first content in the first application; the third information includes the application package name of the first application and the related information of the access entry; An information sequence is sent to the second electronic device, so that the second electronic device loads the first content in the first application in the loading state based on the first information sequence. Since the loading state represented by the second information is the loading state of part of the first content displayed when the first electronic device shares information, and the third information includes the application package name of the first application and relevant information about the access entry, the second information The electronic device can access the first application based on the third information, and directly display the content displayed when the first electronic device shares the information in the first application, without manually installing the first application, so that the information to be shared can be accurately and quickly displayed. Information is presented to other users through electronic devices.

附图说明Description of drawings

图1为相关技术提供的一种信息分享方法的示意图;1 is a schematic diagram of an information sharing method provided by the related art;

图2为本申请实施例提供的一种信息分享方法的交互图;FIG. 2 is an interaction diagram of an information sharing method provided by an embodiment of the present application;

图3为本申请实施例提供的信息分享界面的示意图;3 is a schematic diagram of an information sharing interface provided by an embodiment of the present application;

图4为本申请应用实施例提供的一种信息分享方法的交互图;FIG. 4 is an interaction diagram of an information sharing method provided by an application embodiment of the present application;

图5为本申请实施例提供的一种信息分享装置的结构示意图;FIG. 5 is a schematic structural diagram of an information sharing apparatus provided by an embodiment of the present application;

图6为本申请另一实施例提供的一种信息分享装置的结构示意图;FIG. 6 is a schematic structural diagram of an information sharing apparatus provided by another embodiment of the present application;

图7为本申请实施例提供的一种电子设备的硬件组成结构示意图。FIG. 7 is a schematic structural diagram of a hardware composition of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

相关技术中,电子设备主要通过以下两种方案将感兴趣的内容分享至其他用户使用的电子设备:In the related art, the electronic device mainly shares the content of interest to the electronic device used by other users through the following two schemes:

方案一:如图1所示,电子设备通过隔空投送(AirDrop)功能,基于蓝牙技术或、无线保真(Wi-Fi,wireless fidelity)技术,将感兴趣的内容分享至附近支持隔空投送功能的其他电子设备。Option 1: As shown in Figure 1, the electronic device uses the AirDrop function, based on Bluetooth technology or wireless fidelity (Wi-Fi, wireless fidelity) technology, to share the content of interest nearby to support AirDrop. function of other electronic equipment.

方案二:用户点击电子设备中加载的页面包括的分享按钮或分享图标,触发该电子设备将感兴趣的内容分享至其他用户使用的电子设备。Solution 2: The user clicks the share button or the share icon included in the page loaded in the electronic device, which triggers the electronic device to share the content of interest to the electronic devices used by other users.

信息分享的目的是让对方能够查看对应的内容,而不同的内容具有不同的格式,不同格式的内容需要通过支持对应格式的应用进行解析后才能呈现给用户。例如,电子设备在接收到分享的照片,并检测到查看指令时,通过支持图片格式的应用显示该照片;在接收到分享的网页、视频或文档时,通过支持对应格式的应用进行加载,并从开始的部分进行显示。但是,电子设备当前显示的内容可能不是用户想要分享的信息,也有可能电子设备中的应用均不支持分享的内容,需要手动安装相应的应用程序才能查看分享的内容。因此,上述两种方案均无法精确、快速地将要分享的信息通过电子设备呈现给其他用户。The purpose of information sharing is to allow the other party to view the corresponding content, and different content has different formats. For example, when an electronic device receives a shared photo and detects a viewing instruction, it displays the photo through an application that supports the image format; when it receives a shared web page, video or document, it loads it through an application that supports the corresponding format, and Display from the beginning. However, the content currently displayed on the electronic device may not be the information that the user wants to share, and it is also possible that none of the applications in the electronic device support the shared content, and a corresponding application program needs to be manually installed to view the shared content. Therefore, neither of the above two solutions can accurately and quickly present the information to be shared to other users through electronic devices.

基于此,本申请实施例提供了一种信息分享方法,第一电子设备生成至少包括第一信息、第二信息和第三信息的第一信息序列;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息表征所述第一应用相关的访问信息;将所述第一信息序列发送至第二电子设备,以使所述第二电子设备基于所述第一信息序列,以所述加载状态在第一应用中加载所述第一内容。由于第二信息表征的加载状态是第一电子设备进行信息分享时显示的部分第一内容对应的加载状态,因此,第二电子设备可以在第一应用中直接显示第一电子设备分享信息时对应显示的内容,不需要手动安装第一应用,由此可以精确、快速地将要分享的信息通过电子设备呈现给其他用户。Based on this, an embodiment of the present application provides an information sharing method, wherein a first electronic device generates a first information sequence including at least first information, second information and third information; the first information represents the first electronic device the first content loaded by the first application in the device; the second information represents the loading state of the first content in the first application; the third information represents the access information related to the first application; the The first information sequence is sent to the second electronic device, so that the second electronic device loads the first content in the first application in the loading state based on the first information sequence. Since the loading state represented by the second information is the loading state corresponding to the part of the first content displayed when the first electronic device shares information, the second electronic device can directly display the information shared by the first electronic device in the first application corresponding to the first content. The displayed content does not need to manually install the first application, thereby accurately and quickly presenting the information to be shared to other users through the electronic device.

图2为本申请实施例提供的一种信息分享方法的交互图。如图2所示,信息分享方法包括:FIG. 2 is an interaction diagram of an information sharing method provided by an embodiment of the present application. As shown in Figure 2, the information sharing method includes:

步骤201:第一电子设备生成第一信息序列;其中,所述第一信息序列至少包括第一信息、第二信息和第三信息;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息。Step 201: The first electronic device generates a first information sequence; wherein, the first information sequence includes at least first information, second information and third information; the first information represents the first information in the first electronic device. The first content loaded by the application; the second information represents the loading state of the first content in the first application; the third information includes the application package name of the first application and the related information of the access entry.

这里,第一用户在查看第一电子设备中的第一应用加载的部分或全部第一内容的过程中,触发第一电子设备生成分享指令。实际应用时,第一用户可以点击第一应用的交互界面中的分享按钮或分享图标,触发第一电子设备弹出第一界面,第一界面中包括信息应用和/或至少一个即时通信应用的图标;第一用户点击第一界面显示的相关图标,从对应的用户列表中选择第二用户,以触发第一电子设备生成分享指令。其中,第一内容包括以下至少之一:网页、照片、文档、视频。文档包括word文档或PDF文档。当然,第一内容还可以是其他类型的内容。即时通信应用包括微信、QQ等。Here, the first user triggers the first electronic device to generate a sharing instruction in the process of viewing part or all of the first content loaded by the first application in the first electronic device. In actual application, the first user can click the share button or the share icon in the interactive interface of the first application to trigger the first electronic device to pop up the first interface, where the first interface includes icons of the information application and/or at least one instant messaging application. ; The first user clicks on the relevant icon displayed on the first interface, and selects the second user from the corresponding user list to trigger the first electronic device to generate a sharing instruction. Wherein, the first content includes at least one of the following: a webpage, a photo, a document, and a video. Documents include word documents or PDF documents. Of course, the first content may also be other types of content. Instant messaging applications include WeChat, QQ, etc.

第一电子设备在检测到分享指令的情况下,基于第一应用加载的第一内容确定出第一信息,基于第一应用的应用界面的输出内容确定出第二信息,并确定出第一应用对应的第三信息;至少基于第一信息、第二信息和第三信息,生成第一信息序列。In the case of detecting the sharing instruction, the first electronic device determines the first information based on the first content loaded by the first application, determines the second information based on the output content of the application interface of the first application, and determines the first application Corresponding third information; generating a first information sequence based on at least the first information, the second information and the third information.

其中,第一应用的应用界面的输出内容包括第一内容中的至少部分内容,还可以包括用户为显示的部分第一内容添加的标注信息。例如,在第一内容为照片的情况下,第一应用的应用界面的输出内容至少包括照片中的部分或全部,还可以包括为照片中的被拍摄对象添加的标注信息,比如用于圈出被拍摄对象的图形。再例如,在第一内容为文档的情况下,第一应用的应用界面的输出内容至少包括文档中的部分段落,还可以包括为该部分段落添加的标注信息;该标注信息可以表征为选中部分第一内容的标记,或表征高亮显示部分第一内容的标记,或者表征标记的阅读位置、编辑位置等。编辑位置是指编辑的内容在第一内容中所处的位置。The output content of the application interface of the first application includes at least part of the first content, and may also include label information added by the user for the displayed part of the first content. For example, in the case where the first content is a photo, the output content of the application interface of the first application includes at least part or all of the photo, and may also include annotation information added to the photographed object in the photo, such as for circled Graphics of the subject being photographed. For another example, in the case where the first content is a document, the output content of the application interface of the first application includes at least a part of the paragraph in the document, and may also include annotation information added to the part of the paragraph; the annotation information can be represented as a selected part. The mark of the first content, or the mark representing the highlighted part of the first content, or the reading position, the editing position, etc. of the mark. The editing position refers to the position where the edited content is located in the first content.

第二信息表征的加载状态可以包括加载进度,和/或,为加载的第一内容添加的标注信息。加载进度表征第一内容显示在第一应用的应用界面中的部分在第一内容中所处的位置。例如,在第一内容为视频的情况下,加载进度可以是播放时间,也可以是当前播放的视频帧在视频包括的所有视频帧中所处的位置。在第一内容为文档的情况下,加载进度可以通过当前显示的文本内容对应的页码和行数来表示,也可以通过当前显示的文本内容对应的页码和段落来表示。The loading state represented by the second information may include the loading progress, and/or label information added to the loaded first content. The loading progress represents the position where the part of the first content displayed in the application interface of the first application is located in the first content. For example, in the case where the first content is a video, the loading progress may be the playback time, or may be the position of the currently played video frame in all video frames included in the video. When the first content is a document, the loading progress can be represented by the page number and line number corresponding to the currently displayed text content, or by the page number and paragraph corresponding to the currently displayed text content.

需要说明的是,第一电子设备可以为手机、平板电脑、具有显示屏的可穿戴设备、电脑等终端设备。第一用户为想要与其他用户分享信息的用户。第一应用包括需要下载并安装才能使用的应用和不需要下载安装即可使用的web应用。不需要下载安装即可使用的web应用包括快应用、小程序等。快应用采用前端技术栈开发和原生渲染得到,兼具HTML 5页面和原生应用的双重优点。It should be noted that the first electronic device may be a terminal device such as a mobile phone, a tablet computer, a wearable device with a display screen, and a computer. The first user is a user who wants to share information with other users. The first application includes an application that needs to be downloaded and installed to be used and a web application that can be used without downloading and installing. Web applications that can be used without downloading and installing include quick applications, small programs, and the like. Quick applications are developed using front-end technology stacks and rendered natively, and have the dual advantages of HTML 5 pages and native applications.

考虑到第二电子设备中可能存在第一应用的访问入口,也可能不存在第一应用的访问入口,为了便于接收到第一信息序列的第二电子设备快速地通过第一应用加载第一内容,在一些实施例中,所述生成第一信息序列,包括:Considering that the access entry of the first application may or may not exist in the second electronic device, in order to facilitate the second electronic device receiving the first information sequence to quickly load the first content through the first application , in some embodiments, the generating the first information sequence includes:

通过与所述第二电子设备进行消息交互,确定出所述第二电子设备中是否存在所述第一应用的访问入口;determining whether there is an access entry for the first application in the second electronic device by interacting with the second electronic device;

在所述第二电子设备中不存在所述第一应用的访问入口的情况下,生成所述第一信息序列。The first information sequence is generated when the access entry of the first application does not exist in the second electronic device.

这里,第一电子设备在检测到分享请求的情况下,向第二电子设备发送第一请求,第一请求用于请求查询第二电子设备中是否存在第一应用的访问入口;第二电子设备基于第一请求向第一电子设备返回查询结果,第一电子设备接收第二电子设备返回的查询结果。Here, when the first electronic device detects the sharing request, it sends a first request to the second electronic device, where the first request is used to request to query whether there is an access entry for the first application in the second electronic device; the second electronic device The query result is returned to the first electronic device based on the first request, and the first electronic device receives the query result returned by the second electronic device.

在该查询结果表征第二电子设备中不存在第一应用的访问入口的情况下,确定出第一信息、第二信息和第三信息,并至少基于第一信息、第二信息和第三信息,生成第一信息序列。第三信息中包括第一应用的应用包名和访问入口的相关信息。当第三信息中包括至少两种访问入口类型和每种访问入口类型对应的访问入口时,用户可以根据实际需要选择其中一种访问入口类型,触发第二电子设备通过对应的访问入口运行第一应用。其中,确定出第一信息、第二信息和第三信息的过程,可以是获取第一应用上报的第一信息、第二信息和第三信息;也可以基于第一应用加载的第一内容确定出第一信息,基于第一应用的应用界面的输出内容确定出第二信息,并确定出第一应用对应的第三信息。In the case that the query result indicates that the access entry of the first application does not exist in the second electronic device, the first information, the second information and the third information are determined, and based on at least the first information, the second information and the third information , to generate the first information sequence. The third information includes the application package name of the first application and the related information of the access entry. When the third information includes at least two access entry types and an access entry corresponding to each access entry type, the user can select one of the access entry types according to actual needs, and trigger the second electronic device to run the first access entry through the corresponding access entry. application. The process of determining the first information, the second information and the third information may be to obtain the first information, the second information and the third information reported by the first application; it may also be determined based on the first content loaded by the first application The first information is obtained, the second information is determined based on the output content of the application interface of the first application, and the third information corresponding to the first application is determined.

需要说明的是,在该查询结果表征第二电子设备中存在第一应用的访问入口情况下,第一电子设备生成的第一信息序列中包括的第三信息中可以不包括第一应用的访问入口的相关信息,由此,可以减少数据传输量,提高数据传输效率。It should be noted that when the query result indicates that there is an access entry for the first application in the second electronic device, the third information included in the first information sequence generated by the first electronic device may not include the access of the first application The relevant information of the entry can thus reduce the amount of data transmission and improve the efficiency of data transmission.

考虑到在实际应用时不同的应用支持的访问入口类型可能不同,也可能存在同一应用支持两种访问入口类型,例如,第一应用对应有网页版和客户端版本时,第一应用支持两种访问入口类型。为了提高加载第一内容的成功率和信息分享效率,在一些实施例中,所述访问入口的相关信息包括:Considering that different applications may support different access entry types in practical applications, there may also be two access entry types supported by the same application. For example, when the first application corresponds to a web version and a client version, the first application supports two types of access entries. Access entry type. In order to improve the success rate of loading the first content and the efficiency of information sharing, in some embodiments, the relevant information of the access entry includes:

至少一种访问入口类型和所述至少一种访问入口类型中每种访问入口类型对应的访问入口;其中,At least one access entry type and an access entry corresponding to each access entry type in the at least one access entry type; wherein,

访问入口类型包括第一类型和/或第二类型;所述第一类型表征统一资源定位符URL;所述第二类型表征所述第一应用的安装包。The access entry type includes a first type and/or a second type; the first type represents a uniform resource locator URL; the second type represents an installation package of the first application.

这里,第三信息包括第一应用的应用包名、至少一种访问入口类型和每种访问入口类型对应的访问入口。Here, the third information includes an application package name of the first application, at least one access entry type, and an access entry corresponding to each access entry type.

在实际应用中,可以用URL这一字符串标识第一类型,用BINARY标识第二类型。第一电子设备可以采用至少三个字段和对应的字段值来描述第三信息。第一字段例如package-name,用于写入第一应用的应用包名;第二字段例如content-type,用于写入访问入口类型;第三字段例如content,用于写入访问入口的相关数据。其中,当第二字段的字段值为URL时,第三字段的字段值为URL链接;当第二字段的字段值为BINARY时,第三字段的字段值为安装包对应的二进制数组。In practical applications, URL can be used to identify the first type, and BINARY can be used to identify the second type. The first electronic device may employ at least three fields and corresponding field values to describe the third information. The first field, such as package-name, is used to write the application package name of the first application; the second field, such as content-type, is used to write the access entry type; the third field, such as content, is used to write the relevant information of the access entry. data. Wherein, when the field value of the second field is URL, the field value of the third field is the URL link; when the field value of the second field is BINARY, the field value of the third field is the binary array corresponding to the installation package.

需要说明的是,不需要安装的第一应用对应第一访问入口类型,通过URL地址运行第一应用;需要安装的第一应用可以对应第一访问入口类型,也可以对应第二访问入口类型,用户可以根据实际需求选择运行第一应用的访问入口。It should be noted that the first application that does not need to be installed corresponds to the first access entry type, and the first application is run through the URL address; the first application that needs to be installed may correspond to the first access entry type or the second access entry type, The user can select an access entry for running the first application according to actual needs.

在本方案中,第一信息序列中包括的第三信息中包括第一应用对应的访问入口类型和访问入口类型对应的访问入口,由此,接收到第一信息序列的第二电子设备可以基于第一信息序列中的第三信息运行第一应用,不需要第二用户手动查找和安装第一应用,可以减少通过第一应用加载第一内容所消耗的时间,提高信息分享效率。In this solution, the third information included in the first information sequence includes the access entry type corresponding to the first application and the access entry corresponding to the access entry type, so that the second electronic device that receives the first information sequence can be based on The third information in the first information sequence runs the first application, and does not require the second user to manually find and install the first application, which can reduce the time consumed by loading the first content through the first application and improve information sharing efficiency.

为了方便第二电子设备解析第一信息序列,在一些实施例中,第一信息序列表征为由第一信息、第二信息和第三信息构成的三元组。In order to facilitate the second electronic device to parse the first information sequence, in some embodiments, the first information sequence is represented as a triplet consisting of the first information, the second information and the third information.

需要说明的是,用于生成第一信息序列的第一信息、第二信息和第三信息,可以由第一电子设备生成,也可以由第一应用上报。It should be noted that, the first information, the second information and the third information used to generate the first information sequence may be generated by the first electronic device or reported by the first application.

考虑到第一应用能够准确地采集到第一应用加载的第一内容的相关信息,为了提高获取到的信息的准确度,从而提高分享的信息的准确度,在一些实施例中,在所述生成第一信息序列之前,所述方法还包括:Considering that the first application can accurately collect the relevant information of the first content loaded by the first application, in order to improve the accuracy of the acquired information and thus the accuracy of the shared information, in some embodiments, in the Before generating the first information sequence, the method further includes:

获取第一应用上报的所述第一信息、所述第二信息和所述第三信息。Acquire the first information, the second information, and the third information reported by the first application.

这里,第一电子设备显示第一应用加载的第一内容的情况下,第一应用采集第一信息、第二信息和第三信息,并上报采集到的第一信息、第二信息和第三信息,并向第一电子设备的操作系统上报采集到的第一信息、第二信息和第三信息。第一电子设备获取第一应用上报的第一信息、第二信息和第三信息。在一些实施例中,第一电子设备在生成第一信息序列之前,所述方法还包括:第一电子设备生成至少包括所述第一内容的所述第一信息。Here, when the first electronic device displays the first content loaded by the first application, the first application collects the first information, the second information and the third information, and reports the collected first information, the second information and the third information information, and report the collected first information, second information and third information to the operating system of the first electronic device. The first electronic device acquires the first information, the second information and the third information reported by the first application. In some embodiments, before the first electronic device generates the first information sequence, the method further includes: the first electronic device generates the first information including at least the first content.

这里,第一电子设备在检测到分享指令的情况下,获取运行于前台的第一应用加载的第一内容,并基于获取到的第一内容生成至少包括第一内容的第一信息。在实际应用中,第一电子设备获取第一应用上报的第一内容,第一内容表征待传输的有效负荷,可以用Payload表示。由此,第一电子设备可以基于显示界面显示的内容,生成第一信息,不需要等待第一应用上报第一信息,提高生成第一信息序列的效率。Here, when detecting the sharing instruction, the first electronic device acquires the first content loaded by the first application running in the foreground, and generates first information including at least the first content based on the acquired first content. In a practical application, the first electronic device acquires the first content reported by the first application, and the first content represents the payload to be transmitted, which can be represented by Payload. Thus, the first electronic device can generate the first information based on the content displayed on the display interface, without waiting for the first application to report the first information, thereby improving the efficiency of generating the first information sequence.

在一些实施例中,所述第一信息还包括:In some embodiments, the first information further includes:

所述第一内容的格式;和/或,the format of the first content; and/or,

所述第一内容的长度。the length of the first content.

这里,第一内容的格式用于供第二电子设备解析第一内容。第一内容的格式可以由对应的后缀名确定出。第一内容的长度表征第一内容的数据量的大小,用于供第二电子设备判断接收到的第一内容是否完整。Here, the format of the first content is used for the second electronic device to parse the first content. The format of the first content may be determined by the corresponding suffix name. The length of the first content represents the size of the data amount of the first content, and is used for the second electronic device to determine whether the received first content is complete.

实际应用时,第一信息包括第一内容、第一内容的格式和第一内容的长度;第一电子设备采用三个字段和对应的字段值,来分别描述第一内容、第一内容的格式和第一内容的长度。例如,第一内容的格式对应的字段为content-type,第一内容的长度对应的字段为content-length,第一内容对应的字段为content。In practical application, the first information includes the first content, the format of the first content, and the length of the first content; the first electronic device uses three fields and corresponding field values to describe the first content and the format of the first content respectively. and the length of the first content. For example, the field corresponding to the format of the first content is content-type, the field corresponding to the length of the first content is content-length, and the field corresponding to the first content is content.

在一些实施例中,所述第一内容的格式包括多用途互联网邮件扩展(MIME,Multipurpose Internet Mail Extensions)类型。In some embodiments, the format of the first content includes a Multipurpose Internet Mail Extensions (MIME, Multipurpose Internet Mail Extensions) type.

其中,每个MIME类型由两部分组成,前面是数据的大类别,例如声音audio、图像image等,后面定义具体的种类。例如,常见的MIME类型如下:Among them, each MIME type consists of two parts, the front is a large category of data, such as sound audio, image image, etc., and the specific type is defined in the back. For example, common MIME types are as follows:

超文本标记语言文本.html text/htmlhypertext markup language text.html text/html

xml文档.xml text/xmlxml document.xml text/xml

普通文本.txt text/plainplain text.txt text/plain

PDF文档.pdf application/pdfPDF document.pdf application/pdf

PNG图像.png image/pngpng image.png image/png

GIF图形.gif image/gifGIF graphics.gif image/gif

AVI文件.avi video/x-msvideo。AVI files.avi video/x-msvideo.

为了便于用户查看分享的信息,提高信息分享的精度,在一些实施例中,第一电子设备在所述生成第一信息序列之前,所述方法还包括:In order to facilitate the user to view the shared information and improve the accuracy of information sharing, in some embodiments, before the first electronic device generates the first information sequence, the method further includes:

第一电子设备生成包括第一标记和/或第二标记的所述第二信息;其中,The first electronic device generates the second information including the first indicia and/or the second indicia; wherein,

所述第一标记用于标记第一位置;所述第一位置表征所述第一内容显示在第一应用的应用界面中的部分在所述第一内容中所处的位置;所述第二标记表征在所述第一电子设备的第一应用中为所述第一内容添加的标注信息。The first mark is used to mark a first position; the first position represents the position where the part of the first content displayed in the application interface of the first application is located in the first content; the second The tag represents the annotation information added to the first content in the first application of the first electronic device.

这里,第一电子设备在检测到分享指令的情况下,基于第一应用的应用界面中显示的部分第一内容,生成包括第一标记和/或第二标记的第二信息。实际应用时,第一电子设备确定出第一应用的应用界面显示的部分第一内容在第一内容中所处的位置,生成第一标记;获取第一用户在第一电子设备的第一应用中为第一内容添加的标注信息,基于获取到的标注信息生成第二标记;基于生成的第一标记和/或第二标记,生成第二信息。Here, when detecting the sharing instruction, the first electronic device generates the second information including the first mark and/or the second mark based on part of the first content displayed in the application interface of the first application. In actual application, the first electronic device determines the position of the part of the first content displayed in the application interface of the first application in the first content, and generates a first mark; obtains the first application of the first user on the first electronic device The labeling information added to the first content in the second label is generated based on the obtained labeling information; and the second information is generated based on the generated first label and/or the second label.

在实际应用中,第一电子设备可以通过至少一个字段和对应的字段值,来描述第一标记。在第一内容为文档的情况下,第一标记可以为页码,也可以为页码和行数。例如,第一电子设备中第一应用的应用界面输出文档中第5页对应的内容,用户在第5页对应的内容中选中第10行对应的内容,此时,第一电子设备生成的第一标记表征文档的第5页第10行。示例性地,生成的第一标记描述为:PageNumber:5,LineNumber:10。In practical applications, the first electronic device may describe the first mark by at least one field and a corresponding field value. In the case where the first content is a document, the first mark may be a page number, or may be a page number and a line number. For example, the application interface of the first application in the first electronic device outputs the content corresponding to page 5 in the document, and the user selects the content corresponding to the 10th line in the content corresponding to page 5. At this time, the first electronic device generates the content corresponding to page 10. A tag characterizes page 5, line 10 of the document. Exemplarily, the generated first tag description is: PageNumber: 5, LineNumber: 10.

在一些实施例中,第一电子设备在所述生成第一信息序列之前,所述方法还包括:In some embodiments, before the first electronic device generates the first information sequence, the method further includes:

第一电子设备基于所述第一应用的应用包名和访问入口的相关信息,生成所述第三信息。The first electronic device generates the third information based on the application package name of the first application and the related information of the access entry.

这里,第一电子设备在检测到分享指令的情况下,获取第一应用的应用包名和访问入口的相关信息,基于第一应用的应用包名和访问入口的相关信息,生成第三信息。例如,获取第一应用的应用包名和访问入口的相关信息的方式可以为第一电子设备通过第一电子设备中的操作系统,获取第一应用的应用包名和访问入口的相关信息,也可以获取第一应用上报的第一应用的应用包名和访问入口的相关信息。Here, the first electronic device acquires the application package name of the first application and related information of the access entry when detecting the sharing instruction, and generates third information based on the application package name of the first application and the related information of the access entry. For example, the method of acquiring the application package name of the first application and the related information of the access entry may be that the first electronic device acquires the application package name of the first application and the related information of the access entry through the operating system of the first electronic device, or can also acquire Information about the application package name of the first application and the access entry reported by the first application.

本方案中,由第一电子设备生成第三信息,可以减少第一应用的数据处理量。In this solution, the third information is generated by the first electronic device, which can reduce the data processing amount of the first application.

步骤202:第一电子设备将所述第一信息序列发送至第二电子设备,以使所述第二电子设备基于所述第一信息序列,以所述加载状态在所述第一应用中加载所述第一内容。Step 202: The first electronic device sends the first information sequence to the second electronic device, so that the second electronic device loads the first application in the loading state based on the first information sequence the first content.

这里,第一电子设备在生成第一信息序列的情况下,将生成的第一信息序列发送至第二电子设备。实际应用时,在分享指令携带第二用户的信息的情况下,第一电子设备基于分享指令携带的第二用户的信息,将第一信息序列发送至第二用户使用的第二电子设备。Here, in the case of generating the first information sequence, the first electronic device sends the generated first information sequence to the second electronic device. In practical application, when the sharing instruction carries the information of the second user, the first electronic device sends the first information sequence to the second electronic device used by the second user based on the information of the second user carried in the sharing instruction.

其中,第二电子设备为第二用户使用的电子设备。第一电子设备与第二电子设备各自对应的云账号不同,云账号用于供电子设备下载安装包。第二电子设备可以为手机、平板电脑、具有显示屏的可穿戴设备、电脑等终端设备。The second electronic device is an electronic device used by the second user. The cloud accounts corresponding to the first electronic device and the second electronic device are different, and the cloud accounts are used for the electronic device to download the installation package. The second electronic device may be a terminal device such as a mobile phone, a tablet computer, a wearable device with a display screen, and a computer.

在实际应用时,第一信息序列采用JSON(JavaScript Object Notation)格式进行描述,JSON是一种轻量级的数据交换格式。第一电子设备将第一信息序列进行序列化,得到序列化后的第一信息序列,并将序列化后的第一信息序列发送至第二电子设备。In practical application, the first information sequence is described in a JSON (JavaScript Object Notation) format, which is a lightweight data exchange format. The first electronic device serializes the first information sequence to obtain the serialized first information sequence, and sends the serialized first information sequence to the second electronic device.

步骤203:第二电子设备接收第一电子设备发送的第一信息序列;其中,所述第一信息序列至少包括第一信息、第二信息和第三信息;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息。Step 203: The second electronic device receives the first information sequence sent by the first electronic device; wherein, the first information sequence includes at least first information, second information and third information; the first information represents the first information sequence. The first content loaded by a first application in an electronic device; the second information represents the loading state of the first content in the first application; the third information includes the application package name of the first application and Information about access portals.

步骤204:基于所述第一信息序列,以所述加载状态在第一应用中加载所述第一内容。Step 204: Based on the first information sequence, load the first content in the first application in the loading state.

这里,第二电子设备对接收到的第一信息序列进行解析,得到第一信息序列中包括的第一信息、第二信息和第三信息;基于第三信息中包括的第一应用的应用包名和访问入口的相关信息运行第一应用,并通过第一应用对第一信息进行解析,得到第一电子设备中第一应用加载的第一内容;通过第一应用对第二信息进行解析,得到第一内容在第一应用中的加载状态;以解析出的加载状态在第一应用中加载第一内容,从而使得第二电子设备中第一应用的应用界面显示的内容与第一电子设备进行信息分享时对应的应用界面中显示的内容相同。例如,如图3所示,第一用户在第一电子设备中查看第一文档的第10页的内容的情况下,触发第一电子设备生成分享指令,第一电子设备按照上述步骤201至步骤202,将对应的第一信息序列发送至第二电子设备,第二电子设备基于接收到的第一信息序列,在第一应用中加载第一文档的第10页的内容,以便第二用户查看第一文档第10页的内容。Here, the second electronic device parses the received first information sequence to obtain the first information, second information and third information included in the first information sequence; an application package based on the first application included in the third information name and relevant information of the access entry to run the first application, and parse the first information through the first application to obtain the first content loaded by the first application in the first electronic device; parse the second information through the first application to obtain The loading state of the first content in the first application; the first content is loaded in the first application with the parsed loading state, so that the content displayed on the application interface of the first application in the second electronic device is compared with the first electronic device. The content displayed in the corresponding application interface when information is shared is the same. For example, as shown in FIG. 3 , when the first user views the content on page 10 of the first document in the first electronic device, the first electronic device is triggered to generate a sharing instruction, and the first electronic device follows steps 201 to 201 above. 202. Send the corresponding first information sequence to the second electronic device, and the second electronic device loads the content of page 10 of the first document in the first application based on the received first information sequence, so that the second user can view it Contents on page 10 of the first document.

在一些实施例中,所述第一信息至少包括所述第一内容;所述第一信息还包括:In some embodiments, the first information includes at least the first content; the first information further includes:

所述第一内容的格式;和/或,the format of the first content; and/or,

所述第一内容的长度。the length of the first content.

这里,第二电子设备可以基于第一内容的长度判断接收到的第一内容是否完整,在接收到完整的第一内容的情况下,通过第一应用基于第一内容的格式对第一内容进行解析和加载。由于第二电子设备不需要对第一内容进行分析,即可从第一信息中直接获得第一内容的格式,因此可提高解析第一内容的效率。Here, the second electronic device may determine whether the received first content is complete based on the length of the first content, and in the case of receiving the complete first content, the first content is processed by the first application based on the format of the first content. Parse and load. Since the second electronic device can directly obtain the format of the first content from the first information without analyzing the first content, the efficiency of parsing the first content can be improved.

在一些实施例中,所述以所述加载状态在第一应用中加载所述第一内容,包括:In some embodiments, the loading the first content in the first application in the loading state includes:

第二电子设备基于所述第二信息中包括的第一标记和/或第二标记,在第一应用中加载所述第一内容;其中,The second electronic device loads the first content in the first application based on the first mark and/or the second mark included in the second information; wherein,

所述第一标记用于标记第一位置;所述第一位置表征所述第一内容显示在第一应用的应用界面中的部分在所述第一内容中的所处位置;所述第二标记表征在所述第一电子设备的第一应用中为所述第一内容添加的标注信息。The first mark is used to mark a first position; the first position represents the position of the part of the first content displayed in the application interface of the first application in the first content; the second The tag represents the annotation information added to the first content in the first application of the first electronic device.

这里,在第二信息包括第一标记的情况下,第二电子设备基于第一标记确定出待显示的部分第一内容在第一内容中所处的位置;基于待显示的部分第一内容在第一内容中所处的位置,确定出需要在第一应用的应用界面中显示的部分第一内容,并在第一应用中加载确定出的部分第一内容。由此,可以精确地将第一用户想要分享的部分第一内容通过第二电子设备呈现给第二用户。Here, when the second information includes the first mark, the second electronic device determines, based on the first mark, the position of the part of the first content to be displayed in the first content; based on the part of the first content to be displayed in the first content The location of the first content determines a part of the first content that needs to be displayed in the application interface of the first application, and loads the determined part of the first content in the first application. Thus, the part of the first content that the first user wants to share can be accurately presented to the second user through the second electronic device.

在第二信息包括第二标记的情况下,在第一应用中加载确定出的部分第一内容之后,基于第二标记,为加载的部分第一内容添加的标注信息。其中,标注信息是层叠显示于第一应用加载的部分第一内容之上。In the case where the second information includes the second mark, after loading the determined part of the first content in the first application, based on the second mark, add label information for the loaded part of the first content. Wherein, the label information is stacked and displayed on the part of the first content loaded by the first application.

考虑到在实际应用中第二电子设备中可能存在第一应用的访问入口,也可能不存在第一应用的访问入口。在一些实施例中,所述以所述加载状态在第一应用中加载所述第一内容,包括:Considering that in practical applications, there may be an access entry for the first application in the second electronic device, or there may not be an access entry for the first application. In some embodiments, the loading the first content in the first application in the loading state includes:

在所述第三信息中确定出第一应用的应用包名,基于确定出的应用包名运行第一应用,并以所述加载状态在第一应用中加载所述第一内容;或者,Determine the application package name of the first application in the third information, run the first application based on the determined application package name, and load the first content in the first application in the loading state; or,

在所述第三信息中确定出第一应用的第一应用的访问入口的相关信息,,基于确定出的访问入口的相关信息运行第一应用,并以所述加载状态在第一应用中加载所述第一内容。Determine the relevant information of the access entry of the first application of the first application in the third information, run the first application based on the determined relevant information of the access entry, and load the first application in the loading state the first content.

这里,第二电子设备通过解析第一信息序列得到第三信息的情况下,在第三信息中确定出第一应用的应用包名和第一应用的访问入口的相关信息。基于第一应用的应用包名,判断第二电子设备中是否存在第一应用的访问入口,得到判断结果;在该判断结果表征第二电子设备中存在第一应用的访问入口的情况下,基于确定出的应用包名运行第一应用,并以第二信息表征的加载状态在第一应用中加载第一内容。在该判断结果表征第二电子设备中不存在第一应用的访问入口的情况下,在第一应用的访问入口的相关信息运行第一应用,并以第二信息表征的加载状态在第一应用中加载第一内容。由此,第二电子设备可以根据实际情况选择访问入口,以基于选择的访问入口运行第一应用,提高访问第一应用的灵活性。Here, when the second electronic device obtains the third information by parsing the first information sequence, the third information determines the application package name of the first application and the related information of the access entry of the first application. Based on the application package name of the first application, it is determined whether there is an access entry for the first application in the second electronic device, and a determination result is obtained; in the case that the determination result indicates that there is an access entry for the first application in the second electronic device, based on The determined application package name runs the first application, and loads the first content in the first application in the loading state represented by the second information. In the case that the judgment result indicates that the access entry of the first application does not exist in the second electronic device, the first application is run based on the relevant information of the access entry of the first application, and the loading state represented by the second information is used in the first application. Load the first content in . Thus, the second electronic device can select the access entry according to the actual situation, so as to run the first application based on the selected access entry, thereby improving the flexibility of accessing the first application.

在一些实施例中,所述访问入口的相关信息包括:In some embodiments, the relevant information of the access portal includes:

至少一种访问入口类型和所述至少一种访问入口类型中每种访问入口类型对应的访问入口;其中,At least one access entry type and an access entry corresponding to each access entry type in the at least one access entry type; wherein,

访问入口类型包括第一类型和/或第二类型;所述第一类型表征统一资源定位符URL;所述第二类型表征所述第一应用的安装包。The access entry type includes a first type and/or a second type; the first type represents a uniform resource locator URL; the second type represents an installation package of the first application.

在一些实施例中,所述基于确定出的访问入口的相关信息运行第一应用,包括:In some embodiments, the running the first application based on the determined relevant information of the access entry includes:

在确定出的访问入口类型为第一类型的情况下,基于URL访问第一应用;When the determined access entry type is the first type, access the first application based on the URL;

在确定出的访问入口类型为第二类型的情况下,基于第一应用的安装包安装第一应用,以及运行安装的第一应用。In the case that the determined access entry type is the second type, the first application is installed based on the installation package of the first application, and the installed first application is executed.

这里,第二电子设备通过第一应用解析第三信息,得到的第三信息的解析结果;该解析结果包括至少一种访问入口类型和每种访问入口类型对应的访问入口。Here, the second electronic device parses the third information through the first application, and obtains a parsing result of the third information; the parsing result includes at least one access entry type and an access entry corresponding to each access entry type.

当第一应用的访问入口类型为第一类型时,第一应用的访问入口为URL链接,电子设备基于URL链接运行第一应用,此时,第一应用可以为小应用或快应用。When the access entry type of the first application is the first type, the access entry of the first application is a URL link, and the electronic device runs the first application based on the URL link. In this case, the first application may be a small application or a quick application.

当第一应用的访问入口类型为第二类型时,第一应用的访问入口为安装包,第二电子设备基于第三信息中的安装包安装第一应用,在第一应用安装完成之后,运行第一应用。When the access entry type of the first application is the second type, the access entry of the first application is an installation package, the second electronic device installs the first application based on the installation package in the third information, and after the first application is installed, runs first application.

当第三信息中包括URL链接和安装包时,第二电子设备可以基于URL链接或安装包运行第一应用。When the third information includes the URL link and the installation package, the second electronic device may run the first application based on the URL link or the installation package.

由于,第二电子设备可以基于第三信息中的URL链接或安装包运行第一应用,不需要手动查找并下载第一应用的安装包,可以提高第一内容的加载效率。Because the second electronic device can run the first application based on the URL link or the installation package in the third information, there is no need to manually search for and download the installation package of the first application, which can improve the loading efficiency of the first content.

在本申请实施例中,第一电子设备生成至少包括第一信息、第二信息和第三信息的第一信息序列,并将生成的第一信息序列发送至第二电子设备;第二电子设备在接收到第一信息序列的情况下,基于接收到的第一信息序列中的第三信息访问第一应用,并以第一信息序列中的第二信息表征的加载状态在第一应用中加载第一内容。由此,第二电子设备可以在第一应用中直接显示第一电子设备分享信息时对应的应用界面显示的内容,也不需要手动安装第一应用,由此可以精确、快速地将要分享的信息通过电子设备呈现给其他用户。In this embodiment of the present application, the first electronic device generates a first information sequence including at least the first information, the second information and the third information, and sends the generated first information sequence to the second electronic device; the second electronic device In the case of receiving the first information sequence, the first application is accessed based on the third information in the received first information sequence, and loaded in the first application with the loading state represented by the second information in the first information sequence first content. In this way, the second electronic device can directly display the content displayed on the application interface corresponding to the information sharing by the first electronic device in the first application, and does not need to manually install the first application, so that the information to be shared can be accurately and quickly displayed. Presented to other users via electronic devices.

下面以第一用户与第二用户分享PDF文件中感兴趣的内容为例,对本方案进行说明:The following describes the solution by taking the first user and the second user sharing the content of interest in the PDF file as an example:

用户A通过第一电子设备的第一应用阅读PDF文件的内容的过程中,发现第5页第10至15行的内容比较有趣,用户A想要与用户B分享这部分内容。此时,第一电子设备当前显示的是PDF文件中第5页第1至25行的内容,用户A可以在显示的内容中选中第5页第10至15行的内容,并点击第一应用的应用界面中的信息分享图标,触发第一电子设备弹出包括至少一个应用图标的第一界面。用户A点击第一界面中的应用图标,从对应的用户列表中选择用户B,触发第一电子设备生成分享指令。During the process of reading the content of the PDF file through the first application of the first electronic device, user A finds that the content in lines 10 to 15 on page 5 is interesting, and user A wants to share this part of the content with user B. At this time, the first electronic device is currently displaying the content of the first to 25th line of the fifth page of the PDF file. User A can select the content of the fifth page, the 10th to the 15th line of the displayed content, and click the first application The information sharing icon in the application interface triggers the first electronic device to pop up the first interface including at least one application icon. User A clicks the application icon in the first interface, selects user B from the corresponding user list, and triggers the first electronic device to generate a sharing instruction.

第一电子设备在检测到该分享指令的情况下,基于第一应用加载的PDF文件生成第一信息;基于第一应用加载的PDF文件中第5页第1至25行的内容,以及基于被选中的第5页第10至15行的内容,生成第二信息,以及基于第一应用的应用包名和访问入口的相关信息,生成第三信息。或者,第一电子设备获取第一应用上报的第一信息、第二信息和第三信息。第一电子设备在得到第一信息、第二信息和第三信息的情况下,基于第一信息、第二信息和第三信息,生成第一信息序列;对第一信息序列进行序列化,得到序列化后的第一信息序列,将序列化后的第一信息序列发送至第二电子设备。其中,PDF文件包含的所有信息对应为上文中的第一内容,第二信息包括第一标记和第二标记,第一标记表征PDF文件中的第1至25行,第二标记表征选中第5页第10至15行的内容。示例性地,生成的第一标记描述为:PageNumber:5,LineNumber:10-15。In the case of detecting the sharing instruction, the first electronic device generates first information based on the PDF file loaded by the first application; The selected content on the 10th to 15th lines of page 5 generates the second information, and generates the third information based on the application package name of the first application and the related information of the access entry. Alternatively, the first electronic device acquires the first information, the second information, and the third information reported by the first application. In the case of obtaining the first information, the second information and the third information, the first electronic device generates a first information sequence based on the first information, the second information and the third information; serializes the first information sequence to obtain The serialized first information sequence, and the serialized first information sequence is sent to the second electronic device. Wherein, all the information contained in the PDF file corresponds to the first content above, the second information includes a first mark and a second mark, the first mark represents lines 1 to 25 in the PDF file, and the second mark represents the selected fifth Lines 10 to 15 of the page. Exemplarily, the generated first tag description is: PageNumber: 5, LineNumber: 10-15.

第二电子设备接收第一电子设备发送的序列化后的第一信息序列,可以在与用户A的聊天界面中显示关于第一信息序列的摘要。用户B可以点击该消息摘要,触发查看指令。第二电子设备在检测到该查看指令的情况下,对接收到的序列化后的第一信息序列进行反序列化,得到第一信息序列中包括的第一信息、第二信息和第三信息。第二电子设备基于第三信息中包括的第一应用的应用包名,判断第二电子设备中是否存在第一应用的访问入口,得到判断结果。The second electronic device receives the serialized first information sequence sent by the first electronic device, and may display a summary about the first information sequence in the chat interface with user A. User B can click on the message summary to trigger a viewing instruction. In the case of detecting the viewing instruction, the second electronic device deserializes the received serialized first information sequence to obtain the first information, second information and third information included in the first information sequence . The second electronic device determines, based on the application package name of the first application included in the third information, whether there is an access entry for the first application in the second electronic device, and obtains a determination result.

在该判断结果表征第二电子设备中存在第一应用的访问入口的情况下,在第三信息中确定出第一应用的应用包名,基于确定出的应用包名运行第一应用。在该判断结果表征第二电子设备中不存在第一应用的访问入口的情况下,在第三信息中确定出第一应用的至少一种访问入口类型和每种访问入口类型对应的访问入口,基于确定出的访问入口运行第一应用。When the judgment result indicates that there is an access entry for the first application in the second electronic device, the application package name of the first application is determined in the third information, and the first application is run based on the determined application package name. In the case that the judgment result indicates that there is no access entry of the first application in the second electronic device, at least one access entry type of the first application and an access entry corresponding to each access entry type are determined in the third information, The first application is executed based on the determined access entry.

通过运行的第一应用对第一信息进行解析得到PDF文件,通过第一应用对第二信息进行解析,得到PDF文件在第一应用中的加载状态;基于PDF文件在第一应用中的加载状态在第一应用中加载PDF文件,以使得第二电子设备在第一应用的应用界面直接显示PDF文件第5页第1至25行的内容,并选中PDF文件中的第5页第10至15行的内容。The PDF file is obtained by parsing the first information through the running first application, and the second information is parsed through the first application to obtain the loading state of the PDF file in the first application; based on the loading state of the PDF file in the first application Load the PDF file in the first application, so that the second electronic device directly displays the content of the first to 25th lines on the fifth page of the PDF file on the application interface of the first application, and selects the fifth page of the PDF file from the 10th to the 15th the content of the row.

由于第二电子设备在第一应用中直接显示PDF文件第5页第1至25行的内容,而不是从PDF文件的第一页的第一行开始显示,因此,用户B可以在第二电子设备中直接查看PDF文件中的第5页第10至15行的内容,提高了信息分享的精确度;由于本方案中不需要用户B手动下载第一应用的安装包,提高了通过第一应用加载第一内容的效率,可以提高信息分享效率。Since the second electronic device directly displays the content of lines 1 to 25 on page 5 of the PDF file in the first application instead of starting from the first line of the first page of the PDF file, user B can The content of lines 10 to 15 on page 5 of the PDF file can be directly viewed on the device, which improves the accuracy of information sharing; since user B does not need to manually download the installation package of the first application in this solution, it improves the ability to pass the first application The efficiency of loading the first content can improve the efficiency of information sharing.

需要说明的是,用户A在查看图库中放大后的照片的过程中,想要与用户B分享当前显示的部分放大后的图像时,可以在显示的图像中圈出目标被拍摄对象,以触发用户A使用的第一电子设备通过上述方式,将照片分享给微信好友、QQ好友等使用的第二电子设备,以便第二电子设备直接显示第一电子设备显示照片中放大后的部分图像。It should be noted that when user A wants to share the currently displayed part of the enlarged image with user B while viewing the enlarged photo in the gallery, he can circle the target object in the displayed image to trigger the The first electronic device used by user A shares the photo to the second electronic device used by WeChat friends, QQ friends, etc. in the above manner, so that the second electronic device directly displays the enlarged part of the image displayed by the first electronic device in the photo.

图4为本申请应用实施例提供的一种信息分享方法的交互图。如图4所示,信息分享方法包括:FIG. 4 is an interaction diagram of an information sharing method provided by an application embodiment of the present application. As shown in Figure 4, the information sharing method includes:

步骤401:第一电子设备基于第一信息、第二信息和第三信息,生成第一信息序列;其中,所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息。Step 401: The first electronic device generates a first information sequence based on the first information, the second information and the third information; wherein the first information represents the first content loaded by the first application in the first electronic device; The second information represents the loading state of the first content in the first application; the third information includes an application package name of the first application and related information of an access entry.

其中,第一信息序列为由第一信息、第二信息和第三信息构成的三元组。The first information sequence is a triplet composed of first information, second information and third information.

需要说明的是,第一信息、第二信息和第三信息可以由第一应用上报给第一电子设备,也可以由第一电子设备生成。It should be noted that the first information, the second information and the third information may be reported to the first electronic device by the first application, or may be generated by the first electronic device.

第一信息可以通过以下三个“key-value”进行描述:The first information can be described by the following three "key-values":

KeyKey valuevalue content-typecontent-type <MIME-Type><MIME-Type> content-lengthcontent-length <Payload Length><Payload Length> contentcontent <Payload><Payload>

其中,content-type表征第一内容的格式;content-length表征第一内容的长度;content对应的值Payload表征第一内容。Wherein, content-type represents the format of the first content; content-length represents the length of the first content; and a value corresponding to content, Payload, represents the first content.

第二信息可以通过至少一个“key-value”进行描述:name1:value1,name2:value2。第二信息包括第一标记和/或第二标记。所述第一标记用于标记第一位置;所述第一位置表征所述第一内容显示在第一应用的应用界面中的部分在所述第一内容中所处的位置;所述第二标记表征在所述第一电子设备的第一应用中为所述第一内容添加的标注信息。The second information may be described by at least one "key-value": name1:value1, name2:value2. The second information includes the first indicia and/or the second indicia. The first mark is used to mark a first position; the first position represents the position where the part of the first content displayed in the application interface of the first application is located in the first content; the second The tag represents the annotation information added to the first content in the first application of the first electronic device.

第三信息通过以下方式生成:The third information is generated by:

通过与所述第二电子设备进行消息交互,确定出所述第二电子设备中是否存在第一应用的访问入口;Determine whether there is an access entry for the first application in the second electronic device by interacting with the second electronic device;

在所述第二电子设备中存在第一应用的访问入口的情况下,生成包括所述第一应用的应用包名的第三信息;generating third information including an application package name of the first application in the case that the access entry of the first application exists in the second electronic device;

在所述第二电子设备中不存在第一应用的访问入口的情况下,基于第一应用的应用包名、至少一种访问入口类型和至少一种访问入口类型中每种访问入口类型对应的访问入口,生成第三信息。In the case that the access entry of the first application does not exist in the second electronic device, based on the application package name of the first application, the at least one access entry type, and the at least one access entry type corresponding to each access entry type Access the portal to generate third information.

第三信息可以通过以下三个“key-value”进行描述:The third information can be described by the following three "key-values":

keykey valuevalue package-namepackage-name <reverse-DNS><reverse-DNS> content-typecontent-type Optional:<URL>or/and<BINARYOptional:<URL>or/and<BINARY contentcontent Optional:<payload>//安装包的内容或者URL链接Optional:<payload>//The content or URL link of the installation package

其中,package-name表征第一应用的应用包名;content-type表征第一应用的访问方式;content表征第一应用的访问方式对应的访问入口。The package-name represents the application package name of the first application; the content-type represents the access mode of the first application; and the content represents the access entry corresponding to the access mode of the first application.

步骤402:第一电子设备将序列化后的第一信息序列发送至第二电子设备。Step 402: The first electronic device sends the serialized first information sequence to the second electronic device.

其中,第一电子设备对所述第一信息序列进行序列化,得到序列化后的第一信息序列,将序列化后的第一信息序列发送至第二电子设备。The first electronic device serializes the first information sequence to obtain the serialized first information sequence, and sends the serialized first information sequence to the second electronic device.

步骤403:第二电子设备接收第一电子设备发送的序列化后的第一信息序列。Step 403: The second electronic device receives the serialized first information sequence sent by the first electronic device.

步骤404:第二电子设备对接收到的第一信息序列进行反序列化,得到第一信息、第二信息和第三信息。Step 404: The second electronic device deserializes the received first information sequence to obtain the first information, the second information and the third information.

步骤405:第二电子设备中存在第一应用的访问入口的情况下,在所述第三信息中确定出第一应用的应用包名,基于确定出的应用包名运行第一应用,并以第二信息表征的加载状态在第一应用中加载第一信息表征的第一内容。Step 405: In the case where there is an access entry for the first application in the second electronic device, determine the application package name of the first application in the third information, run the first application based on the determined application package name, and use the The loading state of the second information representation loads the first content of the first information representation in the first application.

步骤406:第二电子设备不存在第一应用的访问入口的情况下,在所述第三信息中确定出第一应用的至少一种访问入口类型和所述至少一种访问入口类型中每种访问入口类型对应的访问入口,基于确定出的访问入口运行第一应用,并以第二信息表征的加载状态在第一应用中加载第一信息表征的第一内容。Step 406: In the case where the second electronic device does not have an access entry for the first application, determine from the third information at least one access entry type of the first application and each of the at least one access entry type The access entry corresponding to the access entry type runs the first application based on the determined access entry, and loads the first content represented by the first information in the first application in the loading state represented by the second information.

为实现本申请实施例应用于第一电子设备的信息分享方法,本申请实施例还提供了一种信息分享装置,如图5所示,该信息分享装置包括:In order to realize the information sharing method applied to the first electronic device in the embodiment of the present application, the embodiment of the present application further provides an information sharing apparatus, as shown in FIG. 5 , the information sharing apparatus includes:

第一生成模块51,用于生成第一信息序列;所述第一信息序列至少包括第一信息、第二信息和第三信息;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息;The first generating module 51 is configured to generate a first information sequence; the first information sequence includes at least first information, second information and third information; the first information represents a first application in the first electronic device The loaded first content; the second information represents the loading state of the first content in the first application; the third information includes the application package name of the first application and the related information of the access entry;

发送模块52,用于将所述第一信息序列发送至第二电子设备,以使所述第二电子设备基于所述第一信息序列,以所述加载状态在所述第一应用中加载所述第一内容。The sending module 52 is configured to send the first information sequence to the second electronic device, so that the second electronic device loads all the information in the first application in the loading state based on the first information sequence. the first content.

在一些实施例中,所述访问入口的相关信息包括:In some embodiments, the relevant information of the access portal includes:

至少一种访问入口类型和所述至少一种访问入口类型中每种访问入口类型对应的访问入口;其中,At least one access entry type and an access entry corresponding to each access entry type in the at least one access entry type; wherein,

访问入口类型包括第一类型和/或第二类型;所述第一类型表征统一资源定位符URL;所述第二类型表征所述第一应用的安装包。The access entry type includes a first type and/or a second type; the first type represents a uniform resource locator URL; the second type represents an installation package of the first application.

在一些实施例中,该信息分享装置还包括:In some embodiments, the information sharing apparatus further includes:

获取模块,用于获取第一应用上报的所述第一信息、所述第二信息和所述第三信息。an obtaining module, configured to obtain the first information, the second information and the third information reported by the first application.

在一些实施例中,第一生成模块51具体用于:In some embodiments, the first generation module 51 is specifically used for:

通过与所述第二电子设备进行消息交互,确定出所述第二电子设备中是否存在所述第一应用的访问入口;determining whether there is an access entry for the first application in the second electronic device by interacting with the second electronic device;

在所述第二电子设备中不存在所述第一应用的访问入口的情况下,生成所述第一信息序列。The first information sequence is generated when the access entry of the first application does not exist in the second electronic device.

在一些实施例中,该信息分享装置还包括:In some embodiments, the information sharing apparatus further includes:

第二生成模块,用于生成包括第一标记和/或第二标记的所述第二信息;其中,所述第一标记用于标记第一位置;所述第一位置表征所述第一内容显示在第一应用的应用界面中的部分在所述第一内容中所处的位置;所述第二标记表征在所述第一电子设备的第一应用中为所述第一内容添加的标注信息。A second generating module, configured to generate the second information including a first mark and/or a second mark; wherein the first mark is used to mark a first position; the first position represents the first content the position of the part displayed in the application interface of the first application in the first content; the second mark represents the annotation added to the first content in the first application of the first electronic device information.

在一些实施例中,该信息分享装置还包括:In some embodiments, the information sharing apparatus further includes:

第三生成模块,用于生成至少包括所述第一内容的所述第一信息。A third generating module is configured to generate the first information including at least the first content.

在一些实施例中,所述第一信息还包括:In some embodiments, the first information further includes:

所述第一内容的格式;和/或,the format of the first content; and/or,

所述第一内容的长度。the length of the first content.

在一些实施例中,所述第一内容的格式包括多用途互联网邮件扩展MIME类型。In some embodiments, the format of the first content includes the Multipurpose Internet Mail Extensions MIME type.

在一些实施例中,所述第一信息序列表征为由所述第一信息、所述第二信息和所述第三信息构成的三元组。In some embodiments, the first information sequence is characterized as a triplet consisting of the first information, the second information and the third information.

实际应用时,上述各模块可通过终端中的处理器,比如中央处理器(CPU,CentralProcessing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)等实现,或由处理器和通信接口共同实现。In practical applications, the above modules can be implemented through a processor in the terminal, such as a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor), a microcontroller unit (MCU, Microcontroller Unit) or programmable. Gate Array (FPGA, Field-Programmable Gate Array), etc., or jointly implemented by the processor and the communication interface.

需要说明的是:上述实施例提供的信息分享装置在进行信息分享时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的信息分享装置与信息分享方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the information sharing device provided in the above-mentioned embodiment performs information sharing, only the division of the above-mentioned program modules is used as an example for illustration. That is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the information sharing apparatus and the information sharing method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.

为实现本申请实施例应用于第二电子设备的信息分享方法,本申请实施例还提供了一种信息分享装置,如图6所示,该信息分享装置包括:In order to realize the information sharing method applied to the second electronic device in the embodiment of the present application, the embodiment of the present application further provides an information sharing apparatus, as shown in FIG. 6 , the information sharing apparatus includes:

接收模块61,用于接收第一电子设备发送的第一信息序列;其中,所述第一信息序列至少包括第一信息、第二信息和第三信息;所述第一信息表征所述第一电子设备中第一应用加载的第一内容;所述第二信息表征所述第一内容在所述第一应用中的加载状态;所述第三信息包括所述第一应用的应用包名和访问入口的相关信息;A receiving module 61, configured to receive a first information sequence sent by a first electronic device; wherein, the first information sequence includes at least first information, second information and third information; the first information represents the first information The first content loaded by the first application in the electronic device; the second information represents the loading state of the first content in the first application; the third information includes the application package name and access of the first application information about the entrance;

加载模块62,用于基于所述第一信息序列,以所述加载状态在第一应用中加载所述第一内容。The loading module 62 is configured to load the first content in the first application in the loading state based on the first information sequence.

在一些实施例中,加载模块62具体用于:In some embodiments, the load module 62 is specifically used to:

在所述第三信息中确定出第一应用的应用包名,基于确定出的应用包名运行第一应用,并以所述加载状态在第一应用中加载所述第一内容;或者,Determine the application package name of the first application in the third information, run the first application based on the determined application package name, and load the first content in the first application in the loading state; or,

在所述第三信息中确定出第一应用的访问入口的相关信息,基于确定出的访问入口的相关信息运行第一应用,并以所述加载状态在第一应用中加载所述第一内容。Determine the relevant information of the access entry of the first application in the third information, run the first application based on the determined relevant information of the access entry, and load the first content in the first application in the loading state .

在一些实施例中,所述访问入口的相关信息包括:In some embodiments, the relevant information of the access portal includes:

至少一种访问入口类型和所述至少一种访问入口类型中每种访问入口类型对应的访问入口;其中,At least one access entry type and an access entry corresponding to each access entry type in the at least one access entry type; wherein,

访问入口类型包括第一类型和/或第二类型;所述第一类型表征统一资源定位符URL;所述第二类型表征所述第一应用的安装包。The access entry type includes a first type and/or a second type; the first type represents a uniform resource locator URL; the second type represents an installation package of the first application.

在一些实施例中,加载模块62具体用于:In some embodiments, the load module 62 is specifically used to:

在确定出的访问入口类型为第一类型的情况下,基于URL访问第一应用;When the determined access entry type is the first type, access the first application based on the URL;

在确定出的访问入口类型为第二类型的情况下,基于第一应用的安装包安装第一应用,以及运行安装的第一应用。In the case that the determined access entry type is the second type, the first application is installed based on the installation package of the first application, and the installed first application is executed.

在一些实施例中,加载模块62具体用于:In some embodiments, the load module 62 is specifically used to:

基于所述第二信息中包括的第一标记和/或第二标记,在第一应用中加载所述第一内容;其中,Loading the first content in the first application based on the first tag and/or the second tag included in the second information; wherein,

所述第一标记用于标记第一位置;所述第一位置表征所述第一内容显示在第一应用的应用界面中的部分在所述第一内容中的所处位置;所述第二标记表征在所述第一电子设备的第一应用中为所述第一内容添加的标注信息。The first mark is used to mark a first position; the first position represents the position of the part of the first content displayed in the application interface of the first application in the first content; the second The tag represents the annotation information added to the first content in the first application of the first electronic device.

在一些实施例中,所述第一信息至少包括所述第一内容;所述第一信息还包括:In some embodiments, the first information includes at least the first content; the first information further includes:

所述第一内容的格式;和/或,the format of the first content; and/or,

所述第一内容的长度。the length of the first content.

实际应用时,加载模块62可通过终端中的处理器,比如中央处理器(CPU,CentralProcessing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)等实现,接收模块61可通过处理器和通信接口共同实现。In practical applications, the loading module 62 can be implemented through a processor in the terminal, such as a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor), a microcontroller unit (MCU, Microcontroller Unit) or programmable Gate Array (FPGA, Field-Programmable Gate Array), etc., the receiving module 61 can be jointly implemented by a processor and a communication interface.

需要说明的是:上述实施例提供的信息分享装置在进行信息分享时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的信息分享装置与信息分享方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the information sharing device provided in the above-mentioned embodiment performs information sharing, only the division of the above-mentioned program modules is used as an example for illustration. That is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the information sharing apparatus and the information sharing method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.

基于上述程序模块的硬件实现,且为了实现本申请实施例的方法,本申请实施例还提供了一种电子设备。图7为本申请实施例提供的电子设备的硬件组成结构示意图,如图7所示,电子设备7包括:Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides an electronic device. FIG. 7 is a schematic diagram of a hardware composition structure of an electronic device provided by an embodiment of the application. As shown in FIG. 7 , the electronic device 7 includes:

通信接口71,能够与其它设备比如网络设备等进行信息交互;A communication interface 71, capable of information interaction with other devices such as network devices;

处理器72,与所述通信接口71连接,以实现与其它设备进行信息交互,用于运行计算机程序时,执行上述应用于第一电子设备的一个或多个技术方案提供的信息分享方法,或者执行上述应用于第二电子设备的一个或多个技术方案提供的信息分享方法。而所述计算机程序存储在存储器73上。The processor 72 is connected to the communication interface 71 to realize information interaction with other devices, and when running the computer program, executes the information sharing method provided by the above-mentioned one or more technical solutions applied to the first electronic device, or The information sharing method provided by one or more of the above technical solutions applied to the second electronic device is executed. And the computer program is stored on the memory 73 .

当然,实际应用时,电子设备7中的各个组件通过总线系统74耦合在一起。可理解,总线系统74用于实现这些组件之间的连接通信。总线系统74除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线系统74。Of course, in practical application, the various components in the electronic device 7 are coupled together through the bus system 74 . It will be appreciated that the bus system 74 is used to implement the connection communication between these components. In addition to the data bus, the bus system 74 also includes a power bus, a control bus and a status signal bus. For clarity, however, the various buses are labeled as bus system 74 in FIG. 7 .

本申请实施例中的存储器73用于存储各种类型的数据以支持电子设备7的操作。这些数据的示例包括:用于在电子设备7上操作的任何计算机程序。The memory 73 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device 7 . Examples of these data include: any computer program used to operate on the electronic device 7 .

可以理解,存储器73可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random AccessMemory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器73旨在包括但不限于这些和任意其它适合类型的存储器。It is to be understood that the memory 73 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-only memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD-ROM, or Compact Disc Read-Only Memory (CD-ROM, Compact Disc Read-Only Memory); the magnetic surface memory can be a magnetic disk memory or a tape memory. The volatile memory may be Random Access Memory (RAM), which is used as an external cache memory. By way of example and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, SynchronousDynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) . The memory 73 described in the embodiments of the present application is intended to include, but not limited to, these and any other suitable types of memory.

上述本申请实施例揭示的方法可以应用于处理器72中,或者由处理器72实现。处理器72可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器72中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器72可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器72可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器73,处理器72读取存储器73中的程序,结合其硬件完成前述方法的步骤。The methods disclosed in the above embodiments of the present application may be applied to the processor 72 or implemented by the processor 72 . The processor 72 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in the processor 72 or an instruction in the form of software. The aforementioned processor 72 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 72 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of this application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 73, and the processor 72 reads the program in the memory 73, and completes the steps of the foregoing method in combination with its hardware.

可选地,所述处理器72执行所述程序时实现本申请实施例的各个方法中由终端实现的相应流程,为了简洁,在此不再赘述。Optionally, when the processor 72 executes the program, the corresponding processes implemented by the terminal in each method in the embodiments of the present application are implemented, which is not repeated here for brevity.

在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的第一存储器73,上述计算机程序可由终端的处理器72执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, an embodiment of the present application further provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 73 that stores a computer program, and the above-mentioned computer program can be processed by a terminal The device 72 is executed to complete the steps described in the aforementioned method. The computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present application may all be integrated into one processing module, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units. Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute Including the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk and other various A medium on which program code can be stored.

需要说明的是,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。It should be noted that the technical solutions described in the embodiments of the present application may be combined arbitrarily unless there is a conflict.

需要说明的是,本申请实施例中的术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多个中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。It should be noted that the term "and/or" in the embodiments of the present application is only an association relationship to describe associated objects, indicating that there may be three kinds of relationships, for example, A and/or B, which may indicate that A exists alone , A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein refers to any combination of any one of the plurality or at least two of the plurality, for example, including at least one of A, B, and C, and may mean including from A, B, and C. Any one or more elements selected from the set of B and C.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (19)

1. An information sharing method is applied to a first electronic device, and comprises the following steps:
generating a first information sequence; the first information sequence at least comprises first information, second information and third information; the first information represents first content loaded by a first application in the first electronic equipment; the second information characterizes a loading state of the first content in the first application; the third information comprises the application package name of the first application and the related information of an access entrance;
and sending the first information sequence to a second electronic device so that the second electronic device loads the first content in the first application in the loading state based on the first information sequence.
2. The method of claim 1, wherein the accessing the relevant information of the portal comprises:
the access entry corresponding to each access entry type in at least one access entry type and the at least one access entry type; wherein,
the access entry type comprises a first type and/or a second type; the first type represents a uniform resource locator, URL; the second type characterizes an installation package of the first application.
3. The method according to claim 1 or 2, wherein prior to said generating the first information sequence, the method further comprises:
and acquiring the first information, the second information and the third information reported by the first application.
4. The method of claim 1, wherein generating the first information sequence comprises:
determining whether an access entrance of the first application exists in the second electronic equipment or not by performing message interaction with the second electronic equipment;
generating the first information sequence in the absence of an access portal for the first application in the second electronic device.
5. The method of claim 1, wherein prior to said generating the first sequence of information, the method further comprises:
generating the second information comprising the first mark and/or the second mark; wherein,
the first mark is used for marking a first position; the first location characterizes a location in the first content of a portion of the first content that is displayed in an application interface of a first application; the second mark represents the annotation information added for the first content in the first application of the first electronic equipment.
6. The method of claim 1, wherein prior to said generating the first sequence of information, the method further comprises:
generating the first information including at least the first content.
7. The method of claim 6, wherein the first information further comprises:
a format of the first content; and/or the presence of a gas in the gas,
a length of the first content.
8. The method of claim 7, wherein the format of the first content comprises multipurpose internet mail extensions, MIME, type.
9. The method according to any one of claims 1 to 2 and 4 to 8, wherein the first information sequence is characterized by a triplet consisting of the first information, the second information and the third information.
10. An information sharing method is applied to a second electronic device, and comprises the following steps:
receiving a first information sequence sent by first electronic equipment; wherein the first information sequence comprises at least first information, second information and third information; the first information represents first content loaded by a first application in the first electronic equipment; the second information characterizes a loading state of the first content in the first application; the third information comprises the application package name of the first application and the related information of an access entrance;
loading the first content in the first application in the loaded state based on the first information sequence.
11. The method of claim 10, wherein loading the first content in the first application in the loaded state comprises:
determining an application package name of the first application in the third information, running the first application based on the determined application package name, and loading the first content in the first application in the loading state; or,
and determining relevant information of an access entrance of the first application in the third information, running the first application based on the determined relevant information of the access entrance, and loading the first content in the first application in the loading state.
12. The method of claim 11, wherein the accessing the relevant information of the portal comprises:
the access entry corresponding to each access entry type in at least one access entry type and the at least one access entry type; wherein,
the access entry type comprises a first type and/or a second type; the first type represents a uniform resource locator, URL; the second type characterizes an installation package of the first application.
13. The method of claim 12, wherein the running the first application based on the determined information about the access entry comprises:
under the condition that the determined access entry type is a first type, accessing a first application based on a URL (uniform resource locator);
and under the condition that the determined access entry type is the second type, installing the first application based on the installation package of the first application, and running the installed first application.
14. The method of claim 10, wherein loading the first content in the first application in the loaded state comprises:
loading the first content in a first application based on a first mark and/or a second mark included in the second information; wherein,
the first mark is used for marking a first position; the first position represents a position of a part of the first content displayed in an application interface of a first application in the first content; the second mark represents the annotation information added for the first content in the first application of the first electronic equipment.
15. The method of claim 10, wherein the first information comprises at least the first content; the first information further includes:
a format of the first content; and/or the presence of a gas in the gas,
a length of the first content.
16. An information sharing apparatus, comprising:
the first generation module is used for generating a first information sequence; the first information sequence at least comprises first information, second information and third information; the first information represents first content loaded by a first application in the first electronic equipment; the second information characterizes a loading state of the first content in the first application; the third information comprises the application package name of the first application and the related information of an access entrance;
and the sending module is used for sending the first information sequence to second electronic equipment so that the second electronic equipment loads the first content in the first application in the loading state based on the first information sequence.
17. An information sharing apparatus, comprising:
the receiving module is used for receiving a first information sequence sent by first electronic equipment; wherein the first information sequence is generated by the first electronic device and comprises at least first information, second information and third information; the first information represents first content loaded by a first application in the first electronic equipment; the second information characterizes a loading state of the first content in the first application; the third information comprises the application package name of the first application and the related information of an access entrance;
and the loading module is used for loading the first content in the first application in the loading state based on the first information sequence.
18. An electronic device, comprising: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to execute, when executing the computer program, one of:
a step of the information sharing method according to any one of claims 1 to 9;
the steps of the information sharing method of any one of claims 10 to 15.
19. A computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing one of:
a step of the information sharing method according to any one of claims 1 to 9;
the steps of the information sharing method of any one of claims 10 to 15.
CN202111346614.1A 2021-11-15 2021-11-15 Information sharing method, device, electronic device and storage medium Pending CN114048048A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111346614.1A CN114048048A (en) 2021-11-15 2021-11-15 Information sharing method, device, electronic device and storage medium
PCT/CN2022/117760 WO2023082813A1 (en) 2021-11-15 2022-09-08 Information sharing method and apparatus, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111346614.1A CN114048048A (en) 2021-11-15 2021-11-15 Information sharing method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114048048A true CN114048048A (en) 2022-02-15

Family

ID=80208969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111346614.1A Pending CN114048048A (en) 2021-11-15 2021-11-15 Information sharing method, device, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN114048048A (en)
WO (1) WO2023082813A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023082813A1 (en) * 2021-11-15 2023-05-19 Oppo广东移动通信有限公司 Information sharing method and apparatus, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140082045A1 (en) * 2012-09-14 2014-03-20 Adobe Systems Incorporated Responsive Modification of Electronic Content
CN104780209A (en) * 2015-04-07 2015-07-15 北京奇点机智信息技术有限公司 Portable equipment and server for realizing sharing interface scenario
CN104980326A (en) * 2014-04-03 2015-10-14 联想移动通信软件(武汉)有限公司 Method and device for sharing application content between terminal equipment
CN111600931A (en) * 2020-04-13 2020-08-28 维沃移动通信有限公司 Information sharing method and electronic device
WO2020221229A1 (en) * 2019-04-30 2020-11-05 上海连尚网络科技有限公司 Application program sharing method and apparatus, shared information display method and apparatus, device and medium
CN112187619A (en) * 2020-05-26 2021-01-05 华为技术有限公司 Instant messaging method and equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9928221B1 (en) * 2014-01-07 2018-03-27 Google Llc Sharing links which include user input
KR20160039746A (en) * 2014-10-01 2016-04-12 삼성전자주식회사 Information sharing method and electronic device thereof
CN111680238B (en) * 2019-03-11 2023-07-14 腾讯科技(深圳)有限公司 Information sharing method, device and storage medium
CN110457522B (en) * 2019-08-15 2022-09-06 北京字节跳动网络技术有限公司 Information sharing method and device, terminal and storage medium
CN114048048A (en) * 2021-11-15 2022-02-15 Oppo广东移动通信有限公司 Information sharing method, device, electronic device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140082045A1 (en) * 2012-09-14 2014-03-20 Adobe Systems Incorporated Responsive Modification of Electronic Content
CN104980326A (en) * 2014-04-03 2015-10-14 联想移动通信软件(武汉)有限公司 Method and device for sharing application content between terminal equipment
CN104780209A (en) * 2015-04-07 2015-07-15 北京奇点机智信息技术有限公司 Portable equipment and server for realizing sharing interface scenario
WO2020221229A1 (en) * 2019-04-30 2020-11-05 上海连尚网络科技有限公司 Application program sharing method and apparatus, shared information display method and apparatus, device and medium
CN111600931A (en) * 2020-04-13 2020-08-28 维沃移动通信有限公司 Information sharing method and electronic device
CN112187619A (en) * 2020-05-26 2021-01-05 华为技术有限公司 Instant messaging method and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023082813A1 (en) * 2021-11-15 2023-05-19 Oppo广东移动通信有限公司 Information sharing method and apparatus, electronic device and storage medium

Also Published As

Publication number Publication date
WO2023082813A1 (en) 2023-05-19

Similar Documents

Publication Publication Date Title
US8429551B2 (en) Application-based copy and paste operations
US9619304B2 (en) Automatic connections between application components
US20220075518A1 (en) Fast Data Copying Method and Electronic Device
CN110941500B (en) Interface display method and device
CN106648569B (en) Target serialization realization method and device
EP4109321A1 (en) Mail processing method and apparatus, electronic device and storage medium
CN113382083B (en) Webpage screenshot method and device
CN105740330B (en) Method and device for displaying data in paging mode
CN113220273B (en) Micro front-end application resource processing method, device, equipment and medium
CN104520816A (en) Cross-extension messaging using the browser as middleware
WO2017049761A1 (en) Method, apparatus, system, device and storage medium for copying/pasting picture
US9251267B2 (en) Generating behavior information for a link
CN113761871A (en) Rich text rendering method and device, electronic equipment and storage medium
CN114564203A (en) Service operation method and device, electronic equipment and readable medium
CN112799760A (en) Form rendering method and device
CN112528184A (en) Sending method and device of rich text mail, computer equipment and storage medium
WO2024169747A1 (en) Excel data processing method and apparatus, electronic device, and storage medium
CN113656041A (en) Data processing method, apparatus, equipment and storage medium
US20140075288A1 (en) Electronic device and method for displaying images on screen
US20220113997A1 (en) Application sharing method, electronic apparatus and non-transitory computer-readable storage medium
CN114048048A (en) Information sharing method, device, electronic device and storage medium
CN113553522B (en) A page display method, device, electronic device and storage medium
CN113282285B (en) Code writing method, device, electronic equipment and storage medium
US20110161795A1 (en) Inter-application document access
CN116455856A (en) Information processing method, information processing device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220215