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

Information sharing method and device, electronic equipment 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
electronic equipment
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; CALCULATING OR 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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui

Abstract

The application discloses an information sharing method, an information sharing device, electronic equipment and a storage medium, wherein the method comprises the following steps: the first electronic equipment generates 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.

Description

Information sharing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information sharing method and apparatus, an electronic device, and a storage medium.
Background
When a user looks up interested contents in the used electronic equipment, the interested contents are shared to the electronic equipment used by other users through the information sharing function of the electronic equipment, so that the other users can look up the corresponding contents through the used electronic equipment. In the related art, the efficiency of information sharing is low, for example, the information to be shared cannot be accurately and quickly presented to other users through the electronic device.
Disclosure of Invention
In view of this, embodiments of the present application provide an information sharing method and apparatus, an electronic device, and a storage medium, so as to solve the technical problem of low efficiency of information sharing in the related art.
In order to achieve the purpose, the technical scheme of the application is realized as follows:
the embodiment of the application provides an information sharing method, which is applied to first electronic equipment 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.
In the above solution, the information related to the access entry includes:
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 content of the first and second substances,
the access entry type comprises a first type and/or a second type; the first type characterizes a Uniform Resource Locator (URL); the second type characterizes an installation package of the first application.
In the foregoing solution, before the generating the first information sequence, the method further includes:
and acquiring the first information, the second information and the third information reported by the first application.
In the foregoing solution, before the generating the first information sequence, the method further includes:
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 third information in a case where an access portal of the first application does not exist in the second electronic device.
In the foregoing solution, before the generating the first information sequence, the method further includes:
generating the second information comprising the first mark and/or the second mark; wherein the content of the first and second substances,
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.
In the foregoing solution, before the generating the first information sequence, the method further includes:
generating the first information including at least the first content.
In the foregoing solution, 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.
In the above solution, the format of the first content includes multipurpose internet mail extensions, MIME, type.
In the above scheme, the first information sequence is characterized by a triple composed of the first information, the second information, and the third information.
The embodiment of the application further provides an information sharing method applied to a second electronic device, and the method 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.
In the foregoing solution, the loading the first content in the first application in the loading state includes:
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; alternatively, the first and second electrodes may be,
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.
In the above solution, the information related to the access entry includes:
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 content of the first and second substances,
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.
In the foregoing solution, the running the first application based on the determined relevant information of the access entry includes:
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.
In the foregoing solution, the loading the first content in the first application in the loading state includes:
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 content of the first and second substances,
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.
In the above solution, the first information at least includes 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.
The embodiment of the present application further provides an information sharing device, including:
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.
The embodiment of the present application further provides an information sharing device, including:
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.
An embodiment of the present application further provides an electronic device, including: a processor and a memory for storing a computer program capable of running on the processor,
the processor is configured to execute the steps of the information sharing method applied to the first electronic device or the second electronic device when the computer program is run.
The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the information sharing method applied to the first electronic device or the second electronic device.
In the embodiment of the application, first electronic equipment generates a first information sequence at least comprising 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; (ii) a And 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. 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 comprises the application package name of the first application and the related information of the access entrance, so that the second electronic device can access the first application based on the third information and directly display the content correspondingly displayed when the first electronic device shares information in the first application without manually installing the first application, and the information to be shared can be accurately and quickly presented to other users through the electronic device.
Drawings
Fig. 1 is a schematic diagram of an information sharing method provided in the related art;
fig. 2 is an interaction diagram of an information sharing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of an information sharing interface provided in an embodiment of the present application;
fig. 4 is an interaction diagram of an information sharing method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an information sharing apparatus according to another embodiment of the present disclosure;
fig. 7 is a schematic diagram of a hardware component structure of an electronic device according to an embodiment of the present application.
Detailed Description
In the related art, the electronic device mainly shares the interested content to the electronic device used by other users through the following two schemes:
the first scheme is as follows: as shown in fig. 1, the electronic device shares the content of interest to other nearby electronic devices that support the air delivery (AirDrop) function based on bluetooth technology or wireless fidelity (Wi-Fi) technology through the air delivery (AirDrop) function.
Scheme II: the user clicks a sharing button or a sharing icon included in a page loaded in the electronic equipment, and the electronic equipment is triggered to share the interested content to the electronic equipment used by other users.
The purpose of information sharing is to enable the opposite side to view corresponding content, different content has different formats, and content in different formats can be presented to a user only after being analyzed by an application supporting the corresponding format. For example, when the electronic device receives a shared photo and detects a viewing instruction, the electronic device displays the photo through an application supporting a picture format; and when the shared webpage, video or document is received, loading is carried out by supporting the application with the corresponding format, and displaying is carried out from the beginning. However, the content currently displayed by the electronic device may not be information that the user wants to share, and also may not support the shared content by any application in the electronic device, and the shared content may only be viewed by manually installing a corresponding application program. Therefore, the two schemes cannot accurately and quickly present the information to be shared to other users through the electronic equipment.
Based on this, an embodiment of the present application provides an information sharing method, in which a first electronic device generates a first information sequence including 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 characterizes access information related to the first application; and 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. The loading state represented by the second information is the loading state corresponding to part of the first content displayed when the first electronic device shares information, so that the second electronic device can directly display the content correspondingly displayed when the first electronic device shares information in the first application without manually installing the first application, and therefore the information to be shared can be accurately and quickly presented to other users through the electronic device.
Fig. 2 is an interaction diagram of an information sharing method according to an embodiment of the present application. As shown in fig. 2, the information sharing method includes:
step 201: the first electronic equipment generates a first information sequence; 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 includes an application package name of the first application and information related to an access entry.
Here, the first user triggers the first electronic device to generate a sharing instruction in a process of viewing part or all of the first content loaded by the first application in the first electronic device. In actual application, a first user can click a sharing button or a sharing icon in an interactive interface of first application to trigger first electronic equipment to pop up the first interface, wherein the first interface comprises an icon of an information application and/or at least one instant messaging application; and the first user clicks the related 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 comprises at least one of: web pages, photographs, documents, videos. The document includes a word document or a PDF document. Of course, the first content may also be other types of content. Instant messaging applications include WeChat, QQ, and the like.
The method comprises the steps that under the condition that a sharing instruction is detected, first information is determined on the basis of first content loaded by a first application, second information is determined on the basis of output content of an application interface of the first application, and third information corresponding to the first application is determined; a first information sequence is generated 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 comprises at least part of the first content and can also comprise annotation information added by a user for the displayed part of the first content. For example, in the case that the first content is a photo, the output content of the application interface of the first application at least includes part or all of the photo, and may further include annotation information added to the captured object in the photo, such as a graphic used for circling the captured object. For another example, when the first content is a document, the output content of the application interface of the first application at least includes a partial paragraph in the document, and may further include tagging information added to the partial paragraph; the annotation information may be characterized as a mark of the selected portion of the first content, or a mark of the highlighted portion of the first content, or a reading position, an editing position, etc. of the mark. The editing position refers to a position where the edited content is located in the first content.
The loading state of the second information representation can comprise the loading progress and/or the annotation information added to the loaded first content. The loading progress indicates a position of a portion of the first content displayed in the application interface of the first application in the first content. For example, in the case that the first content is a video, the loading progress may be a playing time, or may be a position where a currently played video frame is located in all video frames included in the video. In the case that the first content is a document, the loading progress may be represented by a page number and a line number corresponding to the currently displayed text content, or may be represented by a page number and a paragraph corresponding to the currently displayed text content.
It should be noted that the first electronic device may be a mobile phone, a tablet computer, a wearable device with a display screen, a computer, or other terminal devices. The first user is a user who wants to share information with other users. The first applications include applications that need to be downloaded and installed for use and web applications that do not need to be downloaded and installed for use. Web applications that can be used without download installation include fast applications, applets, etc. The fast application is obtained by adopting front-end technology stack development and native rendering, and has the dual advantages of an HTML 5 page and native application.
In order to facilitate the second electronic device receiving the first information sequence to quickly load the first content through the first application, considering that there may be an access entry of the first application in the second electronic device and there may not be an access entry of the first application, in some embodiments, the generating the first information sequence includes:
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.
Here, the first electronic device sends a first request to the second electronic device when detecting the sharing request, where the first request is used to request to query whether an access entry of the first application exists in the second electronic device; the second electronic device returns the query result 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.
And under the condition that the query result represents that the access entrance of the first application does not exist in the second electronic equipment, determining the first information, the second information and the third information, and generating a first information sequence at least based on the first information, the second information and the third information. 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 application through the corresponding access entry. 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; the first information may also be determined based on the first content loaded by the first application, the second information may be determined based on the output content of the application interface of the first application, and the third information corresponding to the first application may be determined.
It should be noted that, when the query result indicates that the second electronic device has the access entry of the first application, the third information included in the first information sequence generated by the first electronic device may not include the relevant information of the access entry of the first application, so that the data transmission amount may be reduced, and the data transmission efficiency may be improved.
Considering that the access portal types supported by different applications may be different in actual applications, there may be two access portal types supported by the same application, for example, when the first application corresponds to a web page version and a client version, the first application supports two access portal types. In order to improve the success rate of loading the first content and the information sharing efficiency, in some embodiments, the information related to the access entry includes:
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 content of the first and second substances,
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.
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.
In practical applications, the first type may be identified by a string of URL, and the second type may be identified by BINARY. The first electronic device may describe the third information using at least three fields and corresponding field values. A first field, such as a package-name, for writing an application package name of the first application; a second field, e.g., content-type, for write access entry type; a third field, e.g., content, for writing data associated with the access entry. When the field value of the second field is URL, the field value of the third field is URL link; and when the field value of the second field is BINARY, the field value of the third field is a BINARY number group corresponding to the installation package.
It should be noted that the first application which 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 to be installed may correspond to the first access entry type or the second access entry type, and the user may select an access entry for running the first application according to actual requirements.
In the scheme, the third information included in the first information sequence includes an access entry type corresponding to the first application and an access entry corresponding to the access entry type, so that the second electronic device receiving the first information sequence can run the first application based on the third information in the first information sequence without manually searching and installing the first application by the second user, time consumed by loading the first content through the first application can be reduced, and information sharing efficiency is improved.
To facilitate the second electronic device parsing the first sequence of information, in some embodiments, the first sequence of information is characterized as a triplet 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 for generating the first information sequence may be generated by the first electronic device, or may be reported by the first application.
In view of the fact that the first application can accurately acquire the information related to 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, before the generating the first information sequence, the method further includes:
and acquiring 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, reports the collected first information, second information, and third information, and reports the collected first information, second information, and third information to an operating system of the first electronic device. The first electronic equipment acquires the first information, the second information and the third information reported by the first application. In some embodiments, the first electronic device, prior to generating the first sequence of information, the method further comprises: the first electronic device generates the first information including at least the first content.
Here, the first electronic device, when detecting the sharing instruction, acquires first content loaded by a first application running on a foreground, and generates first information including at least the first content based on the acquired first content. In practical application, the first electronic device obtains first content reported by the first application, and the first content represents a Payload to be transmitted and can be represented by Payload. Therefore, the first electronic device can generate the first information based on the content displayed on the display interface, the first application does not need to wait for the first information to be reported, and the efficiency of generating the first information sequence is improved.
In some embodiments, 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.
Here, the format of the first content is for the second electronic device to parse the first content. The format of the first content may be determined by a corresponding suffix name. The length of the first content represents the size of the data volume of the first content, and is used for the second electronic device to judge whether the received first content is complete.
In actual application, the first information comprises first content, the format of the first content and the length of the first content; the first electronic device employs three fields and corresponding field values to describe the first content, a format of the first content, and a length of the first content, respectively. 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.
In some embodiments, the format of the first content comprises a Multipurpose Internet Mail Extensions (MIME) type.
Each MIME type is composed of two parts, a large category of data such as audio, image, etc., in the front, and a specific category defined in the rear. For example, common MIME types are as follows:
html text/html
xml document xml text/xml
Common text txt text/play
PDF document, PDF application/PDF
PNG image PNG
GIF graphic, GIF image/GIF
AVI file 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 generating of the first information sequence, the method further includes:
the first electronic equipment generates the second information comprising the first mark and/or the second mark; wherein the content of the first and second substances,
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.
Here, the first electronic device generates, when the sharing instruction is detected, second information including the first mark and/or the second mark based on a portion of the first content displayed in the application interface of the first application. During actual application, the first electronic device determines the position of a part of first content displayed on an application interface of the first application in the first content, and generates a first mark; acquiring annotation information added for first content by a first user in a first application of first electronic equipment, and generating a second mark based on the acquired annotation information; and generating second information based on the generated first mark and/or second mark.
In practical applications, the first electronic device may describe the first label 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 a page number and a line number. For example, an application interface of a first application in the first electronic device outputs content corresponding to a page 5 in the document, and a user selects content corresponding to a line 10 in the content corresponding to the page 5, at this time, a first tag generated by the first electronic device represents the page 5, the line 10 of the document. Illustratively, the first token generated is described as: PageNumber:5 and LineNumber: 10.
In some embodiments, the first electronic device, prior to said generating the first sequence of information, the method further comprises:
the first electronic equipment generates the third information based on the application package name of the first application and the relevant information of the access entrance.
Here, the first electronic device, when detecting the sharing instruction, acquires the application package name of the first application and the information related to the access entry, and generates the third information based on the application package name of the first application and the information related to the access entry. For example, the manner of obtaining the application package name and the relevant information of the access entry of the first application may be that the first electronic device obtains the application package name and the relevant information of the access entry of the first application through an operating system in the first electronic device, or obtains the application package name and the relevant information of the access entry of the first application reported by the first application.
In the scheme, the first electronic device generates the third information, so that the data processing amount of the first application can be reduced.
Step 202: the first electronic device sends 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.
Here, the first electronic device transmits the generated first information sequence to the second electronic device in a case where the first information sequence is generated. In practical application, under the condition that the sharing instruction carries 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 by the sharing instruction.
The second electronic equipment is electronic equipment used by a second user. The cloud account numbers corresponding to the first electronic device and the second electronic device are different, and the cloud account numbers are used for the electronic devices to download the installation package. The second electronic device can be a mobile phone, a tablet computer, a wearable device with a display screen, a computer and other terminal devices.
In practical applications, the first information sequence is described in JSON (javascript Object notification) format, which is a lightweight data exchange format. The first electronic equipment serializes the first information sequence to obtain a serialized first information sequence, and sends the serialized first information sequence to the second electronic equipment.
Step 203: the second electronic equipment receives a first information sequence sent by the 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 includes an application package name of the first application and information related to an access entry.
Step 204: loading the first content in the first application in the loaded state based on the first information sequence.
The second electronic device analyzes the received first information sequence to obtain first information, second information and third information included in the first information sequence; running the first application based on the application package name of the first application and the related information of the access entrance included in the third information, and analyzing the first information through the first application to obtain first content loaded by the first application in the first electronic device; analyzing the second information through the first application to obtain the loading state of the first content in the first application; and loading the first content in the first application in the analyzed loading state, so that the content displayed on the application interface of the first application in the second electronic equipment is the same as the content displayed on the corresponding application interface when the first electronic equipment carries out information sharing. For example, as shown in fig. 3, when a first user views content of page 10 of a first document in a first electronic device, the first electronic device is triggered to generate a sharing instruction, the first electronic device sends a corresponding first information sequence to a second electronic device according to the above steps 201 to 202, and the second electronic device loads content of page 10 of the first document in a first application based on the received first information sequence, so that the second user views content of page 10 of the first document.
In some embodiments, the first information includes 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.
Here, the second electronic device may determine whether the received first content is complete based on the length of the first content, and in case the complete first content is received, parse and load the first content based on the format of the first content through the first application. 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 analyzing the first content can be improved.
In some embodiments, said loading said first content in said loaded state in a first application comprises:
the second electronic equipment 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 content of the first and second substances,
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.
Here, in a case where the second information includes the first mark, the second electronic device determines, based on the first mark, a position in the first content of a part of the first content to be displayed; based on the position of the part of the first content to be displayed in the first content, the part of the first content needing to be displayed in an application interface of the first application is determined, and the determined part of the first content is loaded in the first application. Therefore, the part of the first content which the first user wants to share can be accurately presented to the second user through the second electronic device.
And under the condition that the second information comprises a second mark, adding annotation information for the loaded part of the first content based on the second mark after the determined part of the first content is loaded in the first application. The annotation information is displayed on the part of the first content loaded by the first application in a layered manner.
Considering that in practical applications there may or may not be an access portal for the first application in the second electronic device. In some embodiments, said loading said first content in said loaded state in a first application 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; alternatively, the first and second electrodes may be,
and determining relevant information of an access entrance of a first application 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.
Here, when the second electronic device obtains the third information by analyzing the first information sequence, the application package name of the first application and the related information of the access entry of the first application are determined in the third information. Judging whether an access entrance of the first application exists in the second electronic equipment or not based on the application package name of the first application to obtain a judgment result; and under the condition that the judgment result represents that the access entrance of the first application exists in the second electronic equipment, running the first application based on the determined application package name, and loading the first content in the first application in the loading state represented by the second information. And under the condition that the judgment result represents that the access entrance of the first application does not exist in the second electronic equipment, running the first application on the relevant information of the access entrance of the first application, and loading the first content in the first application in the loading state represented by the second information. Therefore, the second electronic device can select the access entrance according to actual conditions to run the first application based on the selected access entrance, and flexibility of accessing the first application is improved.
In some embodiments, the information related to the access portal includes:
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 content of the first and second substances,
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.
In some embodiments, the running the first application based on the determined information related to the access entry includes:
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.
Here, the second electronic device analyzes the third information through the first application to obtain an analysis result of the third information; the analysis result comprises at least one access entry type and an access entry corresponding to each access entry type.
When the access entry type of the first application is a 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, at which time, the first application may be an applet or a fast application.
And 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 equipment installs the first application based on the installation package in the third information, and the first application is run after the installation of the first application is completed.
When the URL link and the installation package are included in the third information, the second electronic device may execute the first application based on the URL link or the installation package.
Because the second electronic device can run the first application based on the URL link or the installation package in the third information, the installation package of the first application does not need to be manually searched and downloaded, and the loading efficiency of the first content can be improved.
In the embodiment of the application, a first electronic device generates a first information sequence at least comprising first information, second information and third information, and sends the generated first information sequence to a second electronic device; and the second electronic equipment accesses the first application based on the third information in the received first information sequence under the condition of receiving the first information sequence, and loads the first content in the first application in the loading state represented by the second information in the first information sequence. Therefore, the second electronic device can directly display the content displayed by the corresponding application interface when the first electronic device shares the information 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 presented to other users through the electronic device.
The following explains the present scheme by taking an example that a first user and a second user share content of interest in a PDF file:
during the process that the user A reads the content of the PDF file through the first application of the first electronic device, the content of the page 5, lines 10 to 15 is found to be interesting, and the user A wants to share the content with the user B. At this time, the first electronic device currently displays the content on the 5 th page, lines 1 to 25 in the PDF file, and the user a may select the content on the 5 th page, lines 10 to 15 in the displayed content, click an information sharing icon in an application interface of the first application, and trigger the first electronic device to pop up a first interface including at least one application icon. And clicking the application icon in the first interface by the user A, selecting the user B from the corresponding user list, and triggering the first electronic equipment to generate a sharing instruction.
The method comprises the steps that first electronic equipment generates first information based on a PDF file loaded by a first application under the condition that a sharing instruction is detected; and generating second information based on the content of the 5 th page, lines 1 to 25 in the PDF file loaded by the first application and the content of the selected 5 th page, lines 10 to 15, and generating third information based on the application package name of the first application and the related information of the access entry. Or the first electronic device acquires the first information, the second information and the third information reported by the first application. The method comprises the steps that under the condition that first information, second information and third information are obtained, first electronic equipment generates a first information sequence on the basis of the first information, the second information and the third information; and serializing the first information sequence to obtain a serialized first information sequence, and sending the serialized first information sequence to the second electronic equipment. All information contained in the PDF file corresponds to the first content in the text, the second information comprises 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 content of selected page 5, lines 10 to 15. Illustratively, the first token generated is described as: PageNumber:5 and LineNumber: 10-15.
The second electronic device receives the serialized first information sequence sent by the first electronic device, and can display an abstract of the first information sequence in a chat interface with the user A. User B may click on the message digest triggering a view instruction. And the second electronic equipment carries out deserialization on the received serialized first information sequence under the condition that the viewing instruction is detected, so that the first information, the second information and the third information which are included in the first information sequence are obtained. And the second electronic equipment judges whether the access entrance of the first application exists in the second electronic equipment or not based on the application package name of the first application included in the third information, and a judgment result is obtained.
And under the condition that the judgment result represents that the access entrance of the first application exists in the second electronic equipment, determining the application package name of the first application in the third information, and running the first application based on the determined application package name. And under the condition that the judgment result represents that the access entry of the first application does not exist in the second electronic device, determining at least one access entry type of the first application and the access entry corresponding to each access entry type in the third information, and running the first application based on the determined access entry.
Analyzing the first information through the running first application to obtain a PDF file, and analyzing the second information through the first application to obtain a loading state of the PDF file in the first application; and loading the PDF file in the first application based on the loading state of the PDF file in the first application, so that the second electronic equipment directly displays the contents of the page 5, lines 1 to 25 of the PDF file in an application interface of the first application, and selecting the contents of the page 5, lines 10 to 15 in the PDF file.
Because the second electronic device directly displays the contents of the 1 st to 25 th lines of the 5 th page of the PDF file in the first application, rather than starting from the first line of the first page of the PDF file, the user B can directly view the contents of the 10 th to 15 th lines of the 5 th page of the PDF file in the second electronic device, and the information sharing accuracy is improved; according to the scheme, the user B does not need to manually download the installation package of the first application, so that the efficiency of loading the first content through the first application is improved, and the information sharing efficiency can be improved.
It should be noted that, in the process of viewing the enlarged picture in the gallery, when the user a wants to share the currently displayed partially enlarged picture with the user B, the target object to be shot may be circled in the displayed picture to trigger the first electronic device used by the user a to share the picture with the second electronic device used by the wechat friend, the QQ friend, and the like in the manner described above, so that the second electronic device directly displays the partially enlarged picture displayed in the picture by the first electronic device.
Fig. 4 is an interaction diagram of an information sharing method according to an embodiment of the present application. As shown in fig. 4, the information sharing method includes:
step 401: the first electronic equipment generates a first information sequence based on the first information, the second information and the 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 includes an application package name of the first application and information related to an access entry.
The first information sequence is a triple composed of the first information, the second information and the third information.
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.
The first information may be described by the following three "key-values":
Key value
content-type <MIME-Type>
content-length <Payload Length>
content <Payload>
wherein the content-type characterizes a format of the first content; content-length characterizes a length of the first content; the value Payload corresponding to the content characterizes the first content.
The second information may be described by at least one "key-value": name1: value1, name2: value 2. The second information comprises the first mark and/or the second mark. 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.
The third information is generated by:
determining whether an access entrance of a first application exists in the second electronic equipment or not by performing message interaction with the second electronic equipment;
generating third information including an application package name of a first application in a case where an access entry of the first application exists in the second electronic device;
and generating third information based on the application package name of the first application, the at least one access entry type and an access entry corresponding to each access entry type in the at least one access entry type under the condition that the access entry of the first application does not exist in the second electronic equipment.
The third information may be described by the following three "key-values":
key value
package-name <reverse-DNS>
content-type Optional:<URL>or/and<BINARY
content Optional:<payload>// installation package contents or URL links
Wherein, the package-name represents the application package name of the first application; content-type characterizes an access mode of a first application; the content represents an access entry corresponding to the access mode of the first application.
Step 402: and the first electronic equipment sends the serialized first information sequence to the second electronic equipment.
The first electronic equipment serializes the first information sequence to obtain a serialized first information sequence, and sends the serialized first information sequence to the second electronic equipment.
Step 403: and the second electronic equipment receives the serialized first information sequence sent by the first electronic equipment.
Step 404: and the second electronic equipment deserializes the received first information sequence to obtain first information, second information and third information.
Step 405: and under the condition that the access entrance of the first application exists in the second electronic device, determining the 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 represented by the first information in the first application in the loading state represented by the second information.
Step 406: and under the condition that the second electronic equipment does not have an access entry of the first application, determining at least one access entry type of the first application and an access entry corresponding to each access entry type in the at least one access entry type in the third information, running the first application based on the determined access entry, and loading the first content represented by the first information in the first application in a loading state represented by the second information.
In order to implement the information sharing method applied to the first electronic device in the embodiment of the present application, an embodiment of the present application further provides an information sharing device, and as shown in fig. 5, the information sharing device includes:
a first generating module 51 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;
a sending module 52, configured to send 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.
In some embodiments, the information related to the access portal includes:
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 content of the first and second substances,
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.
In some embodiments, the information sharing apparatus further includes:
and the acquisition module is used for acquiring the first information, the second information and the third information reported by the first application.
In some embodiments, the first generation module 51 is specifically configured to:
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.
In some embodiments, the information sharing apparatus further includes:
a second generating module for generating the second information comprising the first mark and/or the second mark; wherein the first marker is used to mark a first location; 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.
In some embodiments, the information sharing apparatus further includes:
a third generating module for generating the first information including at least the first content.
In some embodiments, 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.
In some embodiments, the format of the first content comprises a multipurpose internet mail extension, MIME, type.
In some embodiments, the first information sequence is characterized as a triplet made up of the first information, the second information, and the third information.
In practical applications, the modules may be implemented by a Processor in the terminal, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), a Programmable Gate Array (FPGA), or the like, or implemented by both the Processor and a communication interface.
It should be noted that: in the information sharing apparatus provided in the above embodiment, only the division of the program modules is exemplified when information sharing is performed, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules, so as to complete all or part of the processing described above. In addition, the information sharing apparatus and the information sharing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
In order to implement the information sharing method applied to the second electronic device in the embodiment of the present application, an embodiment of the present application further provides an information sharing device, and as shown in fig. 6, the information sharing device includes:
a receiving module 61, configured to receive a first information sequence sent by a first electronic device; 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;
a loading module 62, configured to load the first content in the first application in the loading state based on the first information sequence.
In some embodiments, the loading module 62 is specifically configured to:
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; alternatively, the first and second electrodes may be,
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.
In some embodiments, the information related to the access portal includes:
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 content of the first and second substances,
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.
In some embodiments, the loading module 62 is specifically configured to:
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.
In some embodiments, the loading module 62 is specifically configured to:
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 content of the first and second substances,
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.
In some embodiments, the first information includes 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.
In practical applications, the loading module 62 may be implemented by a Processor in the terminal, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA), and the receiving module 61 may be implemented by a Processor and a communication interface together.
It should be noted that: in the information sharing apparatus provided in the above embodiment, only the division of the program modules is exemplified when information sharing is performed, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules, so as to complete all or part of the processing described above. In addition, the information sharing apparatus and the information sharing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Based on the hardware implementation of the program module, in order to implement the method of the embodiment of the present application, an embodiment of the present application further provides an electronic device. Fig. 7 is a schematic diagram of a hardware component structure of an electronic device according to an embodiment of the present application, and as shown in fig. 7, the electronic device 7 includes:
a communication interface 71 capable of information interaction with other devices such as network devices and the like;
and the processor 72 is connected with the communication interface 71 to implement information interaction with other devices, and is configured to execute the information sharing method provided by one or more technical schemes applied to the first electronic device or the information sharing method provided by one or more technical schemes applied to the second electronic device when running a computer program. And the computer program is stored on the memory 73.
Of course, in practice, the various components in the electronic device 7 are coupled together by a bus system 74. It will be appreciated that the bus system 74 is used to enable communications among the components of the connection. The bus system 74 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 74 in fig. 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 such data include: any computer program for operating on the electronic device 7.
It will be appreciated that the memory 73 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration 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 (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 73 described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The method 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 having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware, integrated logic circuits, or software in the processor 72. The processor 72 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 72 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present 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 may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 73, and the processor 72 reads the program in the memory 73 and performs the steps of the aforementioned method in conjunction with its hardware.
Optionally, when the processor 72 executes the program, the corresponding process implemented by the terminal in each method of the embodiment of the present application is implemented, and for brevity, no further description is given here.
In an exemplary embodiment, the present application further provides a storage medium, i.e. a computer storage medium, in particular a computer readable storage medium, for example comprising a first memory 73 storing a computer program, which is executable by a processor 72 of the terminal to perform the steps of 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 the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing module, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit. Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict.
It should be noted that the term "and/or" in the embodiment of the present application is only an association relationship describing an associated object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any combination of any one or more of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall 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 content of the first and second substances,
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 content of the first and second substances,
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; alternatively, the first and second electrodes may be,
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 content of the first and second substances,
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 content of the first and second substances,
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 and device, electronic equipment 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 and device, electronic equipment 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 and device, electronic equipment 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 and device, electronic equipment 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

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 and device, electronic equipment and storage medium

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
CN109542427B (en) System customization method and device, electronic equipment and storage medium
KR20140078676A (en) Custom optimization of web pages
CN108255701B (en) Scene testing method and mobile terminal
CN113382083B (en) Webpage screenshot method and device
CN110968314B (en) Page generation method and device
CN105808221A (en) Card type desktop realization method and apparatus
CN111476015A (en) Document processing method and device, electronic equipment and storage medium
CN110826002A (en) Information sharing method and device, terminal and storage medium
CN111294395A (en) Terminal page transmission method, device, medium and electronic equipment
CN112347737A (en) Method and device for previewing excel file online, electronic equipment and storage medium
WO2023082813A1 (en) Information sharing method and apparatus, electronic device and storage medium
CN111431767A (en) Multi-browser resource synchronization method and device, computer equipment and storage medium
CN112187622B (en) Instant message display method and device and server
US20220113997A1 (en) Application sharing method, electronic apparatus and non-transitory computer-readable storage medium
CN113761871A (en) Rich text rendering method and device, electronic equipment and storage medium
CN115421693A (en) Method and device for realizing micro front-end architecture, computer equipment and storage medium
CN116820635A (en) Document block sharing method, device, system and storage medium
CN101772196A (en) Method and system for processing message sent by mobile terminal and acting server
CN112783548B (en) Access method and device of network system
CN114036431A (en) Page cache skipping method and device, electronic equipment and storage medium
CN113656041A (en) Data processing method, device, equipment and storage medium
CN113553123A (en) Data processing method and device, electronic equipment and storage medium
CN112051952A (en) Picture dynamic browsing method and device, electronic equipment and readable storage medium
CN113608737A (en) Page generation method, device, equipment and medium
CN110647331A (en) Development tool acquisition method and device, storage medium and electronic equipment

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