Content sharing method, device and equipment

By providing a tag interface on a social platform to obtain the location information of the content and send it to the shared person, the problem that the sharer needs to describe specific parts of the content through text is solved, and a more intuitive and convenient content sharing is achieved.

CN114491323BActive Publication Date: 2025-01-14ALIBABA (CHINA) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210051252.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-17
Publication Date
2025-01-14
Estimated Expiration
2042-01-17

AI Technical Summary

Technical Problem

When sharing content on social platforms, the sharer needs to describe specific parts of the content through text, which makes the statement troublesome and unintuitive.

Method used

It provides a content sharing method, through displaying the marking interface, obtaining the location information of the marking result, and sending it with the link address to the shared person, so that the shared person can intuitively see the marking result when displaying the content.

Benefits of technology

It avoids the trouble caused by text description, simplifies the sharing process, and improves the intuitive understanding of specific parts of the content by the shared person.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114491323B_ABST
    Figure CN114491323B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a content sharing method, device and equipment. The method includes: displaying a marking interface, in which the content to be shared is displayed; obtaining the marking operation of the sharer on the content to be shared; determining the position information of the marking result corresponding to the marking operation in a preset coordinate system, and the preset coordinate system is used by the first terminal to determine the coordinates of the content elements in the content to be shared; in response to the sharing operation on the content to be shared, sending the relevant information of the marking result and the link address of the content to be shared to the second terminal, and the relevant information includes the position information of the marking result, so that the second terminal can display the marking result while displaying the content to be shared. This method avoids the trouble caused by text description, and can facilitate the sharer to point out the specific part of the content to be shared to the sharee.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet, and in particular to a content sharing method, device and equipment. Background Art

[0002] Currently, most social platforms provide users with the function of sharing content. Users can share the link address of the content they want to share with the sharee

[0003] Generally, when a sharer uses a social platform to share content, if the sharer wants the recipient to focus on a specific part of the content, the sharer can use the message function when sharing to describe the part that the recipient wants to focus on. However, this method only supports text, which makes it difficult for the sharer to express. Summary of the invention

[0004] The embodiments of the present application provide a content sharing method, device and equipment to solve the technical problem in the prior art that it is troublesome for the sharer to describe a specific part of the content through text when sharing.

[0005] In a first aspect, an embodiment of the present application provides a content sharing method, applied to a first terminal, comprising:

[0006] Displaying a marking interface, wherein the marking interface displays content to be shared;

[0007] Obtaining a marking result for the content to be shared;

[0008] Determine the position information of the marking result in a preset coordinate system, where the preset coordinate system is used by the first terminal to determine the coordinates of the content element in the content to be shared;

[0009] In response to a sharing operation on the content to be shared, relevant information of the marking result and a link address of the content to be shared are sent to a second terminal, wherein the relevant information includes the location information of the marking result, so that the second terminal displays the marking result while displaying the content to be shared.

[0010] In a second aspect, an embodiment of the present application provides a content sharing method, which is applied to a second terminal, including:

[0011] Obtaining a link address of the content to be shared and relevant information of a marking result for the content to be shared, wherein the relevant information includes position information of the marking result in a preset coordinate system, where the preset coordinate system is a coordinate system used by the first terminal to determine coordinates of content elements in the content to be shared;

[0012] The content to be shared is acquired based on the link address, and based on the relevant information of the marking result, the marking result is displayed while displaying the content to be shared.

[0013] In a third aspect, an embodiment of the present application provides a content sharing device, applied to a first terminal, including:

[0014] A display module, used to display a marking interface, wherein the marking interface displays the content to be shared;

[0015] An acquisition module, used for acquiring a marking operation for the content to be shared;

[0016] a determination module, configured to determine position information of a marking result corresponding to the marking operation in a preset coordinate system, wherein the preset coordinate system is used by the first terminal to determine coordinates of content elements in the content to be shared;

[0017] The sharing module is used to send the relevant information of the marking result and the link address of the content to be shared to the second terminal in response to the sharing operation on the content to be shared, wherein the relevant information includes the location information of the marking result, so that the second terminal can display the marking result while displaying the content to be shared.

[0018] In a fourth aspect, an embodiment of the present application provides a content sharing device, applied to a second terminal, including:

[0019] an acquisition module, configured to acquire a link address of the content to be shared and related information of a marking result for the content to be shared, wherein the related information includes position information of the marking result in a preset coordinate system, where the preset coordinate system is a coordinate system used by the first terminal to determine coordinates of content elements in the content to be shared;

[0020] The display module is used to obtain the content to be shared based on the link address, and based on the relevant information of the marking result, display the marking result while displaying the content to be shared.

[0021] In a fifth aspect, an embodiment of the present application provides a terminal, comprising: a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement a method as described in any one of the first aspects.

[0022] In a sixth aspect, an embodiment of the present application provides a terminal, comprising: a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement a method as described in any one of the second aspects.

[0023] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the method as described in any one of the first aspects is implemented.

[0024] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the method as described in any one of the second aspects is implemented.

[0025] In addition, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed, the method as described in any one of the first aspects is implemented.

[0026] An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed, the method as described in any one of the second aspects is implemented.

[0027] An embodiment of the present application further provides a computer program, which, when executed by a computer, is used to implement the method as described in any one of the first aspects.

[0028] An embodiment of the present application further provides a computer program, which, when executed by a computer, is used to implement the method as described in any one of the second aspects.

[0029] In an embodiment of the present application, the first terminal displays a marking interface, in which the content to be shared is displayed, a marking operation for the content to be shared is obtained, the position information of the marking result corresponding to the marking operation in a preset coordinate system is determined, and in response to the sharing operation for the content to be shared, the position information of the marking result and the link address of the content to be shared are sent to the second terminal, so that the second terminal can display the marking result while displaying the content to be shared, so that the sharer can point out the specific part of the content through the marking result in the content when sharing, avoiding the trouble caused by text description, and making it convenient for the sharer to point out the specific part of the content to the sharee. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0031] Figure 1 A schematic diagram of an application scenario of an embodiment of the present application;

[0032] Figure 2A A schematic diagram of a user interface provided to a sharer in the prior art;

[0033] Figure 2B A schematic diagram of a user interface provided to a sharee in the prior art;

[0034] Figure 3 A flowchart of a content sharing method provided in one embodiment of the present application;

[0035] FIG. 4A to FIG. 4D A schematic diagram of a user interface provided to a sharer in an embodiment of the present application;

[0036] Figure 5 A flowchart of a content sharing method provided by another embodiment of the present application;

[0037] Fig. 6A and Figure 6B A schematic diagram of a user interface provided to a sharee in an embodiment of the present application;

[0038] Figure 7 A schematic diagram of the structure of a content sharing device provided in one embodiment of the present application;

[0039] Figure 8 A schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0040] Fig. 9 A schematic diagram of the structure of a content sharing device provided by another embodiment of the present application;

[0041] Fig.10 A schematic diagram of the structure of a terminal provided in one embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0043] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "said", and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two, but does not exclude the inclusion of at least one.

[0044] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0045] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0046] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a product or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a product or system. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the product or system including the elements.

[0047] In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.

[0048] Figure 1 A schematic diagram of an application scenario of the content sharing method provided in the embodiment of the present application, such as Figure 1 As shown, the application scenario may include a first terminal 11 used by a sharer and a second terminal 12 used by a sharee. The first terminal 11 may send a link address of the content to be shared to the second terminal 12 in response to the sharing operation of the sharer, and the second terminal 12 may display the content to be shared based on the link address of the content to be shared. The content to be shared may be any form of content including text and / or pictures that can be shared by sharing a link address, such as article content.

[0049] It should be noted that the sharer and the recipient may be users on the same social platform, or may be users on different social platforms. The recipients of the same content to be shared may be one or more.

[0050] It should be noted that, when information needs to be sent between the first terminal 11 and the second terminal 12 through the server of the social platform, Figure 1 A server of a social platform may also be included between the first terminal 11 and the second terminal 12 .

[0051] Generally, when a sharer uses a social platform to share content, if the sharer wants the recipient to focus on a specific part of the content, the sharer can use the message function when sharing to describe the part that the recipient wants to focus on. Figure 2A In the content sharing interface shown, the sharer can use text (such as "Look at the last two lines of the third paragraph") to describe the part that the sharer wants the sharer to focus on. Figure 2A After clicking the "Send" button in Figure 2B As shown, the terminal used by the sharer can display the link address of the content to be shared and the message in the user interface. However, the current message function when sharing only supports text. For the sharer, it is difficult to express the specific part of the content through text; for the sharee, it is not intuitive enough to describe the specific part of the content through text. It should be noted that Figure 2A and Figure 2B The interfaces shown are examples only.

[0052] In order to solve the technical problem that it is difficult for the sharer to describe the specific part of the content through text when sharing, such as Figure 1 As shown, in an embodiment of the present application, the first terminal displays a marking interface, in which the content to be shared is displayed, a marking operation for the content to be shared is obtained, the position information of the marking result corresponding to the marking operation in a preset coordinate system is determined, and in response to the sharing operation for the content to be shared, the position information of the marking result and the link address of the content to be shared are sent to the second terminal, so that the second terminal can display the marking result while displaying the content to be shared, so that the sharer can point out a specific part of the content through the marking result in the content to be shared when sharing, avoiding the trouble caused by text description, and making it easier for the sharer to point out a specific part of the content to the sharee. In addition, for the sharee, the sharee can intuitively know the specific part of the content through the marking result.

[0053] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0054] Figure 3 This is a flow chart of a content sharing method provided in an embodiment of the present application. The execution subject of this embodiment may be Figure 1 The first terminal 11 in Figure 3 As shown, the method of this embodiment may include:

[0055] Step 31, displaying a marking interface, wherein the marking interface displays the content to be shared;

[0056] Step 32, obtaining a marking operation for the content to be shared;

[0057] Step 33, determining the position information of the marking result corresponding to the marking operation in a preset coordinate system, where the preset coordinate system is used by the first terminal to determine the coordinates of the content element in the content to be shared;

[0058] Step 34, in response to the sharing operation for the content to be shared, sending the relevant information of the marking result and the link address of the content to be shared to the second terminal, the relevant information including the location information of the marking result, so that the second terminal can display the marking result while displaying the content to be shared.

[0059] Optionally, the first terminal may provide the user with a function of directly sending the link address of the content to be shared, and may also provide the user with a function of sending the link address of the content to be shared after marking the content to be shared, so that the sharer can flexibly choose according to needs, which is conducive to improving the user experience. Based on this, in one embodiment, the method provided in this embodiment may also include: displaying the marking result entrance of the content to be shared, and displaying the marking interface in step 31 may specifically include: displaying the marking interface in response to a trigger operation on the marking result entrance.

[0060] Further optionally, displaying the marking result entry of the content to be shared may specifically include: displaying the marking result entry of the content to be shared in the content sharing interface, so that the sharer can choose whether to directly send the link address of the content to be shared, or to mark the content to be shared first and then send the link address of the content to be shared.

[0061] Among them, the content sharing interface can be, for example, Figure 4A As shown, the "Mark Original" button can be understood as the marking result entrance for the content to be shared, the "Message" area can be used for the sharer to leave a message when sharing, the "Cancel" button can be used by the sharer to cancel the sharing of the content to be shared, and the "Send" button can be used by the sharer to trigger the sharing of the content to be shared.

[0062] In display Figure 4A Based on the response to Figure 4A In response to the triggering operation (such as clicking operation) of the "Mark Original" button, the link address of the content to be shared can be directly sent to the second terminal; in response to the triggering operation (such as clicking operation) of the "Mark Original" button, the following information can be displayed: Figure 4B The tagging interface shown displays the content to be shared.

[0063] In the embodiment of the present application, after the marking interface is displayed, the marking operation for the content to be shared displayed in the marking interface can be obtained. The marking result corresponding to the marking operation of the sharer for the content to be shared can be, for example, Figure 4C The rectangular frame in .

[0064] Optionally, the marking interface may also display a selection entry for marking result tools, so that the sharer can select the tool used to mark the result of the shared content as needed, such as a circle selection tool, a line drawing tool, etc. Figure 4B or Figure 4C The "Scribble Circle" button in the image can be understood as a selection entry for the marking result tool. In response to the sharer's triggering operation on the "Scribble Circle" button, at least two marking result tools can be displayed.

[0065] Optionally, an annotation tool may also be displayed in the marking interface. Figure 4B The "text annotation" button in the text annotation tool can be understood as an annotation tool. In response to the sharer's triggering operation on the "text annotation" button, a comment box for obtaining the annotation content can be displayed. In this way, the comment corresponding to the marked result entered by the sharer can also be obtained, so that the sharer can enter the comment corresponding to the marked result as needed. The comment corresponding to the marked result entered by the sharer can be, for example, Figure 4D Mark the gray text "***************" above the result.

[0066] In the embodiment of the present application, after obtaining the marking result of the user for the content to be shared, the position information of the marking result in the preset coordinate system can be determined, and the preset coordinate system can be used by the first terminal to determine the coordinates of the content elements in the content to be shared. The content elements in the content to be shared may include one or more of words, characters, letters or pictures, etc. The pictures can be replaced with placeholders to perform coordinate calculations.

[0067] The preset coordinate system may be any type of coordinate system that can be used to determine the coordinates of the content elements in the content to be shared. Exemplarily, the coordinates of the content elements in the preset coordinate system may be represented by (x, y), for example. Taking the language of the content to be shared as Chinese as an example, x may represent the xth line, and y may represent the yth word; or, x may represent the xth paragraph, and y may represent the yth word.

[0068] Optionally, the position information of the marking result in the screen coordinate system may be obtained first, and then the position information of the marking result in the preset coordinate system may be determined based on the position information of the marking result in the screen coordinate system. Based on this, in one embodiment, step 33 may specifically include: obtaining the position information of the marking result in the screen coordinate system of the first terminal; and determining the position information of the marking result in the preset coordinate system based on the position information of the marking result in the screen coordinate system.

[0069] In actual applications, the content element corresponding to the marking result can be determined based on the position information of the marking result in the screen coordinate system, and the position information of the marking result in the preset coordinate system can be determined according to the content element corresponding to the marking result.

[0070] Among them, the html element corresponding to the marking result can be determined based on the position information of the marking result in the screen coordinate system, and the content element corresponding to the marking result can be determined according to the html element corresponding to the marking result, thereby determining the position information of the marking result in the preset coordinate system. It should be noted that the specific method for determining the html element corresponding to a certain position in the screen coordinate system and determining the content element corresponding to a certain html element can be referred to the specific description in the related art, which will not be repeated here.

[0071] For example, the position information of the marking result shown in Figure 4 in the screen coordinate system can be expressed as a rectangle enclosed by the positions of the four vertices of the marking result in the screen coordinate system. Based on the rectangle enclosed by the positions of the four vertices of the marking result in the screen coordinate system, the rectangle enclosed by the html elements corresponding to the four vertices of the marking result can be determined, and further, the position information of the marking result in the preset coordinate system can be determined, which can be expressed as a rectangle enclosed by the positions of the content elements corresponding to the four vertices of the marking result in the preset coordinate system.

[0072] It should be understood that the number of marked results in the same content to be shared may be one or more.

[0073] In the embodiment of the present application, after determining the position information of the marking result in the preset coordinate system, the relevant information of the marking result can be sent to the second terminal in response to the sharing operation for the content to be shared. The relevant information of the marking result can include the position information of the marking result in the preset coordinate system.

[0074] Optionally, a sharing entry may be displayed in the marking interface. The method provided in this embodiment may further include: obtaining the sharing operation of the sharer for the content to be shared through the sharing entry. This makes it easier for the sharer to input the sharing operation, which is beneficial to improving the user experience. Figure 4C and Figure 4D. Click the Save and Send button in the Figure 4C and Figure 4D The "Cancel" button in the sharer can be used to cancel the marking result of the content to be shared.

[0075] Optionally, the relevant information of the marking result may further include an identifier of a preset coordinate system, so that the second terminal can learn the coordinate system used by the first terminal to determine the location information of the marking result through the relevant information of the marking result.

[0076] And / or optionally, the relevant information of the marked result may also include annotations corresponding to the marked result, so that the sharer can provide a text description corresponding to the marked result, which is conducive to improving the user experience.

[0077] Exemplarily, when there may be multiple types of marking results, the relevant information of the marking results may also include the type of marking result (e.g., wavy line, single underline, double underline, etc.), so that the type of marking result displayed on the second terminal may be the same as the type of marking result entered by the sharer using the first terminal.

[0078] Exemplarily, when there can be multiple colors for the marking results, the relevant information of the marking results can also include the color of the marking results (e.g., red, blue, yellow, etc.), so that the color of the marking results displayed on the second terminal can be the same as the color of the marking results entered by the sharer using the first terminal.

[0079] Exemplarily, when there are multiple fonts for annotations, the relevant information of the marking result can also include the font of the annotation (such as Songti, Kaiti, etc.), so that the font of the annotation displayed on the second terminal can be the same as the font of the annotation entered by the sharer using the first terminal.

[0080] Exemplarily, when there are multiple colors for annotations, the relevant information of the marking result may also include the color of the annotation (eg, red, blue, etc.), so that the color of the annotation displayed on the second terminal may be the same as the color of the annotation entered by the sharer using the first terminal.

[0081] Optionally, the relevant information of the marking result can be sent to the second terminal by splicing the relevant information of the marking result as a parameter into the link address, which is conducive to simplifying the implementation. Based on this, in one embodiment, sending the relevant information of the marking result and the link address of the content to be shared to the second terminal in step 34 can specifically include: splicing the relevant information of the marking result into the link address of the content to be shared, and sending the obtained spliced ​​link address to the second terminal. Among them, the link address of the content to be shared can be, for example, the Uniform Resource Locator (URL) address of the content to be shared.

[0082] The content sharing method provided by the present embodiment displays a marking interface in which the content to be shared is displayed, obtains a marking operation for the content to be shared, determines the position information of the marking result corresponding to the marking operation in a preset coordinate system, and in response to the sharing operation for the content to be shared, sends the position information of the marking result and the link address of the content to be shared to the second terminal, so that the second terminal can display the marking result while displaying the content to be shared, so that the sharer can point out a specific part of the content through the marking result in the content to be shared when sharing, thereby avoiding the trouble caused by text description and being able to facilitate the sharer to point out the specific part of the content to the sharee.

[0083] Figure 5 This is a flow chart of a content sharing method provided by another embodiment of the present application. The execution subject of this embodiment may be Figure 1 The second terminal 12 in Figure 5 As shown, the method of this embodiment may include:

[0084] Step 51, obtaining a link address of the content to be shared and related information of a marking result for the content to be shared, wherein the related information includes position information of the marking result in a preset coordinate system, where the preset coordinate system is a coordinate system used by the first terminal to determine coordinates of content elements in the content to be shared;

[0085] Step 52: acquiring the content to be shared based on the link address, and rendering the content to be shared based on the relevant information of the marking result, so as to display the marking result while displaying the content to be shared.

[0086] In one embodiment, when the first terminal sends the relevant information of the marking result to the second terminal by splicing the relevant information of the marking result as a parameter to the link address, step 51 may specifically include: obtaining the spliced ​​link address of the content to be shared, the spliced ​​link address is obtained by splicing the relevant information of the marking result to the link address of the content to be shared; and intercepting the link address of the content to be shared and the relevant information of the marking result from the spliced ​​link address.

[0087] In the embodiment of the present application, after obtaining the link address of the content to be shared, the content to be shared can be obtained based on the link address of the content to be shared. Regarding the implementation method of obtaining the content to be shared based on the link address of the content to be shared, reference can be made to the specific description in the related art, which will not be repeated here.

[0088] After obtaining the relevant information of the content to be shared and the marking result, the content to be shared may be rendered based on the relevant information of the marking result, so as to display the marking result while displaying the content to be shared.

[0089] Exemplarily, the screen coordinate system of the second terminal may be used for rendering and display. Based on this, in one embodiment, in step 52, based on the relevant information of the marking result, the marking result is displayed while displaying the content to be shared. This may include: based on the position information of the marking result in the preset coordinate system, determining the position information of the marking result in the screen coordinate system of the second terminal, and rendering and displaying based on the position information of the marking result in the screen coordinate system and the content to be shared, so as to display the marking result while displaying the content to be shared.

[0090] In actual application, the HTML element corresponding to the marking result can be determined based on the position information of the marking result in the preset coordinate system, and the position information of the marking result in the screen coordinate system of the second terminal can be determined based on the HTML element corresponding to the marking result.

[0091] Among them, the content element corresponding to the marking result can be determined based on the position information of the marking result in the preset coordinate system, and the html element corresponding to the marking result can be determined based on the content element corresponding to the marking result, thereby determining the position information of the marking result in the screen coordinate system of the second terminal. It should be noted that the specific method for determining the content element corresponding to a certain position in the preset coordinate system and determining the html element corresponding to a certain content element can be referred to the specific description in the related art, which will not be repeated here.

[0092] For specific methods of determining an HTML element corresponding to a certain position in the screen coordinate system, and determining a content element corresponding to a certain HTML element, please refer to the specific description in the related art, which will not be repeated here.

[0093] For example, the position information of the marking result shown in Figure 4 in the preset coordinate system can be expressed as a rectangle enclosed by the positions of the content elements corresponding to the four vertices of the marking result in the preset coordinate system. Based on the rectangle enclosed by the positions of the content elements corresponding to the four vertices of the marking result in the screen coordinate system, the rectangle enclosed by the html elements corresponding to the four vertices of the marking result can be determined. Further, the position information of the marking result shown in Figure 4 in the screen coordinate system of the second terminal can be determined, which can be expressed as a rectangle enclosed by the positions of the html elements corresponding to the four vertices of the marking result in the screen coordinate system.

[0094] In actual applications, the content can be rendered in the first layer first, and then the marking result can be rendered in the second layer, where the second layer can be the upper layer of the first layer. Figure 4CAs an example, the second terminal can display the following to the sharee Fig. 6A The user interface shown is such that the person being shared with can see the marking results of the sharer.

[0095] In one embodiment, when the relevant information further includes an identifier of a preset coordinate system, the method provided in this embodiment may further include: determining the preset coordinate system based on the identifier of the preset coordinate system.

[0096] In one embodiment, when the relevant information also includes annotations corresponding to the marking results, the method provided in this embodiment may further include: determining the position of the annotation in the screen coordinate system based on the position information of the marking results in the screen coordinate system; the aforementioned rendering and display based on the position information of the marking results in the screen coordinate system and the content to be shared, so as to display the marking results while displaying the content to be shared, may specifically include: rendering and display based on the position information of the marking results in the screen coordinate system, the position of the annotation in the screen coordinate system and the content to be shared, so as to display the marking results and the annotations corresponding to the marking results while displaying the content to be shared. Figure 4D As an example, the second terminal can display the following to the sharee Figure 6B The user interface shown is such that the person being shared with can see the marked results of the sharer and the annotations corresponding to the marked results.

[0097] The content sharing method provided in this embodiment obtains the link address of the content to be shared and the relevant information of the marking result for the content to be shared, the relevant information including the position information of the marking result in a preset coordinate system, obtains the content to be shared based on the link address, and renders the content to be shared based on the relevant information of the marking result, so as to display the marking result while displaying the content to be shared, thereby realizing that the second terminal can display the marking result while displaying the content to be shared, so that the person being shared can intuitively know the specific part of the content to be shared through the marking result.

[0098] Figure 7 This is a structural diagram of a content sharing device provided in one embodiment of the present application; Figure 7 As shown, this embodiment provides a device that can perform the above Figure 3 The method provided in the embodiment may specifically include:

[0099] A display module 71, used to display a marking interface, in which the content to be shared is displayed;

[0100] An acquisition module 72, used for acquiring a marking operation for the content to be shared;

[0101] A determination module 73, configured to determine position information of a marking result corresponding to the marking operation in a preset coordinate system, wherein the preset coordinate system is used by the first terminal to determine coordinates of a content element in the content to be shared;

[0102] The sharing module 74 is used to send the relevant information of the marking result and the link address of the content to be shared to the second terminal in response to the sharing operation on the content to be shared, wherein the relevant information includes the location information of the marking result, so that the second terminal can display the marking result while displaying the content to be shared.

[0103] Optionally, the determination module 73 is specifically used to: obtain the position information of the marking result in the screen coordinate system of the first terminal; and determine the position information of the marking result in the preset coordinate system based on the position information of the marking result in the screen coordinate system.

[0104] Optionally, the relevant information also includes: annotations corresponding to the marking results, and / or an identifier of the preset coordinate system.

[0105] Optionally, the display module 71 is further used to: display a marking result entry of the content to be shared;

[0106] The display module 71 is used to display the marking interface, including: displaying the marking interface in response to a trigger operation on the marking result entry.

[0107] Optionally, the display module 71 displays the marking result entry of the content to be shared, including: displaying the marking result entry of the content to be shared in the content sharing interface.

[0108] Optionally, a sharing entrance is also displayed in the marking interface; the acquisition module 72 is also used to: obtain the sharing operation for the content to be shared through the sharing entrance.

[0109] The sharing module 74 is used to send the relevant information of the marking result and the link address of the content to be shared to the second terminal, including: splicing the relevant information of the marking result into the link address of the content to be shared, and sending the obtained spliced ​​link address to the second terminal.

[0110] Figure 7 The device shown can perform Figure 3 The method provided in the embodiment shown in the figure, for the part not described in detail in this embodiment, please refer to Figure 3 The implementation process and technical effects of this technical solution refer to Figure 3 The description in the illustrated embodiment will not be repeated here.

[0111] In one possible implementation, Figure 7 The structure of the device shown can be implemented as a terminal. Figure 8 As shown, the terminal may include: a processor 81 and a memory 82. The memory 82 is used to store the support terminal to execute the above Figure 3 The processor 81 is configured to execute the program stored in the memory 82 according to the method provided in the illustrated embodiment.

[0112] The program includes one or more computer instructions, wherein when the one or more computer instructions are executed by the processor 81, the following steps can be implemented:

[0113] Displaying a marking interface, wherein the marking interface displays content to be shared;

[0114] Obtaining a marking operation for the content to be shared;

[0115] Determine position information of a marking result corresponding to the marking operation in a preset coordinate system, where the preset coordinate system is used by the first terminal to determine coordinates of content elements in the content to be shared;

[0116] In response to a sharing operation on the content to be shared, relevant information of the marking result and a link address of the content to be shared are sent to a second terminal, wherein the relevant information includes the location information of the marking result, so that the second terminal displays the marking result while displaying the content to be shared.

[0117] Optionally, the processor 81 is also used to execute the aforementioned Figure 3 All or part of the steps in the illustrated embodiments.

[0118] The structure of the terminal may also include a communication interface 83 for the terminal to communicate with other devices or a communication network.

[0119] Fig. 9 This is a structural diagram of a content sharing device provided by another embodiment of the present application; Fig. 9 As shown, this embodiment provides a device that can perform the above Figure 5 The method provided in the embodiment may specifically include:

[0120] An acquisition module 91 is used to acquire a link address of the content to be shared and related information of a marking result for the content to be shared, wherein the related information includes position information of the marking result in a preset coordinate system, where the preset coordinate system is a coordinate system used by the first terminal to determine the coordinates of a content element in the content to be shared;

[0121] The display module 92 is used to obtain the content to be shared based on the link address, and based on the relevant information of the marking result, display the marking result while displaying the content to be shared.

[0122] Optionally, the display module 92 is specifically used to: determine the position information of the marking result in the screen coordinate system of the second terminal based on the position information of the marking result in the preset coordinate system; render and display the marking result based on the position information of the marking result in the screen coordinate system and the content to be shared, so as to display the marking result while displaying the content to be shared.

[0123] Optionally, the relevant information further includes: an identifier of the preset coordinate system; and the device further includes a first determination module, configured to determine the preset coordinate system based on the identifier.

[0124] Optionally, the relevant information further includes: an annotation corresponding to the marking result; the device further includes a second determination module, configured to determine the position of the annotation in the screen coordinate system based on the position information of the marking result in the screen coordinate system;

[0125] The display module 92 is used to render and display based on the position information of the marking result in the screen coordinate system and the content to be shared, so as to display the marking result while displaying the content to be shared, including: rendering and displaying based on the position information of the marking result in the screen coordinate system, the position of the annotation in the screen coordinate system, and the content to be shared, so as to display the marking result and the annotation corresponding to the marking result while displaying the content to be shared.

[0126] Optionally, the acquisition module 91 is specifically used to: obtain the spliced ​​link address of the content to be shared, the spliced ​​link address is obtained by splicing the relevant information of the marking result into the link address of the content to be shared; intercept the link address of the content to be shared and the relevant information of the marking result from the spliced ​​link address.

[0127] Fig. 9 The device shown can perform Figure 5 The method provided in the embodiment shown in the figure, for the part not described in detail in this embodiment, please refer to Figure 5 The implementation process and technical effects of this technical solution refer to Figure 5 The description in the illustrated embodiment will not be repeated here.

[0128] In one possible implementation, Fig. 9 The structure of the device shown can be implemented as a terminal. Fig.10As shown, the terminal may include: a processor 101 and a memory 102. The memory 102 is used to store the support terminal to execute the above Figure 5 The program of the method provided in the illustrated embodiment, the processor 101 is configured to execute the program stored in the memory 102.

[0129] The program includes one or more computer instructions, wherein when the one or more computer instructions are executed by the processor 101, the following steps can be implemented:

[0130] Obtaining a link address of the content to be shared and relevant information of a marking result for the content to be shared, wherein the relevant information includes position information of the marking result in a preset coordinate system, where the preset coordinate system is a coordinate system used by the first terminal to determine coordinates of content elements in the content to be shared;

[0131] The content to be shared is acquired based on the link address, and based on the relevant information of the marking result, the marking result is displayed while displaying the content to be shared.

[0132] Optionally, the processor 101 is further configured to execute the aforementioned Figure 5 All or part of the steps in the illustrated embodiments.

[0133] The structure of the terminal may further include a communication interface 103 for the terminal to communicate with other devices or a communication network.

[0134] In addition, the embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the following is achieved: Figure 3 A method as described in any one of the embodiments shown.

[0135] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed, the following is achieved: Figure 5 A method as described in any one of the embodiments shown.

[0136] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative labor.

[0137] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on such an understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present application can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0138] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processor of the computer or other programmable device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0139] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0140] These computer program instructions may also be loaded onto a computer or other programmable device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0141] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0142] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0143] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, linked lists, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A content sharing method, applied to a first terminal, characterized in that: include: Displaying a content sharing interface, wherein the content sharing interface displays a shareee, a link to the content to be shared, a marking result entry, and a send button; In response to a triggering operation on the sending button, sending a link address of the content to be shared to a second terminal; Alternatively, in response to a trigger operation on the marking result entrance, a marking interface is displayed, the marking interface is used to doodle, underline or circle at least one of the above and to annotate the content to be shared, and the marking result for the content to be shared is obtained through the marking interface, and the position information of the marking result in a preset coordinate system is determined, and the preset coordinate system is used by the first terminal to determine the coordinates of the content elements in the content to be shared, and in response to the sharing operation on the content to be shared, the relevant information of the marking result and the link address of the content to be shared are sent to the second terminal, and the relevant information includes the position information of the marking result, so that the second terminal can display the marking result while displaying the content to be shared.

2. The method according to claim 1, characterized in that The determining the position information of the marking result in a preset coordinate system includes: Acquire position information of the marking result in the screen coordinate system of the first terminal; Based on the position information of the marking result in the screen coordinate system, the position information of the marking result in the preset coordinate system is determined.

3. The method according to claim 1, characterized in that: The related information also includes: annotations corresponding to the marking results, and / or an identifier of the preset coordinate system.

4. The method according to any one of claims 1 to 3, characterized in that: The method further includes: displaying a marking result entry of the content to be shared; The displaying of the marking interface includes: displaying the marking interface in response to a triggering operation on the marking result entry.

5. The method according to claim 4, characterized in that The displaying of the marking result entrance of the content to be shared includes: displaying the marking result entrance of the content to be shared in the content sharing interface.

6. The method according to any one of claims 1 to 3, characterized in that: A sharing entrance is also displayed in the marking interface; the method further includes: obtaining the sharing operation for the content to be shared through the sharing entrance.

7. The method according to any one of claims 1 to 3, characterized in that: The sending of the relevant information of the marking result and the link address of the content to be shared to the second terminal includes: splicing the relevant information of the marking result into the link address of the content to be shared, and sending the obtained spliced ​​link address to the second terminal.

8. A content sharing method, applied to a second terminal, characterized in that: include: Acquire a link address of the content to be shared and related information of the marking result for the content to be shared, wherein the link address of the content to be shared and related information of the marking result for the content to be shared are sent by the first terminal by executing the following method: display a content sharing interface, wherein the content sharing interface displays a sharee, a link of the content to be shared, an entrance of the marking result of the content to be shared, and a send button; In response to a trigger operation on the send button, the link address of the content to be shared is sent to the second terminal; or, in response to a trigger operation on the marking result entrance, a marking interface is displayed, the marking interface is used to doodle, draw a line or circle the content to be shared and annotate text, obtain the marking result of the content to be shared through the marking interface, determine the position information of the marking result in a preset coordinate system, the preset coordinate system is used by the first terminal to determine the coordinates of the content elements in the content to be shared, and in response to the sharing operation on the content to be shared, send the relevant information of the marking result and the link address of the content to be shared to the second terminal, the relevant information including the position information of the marking result; The content to be shared is acquired based on the link address, and based on the relevant information of the marking result, the marking result is displayed while displaying the content to be shared.

9. The method according to claim 8, characterized in that The step of displaying the marking result while displaying the content to be shared based on the relevant information of the marking result includes: Based on the position information of the marking result in the preset coordinate system, determining the position information of the marking result in the screen coordinate system of the second terminal; Rendering and display are performed based on the position information of the marking result in the screen coordinate system and the content to be shared, so as to display the marking result while displaying the content to be shared.

10. The method according to claim 9, characterized in that The related information also includes: an identifier of the preset coordinate system; and the method further includes: determining the preset coordinate system based on the identifier.

11. The method according to claim 9, characterized in that The related information also includes: an annotation corresponding to the marking result; the method further includes: determining the position of the annotation in the screen coordinate system based on the position information of the marking result in the screen coordinate system; The rendering and display based on the position information of the marking result in the screen coordinate system and the content to be shared, so as to display the marking result while displaying the content to be shared, includes: rendering and display based on the position information of the marking result in the screen coordinate system, the position of the annotation in the screen coordinate system, and the content to be shared, so as to display the marking result and the annotation corresponding to the marking result while displaying the content to be shared.

12. The method according to any one of claims 8 to 11, characterized in that: The obtaining of the link address of the content to be shared and the related information of the marking result for the content to be shared includes: Acquire a concatenated link address of the content to be shared, wherein the concatenated link address is obtained by concatenating relevant information of the marking result to the link address of the content to be shared; The link address of the content to be shared and the related information of the marking result are intercepted from the spliced ​​link address.

13. A content sharing device, applied to a first terminal, characterized in that: include: A display module, used to display a content sharing interface, wherein the content sharing interface displays the sharee, the link of the content to be shared, the marking result entrance of the content to be shared, and a send button; In response to a trigger operation on the send button, the link address of the content to be shared is sent to the second terminal; or, in response to a trigger operation on the mark result entry, a mark interface is displayed, the mark interface is used to doodle, underline or circle the content to be shared, and annotate it with text; An acquisition module, used for acquiring a marking result for the content to be shared through the marking interface; A determination module, used to determine the position information of the marking result in a preset coordinate system, where the preset coordinate system is used by the first terminal to determine the coordinates of the content element in the content to be shared; The sharing module is used to send the relevant information of the marking result and the link address of the content to be shared to the second terminal in response to the sharing operation of the content to be shared, wherein the relevant information includes the location information of the marking result, so that the second terminal can display the marking result while displaying the content to be shared.

14. A content sharing device, applied to a second terminal, characterized in that: include: an acquisition module, configured to acquire a link address of the content to be shared and related information of a marking result for the content to be shared, wherein the link address of the content to be shared and related information of a marking result for the content to be shared are sent by the first terminal by executing the following method: displaying a content sharing interface, wherein the content sharing interface displays a sharee, a link of the content to be shared, an entrance of a marking result of the content to be shared, and a send button; In response to a trigger operation on the send button, the link address of the content to be shared is sent to the second terminal; or, in response to a trigger operation on the marking result entrance, a marking interface is displayed, the marking interface is used to doodle, draw a line or circle the content to be shared and annotate text, obtain the marking result of the content to be shared through the marking interface, determine the position information of the marking result in a preset coordinate system, the preset coordinate system is used by the first terminal to determine the coordinates of the content elements in the content to be shared, and in response to the sharing operation on the content to be shared, send the relevant information of the marking result and the link address of the content to be shared to the second terminal, the relevant information including the position information of the marking result; The display module is used to obtain the content to be shared based on the link address, and based on the relevant information of the marking result, display the marking result while displaying the content to be shared.

15. A terminal, characterized in that: include: A memory, a processor; wherein the memory is used to store one or more computer instructions, wherein when the one or more computer instructions are executed by the processor, the method as described in any one of claims 1 to 7 or the method as described in any one of claims 8 to 12 is implemented.

16. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, the method according to any one of claims 1 to 7 or the method according to any one of claims 8 to 12 is implemented.

Citation Information

Patent Citations

  • Content sharing method, first terminal, second terminal and storage medium

    CN108763255A