CN110427147B - Page position positioning method and device - Google Patents

Page position positioning method and device Download PDF

Info

Publication number
CN110427147B
CN110427147B CN201910656901.9A CN201910656901A CN110427147B CN 110427147 B CN110427147 B CN 110427147B CN 201910656901 A CN201910656901 A CN 201910656901A CN 110427147 B CN110427147 B CN 110427147B
Authority
CN
China
Prior art keywords
page
preset
display area
screen display
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910656901.9A
Other languages
Chinese (zh)
Other versions
CN110427147A (en
Inventor
石恒智
施晓鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wireless Life Hangzhou Information Technology Co ltd
Original Assignee
Wireless Life Hangzhou Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wireless Life Hangzhou Information Technology Co ltd filed Critical Wireless Life Hangzhou Information Technology Co ltd
Priority to CN201910656901.9A priority Critical patent/CN110427147B/en
Publication of CN110427147A publication Critical patent/CN110427147A/en
Application granted granted Critical
Publication of CN110427147B publication Critical patent/CN110427147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a page position positioning method and a device, wherein the method comprises the following steps: receiving a trigger operation of a user on a preset area of a page; judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not; if not, the preset position is scrolled to the screen display area. According to the technical scheme, the page can be quickly scrolled to the specific position, a user can conveniently check required information, the page browsing efficiency of the user is improved, and the user experience is improved.

Description

Page position positioning method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for locating a page position.
Background
At present, the length of a page of content displayed by an application program in a terminal is generally matched with the amount of information included in the page, when the length of the page exceeds the length of a current window, the current window cannot display all the information included in the page, a user browses more content by sliding or scrolling the page, or the up-and-down position of a scroll bar can be adjusted, and the information displayed by the current window is adjusted according to the position change of the scroll bar; when a user needs to view information at a specific page position, the position of the scroll bar needs to be adjusted to reposition the page to find the information at the specific position, and if the user wants to browse the information at the specific position in the page, the user needs to slide the list or drag the scroll bar for many times until the content of the page is scrolled to the required position.
Disclosure of Invention
The embodiment of the invention provides a page position positioning method and device, which can enable a page to be rapidly scrolled to a specific position, facilitate a user to check required information, improve the page browsing efficiency of the user and improve the user experience. The technical scheme is as follows:
according to a first aspect of the embodiments of the present invention, there is provided a page position locating method, including:
receiving a trigger operation of a user on a preset area of a page;
judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not;
if not, the preset position is scrolled to the screen display area.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: according to the technical scheme, the user can quickly position the page position which the user wants to browse through triggering operation of the preset area of the page and judging the position of the preset position relative to the screen display area, the operation is convenient and fast, and the efficiency of browsing page information by the user is improved.
In one embodiment, the determining whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes:
acquiring position information of a screen display area relative to the page;
and judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not according to the position information and the preset position.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: this technical scheme can judge whether to predetermine the position and be located the screen display region through the relative position information who obtains the screen display region, the position of the location page that can be more accurate to in the required screen display region demonstration preset the position.
In one embodiment, the screen display area is located in a central region of the screen.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: according to the technical scheme, the preset position of the page is scrolled to the central area of the screen, so that a user can browse intuitively.
In one embodiment, the determining whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes:
the screen display area is positioned in the top area of the screen;
judging whether the rolling offset of the page is larger than a preset offset or not; the rolling offset is the distance between the starting end of the page and the top end of the top area; the preset offset is the distance from the preset position of the page to the starting end of the page.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: according to the technical scheme, whether the preset position is located at the top end of the screen or not is judged by judging the size of the rolling offset, so that the judgment can be performed quickly, simplicity and clarity are realized, and the universality is high.
In one embodiment, the method further comprises:
and when the rolling offset of the page is larger than a preset offset, rolling the position of the starting end of the page to the top area.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: according to the technical scheme, the user can quickly return to the top of the page after browsing the preset position, and the function of the preset area is expanded.
In one embodiment, the preset area includes: the area where the page navigation button is located;
the judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes:
judging whether a page triggered by the triggering operation of the page navigation button is the current page or not;
and if so, judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: according to the technical scheme, the page is positioned through the navigation button, the function of the navigation button is expanded, the utilization rate of a screen display area is improved, and meanwhile the browsing efficiency of a user is improved.
In one embodiment, the method further comprises: and determining the preset position of the page according to the historical browsing behavior of the user on the page counted in advance.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: according to the technical scheme, the preset position of the page is determined according to the historical behaviors of the user, so that the user can conveniently locate the interested page position, namely the interested information of the user, the use is convenient, and the browsing efficiency and the experience of the user are further improved.
According to a second aspect of the embodiments of the present invention, there is provided a page position locating apparatus, including:
the receiving module is used for receiving the triggering operation of a user on a preset area of a page;
the judging module is used for judging whether a preset position corresponding to the triggering operation in the page is located in a preset screen display area or not; if not, calling a first rolling module;
and the scrolling module is used for scrolling the preset position to the screen display area.
In one embodiment, the determining module includes:
the acquisition submodule is used for acquiring the position information of the screen display area relative to the page;
the first judgment submodule is used for judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not according to the position and preset position information; if not, the rolling module is called.
In one embodiment, the screen display area is located in a central region of the screen.
In one embodiment, the screen display area is located at a top area of the screen;
the judging module comprises:
the second judgment submodule is used for judging whether the rolling offset of the page is larger than a preset offset or not; the rolling offset is the distance between the starting end of the page and the top end of the top area; and the preset offset is the distance from the preset position of the page to the starting end of the page, and if not, the rolling module is called.
In one embodiment, the apparatus further comprises:
if yes, calling a rolling submodule;
and the scrolling submodule is used for scrolling the position of the starting end of the page to the top area.
In one embodiment, the preset area includes: the area where the page navigation button is located;
the judging module comprises:
the third judgment sub-module is used for judging whether a page triggered by the triggering operation of the page navigation button is the current page or not; if yes, calling a fourth judgment submodule;
and the fourth judgment submodule is used for judging whether the preset position corresponding to the trigger operation in the page is positioned in a preset screen display area or not, and if not, the rolling module is called.
In one embodiment, the apparatus further comprises: and the determining module is used for determining the preset position of the page according to the historical browsing behavior of the page counted in advance by the user.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
according to the technical scheme, the user can quickly position the page position which the user wants to browse through triggering operation of the preset area of the page and judging the position of the preset position relative to the screen display area, the operation is convenient and fast, and the efficiency of browsing page information by the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flowchart illustrating a method for locating a page position according to an exemplary embodiment
FIG. 2 is a flowchart illustrating a method of page position location according to an example embodiment.
FIG. 3 is a diagram illustrating a page and screen display area according to an exemplary embodiment.
FIG. 4 is a diagram illustrating a page and screen display area according to an exemplary embodiment.
FIG. 5a is a schematic diagram of a page and screen display area shown in accordance with an exemplary embodiment.
FIG. 5b is a flowchart illustrating a method of page position location according to an example embodiment.
FIG. 6 is a flowchart illustrating a method of page position location, according to an example embodiment.
FIG. 7 is a diagram illustrating a page and screen display area according to an exemplary embodiment.
FIG. 8 is a flowchart illustrating a method of page position location according to an example embodiment.
FIG. 9 is a flowchart illustrating a method of page position location according to an example embodiment.
FIG. 10 is a flowchart illustrating a method of page position location according to an example embodiment.
FIG. 11 is a flowchart illustrating a method of page position location, according to an example embodiment.
FIG. 12 is a flowchart illustrating a method of page position location, according to an example embodiment.
FIG. 13 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
FIG. 14 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
FIG. 15 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
FIG. 16 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
FIG. 17 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
FIG. 18 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the related technology, the length of an application program page is generally matched with the amount of information included in the page, when the length of the page exceeds the length of a current window, the current window cannot display all information included in the page, a user can browse more contents by sliding or scrolling the page, or the up-down position of a scroll bar can be adjusted, and the information displayed in the current window is adjusted according to the position change of the scroll bar; if the user wants to browse information at a particular location in the page, it may be necessary to slide the page or drag the scroll bar a number of times until the content of the page has scrolled to the desired location. Existing e-commerce, social, or messaging applications typically present content in a list, and similarly, if a user wants to browse information at a particular location in a list, the user may need to slide the list or drag a scroll bar multiple times until the content of the page scrolls to the desired location.
However, this process requires the user to touch the screen many times to scroll the page, which is too cumbersome. Meanwhile, as the user has a certain reaction time in reacting to the display content of the screen, in order to ensure that the user does not miss the position to be stopped, the user can only scroll the screen at a low speed, and in addition, the user needs to scroll for many times, so that the scrolling efficiency is low.
In order to solve the above technical problems, the present embodiment provides a method and an apparatus for positioning a page position, which enable a page to be quickly scrolled to a specific position, so that a user can conveniently view required information, the efficiency of browsing the page by the user is improved, and user experience is improved.
Fig. 1 is a flowchart illustrating a page position locating method according to an exemplary embodiment, where as shown in fig. 1, a page position locating method is used in a terminal, and includes the following steps 101 and 103:
in step 101, receiving a trigger operation of a user on a preset area of a page;
in step 102, judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area; if not, go to step 103;
in step 103, the preset position is scrolled into the screen display area.
In this embodiment, a preset area is set in the page, the preset area is an area fixed to the page for display, and the position of the preset area does not change with the scrolling of the page. For example, the preset area is always displayed at the top or other position of the current page, that is, at the top or other position of the screen display area, and in order not to affect the user to browse the page, the preset area may be located at the top or bottom of the current page. After a user triggers and clicks a preset area, whether a preset position corresponding to the trigger operation is located in a preset screen display area or not is judged, if the preset position is not located in the screen display area, the preset position of a page is rolled into the screen display area, at the moment, the user can directly browse page information of the preset position, and the user does not need to slide the page for many times to search information of the preset position. In this embodiment, if the preset position is already in the screen display area, the page may be kept from scrolling, or the preset position may be scrolled to the top of the screen display area, so that the user may browse the information of the preset position from the top, or perform other operations. The preset position in this embodiment may be a position predetermined by the system or the background server, and corresponds to the preset area, or the preset position may be a position automatically stored according to the interest of the user, for example, when the user frequently browses information of a certain position in a page, the position is determined to be automatically stored as the preset position according to the historical behavior of the user, and is associated with the preset area. Further, the preset position may be changed periodically. Wherein the preset position can be represented using coordinates relative to the top of the page. In this embodiment, can let the page roll to preset the position fast, be the position that the user wants to browse that also is, the page position that the quick location user wants to browse, the user of being convenient for looks over the information of this preset position, and the simple operation has promoted the efficiency that the user browsed the page, promotes user experience.
In one embodiment, the preset position is different when the content of each page is different, and when the user browses different pages, the preset area is correspondingly associated with the preset position of the page. One or more preset positions in one page can be provided, and when a plurality of preset positions exist, the preset area can be positioned to different preset positions by triggering and clicking for many times. For example, a first preset position, a second preset position and a third preset position exist in one page, when a preset area is triggered for the first time, whether the first preset position is in the screen display area is judged, and if not, the first preset position is rolled into the screen display area; when the preset area is triggered for the second time, judging whether the second preset position is in the screen display area, if not, rolling the second preset position into the screen display area; when the preset area is triggered for the third time, judging whether the third preset position is in the screen display area, if not, rolling the third preset position into the screen display area; when the preset region is triggered for the fourth time, the judgment can be started from whether the first preset position is in the screen display region, and the triggering and judging processes are circulated. For another example, when the preset area is triggered for the fourth time, the top of the page may be scrolled to the top of the screen display area, that is, the page returns to the top, then, the next trigger operation is waited, and after the next trigger operation, the process of triggering and judging is started to be performed from the first preset position whether the first preset position is in the screen display area, and then, the triggering and judging processes are circulated. In this embodiment, the preset area may indicate a specific button in the page, or a specific position in the page.
In one embodiment, the preset area may also indicate a plurality of specific buttons, each of which may correspond to a preset position.
In one embodiment, after the preset positions are scrolled into the screen display area, the next step 101 is waited to be executed, and the loop operation and the judgment can be performed according to the preset positions. Meanwhile, if the preset position is already in the screen display area, the step 101 is waited to be executed next time after the related operations are performed.
FIG. 2 is a flowchart illustrating a method of page position location according to an example embodiment.
As shown in fig. 2, in one embodiment, the step 102 includes: step 201-step 202:
in step 201, acquiring position information of a screen display area relative to the page;
in step 202, whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area is judged according to the position information and the preset position, and if not, step 103 is executed.
In this embodiment, the position of the preset position relative to the screen display area may be determined by acquiring position information of the screen display area relative to the page, thereby determining whether the preset position is located within the screen display area. The screen display area may be the entire display area or a specific display area, such as a center area. Specifically, the position information of the screen display area relative to the page can be acquired by acquiring the model of the terminal, so that the size information of the terminal screen can be acquired, the position information of the screen display area can be further converted, and whether the preset position is located in the screen display area can be judged according to the position information and the preset position.
In this embodiment, as shown in fig. 3 and 4, the screen display area may be the entire display area, the position information of the top end and the bottom end of the screen display area relative to the page is converted into C and D, the C and D may be represented by coordinates relative to the top end a of the page, and the preset position is B. Judging whether the preset position is in the screen display area or not according to the position information and the preset position, wherein the preset position B is positioned below D or above C when the distance of the CB is greater than the distance of the CD, and the preset position B is not in the screen display area; when the distance of the CB is smaller than that of the CD and the distance of the AC is larger than that of the AB, the preset position B is positioned above the C, and at the moment, the preset position B is not in the screen display area; when the distance between the CB and the BD is smaller than the distance between the CDs, it indicates that the preset position B is located in the screen display area. In this embodiment, the preset position can be determined more accurately, so that the preset position can be conveniently scrolled to a specific position of a required screen display area, that is, the specific position of the screen display area, for example, one third or the middle of the screen display area, can be determined by obtaining the position information of the screen display area relative to the page.
In an embodiment, the position information of the screen display area relative to the page may be obtained by obtaining the model of the terminal, so as to obtain the size information of the terminal screen, and further converting to obtain the position information of the top end and the bottom end of the screen display area relative to the page.
In an embodiment, it is determined whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area (the screen display area is the entire display area) according to the position information and the preset position, if not, step 103 is executed, where in this embodiment, step 103 is: and scrolling the preset position to the central area of the screen display area. The center area can be determined according to the position information of the top end and the bottom end of the screen display area, for example, the distance of the CD is trisected, the middle part is the center area, the coordinates of the center area relative to the page are determined according to C and D, and then the preset position can be scrolled to the center area.
FIG. 5b is a flowchart illustrating a method of page position location according to an example embodiment.
As shown in fig. 5a and 5b, in one embodiment, the screen display area is located in the central area of the screen.
In this embodiment, specifically, the position information of the screen display area relative to the page may be obtained by obtaining the model of the terminal, so as to obtain the size information of the terminal screen, further converting the size information to obtain the position information of the central area of the screen relative to the page, and determining whether the preset position is located in the screen display area according to the position information and the preset position.
In this embodiment, the position information of the top end and the bottom end of the whole display area of the screen display area relative to the page is obtained as C and D according to the above method, the distance of the CD is trisected, the middle part is the central area, and thus the position information coordinates C and D of the central area relative to the central area of the page are determined according to the coordinates of C and D, and the preset position is B. Judging whether the preset position is in the screen display area or not according to the position information and the preset position of the central area, specifically, when the distance of the cB is greater than the distance of the cD, the preset position B is located below d or above c, and at the moment, the preset position B is not in the central area; when the distance of cB is smaller than the distance of cD and the distance of Ac is larger than the distance of AB, the preset position B is positioned above c, and at the moment, the preset position B is not in the central area; and when the preset position is not in the central area, rolling the preset position into the central area.
And when the distance of the cB is smaller than the distance of the Cd and the distance Bd is smaller than the distance of the Cd, the preset position B is positioned in the central area, and the page is not scrolled.
In this embodiment, the preset position of the page is scrolled to the central area of the screen, so that the user can browse visually, and when browsing the information of the preset position, other information than the preset position can be browsed, so that the page can be browsed more comprehensively.
FIG. 6 is a flowchart illustrating a method of page position location, according to an example embodiment.
As shown in fig. 6, in one embodiment, the step 102 includes: step 601:
in step 601, the screen display area is located in the top area of the screen;
judging whether the rolling offset of the page is larger than a preset offset or not; the rolling offset is the distance between the starting end of the page and the top end of the top area of the screen; the preset offset is a distance from a preset position of the page to a starting end of the page, and if not, step 103 is executed.
In step 103, a preset position is scrolled to the top area.
In this embodiment, as shown in fig. 7, it is determined whether the preset position is located in the top area of the screen. Specifically, whether the rolling offset of the page is larger than the preset offset is judged, the rolling offset is a distance AE between a starting end of the page and a top end of a top area (top end of a screen), the preset offset is a distance AB between a preset position of the page and the starting end of the page, when the rolling offset AE is smaller than the preset offset AB, at the moment, the preset position B is located in the whole display area or below the whole display area, namely, the preset position B is not located in the top area of the screen, at the moment, the preset position B is rolled to the top area of the screen, namely, the AE is equal to the AB, information of the preset position is displayed at the uppermost end of the screen, and therefore the information of the preset position can be displayed in the screen as completely as much as possible, and a user can check required information as much as possible. In the embodiment, the position of the preset position relative to the screen display area is judged through the rolling offset, so that the judgment can be performed quickly, simplicity and clarity are realized, and the universality is high.
In one embodiment, as shown in fig. 7, if the scroll offset AE is greater than the preset offset AB, and at this time, the preset position B is located above the entire display area, which indicates that the user has browsed the preset position, then no operation or page scrolling may be performed, or of course, the preset position may be scrolled to the top area of the screen, or other operations may be performed.
FIG. 8 is a flowchart illustrating a method of page position location according to an example embodiment.
As shown in fig. 8, in one embodiment, the method further comprises: step 801:
in step 801, when the scroll offset of the page is greater than a preset offset, the start end of the page is scrolled to the top area.
In this embodiment, as shown in fig. 7, when the scroll offset AE is greater than the preset offset AB, and at this time, the preset position B is located above the entire display area, which indicates that the user has browsed the preset position, the page start position may be scrolled to the top area of the screen, that is, the position a is scrolled to the top area of the screen, and at this time, AE is 0. In the embodiment, the user can quickly return to the top of the page after browsing the preset position, and the function of the preset area is expanded.
FIG. 9 is a flowchart illustrating a method of page position location according to an example embodiment.
As shown in fig. 9, in one embodiment, the preset area includes: the area where the page navigation button is located; the page navigation button is an application program option card type navigation button.
The step 102 includes: step 901-step 902:
in step 901, determining whether a page triggered by the triggering operation of the page navigation button is the current page; if yes, go to step 902; if not, go to step 903.
In step 902, it is determined whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area.
In step 903, the current page is updated to the page triggered by the triggering operation of the page navigation button.
In this embodiment, the preset area is a page navigation button area, the triggering operation of the user on the page navigation button area includes triggering or clicking one of the page navigation buttons by the user, at this time, it is determined whether the triggered page is a current page, and it can also be understood that it is determined whether the current page is a page corresponding to the triggered navigation button, and if so, it is determined whether the preset position is located in the screen display area; if not, the current page jumps to the page corresponding to the page navigation button, namely, the current page is updated to the page corresponding to the navigation button. In this embodiment, the user clicks one page navigation button, and if the current page is the page corresponding to the page navigation button, the user continues to determine whether the preset position is located in the screen display area, and if the current page is not the page corresponding to the page navigation button, the user jumps to the page corresponding to the page navigation button. It can also be understood that, when a user clicks a page navigation button for the first time, the corresponding page is jumped to, when browsing under the page, the user clicks the page navigation button again, and then the preset position can be rolled into the screen display area, that is, the information of the preset position is displayed for the user, so that the positioning of the page is realized through the navigation button, the function of the navigation button is expanded, the positioning of the page can be performed without setting a new button, the utilization rate of the screen display area is improved, and meanwhile, the browsing efficiency of the user is improved. In addition, by adding the function of the page navigation button, the operation burden of a user is lightened, the user can conveniently operate without searching the page positioning button, and the operation habit of the user is met.
In one embodiment, judging whether a page triggered by the triggering operation of the page navigation button is the current page;
if so, judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area;
if not, the preset position is rolled into the screen display area, the operation is completed, the next trigger operation of the page navigation button is waited, and the two judging steps are continuously carried out. In this embodiment, if the next time the navigation button on the same page is triggered and there are multiple preset positions, the preset positions may be displayed to the screen display area in a cycle according to the above embodiments.
In this embodiment, it is determined whether a page triggered by the triggering operation of the page navigation button is the current page;
if not, updating the current page to the page triggered by the triggering operation of the page navigation button, and waiting for the next triggering operation of the page navigation button.
FIG. 10 is a flowchart illustrating a method of page position location according to an example embodiment.
As shown in fig. 10, in one embodiment, the method further includes: step 1001:
in step 1001, a preset position of a page is determined according to a pre-counted historical browsing behavior of a user on the page.
In the embodiment, the preset position of the page is determined according to the historical behavior of the user, so that the user can conveniently locate the interested page position, namely the information interested by the user, the use is convenient, and the browsing efficiency and the experience of the user are further improved. In this embodiment, the preset position may be updated periodically, that is, the coordinates of the preset position are changed according to the browsing behavior of the user periodically or within a specific time, where the periodic time or the specific time includes daily calculation, weekly or weekly calculation, monthly or monthly calculation, or a specific holiday calculation. For example, if the information frequently browsed by the user is located at the position B of the page within a certain time, the position B is determined as a preset position within a certain time in the future, and if the browsing information is changed by the user within a certain time, the position W of the page frequently browsed by the user is changed into the preset position W within a certain time in the future.
The above embodiments can be freely combined according to actual needs.
A self-page position location method provided by the present disclosure is described below by way of specific embodiments.
As shown in fig. 11, the present embodiment provides a page position positioning method, including:
step 1101, determining a preset position of the page according to the historical browsing behavior of the user on the page counted in advance.
Step 1102, receiving a trigger operation of a user on a page navigation button.
Step 1103, determining whether the page triggered by the trigger operation of the page navigation button is the current page, if so, executing step 1104, and if not, executing step 1108.
And 1104, acquiring the position information of the screen display area relative to the page.
Step 1105, judging whether a preset position corresponding to the trigger operation in the page is located in a preset central area of the screen according to the position information and the preset position; if not, go to step 1106, and if yes, go to step 1107.
Step 1106, scrolling the preset position to the central area of the screen, and waiting for the next execution of step 1102.
Step 1107, do nothing and wait for the next execution of step 1102.
Step 1108, updating the current page to the page triggered by the triggering operation of the page navigation button, and waiting for the next execution of step 1102.
Step 1106 may also be performed as the corresponding steps described in the above embodiments.
As shown in fig. 12, the present embodiment provides a page position positioning method, including:
step 1201, determining a preset position of the page according to the historical browsing behavior of the page counted in advance by the user.
Step 1202, receiving a trigger operation of a user on a page navigation button.
Step 1203, determining whether the page triggered by the triggering operation of the page navigation button is the current page, if so, executing step 1204, and if not, executing step 1207.
Step 1204, determining whether the rolling offset of the page is greater than a preset offset, if not, performing step 1205, and if so, performing step 1206.
Step 1205, scrolling the preset position to the top area of the screen, and waiting for the next execution of step 1202.
Step 1206, scrolling the starting end position of the page to the top area of the screen, and waiting for the next time to execute step 1202.
Step 1207, updating the current page to the page triggered by the triggering operation of the page navigation button, and waiting for the next execution of step 1202.
Step 1206 may also be executed without performing any operation and wait for the next execution of step 1202.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 13 is a block diagram illustrating a page position locating apparatus, which may be implemented as part or all of a terminal by software, hardware, or a combination of both, according to an example embodiment.
As shown in fig. 13, the page position locating device includes: a receiving module 1301, a judging module 1302 and a scrolling module 1303.
A receiving module 1301, configured to receive a trigger operation of a user on a preset region of a page;
a determining module 1302, configured to determine whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area; if not, calling a first rolling module;
and the scrolling module 1303 is configured to scroll the preset position into the screen display area.
FIG. 14 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
As shown in fig. 14, in an embodiment, the determining module 1302 includes: an acquisition sub-module 1401 and a first judgment sub-module 1402.
An obtaining sub-module 1401, configured to obtain position information of a screen display area relative to the page;
the first judging submodule 1402, configured to judge, according to the position information and a preset position, whether a preset position, corresponding to the trigger operation, in the page is located in a preset screen display area; if not, the scrolling module 1303 is invoked.
In one embodiment, the screen display area is located in a central region of the screen.
FIG. 15 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
As shown in FIG. 15, in one embodiment, the screen display area is located at the top area of the screen;
the determining module 1302 includes: a second decision sub-module 1501.
The second judgment submodule 1501 is configured to judge whether a rolling offset of the page is greater than a preset offset; the rolling offset is the distance between the starting end of the page and the top end of the screen display area; the preset offset is a distance from a preset position of the page to a starting end of the page, and if not, the scrolling module 1303 is called.
FIG. 16 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
As shown in fig. 16, in one embodiment, the apparatus further comprises: the sub-module 1601 is scrolled.
If yes, calling a rolling sub-module 1601;
and a scrolling sub-module 1601 configured to scroll a starting end position of the page to a top end of the screen display area.
FIG. 17 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
As shown in fig. 17, in one embodiment, the preset area includes: the area where the page navigation button is located;
the determining module 1302 includes: a third decision submodule 1701 and a fourth decision submodule 1702.
A third determining sub-module 1701 for determining whether the page triggered by the triggering operation of the page navigation button is the current page; if yes, calling a fourth judgment submodule;
a fourth determining submodule 1702, configured to determine whether a preset position in the page corresponding to the trigger operation is located in a preset screen display area, and if not, invoke the scrolling module.
FIG. 18 is a block diagram illustrating a page position locating device in accordance with an exemplary embodiment.
As shown in fig. 18, in one embodiment, the apparatus further comprises: a determination module 1801.
A determining module 1801, configured to determine a preset position of the page according to a pre-counted historical browsing behavior of the page by the user.
According to a third aspect of the embodiments of the present invention, there is provided a page position locating apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a trigger operation of a user on a preset area of a page;
judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not;
if not, the preset position is scrolled to the screen display area.
The processor may be further configured to:
the judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes:
acquiring position information of a screen display area relative to the page;
and judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not according to the position information and the preset position.
The processor may be further configured to:
the screen display area is located in a central area of the screen.
The processor may be further configured to:
the judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes:
the screen display area is positioned in the top area of the screen;
judging whether the rolling offset of the page is larger than a preset offset or not; the rolling offset is the distance between the starting end of the page and the top end of the top area; the preset offset is the distance from the preset position of the page to the starting end of the page.
The processor may be further configured to:
and when the rolling offset of the page is larger than a preset offset, rolling the position of the starting end of the page to the top area.
The processor may be further configured to:
the preset area includes: the area where the page navigation button is located;
the judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes:
judging whether a page triggered by the triggering operation of the page navigation button is the current page or not;
and if so, judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area.
The processor may be further configured to:
and determining the preset position of the page according to the historical browsing behavior of the user on the page counted in advance.
According to a fourth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an apparatus, enable the apparatus to perform the above-mentioned page position locating method, the method including:
receiving a trigger operation of a user on a preset area of a page;
judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not;
if not, the preset position is scrolled to the screen display area.
In one embodiment, the method further comprises:
the judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes:
acquiring position information of a screen display area relative to the page;
and judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not according to the position information and the preset position.
In one embodiment, the method further comprises:
the screen display area is located in a central area of the screen.
In one embodiment, the method further comprises:
the judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes:
the screen display area is positioned in the top area of the screen;
judging whether the rolling offset of the page is larger than a preset offset or not; the rolling offset is the distance between the starting end of the page and the top end of the top area; the preset offset is the distance from the preset position of the page to the starting end of the page.
In one embodiment, the method further comprises:
and when the rolling offset of the page is larger than a preset offset, rolling the position of the starting end of the page to the top area.
In one embodiment, the method further comprises:
the preset area includes: the area where the page navigation button is located;
the judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes:
judging whether a page triggered by the triggering operation of the page navigation button is the current page or not;
and if so, judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area.
In one embodiment, the method further comprises:
and determining the preset position of the page according to the historical browsing behavior of the user on the page counted in advance.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (7)

1. A page position positioning method is characterized by comprising the following steps:
receiving a trigger operation of a user on a preset area of a page; the preset area includes: the area where the page navigation button is located;
judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not; the judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes: judging whether a page triggered by the triggering operation of the page navigation button is the current page or not; if so, judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area; the judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area includes: the screen display area is positioned in the top area of the screen; judging whether the rolling offset of the page is larger than a preset offset or not; the rolling offset is the distance between the starting end of the page and the top end of the top area; the preset offset is the distance from a preset position of the page to the starting end of the page;
if not, scrolling the preset position to the screen display area;
and when the rolling offset of the page is larger than a preset offset, rolling the position of the starting end of the page to the top area.
2. The method of claim 1, wherein the determining whether the preset position in the page corresponding to the trigger operation is located in a preset screen display area comprises:
acquiring position information of a screen display area relative to the page;
and judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not according to the position information and the preset position.
3. The method of claim 2, wherein the screen display area is located in a center region of the screen.
4. The method of any of claims 1-3, wherein the method further comprises: and determining the preset position of the page according to the historical browsing behavior of the user on the page counted in advance.
5. A page position locating device, comprising:
the receiving module is used for receiving the triggering operation of a user on a preset area of a page; the preset area includes: the area where the page navigation button is located;
the judging module is used for judging whether a preset position corresponding to the triggering operation in the page is located in a preset screen display area or not; if not, calling a rolling module; the judging module comprises: the third judgment sub-module is used for judging whether a page triggered by the triggering operation of the page navigation button is the current page or not; if yes, calling a fourth judgment submodule; the fourth judging submodule is used for judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area, wherein when the screen display area is located in the top area of a screen, the fourth judging submodule is used for judging whether the rolling offset of the page is larger than the preset offset; the rolling offset is the distance between the starting end of the page and the top end of the top area; the preset offset is the distance from a preset position of the page to the starting end of the page; if not, calling a rolling module;
the scrolling module is used for scrolling the preset position to the screen display area;
if yes, calling a rolling submodule; and the scrolling submodule is used for scrolling the position of the starting end of the page to the top area.
6. The apparatus of claim 5, wherein the determining module comprises:
the acquisition submodule is used for acquiring the position information of the screen display area relative to the page;
the first judgment submodule is used for judging whether a preset position corresponding to the trigger operation in the page is located in a preset screen display area or not according to the position information and the preset position; if not, the rolling module is called.
7. The apparatus of claim 6, wherein the screen display area is located in a center region of the screen.
CN201910656901.9A 2019-07-19 2019-07-19 Page position positioning method and device Active CN110427147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910656901.9A CN110427147B (en) 2019-07-19 2019-07-19 Page position positioning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910656901.9A CN110427147B (en) 2019-07-19 2019-07-19 Page position positioning method and device

Publications (2)

Publication Number Publication Date
CN110427147A CN110427147A (en) 2019-11-08
CN110427147B true CN110427147B (en) 2021-06-04

Family

ID=68411403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910656901.9A Active CN110427147B (en) 2019-07-19 2019-07-19 Page position positioning method and device

Country Status (1)

Country Link
CN (1) CN110427147B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016021B (en) * 2020-09-30 2021-05-28 浙江口碑网络技术有限公司 Browsing information browsing state display method and device, storage medium and electronic equipment
CN112130729B (en) * 2020-11-03 2023-03-10 深圳市九九互动科技有限公司 Page processing method and device, computer equipment and storage medium
CN112130730A (en) * 2020-11-04 2020-12-25 深圳市九九互动科技有限公司 Target position processing method and device, computer equipment and storage medium
CN112527178B (en) * 2020-12-16 2023-04-07 平安银行股份有限公司 Page control method, device, equipment and storage medium
CN112631477B (en) * 2020-12-31 2022-06-24 联想(北京)有限公司 Content positioning method and device
CN113032073A (en) * 2021-03-25 2021-06-25 数贸科技(北京)有限公司 Page display method and device based on operation behaviors
CN113127781A (en) * 2021-04-02 2021-07-16 广州三星通信技术研究有限公司 Method and device for providing object information
CN116860146B (en) * 2023-09-05 2023-11-24 中国中金财富证券有限公司 K line graph display method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576799A (en) * 2008-05-07 2009-11-11 宏达国际电子股份有限公司 Method and system for displaying information content
CN102622395A (en) * 2011-12-20 2012-08-01 深信服网络科技(深圳)有限公司 Method, server and client for assisting in accessing to webpage by application virtualization
CN103034451A (en) * 2012-12-21 2013-04-10 广东欧珀移动通信有限公司 Page location method and page location system for mobile terminals
CN105786352A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Method and device for quickly positioning page contents and mobile terminal
CN106569651A (en) * 2015-10-08 2017-04-19 北京国双科技有限公司 Positioning method and device for page popup layer position
CN107368580A (en) * 2017-07-21 2017-11-21 维沃移动通信有限公司 A kind of Webpage display process and mobile terminal
CN109358795A (en) * 2018-10-22 2019-02-19 网易(杭州)网络有限公司 Browsing method and device, the electronic equipment of interface information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102418B (en) * 2013-04-03 2015-08-26 腾讯科技(深圳)有限公司 Input frame target location localization method and device in a kind of browser of mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576799A (en) * 2008-05-07 2009-11-11 宏达国际电子股份有限公司 Method and system for displaying information content
CN102622395A (en) * 2011-12-20 2012-08-01 深信服网络科技(深圳)有限公司 Method, server and client for assisting in accessing to webpage by application virtualization
CN103034451A (en) * 2012-12-21 2013-04-10 广东欧珀移动通信有限公司 Page location method and page location system for mobile terminals
CN105786352A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Method and device for quickly positioning page contents and mobile terminal
CN106569651A (en) * 2015-10-08 2017-04-19 北京国双科技有限公司 Positioning method and device for page popup layer position
CN107368580A (en) * 2017-07-21 2017-11-21 维沃移动通信有限公司 A kind of Webpage display process and mobile terminal
CN109358795A (en) * 2018-10-22 2019-02-19 网易(杭州)网络有限公司 Browsing method and device, the electronic equipment of interface information

Also Published As

Publication number Publication date
CN110427147A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN110427147B (en) Page position positioning method and device
CN103314373B (en) Effective processing of large data sets on mobile device
EP2854372B1 (en) Method and device for displaying pushed information
US10073589B1 (en) Contextual card generation and delivery
US8949739B2 (en) Creating and maintaining images of browsed documents
EP3252591A1 (en) Group chat method and device
US20160224211A1 (en) Method and System for Displaying Icons of Application Programs, and Terminal
US20180004857A1 (en) Webpage loading method and system
CN105094557A (en) Method and device for display control, and electronic device
CN105867714A (en) Application downloading method, apparatus and system
US8306963B2 (en) Embedded search bar
CN110362766B (en) Page display control method and terminal
WO2017064545A1 (en) Information processing system, information processing method, and non-transitory computer-readable storage medium storing program
CN111142756A (en) Page display method, equipment and computer readable storage medium
CN112988006A (en) Display method, display device, electronic equipment and storage medium
CN111722765A (en) Page switching method, device, equipment and storage medium
CN111143731B (en) Display method and device for webpage interface zooming and terminal equipment
CN108038150B (en) Webpage opening method and device and terminal equipment
CN111538453B (en) Book detail page display method, terminal and computer storage medium
US20130169669A1 (en) Methods And Apparatus For Presenting A Position Indication For A Selected Item In A List
JPWO2015079527A1 (en) Information processing apparatus, information processing method, and information processing program
CN109656664B (en) Desktop display method, control device, terminal and system
CN105677749B (en) Page display method and device
CN107577393B (en) List page display method, device and equipment
EP2610794A1 (en) Methods and apparatus for presenting a position indication for a selected item in a list

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant