CN114491323A - Content sharing method, device and equipment - Google Patents

Content sharing method, device and equipment Download PDF

Info

Publication number
CN114491323A
CN114491323A CN202210051252.1A CN202210051252A CN114491323A CN 114491323 A CN114491323 A CN 114491323A CN 202210051252 A CN202210051252 A CN 202210051252A CN 114491323 A CN114491323 A CN 114491323A
Authority
CN
China
Prior art keywords
content
shared
marking result
coordinate system
terminal
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
CN202210051252.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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202210051252.1A priority Critical patent/CN114491323A/en
Publication of CN114491323A publication Critical patent/CN114491323A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a content sharing method, device and equipment. The method comprises the following steps: displaying a mark interface, wherein the mark interface displays the content to be shared; obtaining the marking operation of a sharer for the content to be shared; determining position information of a marking result corresponding to the marking operation in a preset coordinate system, wherein the preset coordinate system is used for a first terminal to determine coordinates of content elements in the content to be shared; and responding to the sharing operation aiming at the content to be shared, and sending the related information of the marking result and the link address of the content to be shared to the second terminal, wherein the related information comprises the position information of the marking result, so that the second terminal displays the marking result while displaying the content to be shared. The method avoids the trouble caused by text description, and can be convenient for the sharer to indicate the specific part in the content to be shared to the sharee.

Description

