WO2017012437A1 - 网页批注显示方法、装置及移动终端 - Google Patents
网页批注显示方法、装置及移动终端 Download PDFInfo
- Publication number
- WO2017012437A1 WO2017012437A1 PCT/CN2016/085474 CN2016085474W WO2017012437A1 WO 2017012437 A1 WO2017012437 A1 WO 2017012437A1 CN 2016085474 W CN2016085474 W CN 2016085474W WO 2017012437 A1 WO2017012437 A1 WO 2017012437A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- webpage
- annotation
- information
- target
- text
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9558—Details of hyperlinks; Management of linked annotations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/169—Annotation, e.g. comment data or footnotes
Definitions
- the present invention relates to the field of the Internet, and in particular, to a webpage annotation display method, apparatus, and mobile terminal.
- the terminal may display the webpage annotation by: when the terminal receives the display instruction of the target webpage, the terminal may acquire the information content of the target webpage from the server, and display the information content, and the terminal may The server obtains the webpage annotation in the target webpage and the selected text information corresponding to the webpage annotation, and then the terminal matches the information content of the target webpage according to the selected text information, to determine from the information content of the target webpage. The text information is selected, and the terminal can display the webpage annotation at the determined selected text information.
- the terminal displays the webpage annotation by the above method, if there are multiple identical selected text information in the information content of the target webpage, the display of the webpage annotation may be wrong, thereby reducing the display accuracy of the webpage annotation.
- the selected text information is “tourism”, if there are multiple “tours” in the information content of the target webpage, at this time, the terminal will only be the first “tourism” among the plurality of “tours”.
- the page annotation is displayed at the location, which may result in an error in the display of the page annotation.
- an embodiment of the present invention provides a webpage annotation display method, apparatus, and mobile terminal.
- the technical solution is as follows:
- a webpage annotation display method comprising:
- the content of the webpage annotation is performed by the target webpage, where the first location information is used to determine a display location of the first webpage annotation
- a webpage annotation display apparatus comprising:
- An acquiring module configured to acquire information content of the target webpage when receiving a display instruction of the target webpage
- a first sending module configured to send an information obtaining request to the server, where the information acquiring request carries a target webpage identifier, so that the server returns a first webpage annotation and first location information of the target webpage, the first webpage
- An annotation is a content that is annotated with the webpage of the target webpage before the current time, and the first location information is used to determine a display location of the first webpage annotation
- the first display module is configured to display the first webpage annotation on the target webpage based on the first location information when receiving the first webpage annotation and the first location information.
- a mobile terminal where the mobile terminal includes:
- One or more processors are One or more processors.
- the memory stores one or more programs, the one or more programs being configured to be executed by the one or more processors, the one or more programs including instructions for:
- the technical solution provided by the embodiment of the present invention has the beneficial effects that, in the embodiment of the present invention, when the terminal receives the display instruction of the target webpage, the terminal acquires the information content of the target webpage, and sends an information acquisition request to the server, where The information acquisition request carries the target webpage identifier, so that the server returns the first webpage annotation and the first location information of the target webpage, where the first location information is used to determine the display location of the first webpage annotation, when the terminal receives the When the first webpage annotation and the first location information are used, the first webpage annotation is displayed on the target webpage based on the first location information.
- the invention accurately locates the webpage annotation of the target webpage by using the location information of the webpage annotation, thereby avoiding the problem that the webpage annotation may be displayed incorrectly when there are multiple identical selected textual information, and improving the accuracy of the webpage annotation display. .
- FIG. 1A is a schematic diagram of an implementation environment involved in a webpage annotation display method according to an embodiment of the present invention
- FIG. 1B is a flowchart of a method for displaying a webpage annotation according to an embodiment of the present invention
- FIG. 2 is a flowchart of another method for displaying a webpage annotation according to an embodiment of the present invention.
- FIG. 3 is a display interface diagram of a first webpage annotation display according to an embodiment of the present invention.
- FIG. 4(a) is a display interface diagram of a second webpage annotation display according to an embodiment of the present invention.
- 4(b) is a display interface diagram of a third webpage annotation display provided by an embodiment of the present invention.
- FIG. 5 is a display interface diagram of a fourth webpage annotation display according to an embodiment of the present invention.
- FIG. 6 is a display interface diagram of a fifth webpage annotation display according to an embodiment of the present invention.
- FIG. 7 is a display interface diagram of a sixth webpage annotation display according to an embodiment of the present invention.
- FIG. 8 is a display interface diagram of a seventh webpage annotation display according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a webpage annotation display device according to an embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of a first display module according to an embodiment of the present disclosure.
- FIG. 11 is a schematic structural diagram of another first display module according to an embodiment of the present invention.
- FIG. 12 is a schematic structural diagram of another webpage annotation display apparatus according to an embodiment of the present invention.
- FIG. 13 is a schematic structural diagram of a second display module according to an embodiment of the present disclosure.
- FIG. 14 is a schematic structural diagram of a third determining unit according to an embodiment of the present disclosure.
- FIG. 15 is a schematic structural diagram of a determining module according to an embodiment of the present invention.
- 16 is a schematic structural diagram of another determining module according to an embodiment of the present invention.
- FIG. 17 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
- FIG. 1A is a schematic diagram of an implementation environment involved in a webpage annotation display method according to an embodiment of the present invention.
- the implementation environment may include a terminal 110 and a server 120.
- the terminal 110 may be a mobile phone, a computer, a tablet device, or the like.
- the server 120 may be a server, or may be a server cluster composed of multiple servers, and the terminal 110 and the server 120 may be connected by wire or wirelessly. Communicate.
- the terminal 110 may obtain the information content of the target webpage when receiving the display instruction of the target webpage, and send an information acquisition request to the server 120 to obtain the first webpage annotation and the first location information of the target webpage from the server 120.
- the terminal 110 may display the first webpage annotation on the target webpage based on the first location information of the target webpage.
- the server 120 may determine the first webpage annotation and the first location information of the target webpage based on the information acquisition request, and send the first webpage annotation and the first location information of the target webpage. To the terminal 110.
- FIG. 1B is a flowchart of a method for displaying a webpage annotation according to an embodiment of the present invention. Referring to FIG. 1B, the method includes:
- Step 101 Acquire an information content of the target webpage when receiving a display instruction of the target webpage.
- Step 102 Send an information acquisition request to the server, where the information acquisition request carries the target webpage identifier, so that the server returns the first webpage annotation and the first location information of the target webpage, and the first webpage annotation is performed on the target webpage before the current time.
- the content of the webpage annotation, the first location information is used to determine the display location of the first webpage annotation.
- Step 103 When receiving the first webpage annotation and the first location information, based on the first digit Set the information to display the first page annotation on the landing page.
- the terminal when the terminal receives the display instruction of the target webpage, the terminal acquires the information content of the target webpage, and sends an information acquisition request to the server, where the information acquisition request carries the target webpage identifier, so that the server returns the target.
- a first webpage annotation and a first location information of the webpage where the first location information is used to determine a display location of the first webpage annotation
- the terminal receives the first webpage annotation and the first location information, based on the first location information
- the first page annotation is displayed on the landing page.
- the invention accurately locates the webpage annotation of the target webpage by using the location information of the webpage annotation, thereby avoiding the problem that the webpage annotation may be displayed incorrectly when there are multiple identical selected textual information, and improving the accuracy of the webpage annotation display. .
- displaying the first webpage annotation on the target webpage based on the first location information including:
- the first location information includes the selection location information and the first annotation frame coordinates
- determining, according to the selection location information, the first selected text information from the target webpage, where the first selected text information is the text endorsed by the first webpage annotation The information, the location location information is used to determine the location of the first selected text information in the target webpage, the first annotation frame coordinates are the coordinates of the first annotation box in the target webpage, and the first annotation box is used to display the first webpage annotation. Comment box
- the first webpage annotation is displayed based on the position of the first selected text information and the first annotation frame coordinates.
- displaying the first webpage annotation on the target webpage based on the first location information including:
- the first location information includes the first relative coordinate and the first index information
- An index information is index information of the first selected picture in the target webpage
- the first relative coordinate is a relative coordinate of the first annotation box in the first selected picture
- the first annotation box is used to display the first webpage annotation. Comment box
- the first webpage annotation is displayed on the first selected picture.
- the method further includes:
- the trigger point coordinate is a coordinate of the trigger point of the specified event in the target webpage
- the user account currently registered by the terminal, the target webpage identifier, the second webpage annotation, and the second location The information is sent to the server, so that the server stores the second webpage annotation and the second location information based on the user account and the target webpage identifier.
- displaying an annotation input box based on the trigger point coordinates of the specified event including:
- the information at the trigger point is text information, determining a target selection area based on the trigger point coordinates;
- An annotation input box is displayed based on the location of the target selection.
- determining the target selection based on the trigger point coordinates including:
- the target selection is determined based on the plurality of text keywords.
- determining the target selection based on the plurality of text keywords including:
- the recommended selection is adjusted to obtain a target selection.
- determining the second location information includes:
- the selection location information of the target selection area and the second annotation frame coordinate are determined as the second location information.
- determining the second location information includes:
- the picture at the trigger point is used as the second selected picture, and the second selected picture is the picture annotated by the second page annotation;
- the second relative coordinate and the second index information are determined as the second location information.
- FIG. 2 is a flowchart of a webpage annotation display method according to an embodiment of the present invention. Referring to FIG. 2, the method is used in a terminal, and includes the following steps:
- Step 201 When the terminal receives the display instruction of the target webpage, the terminal acquires the information content of the target webpage.
- the terminal when the terminal receives the display instruction of the target webpage, the terminal may generate a webpage acquisition request based on the target webpage identifier carried by the display instruction of the target webpage, and send the webpage acquisition request to the server, when the server receives the When the webpage obtains the request, the server may obtain the information content of the target webpage based on the target webpage identifier, and send the information content of the target webpage to the terminal, and the terminal may receive the information content of the target webpage to obtain The content of the information to the landing page.
- the terminal when the terminal receives the display instruction of the target webpage, the terminal may search for the information content of the target webpage from the local cache based on the target webpage identifier carried by the display instruction of the target webpage, and find the content of the target webpage from the local cache.
- the terminal may obtain the information content of the target webpage from the local cache.
- the terminal may obtain the information content of the target webpage by using other methods, which is not specifically limited in this embodiment of the present invention.
- the terminal when the terminal obtains the information content of the target webpage, the terminal may directly display the information content of the target webpage. Of course, in actual applications, the terminal may not display the information content of the target webpage directly.
- the following steps 202-204 are performed, and in step 204, the information content of the target webpage is displayed together with the first webpage annotation, which is not specifically limited in the embodiment of the present invention.
- the terminal When the terminal displays the information content of the target webpage, the terminal may display and display according to the format of HTML (Hyper Text Markup Language). Of course, in actual applications, the terminal may also follow other formats. The embodiment of the present invention does not specifically limit this.
- the first webpage annotation is the content of the webpage annotation on the target webpage before the current time.
- the display instruction of the target webpage is used to display the target webpage, and the display instruction of the target webpage may be triggered by the user, and the user may be triggered by a first specified operation, which may be a click operation or a sliding operation.
- a first specified operation which may be a click operation or a sliding operation.
- the voice operation and the like are not specifically limited in the embodiment of the present invention.
- target webpage identifier is used to uniquely identify the target webpage
- target webpage identifier can be
- the embodiment of the present invention does not specifically limit the title of the target webpage, the webpage of the target webpage, the keyword of the target webpage, and the like.
- the terminal After the terminal obtains the information content of the target webpage, in order to display the first webpage annotation of the target webpage, the terminal may be executed by the following steps 202-204, as follows.
- Step 202 The terminal sends an information acquisition request to the server, where the information acquisition request carries the target webpage identifier.
- the terminal may generate an information acquisition request based on the target webpage identifier, and send the information acquisition request to the server.
- the server is a server corresponding to an application currently used for browsing a target webpage.
- the information acquisition request is used to acquire the first webpage annotation and the first location information of the target webpage.
- the first location information is used to determine a display location of the first webpage annotation.
- the first webpage annotation may include not only the webpage annotation corresponding to the user account currently logged in by the terminal, but also the webpage annotation corresponding to the user account other than the user account, which is not specifically limited in the embodiment of the present invention.
- the webpage annotation corresponding to the user account currently registered by the terminal is the webpage annotation of the webpage of the user account
- the webpage annotation corresponding to the other user account is the webpage annotation of the webpage of the other user account.
- the user account currently logged in is the user account currently used for browsing the target webpage, and the user account can be registered in the server, and the user account can be composed of letters, numbers, and the like. Specifically limited.
- the target webpage is identified as ID1.
- the terminal may generate an information acquisition request based on the target webpage identifier ID1, and send the information acquisition request to the server.
- the information acquisition request may further carry the user account currently logged in by the terminal, which is in the embodiment of the present invention. This is not specifically limited.
- Step 203 When the server receives the information acquisition request, the first webpage annotation and the first location information of the target webpage are sent to the terminal.
- the server may obtain the first webpage annotation and the first location information of the target webpage based on the target webpage identifier carried by the information acquisition, and annotate the first webpage of the target webpage. And the first location information is sent to the terminal.
- the first webpage annotation may include not only the webpage annotation corresponding to the user account currently registered by the terminal, but also the webpage annotation corresponding to the user account other than the user account, so when the server obtains the first webpage annotation,
- the webpage annotation corresponding to the user account currently logged in by the terminal may be obtained, or the webpage annotation corresponding to all the user accounts may be obtained, so the server obtains the first webpage annotation and the first location information of the target webpage based on the target webpage identifier.
- the operation can include two situations, as described below.
- the server searches for the stored user account, the webpage identifier, the webpage annotation, and the location information based on the target webpage identifier and the user account currently logged in by the terminal.
- the corresponding webpage annotation and location information are obtained, the obtained webpage annotation is determined as the first webpage annotation, and the obtained location information is determined as the first location information.
- the first webpage annotation obtained in the first case only includes the webpage annotation corresponding to the user account currently logged in by the terminal, and the server does not need to obtain the webpage annotation corresponding to the other user account, thereby improving the The first web annotation is efficient in obtaining and saves processing resources of the server.
- the information acquisition request carries the target webpage identifier and the user account currently logged in by the terminal, and the target webpage identifier is ID1, and the user account is 12345678
- the server may be based on the target webpage identifier ID1 and the user account 12345678.
- the corresponding webpage annotation is obtained as the annotation 1
- the corresponding location information is obtained as the information 1
- the annotation 1 is determined as the first
- the web page annotation determines the information 1 as the first location information.
- the server obtains the webpage annotation and location information corresponding to all the user accounts from the corresponding relationship between the stored user account, the webpage identifier, the webpage annotation and the location information, based on the target webpage identifier, and obtains the webpage annotation and location information corresponding to the user account.
- the webpage annotation is determined to be the first webpage annotation, and the obtained location information is determined as the first location information.
- the first webpage annotation obtained in the second case includes not only the webpage annotation corresponding to the user account currently registered by the terminal, but also the webpage annotation corresponding to the user account other than the user account, thereby After the server sends the first webpage annotation to the terminal, the user who uses the terminal can conveniently know all the webpage annotations on the target webpage in time.
- the server may use the user account, the webpage identifier, the webpage annotation, and the location information according to the target webpage identifier ID1.
- the corresponding webpage annotations are obtained as annotation 1 and annotation 4
- the corresponding location information is obtained as information 1 and information 4
- the annotation 1 and annotation 4 are determined as the first webpage annotation
- the information 1 is determined as The first location information of the annotation 1 determines the information 4 as the first location information of the annotation 2.
- the user who uses the terminal can identify the user account corresponding to the current login of the terminal from the first webpage annotation.
- the webpage is annotated, and the server may further perform an account marking on the first webpage annotation before sending the first webpage annotation to the terminal, so that the terminal may display the first webpage annotation based on the account identifier.
- the operation of marking the first webpage annotation by the server may be: the server marking the first webpage annotation by using the corresponding user account of the first webpage annotation; or, when the information acquisition request further carries the terminal
- the server obtains the webpage annotation corresponding to the user account currently logged in by the terminal from the first webpage annotation, and performs the first mark on the obtained webpage annotation, and the current webpage annotation is divided into the current
- the webpage annotations other than the webpage annotations corresponding to the logged-in user account are marked with the second mark; of course, in the actual application, the server may also perform the account marking on the first webpage annotation by other means, and the embodiment of the present invention does not specifically limited.
- the first mark is used to mark the batch of the webpage corresponding to the user account currently registered by the terminal.
- the second tag is used to mark a webpage annotation other than the webpage annotation corresponding to the user account currently registered by the terminal.
- the server may send the first webpage annotation and the first location information of the target webpage to the terminal, if the annotation object corresponding to the first webpage annotation is text information.
- the server may further send the first selected text information corresponding to the first webpage annotation to the terminal, so that the terminal displays the first webpage annotation based on the first location information and the first selected text information, thereby further improving the display of the webpage annotation. accuracy.
- the first selected text information is the text information endorsed by the first webpage annotation.
- Step 204 When the terminal receives the first webpage annotation and the first location information, displaying the first webpage annotation on the target webpage based on the first location information.
- the information content of the target webpage may include not only the text information, but also the image. Therefore, the annotation object of the first webpage annotation may also be text information or a picture. . Since the manner of determining the display position of the first webpage annotation is different for different annotation objects, that is, for different annotation objects, the first location information includes different contents, and therefore, the terminal is based on the first location. Information, the operation of displaying the first web page annotation on the landing page may include two scenarios, as described below.
- the terminal determines the first selected text information from the target webpage based on the selection location information; based on the location of the first selected text information And the first batch of box coordinates, showing the first page annotation.
- the selection location information is used to determine the location of the first selected text information in the target webpage, and the selection location information may include a paragraph start location and a paragraph end location of the first selected text information, and the first selection The start text offset value and end text offset value of the text message.
- first annotation frame coordinates are used to determine the position of the first annotation frame in the target webpage
- first annotation frame coordinates are the coordinates of the first annotation frame in the target webpage.
- the origin of the coordinate system of the first batch of frame coordinates may be the upper left corner, the lower left corner, the upper right corner, the lower right corner, and the like of the target webpage, which is not specifically limited in this embodiment of the present invention.
- the first note box is a comment box for displaying the first web page annotation.
- the terminal determines that the annotation object of the first webpage annotation is text information, and the terminal may be based on the selection location information from the information content of the target webpage. Determining the first selected text information, when the first annotation frame coordinate is located at the position of the first selected text information, the terminal may directly display the first webpage based on the first annotation frame coordinate Annotating, when the first annotation frame coordinate is not located at the position of the first selected text information, the terminal may adjust the first annotation frame coordinate based on the position of the first selected text information, and based on the adjusted first annotation frame Coordinates, showing the first page annotation.
- the terminal displays the first annotation box based on the first annotation frame coordinates based on the first annotation frame coordinates, and displays the first webpage annotation in the first annotation box.
- the terminal when the terminal adjusts the coordinates of the first annotation frame based on the position of the first selected text information, the terminal may acquire the distance between the middle position of the first selected text information and the middle position of the first selected text information. The coordinates of the first specified length position, the first annotation frame coordinates are replaced with the acquired coordinates to adjust the first annotation coordinates.
- the terminal may adjust the coordinates of the first annotation frame based on the position of the first selected text information in other manners, which is not specifically limited in this embodiment of the present invention.
- the first specified length may be set in advance, for example, the first specified length may be 0.5 cm (cm), 1 cm, and the like, which is not specifically limited in the embodiment of the present invention.
- the terminal may further perform the first selected text information.
- the first selected text information may be marked by a specific symbol, or the first selected text information may be marked by a specific color.
- the first selected text information may be highlighted by the terminal in other manners, which is not specifically limited in this embodiment of the present invention.
- the specific symbol may be set in advance, and the specific symbol may be a wavy line, an underline, a double underline, a broken line, and the like, which is not specifically limited in the embodiment of the present invention.
- the specific color may be set in advance, and the specific color may be blue, red, or the like, which is not specifically limited in the embodiment of the present invention.
- the location location information is location information 1
- the first annotation frame coordinate is coordinate 1
- the first webpage annotation is "How old is it?"
- the specific symbol is underlined
- the terminal can be based on the location information 1 from the Determining, in the information content of the target webpage, the first selected text information is “young time”, and marking the first selected text with an underline.
- the terminal may be based on The coordinate 1, the first annotation box is displayed, and the first webpage annotation "How old is it?" is displayed in the first annotation box, and its display interface is as shown in FIG.
- the terminal determines the first content from the information content of the target webpage based on the location location information.
- the operation of selecting the text information may be: the terminal determines the text paragraph in which the first selected text information is located based on the beginning position of the paragraph and the end position of the paragraph of the first selected text information, and is based on the initial text of the first selected text information.
- the shift value and the end text offset value determine the first selected text information from the text paragraph.
- the beginning position of the paragraph of the first selected text information is the beginning position of the paragraph of the text paragraph where the first character of the first selected text information is located, and the ending position of the paragraph of the first selected text information is the first selected text information.
- the last character is located at the end of the paragraph of the text paragraph.
- start text offset of the first selected text information is an offset value of the first character of the first selected text information relative to the beginning position of the paragraph of the text segment where the first character is located
- first selected text information is the offset of the last character of the first selected text message relative to the beginning of the paragraph of the text paragraph in which the last character is located.
- the text paragraph in which the first selected text information is located may include one text paragraph, and may include a plurality of text paragraphs
- the method for determining the first selected text information is slightly different, and the text paragraph is a text paragraph and Multiple text paragraphs are set forth below.
- the terminal determines a first text paragraph based on a paragraph start position of the first selected text information, and determines a second text paragraph based on the paragraph end position of the first text information, when the first text paragraph and the second text paragraph are the same
- the text paragraph in which the first selected text information is located is determined to be a text paragraph.
- the terminal determines the first selected text information based on the beginning position of the paragraph and the initial text offset value of the first selected text information.
- the terminal determines that the text paragraph in which the first selected text information is located is a plurality of text paragraphs. At this time, the terminal is based on the paragraph of the first selected text information. a starting position and a starting text offset value, determining a first character of the first selected text information in the first text paragraph included in the plurality of text paragraphs, based on a paragraph ending position of the first selected text information, Determining a starting position of the paragraph in the last text paragraph included in the plurality of text paragraphs, determining, based on the beginning position of the paragraph of the last text paragraph and the ending text offset value, determining that the first selected text information is included in the plurality of text paragraphs The last character in the last text paragraph, the text information between the first character and the last character and including the first character and the last character is determined as the first selected text information.
- the beginning position of the first selected text information is position 1
- the end position of the paragraph is position 48
- the initial text offset value of the first selected text information is 8
- the ending text offset value is 10
- the terminal is based on the Selecting a paragraph start position 1 and a paragraph end position 48 of the text information, determining that the paragraph in which the first selected text information is located is the same text paragraph, and the text paragraph is the first paragraph, and therefore, the terminal is based on the first selected text information.
- a paragraph start position 1 and a start text offset value of 8 determining that the first character of the first selected text information in the first paragraph is the eighth character in the first paragraph, based on the beginning of the first selected text information Position 1 and ending text offset value 10, determining that the last character of the first selected text information in the first paragraph is the tenth character in the first paragraph, and therefore, determining the eighth character and the tenth character in the first paragraph
- the text information including the eighth character and the tenth character is "young", and the text information is determined as the first selected text information as shown in FIG. 4(a).
- the beginning position of the first selected text information is position 1
- the end position of the paragraph is position 82
- the initial text offset value of the first selected text information is 42
- the ending text offset value is 2
- the terminal is based on The paragraph start position 1 and the paragraph end position 82 of the first selected text information determine that the text paragraph in which the first selected text information is located is a plurality of text paragraphs, and the plurality of text paragraphs are the first paragraph and the second paragraph.
- the terminal determines, according to the paragraph start position 1 and the start text offset value 42 of the first selected text information, that the first selected text information is included in the first text paragraph of the plurality of text paragraphs, that is, the first The first character in a paragraph is the 42nd character in the first paragraph, and based on the paragraph ending position 82 of the first selected text information, determining the last text paragraph included in the plurality of text paragraphs, that is, the second paragraph The beginning position of the paragraph is 49, and based on the paragraph start position 49 and the end text offset value 2 of the second paragraph, determining that the last character of the first selected text information in the second paragraph is the second paragraph
- the second character therefore, determines between the 42nd character in the first paragraph and the second character in the second paragraph and includes the 42nd character in the first paragraph and the second character in the second paragraph
- the text information is "When the graphic designer. The current year", as shown in FIG. 4(b), the text information is determined as the first selected text information.
- the terminal determines, according to the first index information, the first selected picture from the target webpage, where the first selected picture is the first The image annotated by the webpage annotation, the first index information is index information of the first selected image in the target webpage; and based on the first relative coordinate, the first webpage annotation is displayed on the first selected image.
- the terminal may Determining the first selected graph from the information content of the target webpage based on the first index information The slice, and based on the first relative coordinate, displays the first page annotation on the first selected picture.
- the terminal when the terminal displays the first webpage annotation in the first selected picture based on the first relative coordinate, the terminal may display the first annotation box on the first selected image based on the first relative coordinate, and the The first web annotation is displayed in the first annotation box.
- the first relative coordinate is coordinate 2
- the first index information is index information 1
- the first webpage annotation is “what flower?”
- the terminal determines the first information from the information content of the target webpage based on the index information 1.
- the selected picture is picture 1, and based on the first relative coordinate, on the picture 1, the first note box is displayed, and the first page annotation "What flower?" is displayed in the first note box, and the display interface thereof is as shown in the figure 5 is shown.
- first relative coordinate is used to determine the position of the first annotation frame in the first selected picture
- first relative coordinate is the relative coordinate of the first annotation frame in the first selected picture
- the origin of the coordinate system in which the first relative coordinate is located may be the upper left corner, the lower left corner, the upper right corner, the lower right corner, and the like of the first selected image, which is not specifically limited in this embodiment of the present invention.
- the terminal when the terminal not only receives the first webpage annotation and the first location information of the target webpage sent by the server, but also receives the first selected text information corresponding to the first webpage annotation sent by the server, in order to avoid the target
- the first webpage annotation displays an error problem
- the terminal can also find the location of the first selected text information from the target webpage by using the first selected text information, and determine whether the found location is Included, the location identified by the first location information, if included, the first webpage annotation is displayed at the first selected text information of the location identified by the first location information, and if not included, the first webpage annotation corresponding to the first webpage annotation is determined
- the selected text information has changed.
- the terminal may not display the first webpage annotation.
- the terminal may further display the first webpage annotation based on the account identifier, so that the user can identify the current terminal from the first webpage annotation.
- the operation of displaying, by the terminal, the first webpage mark based on the account mark may be: when the first webpage annotation is marked by the first type of account marking manner described in step 203 above, that is, the server passes the
- the terminal may display the first webpage annotation based on the user account corresponding to the first webpage annotation; when the first webpage annotation is as described in step 203 above
- the terminal may display the first page mark that is marked with the first mark in the first specified color, and the second designation The color is displayed on the first page annotation that is marked second; of course, the actual In the application, the terminal may display the first webpage mark based on the account mark in other manners, which is not specifically limited
- first designated color is different from the second designated color, and the first designated color and the second designated color may be set in advance, which is not specifically limited in the embodiment of the present invention.
- the terminal may display the first webpage annotation by using the color corresponding to the user account when the first webpage annotation is displayed based on the user account corresponding to the first webpage annotation.
- the terminal may display the first webpage annotation by using the color corresponding to the user account when the first webpage annotation is displayed based on the user account corresponding to the first webpage annotation.
- the terminal may display the first webpage annotation by using the color corresponding to the user account when the first webpage annotation is displayed based on the user account corresponding to the first webpage annotation.
- the terminal may display the first webpage annotation by using the color corresponding to the user account when the first webpage annotation is displayed based on the user account corresponding to the first webpage annotation.
- the terminal may display the first webpage annotation by using the color corresponding to the user account when the first webpage annotation is displayed based on the user account corresponding to the first webpage annotation.
- the terminal may also display the user account. So that the user can know the user account corresponding to the first webpage annotation in time.
- the click operation may be triggered by the user, which is not specifically limited in this embodiment of the present invention.
- the terminal may further hide the first webpage annotation, and after hiding, again detecting that the user triggers the first specified operation
- the first webpage annotation can also be redisplayed, so that the display of the first webpage annotation can be made more flexible.
- the terminal may perform feedback processing on the first webpage annotation, and when the first webpage annotation not only includes The webpage annotation corresponding to the user account currently logged in by the terminal further includes the webpage annotation corresponding to the user account other than the user account, and the feedback operation can implement interaction between multiple users.
- the feedback operation is used to feedback the first webpage annotation, and the feedback operation may include a click operation, a comment operation, and the like, which are not specifically limited in the embodiment of the present invention.
- the feedback operation may be triggered by the user, and the user may perform the triggering by clicking the click button, the comment button, and the like, which is not specifically limited in the embodiment of the present invention.
- click button and the comment button may be set in advance, and the specific position of the click button and the comment button in the embodiment of the present invention is not specifically limited.
- the terminal may display the first webpage annotation on the target webpage by using the above steps 201-204, and after displaying the first webpage annotation, the user may also be at the target.
- a new webpage annotation is input in the webpage, and the newly input webpage annotation can be referred to as a second webpage annotation, and the terminal can perform the second webpage on the target webpage by the following steps 205-207. Web annotations.
- Step 205 When the terminal detects that the specified event for the information content is triggered, displaying an annotation input box based on the trigger point coordinates of the specified event, and receiving the currently input second webpage annotation based on the annotation input box.
- the terminal may acquire the trigger point coordinates of the specified event, and display an annotation input box based on the trigger point coordinates of the specified event, and the annotation input box is used for inputting The second webpage annotation, after the annotation input box is displayed, the terminal can receive the currently input second webpage annotation based on the annotation input box.
- the specified event is used to perform the second webpage annotation on the target webpage, and the specified event may be triggered by the user, and the specified event may be a long press event, a double-click event, or the like. Specifically limited.
- the trigger point coordinate is used to determine a position of the trigger point of the specified event in the target webpage
- the trigger point coordinate is a coordinate of the trigger point of the specified event in the target webpage, where the coordinate of the trigger point coordinate is
- the origin may be the upper left corner, the lower left corner, the upper right corner, the lower right corner, and the like of the target webpage, which is not specifically limited in this embodiment of the present invention.
- the terminal when the terminal detects that the specified event for the information content is triggered, the terminal displays the operation of the annotation input box based on the trigger point coordinates of the specified event, and may include the steps of (1)-(4), as described below. .
- the terminal selects an area where the trigger point coordinates are located from the plurality of areas included in the target webpage based on the trigger point coordinates of the specified event, and based on the selected area, from the stored area of the target webpage and the information attribute In the corresponding relationship, the corresponding information attribute is obtained.
- the information attribute is a text attribute
- it is determined that the information at the trigger point is text information
- the information attribute is a picture attribute
- the multiple areas included in the target webpage may be divided in advance, and the number of the multiple areas is not specifically limited in the embodiment of the present invention.
- the trigger point coordinate is coordinate 3
- the area corresponding to the coordinate 3 is area 1.
- the terminal selects the area where the trigger point coordinate is located from the plurality of areas included in the target webpage based on the coordinate 3 of the specified event.
- the corresponding information attribute is obtained as a text from the correspondence between the area of the target webpage and the information attribute as shown in Table 2 below. Therefore, the terminal does
- the information at the trigger point is text information.
- the terminal determines the target selection based on the coordinates of the trigger point.
- the terminal determines target text information from the information content of the target webpage based on the trigger point coordinates, and sends the target text information to the server, when the server receives The target text information, the server selects a plurality of text keywords from the target text information, and sends the plurality of text keywords to the terminal, when the terminal receives the plurality of text keywords, the terminal is based on The plurality of text keywords determine a target selection.
- the terminal determines, according to the trigger point coordinates, the text information between the two punctuation marks closest to the coordinate of the trigger point when determining the target text information from the information content of the target webpage.
- the target text information may also determine the first specified numerical value of the text before and after the coordinate of the trigger point as the target text information.
- the terminal may determine the target text information by other methods. This embodiment of the present invention does not specifically limit this.
- the first specified value may be set in advance, for example, the first specified value may be 2, 3, 4, etc., which is not specifically limited in the embodiment of the present invention.
- the trigger point coordinate is coordinate 3.
- the terminal determines the text information between the two punctuation marks closest to the trigger point coordinate as the target text information, as shown in FIG. 6, the terminal is based on the coordinate 3
- the text information "the drawn poster and the product packaging pattern which are also popular" between the two punctuation marks which are the closest to the coordinate 3 in the information content of the target web page is determined as the target text information.
- the server may select a plurality of text keywords from the target text information, and the server may perform segmentation on the target text information.
- select multiple text keywords from the multiple phrases may be selected.
- the server may select the most frequently used phrase from the plurality of phrases, that is, according to the plurality of phrases, from the stored words and In the correspondence between the frequencies, the frequency of use of the plurality of phrases is obtained, and the second specified numerical phrase is selected according to the order of use of the plurality of phrases, and the selected phrase is determined as the text.
- the server may also select a plurality of text keywords from the plurality of phrases by other means, which is not specifically limited in the embodiment of the present invention.
- the second specified value may be set in advance, for example, the second specified value may be 2, 3, 5, etc., which is not specifically limited in the embodiment of the present invention.
- the second specified value is 3.
- the server segments the target text information, and obtains a plurality of phrases as “drawing”, “publicity painting”, and “product packaging pattern”. "popular”, based on the plurality of phrases, the server obtains the frequency of use of the plurality of phrases from the correspondence between the phrase and the frequency of use shown in Table 3 below, wherein the frequency of "drawing" is 40.
- the frequency of use of "Public Poster” is 72
- the frequency of use of "Commodity Packaging Pattern” is 80
- the frequency of use of "Popular” is 100.
- the terminal selects 3 phrases according to the order of frequency of use of the multiple phrases. For the "Public Poster", “Commodity Packaging Pattern” and “Popular”, the selected “Public Poster”, “Commodity Packaging Pattern” and “Popular” are identified as text keywords.
- the terminal may select a recommended text keyword from the plurality of text keywords based on the trigger point coordinates, and generate the recommended text keyword based on the recommended text keyword.
- a recommended selection area for marking the recommended text keyword, and the recommendation The selection area may be adjusted.
- the recommended selection area is adjusted to obtain a target selection area.
- the terminal may also be determined based on the multiple text keywords by other means.
- the target selection area is not specifically limited in this embodiment of the present invention.
- the adjustment operation is used to adjust the recommended selection area, and the adjustment operation may be triggered by the user, and the user may be triggered by an adjustment button located on the left and right sides of the recommended selection area.
- the user It can also be triggered by other forms, which are not specifically limited in the embodiment of the present invention.
- the terminal selects recommended text from the plurality of text keywords based on the trigger point coordinates.
- the recommended text keyword is “Publicity Poster”, and based on the recommended text keyword “Publication Poster”
- a recommended selection area as shown in FIG. 7 is generated, and the recommended selection area is used to mark the recommended text keyword “Publicity” Drawing, and the left and right sides of the recommended selection area include an adjustment button.
- the terminal detects an adjustment operation for the left side of the recommended selection button to the left, the recommended selection area is stretched to the left to obtain the figure.
- the terminal when the terminal selects the recommended text keyword from the plurality of text keywords, the text keyword closest to the trigger point coordinate among the plurality of text keywords may be determined as the recommended text keyword, of course, in practical application
- the terminal may also select a recommended text keyword from the plurality of text keywords in other manners, which is not specifically limited in the embodiment of the present invention.
- the terminal may further highlight the text information included in the target selection, which is high.
- the color of the bright display may include a plurality of colors, and the plurality of colors may be arbitrarily selected, for example, red, yellow, green, and the like, which are not specifically limited in the embodiment of the present invention.
- the terminal may highlight the text information included in the target selection, and the operation of the highlighting is similar to the operation highlighted in the above step 204, which is not described in detail in the embodiment of the present invention.
- the terminal may acquire the location of the target selection area, and set the display position of the annotation input box based on the position of the target selection area, after which the terminal displays the annotation input box based on the set display position.
- the terminal when the terminal sets the display position of the annotation input box based on the position of the target selection area, the terminal may determine the position that is directly below the position of the target selection area and is at a second specified length from the position of the target selection area, and is determined as an annotation.
- the display position of the input box In practical applications, the terminal can also The display position of the annotation input box is set based on the location of the target selection area by other means, which is not specifically limited in the embodiment of the present invention.
- the second specified length may be set in advance, for example, the second specified length may be 0.5 cm, 1 cm, etc., which is not specifically limited in the embodiment of the present invention.
- the terminal displays the comment input box based on the location of the trigger point.
- the terminal determines, according to the location of the trigger point, the location of the trigger point as the display position of the annotation input box, and then displays the annotation based on the display position of the annotation input box. Input box.
- Step 206 When the terminal receives the completion instruction of the second webpage annotation, determining the second location information, where the second location information is used to determine the display location of the second webpage annotation.
- determining the second location information can include two ways, as described below.
- the terminal may determine the location location information of the target selection area, and determine the coordinates of the second annotation frame.
- the selection location information of the target selection area and the second annotation frame coordinate are determined as the second location information.
- the second annotation frame coordinate is used to determine the position of the annotation input box in the target webpage
- the second annotation frame coordinate is the coordinate of the annotation input box in the target webpage.
- the origin of the coordinate system of the second batch of frame coordinates may be the upper left corner, the lower left corner, the upper right corner, the lower right corner, and the like of the target webpage, which is not specifically limited in this embodiment of the present invention.
- the completion instruction of the second webpage annotation is used to indicate that the content input of the second webpage annotation is completed, and the completion instruction of the second webpage annotation can be triggered by the user, and the user can be triggered by the second specified operation, and the second designated operation can be
- the embodiment of the present invention does not specifically limit the operation of hitting the enter key and clicking the send button.
- the terminal determines the coordinates of the second annotation frame
- the coordinates of the annotation input box in the target webpage may be obtained, and the coordinates of the annotation input box in the target webpage are determined as the coordinates of the second annotation frame.
- the text information included in the target selection area is the text information endorsed by the second webpage annotation.
- the text information included in the target selection area may be referred to as the second selected text information. Since the text paragraph in which the second selected text information is located may include a text paragraph, a plurality of text paragraphs may also be included, so when the text paragraph in which the second selected text information is located includes a text paragraph or multiple When the text paragraph is used, the method for the terminal to determine the location location information of the target selection is slightly different, as described below.
- the terminal acquires the beginning position of the paragraph and the end position of the paragraph of the text paragraph in which the second selected text information is located, and determines the starting position of the obtained paragraph as the first Second, the beginning position of the paragraph of the text information is selected, and the obtained end position of the paragraph is determined as the end position of the paragraph of the second selected text information, and then the first character of the second selected text information is obtained with respect to the first character of the beginning position of the paragraph.
- An offset value is determined as a start text offset value, and a second text offset value of the last character of the second selected text information relative to the beginning position of the paragraph is obtained, and the second text is offset
- the value is determined as the end text offset value, and the paragraph start position, the paragraph end position, the start text offset value, and the end text offset value of the second selected text information are determined as the selection position information of the target selection.
- the terminal acquires the beginning position of the paragraph of the first text paragraph included in the plurality of text paragraphs and the end position of the paragraph of the last text paragraph, The obtained starting position of the paragraph is determined as the beginning position of the paragraph of the second selected text information, and the obtained ending position of the paragraph is determined as the ending position of the paragraph of the second selected text information, after which the terminal acquires the first position of the second selected text information.
- the third character offset value of the character relative to the beginning position of the paragraph, the third text offset value is determined as the start text offset value, and the last text paragraph of the plurality of text paragraphs is obtained based on the end position of the paragraph The beginning position of the paragraph, and obtain the fourth character offset value of the last character of the second selected text information relative to the beginning position of the paragraph of the last text paragraph, and determine the fourth text offset value as the text end offset value , after that, the beginning position of the paragraph, the end of the paragraph, the start text offset value, and the end text offset value of the second selected text information Location information of the target set for that constituency constituency.
- the terminal may determine the second relative coordinate based on the trigger point coordinates, where the second relative coordinate is the relative coordinate of the trigger point in the second selected picture; determining the second index information, the second index information The index information of the second selected picture in the target webpage; the second relative coordinate and the second index information are determined as the second location information.
- the terminal may display the second webpage annotation.
- the terminal may further perform the webpage annotation on the selected text information or the selected image in the target webpage, thereby The problem of the user in the related art that the webpage cannot be re-applied to the same location is avoided.
- the terminal can also display and display a plurality of webpage annotations in the same location, thereby improving the display effect of the webpage annotation.
- Step 207 The terminal sends the user account, the target webpage identifier, the second webpage annotation, and the second location information to the server, so that the server stores the second webpage annotation and the second based on the user account and the target webpage identifier. location information.
- the terminal sends the user account, the target webpage identifier, the second webpage annotation, and the second location information to the server, when the server receives the user account, the target webpage identifier, the second webpage annotation, and the second location information
- the server stores the second webpage annotation and the second location information in a correspondence between the user account, the webpage identifier, the webpage annotation, and the location information based on the user account and the target webpage identifier, to identify the user account and the webpage identifier.
- the correspondence between the web page annotation and the location information is updated.
- the server may also store the second webpage annotation and the second location information in other manners based on the user account and the target webpage identifier, which is not specifically limited in the embodiment of the present invention.
- the second webpage annotation is the annotation 6, and the second location information is the information 6.
- the terminal sends the user account 12345678, the target webpage identification ID1, the annotation 6 and the information 6 to the server, when the server receives the
- the server stores the annotation 6 and the information 6 in the user shown in Table 4 below based on the user account 12345678 and the target webpage identifier ID1.
- the correspondence between the account number, the webpage identifier, the webpage annotation and the location information the correspondence between the user account, the webpage identifier, the webpage annotation and the location information shown in the above Table 1 is updated.
- the terminal may further send the second user account, the target webpage identifier, the second webpage annotation, and the second location information to the server.
- the second selected text information corresponding to the webpage annotation is sent to the server, so that the server stores the second webpage annotation, the second location information, and the second selected text information based on the user account and the target webpage identifier.
- the terminal may perform feedback processing on the second webpage annotation.
- the terminal may further delete the second webpage annotation.
- the deletion operation may be triggered by the user, and the user may perform the triggering by clicking the delete button or the like, which is not specifically limited in the embodiment of the present invention.
- the delete button may be set in advance, and the specific position of the delete button is not specifically limited in the embodiment of the present invention.
- the terminal when the terminal receives the display instruction of the target webpage, the terminal acquires the information content of the target webpage, and sends an information acquisition request to the server, so that the server returns the first webpage annotation of the target webpage and the first Position information, when the terminal receives the first webpage annotation and the first location information, displaying the first webpage annotation on the target webpage based on the first location information, so that the display of the first webpage annotation is accurately positioned. It avoids the problem that the webpage annotation may be displayed incorrectly when there are multiple identical selected text information, which improves the accuracy of the webpage annotation display.
- the first webpage annotation displayed by the terminal may include not only the webpage annotation corresponding to the user account currently registered by the terminal, but also the webpage annotation corresponding to the user account other than the user account, thereby enabling different users to The webpage annotations are viewed from each other. Further, the user who uses the terminal can also like and comment on the webpage annotations corresponding to other user accounts, thereby realizing interaction between multiple users.
- FIG. 9 is a schematic structural diagram of a webpage annotation display apparatus according to an embodiment of the present invention.
- the apparatus includes:
- the obtaining module 901 is configured to acquire the target webpage when receiving the display instruction of the target webpage information
- the first sending module 902 is configured to send an information obtaining request to the server, where the information acquiring request carries the target webpage identifier, so that the server returns the first webpage annotation and the first location information of the target webpage, and the first webpage annotation is the current time.
- the content of the previous webpage annotation on the target webpage, the first location information is used to determine the display position of the first webpage annotation;
- the first display module 903 is configured to display the first webpage annotation on the target webpage based on the first location information when receiving the first webpage annotation and the first location information.
- the first display module 903 includes:
- the first determining unit 9031 is configured to: when the first webpage annotation and the first location information are received, if the first location information includes the selection location information and the first annotation frame coordinates, determine the target webpage based on the selection location information.
- the first selected text information, the first selected text information is the text information endorsed by the first webpage annotation, and the selection location information is used to determine the position of the first selected text information in the target webpage, and the first annotation frame coordinates are the first annotation box.
- the coordinates in the landing page, the first annotation box is a comment box for displaying the first webpage annotation;
- the first display unit 9032 is configured to display the first webpage annotation based on the location of the first selected text information and the first annotation frame coordinates.
- the first display module 903 includes:
- the second determining unit 9033 is configured to: when the first location information includes the first relative coordinate and the first index information, determine, according to the first index information, the first selected picture from the target webpage, where the first selected picture is the first The image indexed by the webpage annotation, the first index information is index information of the first selected image in the target webpage, and the first relative coordinate is a relative coordinate of the first annotation box in the first selected image, and the first annotation box is used.
- the second display unit 9034 is configured to display the first webpage annotation on the first selected picture based on the first relative coordinate.
- the apparatus further includes:
- the second display module 904 is configured to: when it is detected that the specified event for the information content is triggered, display an annotation input box based on the trigger point coordinates of the specified event, and the trigger point coordinate is a trigger point of the specified event in the target webpage. coordinate;
- the receiving module 905 is configured to receive the currently input second webpage annotation based on the annotation input box;
- the determining module 906 is configured to determine second location information when the completion instruction of the second webpage annotation is received, where the second location information is used to determine a display location of the second webpage annotation;
- the second sending module 907 is configured to send, to the server, the user account currently registered by the terminal, the target webpage identifier, the second webpage annotation, and the second location information, so that the server stores the first user account and the target webpage identifier. Two web annotations and second location information.
- the second display module 904 includes:
- the determining unit 9041 is configured to: when it is detected that the specified event for the information content is triggered, determine, according to the trigger point coordinates of the specified event, whether the information at the trigger point is text information or a picture;
- the third determining unit 9042 is configured to determine, according to the trigger point coordinates, the target selection area when the information at the trigger point is text information;
- the third display unit 9043 is configured to display an annotation input box based on the location of the target selection.
- the third determining unit 9042 includes:
- the first determining subunit 90421 is configured to determine target text information from the information content of the target webpage based on the trigger point coordinates when the information at the triggering point is text information;
- the sending subunit 90422 is configured to send the target text information to the server, so that the server selects a plurality of text keywords from the target text information, and returns the plurality of text keywords;
- the second determining subunit 90423 is configured to determine a target selection based on the plurality of text keywords when the plurality of text keywords are received.
- the second determining subunit 90423 is specifically configured to:
- the recommended selection is adjusted to obtain a target selection.
- the determining module 906 includes:
- a fourth determining unit 9061 configured to determine the location location information of the target selection area, and determine a second annotation frame coordinate, where the second annotation frame coordinate is a coordinate of the annotation input box in the target webpage;
- the fifth determining unit 9062 is configured to determine the selection location information and the second annotation frame coordinate of the target selection as the second location information.
- the determining module 906 includes:
- the sixth determining unit 9063 is configured to determine, when the information at the trigger point is a picture, a picture at the trigger point as a second selected picture, where the second selected picture is a picture annotated by the second web page annotation;
- a seventh determining unit 9064 configured to determine a second relative coordinate based on the trigger point coordinate, the second phase
- the pair coordinates are the relative coordinates of the trigger point in the second selected picture
- the eighth determining unit 9065 is configured to determine second index information, where the second index information is index information of the second selected picture in the target webpage;
- the ninth determining unit 9066 is configured to determine the second relative coordinate and the second index information as the second location information.
- the terminal when the terminal receives the display instruction of the target webpage, the terminal acquires the information content of the target webpage, and sends an information acquisition request to the server, so that the server carries the target based on the information acquisition request.
- a webpage identifier which returns a first webpage annotation and first location information of the target webpage, and when the terminal receives the first webpage annotation and the first location information, the terminal accurately locates the first webpage annotation based on the first location information , thereby displaying the first webpage annotation, avoiding the problem that the webpage annotation may be displayed incorrectly when there are multiple identical selected text information, and improving the accuracy of the webpage annotation display.
- the device for displaying the webpage annotation provided by the above embodiment is only illustrated by the division of the above functional modules when displaying the webpage annotation. In actual applications, the functions may be allocated by different functional modules as needed. Upon completion, the internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
- the apparatus for displaying the webpage annotation provided by the above embodiment is the same as the method embodiment of the webpage annotation display, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
- FIG. 17 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
- the mobile terminal 1700 may include a communication unit 1710, a memory 1720 including one or more computer readable storage media, and an input unit 1730.
- the mobile terminal structure shown in FIG. 17 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
- the communication unit 1710 can be used for transmitting and receiving information and receiving and transmitting signals during a call.
- the communication unit 1710 can be an RF (Radio Frequency) circuit, a router, a modem, or the like.
- RF circuits as communication units include, but are not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a LNA (Low Noise Amplifier, low).
- SIM Subscriber Identity Module
- the communication unit 1710 can also communicate with the network and other devices through wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
- the memory 1720 can be used to store software programs and modules, and the processor 1780 executes various functional applications and data processing by running software programs and modules stored in the memory 1720.
- the memory 1720 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile terminal 1700 (such as audio data, phone book, etc.) and the like.
- memory 1720 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1720 can also include a memory controller to provide access to memory 1720 by processor 1780 and input unit 1730.
- Input unit 1730 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
- the input unit 1730 can include a touch sensitive surface 1731 as well as other input devices 1732.
- the touch-sensitive surface 1731 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any suitable object or accessory on the touch-sensitive surface 1731 or The operation near the touch-sensitive surface 1731) and driving the corresponding connecting device according to a preset program.
- the touch-sensitive surface 1731 may include two parts of a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the processor 1780 is provided and can receive commands from the processor 1780 and execute them.
- the touch sensitive surface 1731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 1730 can also include other input devices 1732.
- other input devices 1732 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, One or more of a switch button, etc.), a trackball, a mouse, a joystick, and the like.
- Display unit 1740 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of mobile terminal 1700, which can be comprised of graphics, text, icons, video, and any combination thereof.
- the display unit 1740 can include a display panel 1741.
- the display panel 1741 can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
- the touch-sensitive surface 1731 can cover the display panel 1741, and when the touch-sensitive surface 1731 detects a touch operation thereon or nearby, it is transmitted to the processor 1780 to determine the type of the touch event, and then the processor 1780 according to the touch event The type provides a corresponding visual output on display panel 1741.
- touch-sensitive surface 1731 and display panel 1741 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 1731 can be integrated with display panel 1741 for input. And output function.
- the mobile terminal 1700 can also include at least one type of sensor 1750, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1741 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1741 and/or when the mobile terminal 1700 moves to the ear.
- Backlighting As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
- the mobile terminal 1700 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
- An audio circuit 1760, a speaker 1761, and a microphone 1762 can provide an audio interface between the user and the mobile terminal 1700.
- the audio circuit 1760 can transmit the converted electrical data of the received audio data to the speaker 1761, and convert it into a sound signal output by the speaker 1761; on the other hand, the microphone 1762 converts the collected sound signal into an electrical signal, by the audio circuit 1760. After receiving, it is converted into audio data, and then processed by the audio data output processor 1780, transmitted to, for example, another mobile terminal via the communication unit 1710, or outputted to the memory 1720 for further processing.
- the audio circuit 1760 may also include an earbud jack to provide communication of the peripheral earphones with the mobile terminal 1700.
- the mobile terminal may be configured with a wireless communication unit 1770, which may be a WIFI module.
- WIFI is a short-range wireless transmission technology, and the mobile terminal 1700 can help a user to send and receive emails, browse web pages, and access streams through the wireless communication unit 1770. Media, etc., it provides users with wireless broadband Internet access.
- the wireless communication unit 1770 is shown in the drawings, it can be understood that it does not belong to the essential configuration of the mobile terminal 1700, and may be omitted as needed within the scope of not changing the essence of the invention.
- the processor 1780 is the control center of the mobile terminal 1700, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1720, and recalling data stored in the memory 1720.
- the various functions and processing data of the mobile terminal 1700 are executed to perform overall monitoring of the mobile phone.
- the processor 1780 may include one or more processing cores; preferably, the processor 1780 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1780.
- the mobile terminal 1700 also includes a power source 1790 (such as a battery) for powering various components.
- the power source can be logically coupled to the processor 1780 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
- the power supply 1760 can also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
- the mobile terminal 1700 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
- the mobile terminal further includes one or more programs, the one or more programs being stored in the memory and configured to be executed by one or more processors, the one or more programs comprising
- the instructions for performing the multimedia file playing method provided by the embodiment of the present invention include:
- the server Sending a message acquisition request to the server, where the information acquisition request carries the target webpage identifier, so that the server returns the first webpage annotation and the first location information of the target webpage, and the first webpage annotation is the webpage annotation of the target webpage before the current time.
- the first location information is used to determine a display location of the first webpage annotation
- the first webpage annotation is displayed on the target webpage based on the first location information.
- displaying the first webpage annotation on the target webpage based on the first location information including:
- the first location information includes the selection location information and the first annotation frame coordinates
- the first selected text information is determined from the target webpage
- the first selected text information is the text information endorsed by the first webpage annotation
- the selection location information is used to determine the location of the first selected text information in the target webpage
- first The annotation box coordinates are the coordinates of the first annotation box in the target webpage
- the first annotation box is a comment box for displaying the first webpage annotation
- the first webpage annotation is displayed based on the position of the first selected text information and the first annotation frame coordinates.
- displaying the first webpage annotation on the target webpage based on the first location information including:
- the first location information includes the first relative coordinate and the first index information
- An index information is index information of the first selected picture in the target webpage
- the first relative coordinate is a relative coordinate of the first annotation box in the first selected picture
- the first annotation box is an annotation for displaying the first webpage annotation. frame
- the first webpage annotation is displayed on the first selected picture.
- the method further includes:
- the trigger point coordinate is a coordinate of the trigger point of the specified event in the target webpage
- displaying an annotation input box based on the trigger point coordinates of the specified event including:
- the information at the trigger point is text information, determining a target selection area based on the trigger point coordinates;
- An annotation input box is displayed based on the location of the target selection.
- determining the target selection based on the trigger point coordinates including:
- the target selection is determined based on the plurality of text keywords.
- determining the target selection based on the plurality of text keywords including:
- the recommended selection is adjusted to obtain a target selection.
- determining the second location information includes:
- the selection location information and the second annotation frame coordinate of the target selection are determined as the second location information.
- determining the second location information includes:
- the picture at the trigger point is used as the second selected picture, and the second selected picture is the picture annotated by the second page annotation;
- the second relative coordinate and the second index information are determined as the second location information.
- the terminal when the terminal receives the display instruction of the target webpage, the terminal acquires the information content of the target webpage, and sends an information acquisition request to the server, where the information acquisition request carries the target webpage identifier, so that the server returns the target.
- a first webpage annotation and a first location information of the webpage where the first location information is used to determine a display location of the first webpage annotation
- the terminal receives the first webpage annotation and the first location information, based on the first location information
- the first page annotation is displayed on the landing page.
- the invention accurately locates the webpage annotation of the target webpage by using the location information of the webpage annotation, thereby avoiding the problem that the webpage annotation may be displayed incorrectly when there are multiple identical selected textual information, and improving the accuracy of the webpage annotation display. .
- non-transitory computer readable storage medium comprising instructions, such as a memory comprising instructions executable by a processor of a mobile terminal to perform the web page annotation display method described above.
- the non-transitory computer readable storage medium may be a ROM, Random access memory (RAM), CD-ROM, magnetic tape, floppy disk and optical data storage devices.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
区域 | 信息属性 |
区域1 | 文字 |
区域2 | 图像 |
区域3 | 文字 |
…… | …… |
词组 | 使用频次 |
绘制 | 40 |
宣传画 | 72 |
商品包装图案 | 80 |
流行 | 100 |
…… | …… |
Claims (27)
- 一种网页批注显示方法,其特征在于,所述方法包括:当接收到目标网页的显示指令时,获取所述目标网页的信息内容;向服务器发送信息获取请求,所述信息获取请求中携带目标网页标识,使所述服务器返回所述目标网页的第一网页批注和第一位置信息,所述第一网页批注为当前时间之前对所述目标网页进行网页批注的内容,所述第一位置信息用于确定所述第一网页批注的显示位置;当接收到所述第一网页批注和所述第一位置信息时,基于所述第一位置信息,在所述目标网页上显示所述第一网页批注。
- 如权利要求1所述的方法,其特征在于,所述基于所述第一位置信息,在所述目标网页上显示所述第一网页批注,包括:当所述第一位置信息包括选区位置信息和第一批注框坐标时,基于所述选区位置信息,从所述目标网页中确定第一选中文本信息,所述第一选中文本信息为所述第一网页批注所批注的文本信息,所述选区位置信息用于确定所述第一选中文本信息在所述目标网页中的位置,所述第一批注框坐标为第一批注框在所述目标网页中的坐标,所述第一批注框为用于显示所述第一网页批注的批注框;基于所述第一选中文本信息的位置和所述第一批注框坐标,显示所述第一网页批注。
- 如权利要求1所述的方法,其特征在于,所述基于所述第一位置信息,在所述目标网页上显示所述第一网页批注,包括:当所述第一位置信息包括第一相对坐标和第一索引信息时,基于所述第一索引信息,从所述目标网页中,确定第一选中图片,所述第一选中图片为所述第一网页批注所批注的图片,所述第一索引信息为所述第一选中图片在所述目标网页中的索引信息,所述第一相对坐标为第一批注框在所述第一选中图片中的相对坐标,所述第一批注框为用于显示所述第一网页批注的批注框;基于所述第一相对坐标,在所述第一选中图片上,显示所述第一网页批注。
- 如权利要求1所述的方法,其特征在于,所述基于所述第一位置信息,在所述目标网页上显示所述第一网页批注之后,还包括:当检测到针对所述信息内容的指定事件被触发时,基于所述指定事件的触发点坐标,显示批注输入框,所述触发点坐标为所述指定事件的触发点在所述目标网页中的坐标;基于所述批注输入框接收当前输入的第二网页批注;当接收到所述第二网页批注的完成指令时,确定第二位置信息,所述第二位置信息用于确定所述第二网页批注的显示位置;将终端当前登录的用户账号、所述目标网页标识、所述第二网页批注和所述第二位置信息发送给所述服务器,使所述服务器基于所述用户账号和所述目标网页标识,存储所述第二网页批注和所述第二位置信息。
- 如权利要求4所述的方法,其特征在于,所述基于所述指定事件的触发点坐标,显示批注输入框,包括:基于所述指定事件的触发点坐标,判断触发点处的信息是文本信息还是图片;当所述触发点处的信息为文本信息时,基于所述触发点坐标,确定目标选区;基于所述目标选区的位置,显示所述批注输入框。
- 如权利要求5所述的方法,其特征在于,所述基于所述触发点坐标,确定目标选区,包括:基于所述触发点坐标,从所述目标网页的信息内容中,确定目标文本信息;将所述目标文本信息发送给所述服务器,使所述服务器从所述目标文本信息中选择多个文本关键词,并返回所述多个文本关键词;当接收到所述多个文本关键词时,基于所述多个文本关键词确定目标选区。
- 如权利要求6所述的方法,其特征在于,所述基于所述多个文本关键词确定目标选区,包括:从所述多个文本关键词中选择推荐文本关键词;基于所述推荐文本关键词,生成推荐选区,所述推荐选区用于标记所述推 荐文本关键词;当检测到针对所述推荐选区的调整操作时,对所述推荐选区进行调整,得到目标选区。
- 如权利要求5-7任一权利要求所述的方法,其特征在于,所述确定第二位置信息,包括:确定所述目标选区的选区位置信息,以及确定第二批注框坐标,所述第二批注框坐标为所述批注输入框在所述目标网页中的坐标;将所述目标选区的选区位置信息和所述第二批注框坐标,确定为所述第二位置信息。
- 如权利要求5所述的方法,其特征在于,所述确定第二位置信息,包括:当所述触发点处的信息是图片时,将所述触发点处的图片确定为第二选中图片,所述第二选中图片为所述第二网页批注所批注的图片;基于所述触发点坐标,确定第二相对坐标,所述第二相对坐标为所述触发点在所述第二选中图片中的相对坐标;确定第二索引信息,所述第二索引信息为所述第二选中图片在所述目标网页中的索引信息;将所述第二相对坐标和所述第二索引信息确定为第二位置信息。
- 一种网页批注显示装置,其特征在于,所述装置包括:获取模块,用于当接收到目标网页的显示指令时,获取所述目标网页的信息内容;第一发送模块,用于向服务器发送信息获取请求,所述信息获取请求中携带目标网页标识,使所述服务器返回所述目标网页的第一网页批注和第一位置信息,所述第一网页批注为当前时间之前对所述目标网页进行网页批注的内容,所述第一位置信息用于确定所述第一网页批注的显示位置;第一显示模块,用于当接收到所述第一网页批注和所述第一位置信息时,基于所述第一位置信息,在所述目标网页上显示所述第一网页批注。
- 如权利要求10所述的装置,其特征在于,所述第一显示模块包括:第一确定单元,用于当接收到所述第一网页批注和所述第一位置信息时,若所述第一位置信息包括选区位置信息和第一批注框坐标,基于所述选区位置信息,从所述目标网页中确定第一选中文本信息,所述第一选中文本信息为所述第一网页批注所批注的文本信息,所述选区位置信息用于确定所述第一选中文本信息在所述目标网页中的位置,所述第一批注框坐标为第一批注框在所述目标网页中的坐标,所述第一批注框为用于显示所述第一网页批注的批注框;第一显示单元,用于基于所述第一选中文本信息的位置和所述第一批注框坐标,显示所述第一网页批注。
- 如权利要求10所述的装置,其特征在于,所述第一显示模块包括:第二确定单元,用于当所述第一位置信息包括第一相对坐标和第一索引信息时,基于所述第一索引信息,从所述目标网页中,确定第一选中图片,所述第一选中图片为所述第一网页批注所批注的图片,所述第一索引信息为所述第一选中图片在所述目标网页中的索引信息,所述第一相对坐标为第一批注框在所述第一选中图片中的相对坐标,所述第一批注框为用于显示所述第一网页批注的批注框;第二显示单元,用于基于所述第一相对坐标,在所述第一选中图片上,显示所述第一网页批注。
- 如权利要求10所述的装置,其特征在于,所述装置还包括:第二显示模块,用于当检测到针对所述信息内容的指定事件被触发时,基于所述指定事件的触发点坐标,显示批注输入框,所述触发点坐标为所述指定事件的触发点在所述目标网页中的坐标;接收模块,用于基于所述批注输入框接收当前输入的第二网页批注;确定模块,用于当接收到所述第二网页批注的完成指令时,确定第二位置信息,所述第二位置信息用于确定所述第二网页批注的显示位置;第二发送模块,用于将终端当前登录的用户账号、所述目标网页标识、所述第二网页批注和所述第二位置信息发送给所述服务器,使所述服务器基于所述用户账号和所述目标网页标识,存储所述第二网页批注和所述第二位置信息。
- 如权利要求13所述的装置,其特征在于,所述第二显示模块包括:判断单元,用于当检测到针对所述信息内容的指定事件被触发时,基于所述指定事件的触发点坐标,判断触发点处的信息是文本信息还是图片;第三确定单元,用于当所述触发点处的信息为文本信息时,基于所述触发点坐标,确定目标选区;第三显示单元,用于基于所述目标选区的位置,显示所述批注输入框。
- 如权利要求14所述的装置,其特征在于,所述第三确定单元包括:第一确定子单元,用于当所述触发点处的信息为文本信息时,基于所述触发点坐标,从所述目标网页的信息内容中,确定目标文本信息;发送子单元,用于将所述目标文本信息发送给所述服务器,使所述服务器从所述目标文本信息中选择多个文本关键词,并返回所述多个文本关键词;第二确定子单元,用于当接收到所述多个文本关键词时,基于所述多个文本关键词确定目标选区。
- 如权利要求15所述的装置,其特征在于,所述第二确定子单元,具体用于:从所述多个文本关键词中选择推荐文本关键词;基于所述推荐文本关键词,生成推荐选区,所述推荐选区用于标记所述推荐文本关键词;当检测到针对所述推荐选区的调整操作时,对所述推荐选区进行调整,得到目标选区。
- 如权利要求14-16任一权利要求所述的装置,其特征在于,所述确定模块包括:第四确定单元,用于确定所述目标选区的选区位置信息,以及确定第二批注框坐标,所述第二批注框坐标为所述批注输入框在所述目标网页中的坐标;第五确定单元,用于将所述目标选区的选区位置信息和所述第二批注框坐标,确定为所述第二位置信息。
- 如权利要求14所述的装置,其特征在于,所述确定模块包括:第六确定单元,用于当所述触发点处的信息是图片时,将所述触发点处的 图片确定为第二选中图片,所述第二选中图片为所述第二网页批注所批注的图片;第七确定单元,用于基于所述触发点坐标,确定第二相对坐标,所述第二相对坐标为所述触发点在所述第二选中图片中的相对坐标;第八确定单元,用于确定第二索引信息,所述第二索引信息为所述第二选中图片在所述目标网页中的索引信息;第九确定单元,用于将所述第二相对坐标和所述第二索引信息确定为第二位置信息。
- 一种移动终端,其特征在于,所述移动终端包括:一个或多个处理器;和存储器;所述存储器存储有一个或多个程序,所述一个或多个程序被配置成由所述一个或多个处理器执行,所述一个或多个程序包含用于进行以下操作的指令:当接收到目标网页的显示指令时,获取所述目标网页的信息内容;向服务器发送信息获取请求,所述信息获取请求中携带目标网页标识,使所述服务器返回所述目标网页的第一网页批注和第一位置信息,所述第一网页批注为当前时间之前对所述目标网页进行网页批注的内容,所述第一位置信息用于确定所述第一网页批注的显示位置;当接收到所述第一网页批注和所述第一位置信息时,基于所述第一位置信息,在所述目标网页上显示所述第一网页批注。
- 如权利要求19所述的移动终端,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:当接收到所述第一网页批注和所述第一位置信息时,若所述第一位置信息包括选区位置信息和第一批注框坐标,基于所述选区位置信息,从所述目标网页中确定第一选中文本信息,所述第一选中文本信息为所述第一网页批注所批注的文本信息,所述选区位置信息用于确定所述第一选中文本信息在所述目标网页中的位置,所述第一批注框坐标为第一批注框在所述目标网页中的坐标,所述第一批注框为用于显示所述第一网页批注的批注框;基于所述第一选中文本信息的位置和所述第一批注框坐标,显示所述第一 网页批注。
- 如权利要求19所述的移动终端,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:当所述第一位置信息包括第一相对坐标和第一索引信息时,基于所述第一索引信息,从所述目标网页中,确定第一选中图片,所述第一选中图片为所述第一网页批注所批注的图片,所述第一索引信息为所述第一选中图片在所述目标网页中的索引信息,所述第一相对坐标为第一批注框在所述第一选中图片中的相对坐标,所述第一批注框为用于显示所述第一网页批注的批注框;基于所述第一相对坐标,在所述第一选中图片上,显示所述第一网页批注。
- 如权利要求19所述的移动终端,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:当检测到针对所述信息内容的指定事件被触发时,基于所述指定事件的触发点坐标,显示批注输入框,所述触发点坐标为所述指定事件的触发点在所述目标网页中的坐标;基于所述批注输入框接收当前输入的第二网页批注;当接收到所述第二网页批注的完成指令时,确定第二位置信息,所述第二位置信息用于确定所述第二网页批注的显示位置;将终端当前登录的用户账号、所述目标网页标识、所述第二网页批注和所述第二位置信息发送给所述服务器,使所述服务器基于所述用户账号和所述目标网页标识,存储所述第二网页批注和所述第二位置信息。
- 如权利要求22所述的移动终端,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:当检测到针对所述信息内容的指定事件被触发时,基于所述指定事件的触发点坐标,判断触发点处的信息是文本信息还是图片;当所述触发点处的信息为文本信息时,基于所述触发点坐标,确定目标选区;基于所述目标选区的位置,显示所述批注输入框。
- 如权利要求23所述的移动终端,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:当所述触发点处的信息为文本信息时,基于所述触发点坐标,从所述目标网页的信息内容中,确定目标文本信息;将所述目标文本信息发送给所述服务器,使所述服务器从所述目标文本信息中选择多个文本关键词,并返回所述多个文本关键词;当接收到所述多个文本关键词时,基于所述多个文本关键词确定目标选区。
- 如权利要求24所述的移动终端,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:从所述多个文本关键词中选择推荐文本关键词;基于所述推荐文本关键词,生成推荐选区,所述推荐选区用于标记所述推荐文本关键词;当检测到针对所述推荐选区的调整操作时,对所述推荐选区进行调整,得到目标选区。
- 如权利要求23-25任一权利要求所述的移动终端,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:确定所述目标选区的选区位置信息,以及确定第二批注框坐标,所述第二批注框坐标为所述批注输入框在所述目标网页中的坐标;将所述目标选区的选区位置信息和所述第二批注框坐标,确定为所述第二位置信息。
- 如权利要求23所述的移动终端,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:当所述触发点处的信息是图片时,将所述触发点处的图片确定为第二选中图片,所述第二选中图片为所述第二网页批注所批注的图片;基于所述触发点坐标,确定第二相对坐标,所述第二相对坐标为所述触发点在所述第二选中图片中的相对坐标;确定第二索引信息,所述第二索引信息为所述第二选中图片在所述目标网页中的索引信息;将所述第二相对坐标和所述第二索引信息确定为第二位置信息。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020177029737A KR102038209B1 (ko) | 2015-07-22 | 2016-06-12 | 웹페이지 주석을 표시하기 위한 방법 및 디바이스, 및 모바일 단말 |
JP2017555637A JP6442082B2 (ja) | 2015-07-22 | 2016-06-12 | ウェブページ注釈を表示するための方法およびデバイス、ならびにモバイル端末 |
US15/698,440 US10817586B2 (en) | 2015-07-22 | 2017-09-07 | Web page annotation displaying method and apparatus, and mobile terminal |
US17/026,150 US11200295B2 (en) | 2015-07-22 | 2020-09-18 | Web page annotation displaying method and apparatus, and mobile terminal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510434902.0 | 2015-07-22 | ||
CN201510434902.0A CN105095432B (zh) | 2015-07-22 | 2015-07-22 | 网页批注显示方法及装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/698,440 Continuation-In-Part US10817586B2 (en) | 2015-07-22 | 2017-09-07 | Web page annotation displaying method and apparatus, and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017012437A1 true WO2017012437A1 (zh) | 2017-01-26 |
Family
ID=54575869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/085474 WO2017012437A1 (zh) | 2015-07-22 | 2016-06-12 | 网页批注显示方法、装置及移动终端 |
Country Status (5)
Country | Link |
---|---|
US (2) | US10817586B2 (zh) |
JP (1) | JP6442082B2 (zh) |
KR (1) | KR102038209B1 (zh) |
CN (1) | CN105095432B (zh) |
WO (1) | WO2017012437A1 (zh) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105095432B (zh) | 2015-07-22 | 2019-04-16 | 腾讯科技(北京)有限公司 | 网页批注显示方法及装置 |
CN105630956A (zh) * | 2015-12-23 | 2016-06-01 | 北京奇虎科技有限公司 | 推送在网页中显示批注的系统及方法 |
CN105630952A (zh) * | 2015-12-23 | 2016-06-01 | 北京奇虎科技有限公司 | 在网页中显示批注的系统及方法 |
CN107180032A (zh) * | 2016-03-09 | 2017-09-19 | 广州市动景计算机科技有限公司 | 评论内容显示方法及系统 |
CN107368465B (zh) | 2016-05-13 | 2020-03-03 | 北京京东尚科信息技术有限公司 | 一种用于流式文档的截图类笔记处理的系统及方法 |
CN106250088B (zh) * | 2016-08-03 | 2020-09-08 | 海信视像科技股份有限公司 | 文本显示方法及装置 |
CN110020279B (zh) * | 2017-09-08 | 2023-01-20 | 腾讯科技(深圳)有限公司 | 页面数据处理方法、装置及存储介质 |
CN110110254A (zh) * | 2018-01-05 | 2019-08-09 | 北大方正集团有限公司 | 网页图片的批注方法、装置及终端设备 |
CN109388683A (zh) * | 2018-09-17 | 2019-02-26 | 中山大学 | 一种钻孔柱状图信息批量提取方法 |
WO2020096635A1 (en) * | 2018-11-06 | 2020-05-14 | Google Llc | Systems and methods for extracting information from a physical document |
CN110688036B (zh) * | 2019-08-28 | 2021-05-14 | 云知声智能科技股份有限公司 | 一种web界面缺陷关联内容位置变化的展示方法 |
CN110806825A (zh) * | 2019-09-18 | 2020-02-18 | 云知声智能科技股份有限公司 | 病历质检方法及装置 |
US11321515B2 (en) * | 2019-11-10 | 2022-05-03 | ExactNote, Inc. | Information restructuring, editing, and storage systems for web browsers |
CN113138817A (zh) * | 2020-01-19 | 2021-07-20 | 浙江爱多特大健康科技有限公司 | 移动端界面批注方法、装置、电子设备及计算机存储介质 |
CN113254815B (zh) * | 2020-02-08 | 2023-11-10 | 钉钉控股(开曼)有限公司 | 文档处理、页面处理方法及设备 |
CN111898346A (zh) * | 2020-07-15 | 2020-11-06 | 金现代信息产业股份有限公司 | 一种在线文章批改系统及方法 |
US11443103B2 (en) * | 2020-10-07 | 2022-09-13 | Rakuten Kobo Inc. | Reflowable content with annotations |
CN112437148B (zh) * | 2020-11-20 | 2023-03-07 | 北京奇艺世纪科技有限公司 | 业务请求的处理方法、装置、业务服务器及系统 |
CN112417829B (zh) * | 2020-11-27 | 2022-03-11 | 上海妙一生物科技有限公司 | 添加页面批注的处理方法和装置 |
CN112559940B (zh) * | 2020-12-23 | 2024-05-10 | 平安银行股份有限公司 | 页面标注方法、装置、设备及介质 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009140020A (ja) * | 2007-12-03 | 2009-06-25 | Fujitsu Ltd | アノテーションプログラム、アノテーション装置及びアノテーション方法 |
CN101739415A (zh) * | 2008-11-25 | 2010-06-16 | 华中师范大学 | 一种面向浏览器的网页标注系统 |
CN102446175A (zh) * | 2010-09-30 | 2012-05-09 | 宏碁股份有限公司 | 电子装置及网页加注方法 |
CN102682025A (zh) * | 2011-03-16 | 2012-09-19 | 中兴通讯股份有限公司 | 一种浏览器及其实现web图片评论添加和显示的方法 |
CN102799573A (zh) * | 2012-06-27 | 2012-11-28 | 北京经舆典网络科技有限公司 | 网页批注的方法及系统 |
CN102982148A (zh) * | 2012-11-26 | 2013-03-20 | 华为技术有限公司 | 定位方法及定位装置 |
CN105095432A (zh) * | 2015-07-22 | 2015-11-25 | 腾讯科技(北京)有限公司 | 网页批注显示方法及装置 |
Family Cites Families (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3546705B2 (ja) * | 1998-07-10 | 2004-07-28 | インターナショナル・ビジネス・マシーンズ・コーポレーション | アプリケーション・ウインドウにアノテーション・データを対応付ける方法及び装置、システム、アプリケーション・ウインドウへのアノテーション・データの対応付けを制御するプログラムを格納した記憶媒体 |
US6529215B2 (en) * | 1998-12-31 | 2003-03-04 | Fuji Xerox Co., Ltd. | Method and apparatus for annotating widgets |
JP2001209659A (ja) * | 1999-12-15 | 2001-08-03 | Xerox Corp | 注釈装置がビューイング装置と異なっている場合に対象物に注釈を付けるシステム及び方法 |
US7234108B1 (en) * | 2000-06-29 | 2007-06-19 | Microsoft Corporation | Ink thickness rendering for electronic annotations |
US7747943B2 (en) * | 2001-09-07 | 2010-06-29 | Microsoft Corporation | Robust anchoring of annotations to content |
JP3771831B2 (ja) * | 2001-11-01 | 2006-04-26 | インターナショナル・ビジネス・マシーンズ・コーポレーション | デジタル・コンテンツに付加されるアノテーション情報を共有するためのコンピュータ・システムおよびプログラム |
US20040236830A1 (en) * | 2003-05-15 | 2004-11-25 | Steve Nelson | Annotation management system |
US7218783B2 (en) * | 2003-06-13 | 2007-05-15 | Microsoft Corporation | Digital ink annotation process and system for recognizing, anchoring and reflowing digital ink annotations |
US20090044144A1 (en) * | 2007-08-06 | 2009-02-12 | Morris Robert P | Methods And Apparatus For Sharing User Interface Widget Annotations |
US8276079B2 (en) * | 2007-12-21 | 2012-09-25 | Jonathan Davar | Supplementing user web-browsing |
US20090199133A1 (en) * | 2008-02-05 | 2009-08-06 | Microsoft Corporation | Generating a destination list utilizing usage data |
US20090217150A1 (en) * | 2008-02-27 | 2009-08-27 | Yi Lin | Systems and methods for collaborative annotation |
US20100011282A1 (en) * | 2008-07-11 | 2010-01-14 | iCyte Pty Ltd. | Annotation system and method |
US20140032616A1 (en) * | 2008-08-29 | 2014-01-30 | John Nack | Creation and sharing of user annotations |
CN101866342B (zh) * | 2009-04-16 | 2013-09-11 | 富士通株式会社 | 生成或显示网页标注的方法和装置以及信息共享系统 |
CN101997969A (zh) * | 2009-08-13 | 2011-03-30 | 索尼爱立信移动通讯有限公司 | 图片声音注释添加方法和装置以及包括该装置的移动终端 |
CN102833277A (zh) * | 2011-06-14 | 2012-12-19 | 中兴通讯股份有限公司 | 共享网页链接的方法及系统 |
US20130031455A1 (en) * | 2011-07-28 | 2013-01-31 | Peter Griffiths | System for Linking to Documents with Associated Annotations |
US9483454B2 (en) * | 2011-10-07 | 2016-11-01 | D2L Corporation | Systems and methods for context specific annotation of electronic files |
CN102609401A (zh) * | 2011-12-26 | 2012-07-25 | 北京大学 | 一种网页批注方法 |
US20140019884A1 (en) * | 2012-07-10 | 2014-01-16 | Mark Andrew Dinan | Enhanced synchronous communication channel for interactive communications between participants |
US9430141B1 (en) * | 2014-07-01 | 2016-08-30 | Amazon Technologies, Inc. | Adaptive annotations |
US10218652B2 (en) * | 2014-08-08 | 2019-02-26 | Mastercard International Incorporated | Systems and methods for integrating a chat function into an e-reader application |
EP3026575A1 (en) * | 2014-11-26 | 2016-06-01 | Unify GmbH & Co. KG | Method for referring to specific content on a web page and web browsing system |
US20160203114A1 (en) * | 2015-01-09 | 2016-07-14 | Microsoft Technology Licensing, Llc | Control of Access and Management of Browser Annotations |
US10013410B2 (en) * | 2016-07-22 | 2018-07-03 | Conduent Business Services, Llc | Methods and systems for managing annotations within applications and websites |
US10795961B2 (en) * | 2018-05-29 | 2020-10-06 | International Business Machines Corporation | Accessing specific portions of documents on a network |
-
2015
- 2015-07-22 CN CN201510434902.0A patent/CN105095432B/zh active Active
-
2016
- 2016-06-12 WO PCT/CN2016/085474 patent/WO2017012437A1/zh active Application Filing
- 2016-06-12 KR KR1020177029737A patent/KR102038209B1/ko active IP Right Grant
- 2016-06-12 JP JP2017555637A patent/JP6442082B2/ja active Active
-
2017
- 2017-09-07 US US15/698,440 patent/US10817586B2/en active Active
-
2020
- 2020-09-18 US US17/026,150 patent/US11200295B2/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009140020A (ja) * | 2007-12-03 | 2009-06-25 | Fujitsu Ltd | アノテーションプログラム、アノテーション装置及びアノテーション方法 |
CN101739415A (zh) * | 2008-11-25 | 2010-06-16 | 华中师范大学 | 一种面向浏览器的网页标注系统 |
CN102446175A (zh) * | 2010-09-30 | 2012-05-09 | 宏碁股份有限公司 | 电子装置及网页加注方法 |
CN102682025A (zh) * | 2011-03-16 | 2012-09-19 | 中兴通讯股份有限公司 | 一种浏览器及其实现web图片评论添加和显示的方法 |
CN102799573A (zh) * | 2012-06-27 | 2012-11-28 | 北京经舆典网络科技有限公司 | 网页批注的方法及系统 |
CN102982148A (zh) * | 2012-11-26 | 2013-03-20 | 华为技术有限公司 | 定位方法及定位装置 |
CN105095432A (zh) * | 2015-07-22 | 2015-11-25 | 腾讯科技(北京)有限公司 | 网页批注显示方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN105095432A (zh) | 2015-11-25 |
KR20170129212A (ko) | 2017-11-24 |
US20210004419A1 (en) | 2021-01-07 |
KR102038209B1 (ko) | 2019-10-29 |
US11200295B2 (en) | 2021-12-14 |
JP2018513502A (ja) | 2018-05-24 |
US20180067954A1 (en) | 2018-03-08 |
CN105095432B (zh) | 2019-04-16 |
JP6442082B2 (ja) | 2018-12-19 |
US10817586B2 (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017012437A1 (zh) | 网页批注显示方法、装置及移动终端 | |
US9702711B2 (en) | Place of interest recommendation | |
WO2019120191A1 (zh) | 多段文本复制方法及移动终端 | |
TWI624781B (zh) | 用以結合多個設備的顯示器之方法、裝置及電腦程式產品 | |
WO2016019925A1 (zh) | 搜索方法、服务器及客户端 | |
WO2017084452A1 (zh) | 图形界面中标签页的处理方法和装置 | |
US9241242B2 (en) | Information recommendation method and apparatus | |
CN109917979B (zh) | 一种搜索方法及移动终端 | |
WO2021077897A1 (zh) | 文件发送方法、装置和电子设备 | |
WO2014206101A1 (zh) | 一种基于手势的会话处理方法、装置及终端设备 | |
WO2018196588A1 (zh) | 一种信息分享方法、装置和系统 | |
WO2017012423A1 (zh) | 一种显示即时通信消息的方法和终端 | |
CN105302452B (zh) | 一种基于手势交互的操作方法及装置 | |
WO2015000430A1 (zh) | 智能选词的方法和装置 | |
WO2015000429A1 (zh) | 智能选词的方法和装置 | |
JP6230611B2 (ja) | メッセージ表示方法、メッセージ表示装置、端末装置、プログラム及び記録媒体 | |
WO2019096042A1 (zh) | 应用程序安装方法和移动终端 | |
WO2017084289A1 (zh) | 一种进行信息展示的方法、装置和系统 | |
CN104281568B (zh) | 一种释义显示方法和装置 | |
US10320730B2 (en) | Method and device for displaying message | |
WO2019076377A1 (zh) | 图像的查看方法及移动终端 | |
JP2017509051A (ja) | ストリーミングメディアデータに関する統計を収集するための方法およびシステム、ならびに関連する装置 | |
WO2017128986A1 (zh) | 多媒体菜单项的选择方法、装置及存储介质 | |
CN111124709A (zh) | 一种文本处理方法及电子设备 | |
CN105653112B (zh) | 一种显示浮层的方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16827128 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20177029737 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2017555637 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 15/06/2018) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16827128 Country of ref document: EP Kind code of ref document: A1 |