Method and device for locating page content
A technology for specifying page content and location, applied in the Internet field, can solve problems such as low index accuracy and achieve the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 2 It shows a flow chart of a method for locating page content provided by the first embodiment of the present invention. It should be noted that a page refers to any page of an Internet website, which can also be called a web page, and its content is a page updated in real time online content. The details are as follows:
[0030] Step S21, monitoring the sliding touch screen event of the index area, the index area is used to display at least one index.
[0031] In this step, the index area is used to display one or more indexes, and the index area can be set to be located on the left of the screen, or the index area can be set to be located on the right of the screen, which is not limited here. Wherein, the index of this embodiment can be the first letter of the pinyin in the first Chinese name of the website where the content of each page is located. For example, when the website where the page content is located is "News Network", the first letter of the pin...
Embodiment 2
[0075] In order to more clearly illustrate the positioning method of the page content provided by the embodiment of the present invention, a specific application example will be described below. In this embodiment, the designated position of the page is any point in the extension plane in the vertical direction of the index area, such as Figure 5 For the M1 point, the specified index in the index area is the first index in the index area:
[0076] Assuming that before the index area listens to the sliding touch event, the content of the displayed page is as follows Figure 5 shown. When a sliding touch screen event is detected, determine the distance from the current screen touch point to M1, and compare the distance from the current screen touch point to M1 in the vertical direction of the screen with the first index in the pre-acquired index area to M1 in the vertical direction of the screen Subtract the distances above to get a difference value. According to the differenc...
Embodiment 3
[0078] Figure 8 A structural diagram of an apparatus for locating page content provided by the third embodiment of the present invention is shown. For convenience of description, only parts related to the embodiment of the present invention are shown.
[0079] The page content positioning device includes: a monitoring unit 81 , a distance calculation unit 82 between a touch point and a specified index, an index determination unit 83 , and a page content display unit 84 .
[0080] The monitoring unit 81 is configured to monitor a sliding touch screen event of an index area for displaying at least one index.
[0081] Wherein, the index can be the first letter of pinyin in the first Chinese name of each page content, or the first word of each page content is a number or a symbol.
[0082] As another embodiment of the present invention, the device for locating page content includes:
[0083] A website name search unit, used to search for the website name of the website where the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