Content sharing method, device and equipment
Technical Field
The present application relates to the field of internet, and in particular, to a content sharing method, device and apparatus.
Background
At present, most social platforms provide a function of sharing content by a user, and the user can share a link address of content to be shared to a sharee as the sharer.
Generally, in a scenario where a sharer uses a social platform to share content, if the sharer wants the sharee to focus on a specific part of the content, the sharer may describe the part that the sharee wants to focus on by using a message function during sharing. However, this method only supports text, and there is a problem that the sharer is troublesome to express.
Disclosure of Invention
The embodiment of the application provides a content sharing method, device and equipment, which are used for solving the technical problem that in the prior art, a sharer describes a specific part in content through characters during sharing, and the presentation is troublesome.
In a first aspect, an embodiment of the present application provides a content sharing method, applied to a first terminal, including:
displaying a mark interface, wherein the mark interface displays the content to be shared;
acquiring a marking result aiming at the content to be shared;
determining position information of the marking result in a preset coordinate system, wherein the preset coordinate system is used for the first terminal to determine coordinates of content elements in the content to be shared;
and responding to the sharing operation aiming at the content to be shared, and sending the related information of the marking result and the link address of the content to be shared to a second terminal, wherein the related information comprises the position information of the marking result, so that the second terminal displays the marking result while displaying the content to be shared.
In a second aspect, an embodiment of the present application provides a content sharing method, applied to a second terminal, including:
the method comprises the steps of obtaining a link address of content to be shared and related information of a marking result aiming at the content to be shared, wherein the related information comprises position information of the marking result under a preset coordinate system, and the preset coordinate system is a coordinate system used by a first terminal for determining coordinates of content elements in the content to be shared;
and acquiring the content to be shared based on the link address, and displaying the marking result while displaying the content to be shared based on the related information of the marking result.
In a third aspect, an embodiment of the present application provides a content sharing apparatus, which is applied to a first terminal, and includes:
the display module is used for displaying a mark interface, and the mark interface displays the content to be shared;
the acquisition module is used for acquiring marking operation aiming at the content to be shared;
the determining module is used for determining position information of a marking result corresponding to the marking operation in a preset coordinate system, wherein the preset coordinate system is used for the first terminal to determine coordinates of content elements in the content to be shared;
and the sharing module is used for responding to the sharing operation aiming at the content to be shared, and sending the related information of the marking result and the link address of the content to be shared to a second terminal, wherein the related information comprises the position information of the marking result, so that the second terminal can display the marking result while displaying the content to be shared.
In a fourth aspect, an embodiment of the present application provides a content sharing apparatus, which is applied to a second terminal, and includes:
the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a link address of content to be shared and related information of a marking result aiming at the content to be shared, the related information comprises position information of the marking result under a preset coordinate system, and the preset coordinate system is a coordinate system used by a first terminal for determining coordinates of content elements in the content to be shared;
and the display module is used for acquiring the content to be shared based on the link address and displaying the marking result while displaying the content to be shared based on the related information of the marking result.
In a fifth aspect, an embodiment of the present application provides a terminal, including: a memory, a processor; wherein the memory is to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the method of any of the first aspects.
In a sixth aspect, an embodiment of the present application provides a terminal, including: a memory, a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the method of any of the second aspects.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the method according to any one of the first aspect is implemented.
In an eighth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the method according to any one of the second aspects is implemented.
In addition, embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, which, when executed, implements the method according to any one of the first aspect.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the method according to any one of the second aspect is implemented.
Embodiments of the present application also provide a computer program, which is used to implement the method according to any one of the first aspect when the computer program is executed by a computer.
Embodiments of the present application also provide a computer program, which is used to implement the method according to any one of the second aspect when the computer program is executed by a computer.
In the embodiment of the application, the first terminal displays a mark interface, the content to be shared is displayed in the mark interface, the mark operation aiming at the content to be shared is obtained, the position information of a mark result corresponding to the mark operation under a preset coordinate system is determined, the share operation aiming at the content to be shared is responded, the position information of the mark result and the link address of the content to be shared are sent to the second terminal, the second terminal can display the mark result while displaying the content to be shared, a sharer can point out a specific part in the content through the mark result in the content when sharing is carried out, troubles caused by text description are avoided, and the sharer can point out the specific part in the content to the sharee conveniently.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic view of an application scenario according to an embodiment of the present application;
FIG. 2A is a diagram of a user interface provided to a sharer in the prior art;
FIG. 2B is a diagram illustrating a user interface provided to a sharee in the prior art;
fig. 3 is a schematic flowchart of a content sharing method according to an embodiment of the present application;
fig. 4A to 4D are schematic diagrams of user interfaces provided to sharers in the embodiment of the present application;
fig. 5 is a schematic flowchart of a content sharing method according to another embodiment of the present application;
fig. 6A and 6B are schematic diagrams of user interfaces provided to sharees in the embodiment of the present application;
fig. 7 is a schematic structural diagram of a content sharing device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a content sharing device according to another embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two, but does not exclude the presence of at least one.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
Fig. 1 is a schematic view of an application scenario of the content sharing method according to the embodiment of the present application, and as shown in fig. 1, 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 respond to the sharing operation of the sharer and send the link address of the content to be shared to the second terminal 12, 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 specifically be any form of content that can be shared in a manner of sharing a link address and includes words and/or pictures, for example, article content and the like.
It should be noted that the sharer and the sharee may be users in the same social platform, or may also be users in different social platforms. The number of the sharees of the same content to be shared can be one or more.
It should be noted that, in the case that information needs to be sent between the first terminal 11 and the second terminal 12 through a server of the social platform, a server of the social platform may also be included between the first terminal 11 and the second terminal 12 in fig. 1.
Generally, in a scenario where a sharer uses a social platform to share content, if the sharer wants the sharee to focus on a specific part of the content, the sharer may describe the part that the sharee wants to focus on by using a message function during sharing. For example, in the content sharing interface shown in fig. 2A, the sharer may describe, at a "message" position below the link address, a part that the sharee wants to pay attention to by using a character (for example, "see the last two lines of characters in the third paragraph"), and after the sharer inputs a message and triggers the "send" button in fig. 2A, as shown in fig. 2B, the terminal used by the sharee may display the received link address of the content to be shared and the message in the user interface. However, the current message leaving function only supports characters during sharing, and for sharers, the problem that the presentation is troublesome through a specific part in the character description content exists; for the sharees, the problem that specific parts in the contents are described through words is not intuitive enough exists. It should be noted that the interfaces shown in fig. 2A and 2B are only examples.
In order to solve the technical problem that the sharer is troublesome to express through a specific part in the text description content during sharing, as shown in figure 1, in the embodiment of the application, the first terminal displays a marking interface, the content to be shared is displayed in the marking interface, a marking operation aiming at the content to be shared is obtained, the position information of a marking result corresponding to the marking operation under a preset coordinate system is determined, and in response to the sharing operation for the content to be shared, sending the position information of the marking result and the link address of the content to be shared to the second terminal, therefore, the second terminal can display the mark result while displaying the content to be shared, so that the sharer can indicate the specific part of the content through the mark result in the content to be shared when sharing, the trouble caused by word description is avoided, and the sharer can conveniently indicate the specific part of the content to the sharee. In addition, for the sharee, the sharee can intuitively know a specific part in the content through the marking result.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments and features of the embodiments described below can be combined with one another without conflict.
Fig. 3 is a flowchart illustrating a content sharing method according to an embodiment of the present application, where an execution subject of the embodiment may be the first terminal 11 in fig. 1. As shown in fig. 3, the method of this embodiment may include:
step 31, displaying a mark interface, wherein the mark interface displays the content to be shared;
step 32, obtaining a marking operation for the content to be shared;
step 33, determining 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;
step 34, in response to the sharing operation for the content to be shared, sending the related information of the marking result and the link address of the content to be shared to a second terminal, where the related information includes the position information of the marking result, so that the second terminal displays the marking result while displaying the content to be shared.
Optionally, the first terminal may provide the function of directly sending the link address of the content to be shared to the user, and may also provide the function of sending the link address of the content to be shared after marking the result on the content to be shared to the user, so that the sharer may flexibly select the link address according to the requirement, which is beneficial to improving the user experience. Based on this, in an embodiment, the method provided in this embodiment may further include: displaying a mark result entry of the content to be shared, where displaying the mark interface in step 31 may specifically include: and displaying a marking interface in response to the triggering operation aiming at the marking result inlet.
Further optionally, the displaying the marked result entry of the content to be shared may specifically include: and displaying a marking result inlet of the content to be shared in the content sharing interface. Therefore, the sharer can conveniently select 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.
The content sharing interface may be, for example, as shown in fig. 4A, where the "mark original text" button may be understood as a mark result entry of the content to be shared, the "leave word" may be used for a sharer to leave a message during sharing, the "cancel" button may be used for the sharer to cancel sharing of the content to be shared, and the "send" button may be used for the sharer to trigger sharing of the content to be shared.
On the basis of displaying fig. 4A, in response to a trigger operation for the "send" button in fig. 4A, the link address of the content to be shared may be directly sent to the second terminal; in response to a trigger operation (e.g., a click operation) for the "mark text" button, a mark interface as shown in fig. 4B may be displayed, in which the content to be shared is displayed.
In the embodiment of the application, after the mark interface is displayed, a mark operation for the content to be shared displayed in the mark interface can be acquired. The tagging result corresponding to the tagging operation of the sharer for the content to be shared may be, for example, a rectangular box in fig. 4C.
Optionally, a selection entry of a marking result tool may be further displayed in the marking interface, so that the sharer may select a tool used for marking the marking result of the content to be shared, such as a circle selection tool, a line marking tool, and the like, as required. A "graffiti circle selection" button as in fig. 4B or fig. 4C may be understood as a selection entry for a marking result tool, and at least two marking result tools may be displayed in response to a trigger operation of the sharee with respect to the "graffiti circle selection" button.
Further optionally, an annotation tool may be displayed in the mark interface. As the "text annotation" button in fig. 4B can be understood as an annotation tool, in response to the trigger operation of the sharer on the "text annotation" button, an annotation box for acquiring annotation content can be displayed. Therefore, the comments corresponding to the marking results and input by the sharer can be obtained, and the sharer can input the comments corresponding to the marking results according to needs. The sharer input annotations corresponding to the tagged results may be, for example, as shown in figure 4D with the gray text above the tagged results.
In the embodiment of the application, after the marking result of the content to be shared by the user is obtained, the position information of the marking result in the preset coordinate system can be determined, and the preset coordinate system can be used for 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, for example, one or more of words, letters, or pictures. Wherein the picture can be replaced by a placeholder for coordinate calculation.
The preset coordinate system may be any type of coordinate system that can be used to determine coordinates of content elements in the content to be shared. For example, the coordinates of the content element in the preset coordinate system may be expressed using (x, y), for example. Taking the language of the content to be shared as Chinese as an example, x may represent the x-th line, for example, and y may represent the y-th word, for example; alternatively, x may represent, for example, the x-th segment and y may represent, for example, the y-th word.
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 according to the position information of the marking result in the screen coordinate system. Based on this, in an embodiment, step 33 may specifically include: acquiring position information of the marking result in a 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.
In practical application, the content element corresponding to the marking result may 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 may be determined according to the content element corresponding to the marking result.
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 is determined according to the html element corresponding to the marking result, so that the position information of the marking result in the preset coordinate system is determined. It should be noted that, regarding to the specific manner 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, reference may be made to the specific description in the related art, and details are not repeated herein.
For example, the position information of the marking result in the screen coordinate system shown in fig. 4 may be represented as a rectangle surrounded by positions of four vertices of the marking result in the screen coordinate system, a rectangle surrounded by html elements corresponding to the four vertices of the marking result may be determined based on the rectangle surrounded by positions of the four vertices of the marking result in the screen coordinate system, and further, the position information of the marking result in the preset coordinate system may be represented as a rectangle surrounded by positions of content elements corresponding to the four vertices of the marking result in the preset coordinate system.
It should be understood that the number of tagged results in the same content to be shared may be one or more.
In the embodiment of the application, after the position information of the marking result in the preset coordinate system is determined, the sharing operation for the content to be shared can be responded, and the related information of the marking result is sent to the second terminal. The related information of the marking result may include position information of the marking result in a preset coordinate system.
Optionally, a sharing entry may be further displayed in the mark interface, and the method provided in this embodiment may further include: and obtaining the sharing operation of the sharer aiming at the content to be shared through the sharing entrance. Therefore, the sharer can conveniently input sharing operation, and the use experience of the user is improved. The share entry may be, for example, a "save and send" button in fig. 4C and 4D. The "cancel" button in fig. 4C and 4D may be used for the sharer to cancel the tagging result for the content to be shared.
Optionally, the related information of the marking result may further include an identifier of a preset coordinate system, so that the second terminal may obtain, through the related information of the marking result, a coordinate system used when the first terminal determines the position information of the marking result.
And/or optionally, the related information of the marking result may further include an annotation corresponding to the marking result, so that the sharer may perform text description corresponding to the marking result, which is beneficial to improving the user experience of the user.
For example, in a case that the type of the marking result may be multiple, the related information of the marking result may further include the type of the marking result (for example, a wavy line, a single underline, a double underline, etc.), so that the type of the marking result displayed by the second terminal may be the same as the type of the marking result input by the sharer using the first terminal.
For example, in a case that the color of the tagging result may be multiple, the related information of the tagging result may further include the color of the tagging result (e.g., red, blue, yellow, etc.), so that the color of the tagging result displayed by the second terminal may be the same as the color of the tagging result input by the sharer using the first terminal.
For example, in a case that the style of the annotation may be multiple, the related information of the tagging result may further include the style of the annotation (e.g., a song style, a regular style, etc.), so that the style of the annotation displayed by the second terminal may be the same as the style of the annotation input by the sharer using the first terminal.
For example, in a case that the color of the annotation may be multiple, the information related to the marking result may further include the color of the annotation (e.g., red, blue, etc.), so that the color of the annotation displayed by the second terminal may be the same as the color of the annotation input by the sharer using the first terminal.
Optionally, the related information of the marking result may be sent to the second terminal in a manner of splicing the related information of the marking result as a parameter to the link address, thereby facilitating simplified implementation. Based on this, in an embodiment, the sending, in step 34, the relevant information of the marking result and the link address of the content to be shared to the second terminal may specifically include: and splicing the related 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. The link address of the content to be shared may be, for example, a Uniform Resource Locator (URL) address of the content to be shared.
According to the content sharing method provided by the embodiment, the mark interface is displayed, the content to be shared is displayed in the mark interface, the mark operation aiming at the content to be shared is obtained, the position information of the mark result corresponding to the mark operation under the preset coordinate system is determined, the sharing operation aiming at the content to be shared is responded, the position information of the mark result and the link address of the content to be shared are sent to the second terminal, the second terminal can display the mark result while displaying the content to be shared, so that a sharer can point out a specific part in the content through the mark result in the content to be shared when sharing is carried out, troubles caused by word description are avoided, and the sharer can point out the specific part in the content to the sharer.
Fig. 5 is a flowchart illustrating a content sharing method according to another embodiment of the present application, where an execution subject of the embodiment may be the second terminal 12 in fig. 1. As shown in fig. 5, the method of this embodiment may include:
step 51, acquiring a link address of content to be shared and related information of a marking result of the content to be shared, wherein the related information includes position information of the marking result in a preset coordinate system, and the preset coordinate system is a coordinate system used by a first terminal to determine coordinates of content elements in the content to be shared;
and step 52, acquiring the content to be shared based on the link address, and rendering the content to be shared based on the related information of the marking result, so as to display the marking result while displaying the content to be shared.
In an embodiment, in a case that 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: acquiring a spliced link address of the content to be shared, wherein the spliced link address is obtained by splicing the related information of the marking result into the link address of the content to be shared; and intercepting the link address of the content to be shared and the related information of the marking result from the spliced link address.
In the embodiment of the application, after the link address of the content to be shared is obtained, the content to be shared can be obtained based on the link address of the content to be shared. As for the implementation manner of obtaining the content to be shared based on the link address of the content to be shared, specific description in the related art may be referred to, and details are not repeated here.
After the content to be shared and the related information of the marking result are acquired, the content to be shared can be rendered based on the related information of the marking result, so that the marking result is displayed while the content to be shared is displayed.
Illustratively, the rendering display may be performed using a screen coordinate system of the second terminal. Based on this, in one embodiment, the step 52 displays the marked result at the same time of displaying the content to be shared based on the related information of the marked result. The method can comprise the following steps: and 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.
In practical 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.
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, so that the position information of the marking result in the screen coordinate system of the second terminal can be determined. It should be noted that, regarding the specific manner of determining the content element corresponding to a certain position under the preset coordinate system and determining the html element corresponding to a certain content element, reference may be made to the detailed description in the related art, and details are not repeated herein.
The specific manner 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 may refer to the specific description in the related art, and is not described herein again.
For example, the position information of the marking result in the preset coordinate system shown in fig. 4 may be represented as a rectangle surrounded by positions of the content elements corresponding to the four vertices of the marking result in the preset coordinate system, a rectangle surrounded by html elements corresponding to the four vertices of the marking result may be determined based on the rectangle surrounded by positions of the content elements corresponding to the four vertices of the marking result in the screen coordinate system, and the position information of the marking result in the screen coordinate system of the second terminal shown in fig. 4 may be further determined, and may be represented as a rectangle surrounded by positions of the html elements corresponding to the four vertices of the marking result in the screen coordinate system.
In practical applications, the content may be rendered at a first layer, and then the marking result is rendered at a second layer, wherein the second layer may be a layer above the first layer. Taking the sharer as an example to perform the marking result and annotation shown in fig. 4C, the second terminal may display the user interface shown in fig. 6A to the sharee, so that the sharee can see the marking result of the sharer.
In an embodiment, in a case that the related information further includes an identifier of a preset coordinate system, the method provided in this embodiment may further include: and determining the preset coordinate system based on the identifier of the preset coordinate system.
In an embodiment, in a case that the related information further includes an annotation corresponding to the marking result, 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 result in the screen coordinate system; the 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 may specifically include: and rendering and displaying the marking result and the annotation corresponding to the marking result while displaying the content to be shared 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. Taking the sharer performing the marking result and the annotation shown in fig. 4D as an example, the second terminal may display the user interface shown in fig. 6B to the sharee, so that the sharee can see the marking result of the sharer and the annotation corresponding to the marking result.
According to the content sharing method provided by the embodiment, the link address of the content to be shared and the related information of the marking result aiming at the content to be shared are obtained, the related information comprises the position information of the marking result under the preset coordinate system, the content to be shared is obtained based on the link address, the content to be shared is rendered based on the related information of the marking result, the marking result is displayed while the content to be shared is displayed, the marking result can be displayed while the content to be shared is displayed by the second terminal, and therefore a sharee can visually know the specific part in the content to be shared through the marking result.
Fig. 7 is a schematic structural diagram of a content sharing device according to an embodiment of the present application; referring to fig. 7, the present embodiment provides an apparatus, which may perform the method provided in the embodiment of fig. 3, and specifically, the apparatus may include:
the display module 71 is configured to display a mark interface, where the mark interface displays content to be shared;
an obtaining module 72, configured to obtain a marking operation for the content to be shared;
a determining module 73, configured to determine position information of a marking result corresponding to the marking operation in a preset coordinate system, where the preset coordinate system is used for the first terminal to determine coordinates of content elements in the content to be shared;
the sharing module 74 is configured to send, in response to a sharing operation for the content to be shared, related information of the marking result and a link address of the content to be shared to a second terminal, where the related information includes the position information of the marking result, so that the second terminal displays the marking result while displaying the content to be shared.
Optionally, the determining module 73 is specifically configured to: acquiring position information of the marking result in a 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.
Optionally, the related information further includes: the annotation corresponding to the marking result and/or the identification of the preset coordinate system.
Optionally, the display module 71 is further configured to: displaying a marking result entry of the content to be shared;
the display module 71 is configured to display the mark interface, and includes: and displaying a marking interface in response to the triggering operation aiming at the marking result inlet.
Optionally, the displaying module 71 displays a mark result entry of the content to be shared, including: and displaying the marking result entry of the content to be shared in a content sharing interface.
Optionally, a sharing entry is further displayed in the mark interface; the obtaining module 72 is further configured to: and acquiring the sharing operation aiming at the content to be shared through the sharing entrance.
The sharing module 74 is configured to send the relevant information of the marking result and the link address of the content to be shared to the second terminal, and includes: and splicing the related information of the marking result into the link address of the content to be shared, and sending the obtained spliced link address to a second terminal.
The apparatus shown in fig. 7 can perform the method provided by the embodiment shown in fig. 3, and reference may be made to the related description of the embodiment shown in fig. 3 for a part not described in detail in this embodiment. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 3, and are not described herein again.
In one possible implementation, the structure of the apparatus shown in fig. 7 may be implemented as a terminal. As shown in fig. 8, the terminal may include: a processor 81 and a memory 82. Wherein the memory 82 is used for storing programs that support the terminal to execute the method provided in the embodiment shown in fig. 3 described above, and the processor 81 is configured for executing the programs stored in the memory 82.
The program comprises one or more computer instructions which, when executed by the processor 81, are capable of performing the steps of:
displaying a mark interface, wherein the mark interface displays the content to be shared;
obtaining marking operation aiming at the content to be shared;
determining position information of a marking result corresponding to the marking operation in a preset coordinate system, wherein the preset coordinate system is used for the first terminal to determine coordinates of content elements in the content to be shared;
and responding to the sharing operation aiming at the content to be shared, and sending the related information of the marking result and the link address of the content to be shared to a second terminal, wherein the related information comprises the position information of the marking result, so that the second terminal displays the marking result while displaying the content to be shared.
Optionally, the processor 81 is further configured to perform all or part of the steps in the foregoing embodiment shown in fig. 3.
The terminal may further include a communication interface 83, which is used for the terminal to communicate with other devices or a communication network.
Fig. 9 is a schematic structural diagram of a content sharing device according to another embodiment of the present application; referring to fig. 9, the present embodiment provides an apparatus, which may perform the method provided in the embodiment of fig. 5, and specifically, the apparatus may include:
the acquiring module 91 is configured to acquire a link address of content to be shared and related information of a marking result for the content to be shared, where the related information includes position information of the marking result in a preset coordinate system, and the preset coordinate system is a coordinate system used by a first terminal to determine coordinates of content elements in the content to be shared;
a display module 92, configured to obtain the content to be shared based on the link address, and display the mark result while displaying the content to be shared based on the relevant information of the mark result.
Optionally, the display module 92 is specifically configured to: determining 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; 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.
Optionally, the related information further includes: an identification of the preset coordinate system; the apparatus further includes a first determining module configured to determine the preset coordinate system based on the identifier.
Optionally, the related information further includes: an annotation corresponding to the tagged result; the device further comprises a second determining module, which is used for 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 display module 92 is configured to render and display the content to be shared based on the position information of the marking result in the screen coordinate system, so as to display the marking result while displaying the content to be shared, and includes: 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.
Optionally, the obtaining module 91 is specifically configured to: acquiring a spliced link address of the content to be shared, wherein the spliced link address is obtained by splicing the related 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 related information of the marking result from the spliced link address.
The apparatus shown in fig. 9 can execute the method provided by the embodiment shown in fig. 5, and reference may be made to the related description of the embodiment shown in fig. 5 for a part not described in detail in this embodiment. The implementation process and technical effect of the technical solution are described in the embodiment shown in fig. 5, and are not described herein again.
In one possible implementation, the structure of the apparatus shown in fig. 9 may be implemented as a terminal. As shown in fig. 10, the terminal may include: a processor 101 and a memory 102. Wherein the memory 102 is used for storing a program for supporting the terminal to execute the method provided in the embodiment shown in fig. 5, and the processor 101 is configured to execute the program stored in the memory 102.
The program comprises one or more computer instructions, wherein the one or more computer instructions, when executed by the processor 101, are capable of performing the steps of:
acquiring a link address of content to be shared and related information of a marking result aiming at the content to be shared, wherein the related information comprises position information of the marking result in a preset coordinate system, and the preset coordinate system is a coordinate system used by a first terminal for determining coordinates of content elements in the content to be shared;
and acquiring the content to be shared based on the link address, and displaying the marking result while displaying the content to be shared based on the related information of the marking result.
Optionally, the processor 101 is further configured to perform all or part of the steps in the embodiment shown in fig. 5.
The terminal may further include a communication interface 103, which is used for the terminal to communicate with other devices or a communication network.
In addition, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the method according to any one of the embodiments shown in fig. 3 is implemented.
The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the method according to any one of the embodiments shown in fig. 5 is implemented.
The above-described embodiments of the apparatus are merely illustrative, and 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, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement such a technique without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described technical solutions and/or portions thereof that contribute to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein (including but not limited to disk storage, CD-ROM, optical storage, etc.).
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, linked lists, modules of a program, 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 disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.

Claims (16)

1. A content sharing method is applied to a first terminal and is characterized by comprising the following steps:
displaying a mark interface, wherein the mark interface displays the content to be shared;
acquiring marking operation aiming at the content to be shared;
determining position information of a marking result corresponding to the marking operation in a preset coordinate system, wherein the preset coordinate system is used for the first terminal to determine coordinates of content elements in the content to be shared;
and responding to the sharing operation aiming at the content to be shared, and sending the related information of the marking result and the link address of the content to be shared to a second terminal, wherein the related information comprises the position information of the marking result, so that the second terminal displays the marking result while displaying the content to be shared.
2. The method according to claim 1, wherein the determining the position information of the marking result in a preset coordinate system comprises:
acquiring position information of the marking result in a 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.
3. The method of claim 1, wherein the related information further comprises: the annotation corresponding to the marking result and/or the identification of the preset coordinate system.
4. The method according to any one of claims 1-3, further comprising: displaying a marking result entry of the content to be shared;
the display tagging interface comprising: and displaying a marking interface in response to the trigger operation aiming at the marking result inlet.
5. The method of claim 4, wherein the displaying the tagged result entry of the content to be shared comprises: and displaying the marking result entry of the content to be shared in a content sharing interface.
6. The method according to any one of claims 1-3, wherein a sharing entry is further displayed in the tagging interface; the method further comprises the following steps: and acquiring the sharing operation aiming at the content to be shared through the sharing entrance.
7. The method according to any one of claims 1 to 3, wherein the sending the information related to the marking result and the link address of the content to be shared to the second terminal includes: and splicing the related information of the marking result into the link address of the content to be shared, and sending the obtained spliced link address to a second terminal.
8. A content sharing method is applied to a second terminal and is characterized by comprising the following steps:
acquiring a link address of content to be shared and related information of a marking result aiming at the content to be shared, wherein the related information comprises position information of the marking result in a preset coordinate system, and the preset coordinate system is a coordinate system used by a first terminal for determining coordinates of content elements in the content to be shared;
and acquiring the content to be shared based on the link address, and displaying the marking result while displaying the content to be shared based on the related information of the marking result.
9. The method according to claim 8, wherein the displaying the marking result while displaying the content to be shared based on the related information of the marking result comprises:
determining 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;
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.
10. The method of claim 9, wherein the related information further comprises: an identification of the preset coordinate system; the method further comprises the following steps: and determining the preset coordinate system based on the identification.
11. The method of claim 9, wherein the related information further comprises: an annotation corresponding to the tagged result; the method further comprises the following steps: 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 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, includes: 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.
12. The method according to any one of claims 8 to 11, wherein 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:
acquiring a spliced link address of the content to be shared, wherein the spliced link address is obtained by splicing the related 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 related information of the marking result from the spliced link address.
13. The utility model provides a content sharing device, is applied to first terminal, its characterized in that includes:
the display module is used for displaying a mark interface, and the mark interface displays the content to be shared;
the acquisition module is used for acquiring marking operation aiming at the content to be shared;
the determining module is used for determining position information of a marking result corresponding to the marking operation in a preset coordinate system, wherein the preset coordinate system is used for the first terminal to determine coordinates of content elements in the content to be shared;
and the sharing module is used for responding to the sharing operation of the content to be shared and sending the related information of the marking result and the link address of the content to be shared to a second terminal, wherein the related information comprises the position information of the marking result, so that the second terminal displays the marking result while displaying the content to be shared.
14. The utility model provides a content sharing device, is applied to the second terminal, its characterized in that includes:
the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a link address of content to be shared and related information of a marking result aiming at the content to be shared, the related information comprises position information of the marking result under a preset coordinate system, and the preset coordinate system is a coordinate system used by a first terminal for determining coordinates of content elements in the content to be shared;
and the display module is used for acquiring the content to be shared based on the link address and displaying the marking result while displaying the content to be shared based on the related information of the marking result.
15. A terminal, comprising: a memory, a processor; wherein the memory is to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the method of any of claims 1 to 7 or the method of any of claims 8-12.
16. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed, carries out the method of any one of claims 1 to 7 or the method of any one of claims 8-12.
CN202210051252.1A 2022-01-17 2022-01-17 Content sharing method, device and equipment Pending CN114491323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210051252.1A CN114491323A (en) 2022-01-17 2022-01-17 Content sharing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210051252.1A CN114491323A (en) 2022-01-17 2022-01-17 Content sharing method, device and equipment

Publications (1)

Publication Number Publication Date
CN114491323A true CN114491323A (en) 2022-05-13

Family

ID=81512473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210051252.1A Pending CN114491323A (en) 2022-01-17 2022-01-17 Content sharing method, device and equipment

Country Status (1)

Country Link
CN (1) CN114491323A (en)

Similar Documents

Publication Publication Date Title
CN110839104B (en) Group communication method, device and equipment
CN105335132B (en) Method, device and system for customizing application program function
SA114350646B1 (en) Methods and systems for image recognition
CN114416056A (en) Page generation method, system, computer equipment and readable storage medium
CN109857964B (en) Thermodynamic diagram drawing method and device for page operation, storage medium and processor
TWI744216B (en) Method and device for providing prompt information
CN117472704A (en) Machine room management method, equipment and storage medium based on three-dimensional model
EP3819760A1 (en) Methods and apparatus for generating a platform-agnostic mobile application configuration data structure with a dynamic quiz
CN114693226A (en) Approval process construction method, device, equipment and storage medium
CN110058996B (en) Program debugging method, device, equipment and storage medium
KR20200094637A (en) Method, apparatus, device, and storage medium for providing visual representation of set of objects
CN112035156A (en) E-commerce platform docking device, method, equipment and medium
CN111177093A (en) Method, device and medium for sharing scientific and technological resources
CN114491323A (en) Content sharing method, device and equipment
CN111381745A (en) Page switching method, device and equipment
CN105808543B (en) Information display method and device
CN115277865A (en) Display method, device and medium for device panel
CN111079399B (en) Image-text data processing method, image-text data processing device, computer equipment and storage medium
CN111444392B (en) Vulnerability library access method, device and equipment
CN111209028B (en) Data processing method and device, electronic equipment and storage medium
CN113515505A (en) Data model generation method and device of data warehouse and electronic equipment
EP3454207B1 (en) Dynamic preview generation in a product lifecycle management environment
CN113055209A (en) Arranging method and device for edge calculation
CN112394809A (en) Method, device and communication equipment for realizing augmented reality
CN111724195B (en) Bench layout generation and display method and device

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