Page positioning method, device, computer equipment and storage medium
By obtaining and setting mark information and monitoring exit and return instructions, the problem of inflexible page positioning in the existing technology is solved, user-defined page positioning is realized, and browsing efficiency is improved.
Patent Information
- Application Number
- CN201911134415.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-19
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-11-19
AI Technical Summary
Existing page positioning methods cannot position according to user needs, causing users to manually browse when returning to the page. The operation is cumbersome and the browsing efficiency is low.
By obtaining and setting mark information, including the positioning method when returning after exiting the page, monitoring exit and return instructions, and positioning the page based on the mark information, user-defined page positioning is achieved.
It reduces the tedious operation of users manually flipping through pages to find content, improves browsing efficiency, and allows users to flexibly set mark information to facilitate locating specific content locations when returning to the page.
Smart Images

Figure CN112905914B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a page positioning method, device, computer equipment and storage medium. Background Art
[0002] Currently, when a user browses news, chat sessions, and other pages through a terminal such as a PC or a mobile phone, after exiting the current browsing page and then entering the page again, the user usually returns to a default location.
[0003] However, the current page positioning method has the problem of being unable to perform positioning according to user needs. If the user wants to return to the page to browse content at other locations, he needs to manually flip through the pages and search for the content, which is cumbersome and has low browsing efficiency. Summary of the invention
[0004] Based on this, it is necessary to provide a page positioning method, device, computer equipment and storage medium to address the technical problem that current methods cannot perform page positioning according to user needs.
[0005] A page positioning method, the method comprising:
[0006] Acquire tag information set for the browsing page, the tag information including a page positioning method when the browsing page is exited and then returned;
[0007] When an exit instruction for the browsing page is detected, determining location information corresponding to the mark information;
[0008] When a return instruction for the browsing page is detected, the browsing page is located according to the location information.
[0009] A page positioning device, the device comprising:
[0010] An acquisition module, used for acquiring mark information set for a browsing page, wherein the mark information includes a page positioning method for returning to the browsing page after exiting the browsing page;
[0011] A determination module, configured to determine the location information corresponding to the mark information when an exit instruction for the browsing page is detected;
[0012] The positioning module is used to locate the browsing page according to the positioning information when a return instruction for the browsing page is detected.
[0013] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0014] Acquire tag information set for the browsing page, the tag information including a page positioning method when the browsing page is exited and then returned;
[0015] When an exit instruction for the browsing page is detected, determining location information corresponding to the mark information;
[0016] When a return instruction for the browsing page is detected, the browsing page is located according to the location information.
[0017] A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the following steps:
[0018] Acquire tag information set for the browsing page, the tag information including a page positioning method when the browsing page is exited and then returned;
[0019] When an exit instruction for the browsing page is detected, determining location information corresponding to the mark information;
[0020] When a return instruction for the browsing page is detected, the browsing page is located according to the location information.
[0021] The page positioning method, device, computer equipment and computer-readable storage medium obtain the mark information set for the browsing page, and the mark information includes the page positioning method when returning to the browsing page after exiting the browsing page; when an exit instruction for the browsing page is detected, the positioning information corresponding to the mark information is determined; when a return instruction for the browsing page is detected, the browsing page is positioned according to the positioning information. Thus, the interaction between the user and the page is realized, and the user can flexibly set the mark information on the page according to the needs, and when returning to the page, the content position corresponding to the mark information set by the user can be located, reducing the tedious operation of the user manually flipping through the pages to find the content, and improving the browsing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A diagram of an application environment of a page positioning method in an embodiment;
[0023] Figure 2 A schematic diagram of a flow chart of a page positioning method in an embodiment;
[0024] Figure 3 A schematic diagram of a flow chart of steps for obtaining tag information set for a browsing page in one embodiment;
[0025] Figure 4 A schematic diagram of a page showing a marking control in one embodiment;
[0026] Figure 5A schematic diagram of a page showing a tag setting interface in one embodiment;
[0027] Figure 6 A schematic diagram of a page showing a tag setting interface in one embodiment;
[0028] Figure 7 A schematic diagram of a page showing a tag setting interface in one embodiment;
[0029] Figure 8 A schematic diagram of a positioning page when a page returns in one embodiment;
[0030] Fig. 9 This is a schematic diagram of a page after a positioning control is triggered in one embodiment;
[0031] Fig.10 This is a schematic diagram of a page after a positioning control is triggered in one embodiment;
[0032] Fig.11 A schematic diagram of a page showing a cancel mark control in one embodiment;
[0033] Fig.12 A schematic diagram of a page showing a control for canceling all marks in one embodiment;
[0034] Fig.13 is a structural block diagram of a page positioning device in one embodiment;
[0035] Fig.14 is a structural block diagram of a computer device in one embodiment;
[0036] Fig.15 FIG. 4 is a structural block diagram of a computer device in one embodiment. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0038] Figure 1 FIG. 1 is an application environment diagram of a page positioning method in an embodiment. Figure 1As shown, the application environment involves a terminal 110 and a server 120, and the terminal 110 and the server 120 are connected via a network. A user can access a platform with a page browsing function, such as a news client, a social platform, etc., through the terminal 110, and the server 120 can be the server where the platform is located. The terminal 110 or the server 120 can obtain the tag information set for the browsing page, and when the browsing page is exited and returned, the browsing page is located at a corresponding position according to the set tag information. The terminal 110 can specifically be a desktop terminal or a mobile terminal, and the mobile terminal can specifically be at least one of a mobile phone, a tablet computer, a laptop computer, etc. The server 120 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0039] like Figure 2 As shown, in one embodiment, a page positioning method is provided. This embodiment mainly applies this method to the above Figure 1 The terminal 110 or the server 120 in FIG. Figure 2 The page positioning method specifically includes the following steps S202 to S206.
[0040] S202, obtaining mark information set for the browsing page, the mark information including a page positioning method when exiting the browsing page and returning.
[0041] The page positioning mode indicates where the page display position is positioned when the page is opened. For example, the page positioning mode can be positioned to the last browsed position, or to the latest time position, or to the marked point position. The user can set the page positioning mode according to actual needs.
[0042] S204: When an exit instruction for the browsing page is detected, determine the location information corresponding to the mark information.
[0043] The exit instruction is used to close or exit the browsing page. Specifically, the browsing page may be provided with an exit control, and when it is detected that the user clicks or touches the exit control, it is considered that an exit instruction for the browsing page is detected.
[0044] When an exit instruction for a browsing page is detected, the corresponding positioning information for the next opening of the browsing page can be determined according to the set page positioning method. For example, if the page positioning method is set to position to the last browsing position, the corresponding positioning information is determined to be the last displayed page before the browsing page is exited; if the page positioning method is set to position to the latest time position, the corresponding positioning information is determined to be the latest content position when the browsing page is opened next time; if the page positioning method is set to position to the mark point position, the corresponding positioning information is determined to be the position of the mark point, where the mark point can be one or more, and each mark point can specifically be the content selected in the page that needs to be marked. Users can select the content to be marked according to actual needs.
[0045] S206: When a return instruction for the browsing page is detected, the browsing page is located according to the location information.
[0046] The return instruction is used to open or enter the browsing page. Specifically, when it is detected that the user clicks or touches the link address of the browsing page, it is considered that a return instruction for the browsing page is detected. When the return instruction for the browsing page is detected, the page display position can be positioned to the position corresponding to the positioning information while the page is opened.
[0047] The above page positioning method obtains the mark information set for the browsing page, and the mark information includes the page positioning method when returning to the browsing page after exiting the browsing page; when an exit instruction for the browsing page is detected, the positioning information corresponding to the mark information is determined; when a return instruction for the browsing page is detected, the browsing page is positioned according to the positioning information. Thus, the interactive operation between the user and the page is realized, and the user can flexibly set the mark information on the page according to the needs, and when returning to the page, the content position corresponding to the mark information set by the user can be positioned, reducing the tedious operation of the user manually flipping through the pages to find the content, and improving the browsing efficiency.
[0048] In one embodiment, Figure 3 As shown, obtaining the tag information set for the browsing page specifically includes the following steps S302 to S304.
[0049] S302: When a marking instruction for the content to be located in the browsing page is detected, a marking setting interface is generated.
[0050] The content to be located may be content that the user needs to mark so that he can continue browsing the page next time he enters it, and the marking instruction is used to call up the marking setting interface. Specifically, when it is detected that the user long presses the content to be located in the browsing page, the marking control is called up, and when it is detected that the user clicks or touches the marking control, it is considered that the marking instruction for the content to be located is detected. It can be understood that the calling method of the marking control is not limited to the long press operation, but can also be other operations such as clicking, which is not limited here.
[0051] Take the group message page as an example. Figure 4 As shown, a schematic diagram of a page showing a mark control is provided. In this embodiment, message A is the content to be located. When message A is long pressed by the user, an operation menu is triggered to be displayed. The operation menu may include a "mark" control and other controls (represented by K1, K2, and K3 in the figure), such as copy, forward, favorite, delete, and translate controls, to implement the related functions represented by the control when triggered. When the "mark" control is clicked or touched by the user, the mark setting interface is triggered to be displayed.
[0052] S304, obtaining the mark information set in the mark setting interface.
[0053] Specifically, the mark setting interface may display selectable page positioning methods, and corresponding mark information may be obtained according to the page positioning method selected by the user in the mark setting interface.
[0054] In one embodiment, if no marking information has been set before marking the message A, the page positioning methods displayed in the marking setting interface may include three methods: "set to return to the last browsed", "set to return to the latest time" and "set this message as the first marking point". Figure 5 As shown, users can choose any of these three methods.
[0055] In one embodiment, if the first marking point is set before marking the message A, the page positioning methods displayed in the marking setting interface may include four methods: "set to return to the last browsed", "set to return to the latest time", "set this message as the first marking point", and "set this message as the second marking point". Figure 6 As shown, at this time, the user can select "Set this message as the second mark point". Correspondingly, if the first and second mark points have been set before marking the above message A, the page positioning methods displayed in the mark setting interface may include "Set to return to the last browsed", "Set to return to the latest time", "Set this message as the first mark point", "Set this message as the second mark point", and "Set this message as the third mark point". At this time, the user can select "Set this message as the third mark point".
[0056] It can be understood that the serial number x in "Set this message as the xth marking point" displayed in the mark setting interface is related to the number of marking points that have been set before marking message A. For example, if n marking points have been set before marking message A, then "Set this message as the n+1th marking point" will be displayed and selectable in the mark setting interface for message A.
[0057] In one embodiment, the mark setting interface may also only display the selectable page positioning methods. For example, if the first marking point has been set before marking the above message A, the page positioning methods displayed in the mark setting interface may only include "Set this message as the second marking point", such as Figure 7 Correspondingly, if the first and second marking points have been set before marking the above message A, the page positioning method displayed in the marking setting interface may only include one method of "setting this message as the third marking point".
[0058] In the above embodiment, a markable interactive operation is set for the content in the page. Through the mark setting interface, the user can select the positioning method when returning to the page according to needs. When the mark point positioning method is selected, the content that needs to be browsed again in multiple different positions in the page can be marked, and multiple mark points can be generated. The corresponding content that needs to be browsed again can be quickly located through the mark points, thereby avoiding tedious manual flipping and searching processes and improving the user browsing experience.
[0059] In one embodiment, if the page positioning method is to position the mark point, the marking information also includes the marking order of the content to be positioned. When an exit instruction for the browsing page is detected, the position of the content to be positioned is obtained as the positioning position when returning to the browsing page next time. When a return instruction for the browsing page is detected, the browsing page is positioned according to the position of the content to be positioned and the marking order.
[0060] For example, when a user is browsing a group message page, there are some important messages located in different positions of the page that need to be browsed again or processed in depth. At this time, each message that needs to be browsed again or processed in depth can be set as a mark point, and when returning to the group message page, the message position corresponding to each mark point can be located.
[0061] In the above embodiment, by locating the page to the mark point position, the user's need to return to the content at multiple different locations of the page can be met. There is no need for the user to manually flip through and search for multiple contents to be browsed again at different locations of the page, thereby achieving rapid positioning of multiple contents to be browsed again, thereby improving browsing experience and efficiency.
[0062] In one embodiment, when a return instruction for a browsing page is detected, the browsing page is located according to the position of the content to be located and the mark order, which specifically includes the following steps: when a return instruction for a browsing page is detected, the browsing page is located to the position of the content to be located that is first in the mark order; when a positioning instruction for the next marking point is detected, the browsing page is located to the position of the content to be located in the next marking order.
[0063] The positioning instruction is used to position the page to the corresponding mark point. Specifically, a mark point positioning control may be displayed in the returned page, and when a user clicks or touches the mark point positioning control, it is considered that a positioning instruction for the corresponding mark point is detected. The positioning control may include a positioning control for positioning to the previous mark point and a positioning control for positioning to the next mark point.
[0064] Taking the group message page as an example, if three mark points are set in the group message page when exiting the group message page, namely the first mark point, the second mark point and the third mark point, then when returning to the group message page, the page will be positioned to the message position corresponding to the first mark point, and the positioning control for positioning to the next mark point will be displayed on the page. When the user is detected to click the positioning control for positioning to the next mark point, the page will be positioned to the message position corresponding to the second mark point, and the positioning control for positioning to the previous mark point and the positioning control for positioning to the next mark point will be displayed on the page at the same time. If the user is detected to continue to click the positioning control for positioning to the next mark point, the page will be positioned to the message position corresponding to the third mark point. If the user is detected to click the positioning control for positioning to the previous mark point, the page will be positioned to the message position corresponding to the first mark point.
[0065] In one embodiment, the page location when the group message page returns is as follows: Figure 8 As shown, message A is the first mark point, and D1 represents the positioning control for locating to the next mark point. The user clicks Figure 8 After positioning control D1 in the page, the page positioning is as follows Fig. 9 As shown, message B is the second mark point, D1 represents the positioning control for positioning to the next mark point, and D2 represents the positioning control for positioning to the previous mark point. Fig. 9 After D1 in the page, the page is positioned as follows Fig.10 As shown, message C is the third mark point, and D2 represents a positioning control positioned at the previous mark point. It can be understood that the positioning control can be displayed in any form at any position on the page, and this is not limited.
[0066] In the above embodiment, by setting mark points and the order of mark points, the user's needs to return to the contents of multiple different locations on the page in sequence can be met. There is no need for the user to manually flip through and search for multiple contents to be browsed again at different locations on the page, thereby achieving rapid positioning of multiple contents to be browsed again and improving browsing experience and efficiency.
[0067] In one embodiment, if the page positioning method is to position to the last browsing position, then when an exit instruction for the browsing page is detected, the last displayed page position before the browsing page exits is obtained as the positioning position when returning to the browsing page next time. When a return instruction for the browsing page is detected, the browsing page is positioned to the last displayed page position.
[0068] For example, when a user is browsing a group message page, he needs to exit to handle other matters. The next time he enters the page, he wants to continue browsing the unread messages from the last browsing position. At this time, the page positioning method can be set to position to the last browsing position. When returning to the group message page, he can continue browsing from the message position when he exited.
[0069] In the above embodiment, by positioning the page to the last browsed position, the user's need to continue browsing the content at the last browsed position can be met, without the user having to flip through and search for the last browsed position, thereby improving browsing experience and efficiency.
[0070] In one embodiment, if the page positioning method is to position to the latest time position, when an exit instruction for the browsing page is detected, the positioning position when returning to the browsing page next time is determined to be the latest content position when the browsing page returns, and when a return instruction for the browsing page is detected, the browsing page is positioned to the latest content position.
[0071] For example, when a user is browsing a group message page, he / she may have read all the messages when he / she exits the page. Next time he / she enters the page, he / she may want to start processing from the latest message. In this case, he / she may set the page positioning mode to the latest time position. When he / she returns to the group message page, he / she may locate the message position corresponding to the latest time in the message record.
[0072] In the above embodiment, by locating the page to the latest time position, the user's need to perform corresponding processing based on the latest content of the page can be met, without the user having to flip through and search for the latest content of the page, thereby improving browsing experience and efficiency.
[0073] In one embodiment, when a cancel marking instruction for the marked content to be located is detected, the marking information of the marked content to be located is cleared.
[0074] The cancel mark command is used to cancel the mark made for the content to be located. Specifically, when it is detected that the user long presses the marked content to be located in the browsing page, the cancel mark control is called out, and when it is detected that the user clicks or touches the cancel mark control, it is considered that the cancel mark command for the content to be located is detected. It can be understood that the calling method of the cancel mark control is not limited to the long press operation, but can also be other operations such as click, which is not limited here.
[0075] Take the group message page as an example. Fig.11 As shown, a schematic diagram of a page displaying an unmark control is provided. In this embodiment, message A is a marked content to be located. When message A is long-pressed by the user, an operation menu is triggered to be displayed. The operation menu may include an "unmark" control, and may also include other controls (represented by K1, K2, and K3 in the figure), such as copy, forward, favorite, delete, translate, etc., to implement the relevant functions represented by the control when triggered. When the "unmark" control is clicked or touched by the user, the marking information of the marked content to be located is cleared. For example, message A has been set as a marking point, Fig.11 After the "Unmark" control in is triggered, message A is restored to the unmarked state.
[0076] In one embodiment, when Fig.11 After the user long presses the message A in , the triggered display operation menu may also include a "Cancel all marks" control, such as Fig.12 When the "Cancel All Marks" control is clicked or touched by the user, the marking information of all marked contents to be located is cleared. For example, message A has been set as a marking point. Fig.12 After the "Unmark All" control in is triggered, message A and other marked messages are all restored to the unmarked state.
[0077] In the above embodiment, an interactive operation for cancelling the mark is set for the marked content to be located, which can meet the user's need to cancel the mark and further improve the user experience.
[0078] It should be understood that although Figure 2-3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-3At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0079] like Fig.13 As shown, in one embodiment, a page positioning device 1300 is provided, including: an acquisition module 1310 , a determination module 1320 and a positioning module 1330 .
[0080] The acquisition module 1310 is used to acquire the mark information set for the browsing page, and the mark information includes the page positioning method when the browsing page is exited and then returned.
[0081] The determination module 1320 is used to determine the location information corresponding to the mark information when an exit instruction for the browsing page is detected.
[0082] The positioning module 1330 is used to locate the browsing page according to the positioning information when a return instruction for the browsing page is detected.
[0083] The page positioning device obtains the mark information set for the browsing page, and the mark information includes the page positioning method when returning to the browsing page after exiting the browsing page; when an exit instruction for the browsing page is detected, the positioning information corresponding to the mark information is determined; when a return instruction for the browsing page is detected, the browsing page is positioned according to the positioning information. Thus, the interactive operation between the user and the page is realized, and the user can flexibly set the mark information on the page according to the needs, and when returning to the page, the content position corresponding to the mark information set by the user can be positioned, reducing the tedious operation of the user manually flipping through the pages to find the content, and improving the browsing efficiency.
[0084] In one embodiment, when acquiring the tag information set for the browsing page, the acquisition module 1310 is specifically used to: generate a tag setting interface when a tag instruction for the content to be located in the browsing page is detected; and acquire the tag information set in the tag setting interface.
[0085] In one embodiment, the page positioning method is to position the mark point, and the mark information also includes the mark order of the content to be positioned; when the determination module 1320 detects an exit instruction for the browsing page, when determining the positioning information corresponding to the mark information, it is specifically used for: when the exit instruction for the browsing page is detected, the position of the content to be positioned is obtained as the positioning information corresponding to the mark information; when the positioning module 1330 detects a return instruction for the browsing page, when locating the browsing page according to the positioning information, it is specifically used for: when the return instruction for the browsing page is detected, the browsing page is located according to the position of the content to be positioned and the mark order.
[0086] In one embodiment, when the positioning module 1330 detects a return instruction for a browsing page, it locates the browsing page according to the position of the content to be located and the mark order. Specifically, when the return instruction for the browsing page is detected, the browsing page is located at the position of the content to be located that ranks first in the mark order; when the positioning instruction for the next mark point is detected, the browsing page is located at the position of the content to be located in the next mark order.
[0087] In one embodiment, the page positioning method is to position the last browsing position; when the determination module 1320 detects an exit instruction for the browsing page, when determining the positioning information corresponding to the tag information, it is specifically used for: when the exit instruction for the browsing page is detected, obtaining the last displayed page position before the browsing page exits, as the positioning information corresponding to the tag information; when the positioning module 1330 detects a return instruction for the browsing page, according to the positioning information, when positioning the browsing page, it is specifically used for: when the return instruction for the browsing page is detected, positioning the browsing page to the last displayed page position.
[0088] In one embodiment, the page positioning method is to position to the latest time position; when the determination module 1320 detects an exit instruction for the browsing page, when determining the positioning information corresponding to the tag information, it is specifically used for: when the exit instruction for the browsing page is detected, determining that the positioning information corresponding to the tag information is the latest content position when the browsing page returns; when the positioning module 1330 detects a return instruction for the browsing page, when locating the browsing page according to the positioning information, it is specifically used for: when the return instruction for the browsing page is detected, locating the browsing page to the latest content position.
[0089] In one embodiment, the page locating device 1300 further includes a clearing module, which is used to clear the marking information of the marked content to be located when a cancel marking instruction for the marked content to be located is detected.
[0090] The specific definition of the page positioning device can be found in the definition of the page positioning method above, which will not be repeated here. Each module in the above-mentioned page positioning device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0091] Fig.14 The internal structure diagram of a computer device in one embodiment is shown. The computer device may specifically be Figure 1 The terminal 110 in FIG. Fig.14 As shown, the computer device includes a processor, a memory, a network interface, an input device and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program, which, when executed by the processor, enables the processor to implement a page positioning method. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to execute a page positioning method. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0092] Fig.15 The internal structure diagram of a computer device in one embodiment is shown. The computer device may specifically be Figure 1 The server 120 in FIG. Fig.15 As shown, the computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program, which, when executed by the processor, enables the processor to implement the page positioning method. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to execute the page positioning method.
[0093] Those skilled in the art will understand that Fig.14 or Fig.15 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0094] In one embodiment, the page positioning device provided by the present application can be implemented in the form of a computer program. The computer program can be Fig.14 or Fig.15 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting the page positioning device, such as: Fig.13 The acquisition module, determination module and positioning module shown in the figure. The computer program composed of various program modules enables the processor to execute the steps of the page positioning method of each embodiment of the present application described in this specification.
[0095] For example, Fig.14 or Fig.15 The computer device shown can be Fig.13 The acquisition module in the page positioning device shown executes step S202. The computer device may execute step S204 through the determination module. The computer device may execute step S206 through the positioning module.
[0096] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps: obtaining mark information set for a browsing page, the mark information including a page positioning method when the browsing page is exited and then returned; when an exit instruction for the browsing page is detected, determining positioning information corresponding to the mark information; when a return instruction for the browsing page is detected, locating the browsing page according to the positioning information.
[0097] In one embodiment, the computer program enables the processor to execute the following steps when executing the step of obtaining tag information set for the browsing page: when a tag instruction for the content to be located in the browsing page is detected, generate a tag setting interface; and obtain the tag information set in the tag setting interface.
[0098] In one embodiment, the page positioning method is to position the mark point, and the marking information also includes the marking order of the content to be positioned; the computer program enables the processor to execute the step of determining the positioning information corresponding to the marking information when an exit instruction for the browsing page is detected, and specifically execute the following steps: when the exit instruction for the browsing page is detected, the position of the content to be positioned is obtained as the positioning information corresponding to the marking information; the computer program enables the processor to execute the step of locating the browsing page according to the positioning information when a return instruction for the browsing page is detected, and specifically execute the following steps: when the return instruction for the browsing page is detected, the browsing page is located according to the position of the content to be positioned and the marking order.
[0099] In one embodiment, the computer program enables the processor to execute the steps of locating the browsing page according to the position of the content to be located and the mark order when a return instruction for the browsing page is detected, and specifically executes the following steps: when a return instruction for the browsing page is detected, the browsing page is located at the position of the content to be located that is first in the mark order; when a positioning instruction for the next mark point is detected, the browsing page is located at the position of the content to be located in the next mark order.
[0100] In one embodiment, the page positioning method is to position the page to the last browsing position; the computer program enables the processor to perform the following steps when executing the step of determining the positioning information corresponding to the tag information when an exit instruction for the browsing page is detected: when an exit instruction for the browsing page is detected, the last displayed page position before the browsing page is exited is obtained as the positioning information corresponding to the tag information; the computer program enables the processor to perform the following steps when executing the step of positioning the browsing page according to the positioning information when a return instruction for the browsing page is detected: when a return instruction for the browsing page is detected, the browsing page is positioned to the last displayed page position.
[0101] In one embodiment, the page positioning method is to position to the latest time position; the computer program enables the processor to execute the step of determining the positioning information corresponding to the tag information when an exit instruction for the browsing page is detected, and specifically execute the following steps: when an exit instruction for the browsing page is detected, determine that the positioning information corresponding to the tag information is the latest content position when the browsing page returns; the computer program enables the processor to execute the step of locating the browsing page according to the positioning information when a return instruction for the browsing page is detected, and specifically execute the following steps: when a return instruction for the browsing page is detected, locate the browsing page to the latest content position.
[0102] In one embodiment, the computer program causes the processor to further execute the following step: when a cancel marking instruction for the marked content to be located is detected, clearing the marking information of the marked content to be located.
[0103] In one embodiment, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by a processor, the processor executes the following steps: obtaining mark information set for a browsing page, the mark information including a page positioning method when the browsing page is exited and then returned; when an exit instruction for the browsing page is detected, determining positioning information corresponding to the mark information; when a return instruction for the browsing page is detected, locating the browsing page according to the positioning information.
[0104] In one embodiment, the computer program enables the processor to execute the following steps when executing the step of obtaining tag information set for the browsing page: when a tag instruction for the content to be located in the browsing page is detected, generate a tag setting interface; and obtain the tag information set in the tag setting interface.
[0105] In one embodiment, the page positioning method is to position the mark point, and the marking information also includes the marking order of the content to be positioned; the computer program enables the processor to execute the step of determining the positioning information corresponding to the marking information when an exit instruction for the browsing page is detected, and specifically execute the following steps: when the exit instruction for the browsing page is detected, the position of the content to be positioned is obtained as the positioning information corresponding to the marking information; the computer program enables the processor to execute the step of locating the browsing page according to the positioning information when a return instruction for the browsing page is detected, and specifically execute the following steps: when the return instruction for the browsing page is detected, the browsing page is located according to the position of the content to be positioned and the marking order.
[0106] In one embodiment, the computer program enables the processor to execute the steps of locating the browsing page according to the position of the content to be located and the mark order when a return instruction for the browsing page is detected, and specifically executes the following steps: when a return instruction for the browsing page is detected, the browsing page is located at the position of the content to be located that is first in the mark order; when a positioning instruction for the next mark point is detected, the browsing page is located at the position of the content to be located in the next mark order.
[0107] In one embodiment, the page positioning method is to position the page to the last browsing position; the computer program enables the processor to perform the following steps when executing the step of determining the positioning information corresponding to the tag information when an exit instruction for the browsing page is detected: when an exit instruction for the browsing page is detected, the last displayed page position before the browsing page is exited is obtained as the positioning information corresponding to the tag information; the computer program enables the processor to perform the following steps when executing the step of positioning the browsing page according to the positioning information when a return instruction for the browsing page is detected: when a return instruction for the browsing page is detected, the browsing page is positioned to the last displayed page position.
[0108] In one embodiment, the page positioning method is to position to the latest time position; the computer program enables the processor to execute the step of determining the positioning information corresponding to the tag information when an exit instruction for the browsing page is detected, and specifically execute the following steps: when an exit instruction for the browsing page is detected, determine that the positioning information corresponding to the tag information is the latest content position when the browsing page returns; the computer program enables the processor to execute the step of locating the browsing page according to the positioning information when a return instruction for the browsing page is detected, and specifically execute the following steps: when a return instruction for the browsing page is detected, locate the browsing page to the latest content position.
[0109] In one embodiment, the computer program causes the processor to further execute the following step: when a cancel marking instruction for the marked content to be located is detected, clearing the marking information of the marked content to be located.
[0110] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0111] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0112] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A page positioning method, comprising: When a marking instruction for the content to be located in the browsing page is detected, a marking setting interface is generated; The mark setting page displays optional page positioning methods; the optional page positioning methods include positioning to the marked point position, positioning to the last browsed position, and positioning to the latest time position; According to the page positioning method selected by the user in the tag setting interface, corresponding tag information is obtained, and the tag information includes the page positioning method when the browsing page is exited and then returned; If the selected page positioning method is to position the mark point, when an exit instruction for the browsing page is detected, the positioning information corresponding to the mark information is determined to be the position of the content to be located; the mark information also includes the mark order of the content to be located; the mark order is custom selected in the mark setting page; when a return instruction for the browsing page is detected, the browsing page is positioned to the position of the content to be located that is first in the mark order according to the mark order and the positioning information; when a positioning instruction for the next mark point is detected, the browsing page is positioned to the position of the content to be located in the next mark order; when a positioning instruction for the previous mark point is detected, the browsing page is positioned to the position of the content to be located in the previous mark order.
2. The method according to claim 1, characterized in that The detecting of a marking instruction for the content to be located in the browsing page includes: When a long press on the content to be located in the browsing page is detected, a marking control is called out, and when a click or touch on the marking control is detected, it is determined that a marking instruction for the content to be located is detected.
3. The method according to claim 1, characterized in that The method further comprises: If the selected page positioning method is positioning to the last browsing position, when an exit instruction for the browsing page is detected, the last displayed page position before the browsing page is exited is obtained as the positioning information corresponding to the mark information; When a return instruction for the browsing page is detected, the browsing page is positioned to the last displayed page position.
4. The method according to claim 1, characterized in that: The method further comprises: If the selected page positioning method is positioning to the latest time position, when an exit instruction for the browsing page is detected, the positioning information corresponding to the mark information is determined to be the latest content position when the browsing page returns; When a return instruction for the browsing page is detected, the browsing page is positioned to the latest content position.
5. The method according to claim 1, characterized in that: The method further comprises: When a cancel-marking instruction for the marked content to be located is detected, the marking information of the marked content to be located is cleared.
6. A page positioning device, characterized in that: The device comprises: The acquisition module is used to generate a mark setting interface when a mark instruction for the content to be located in the browsing page is detected; the mark setting page displays optional page positioning methods; the optional page positioning methods include positioning to the marked point position, positioning to the last browsed position, and positioning to the latest time position; according to the page positioning method selected by the user in the mark setting interface, the corresponding mark information is obtained, and the mark information includes the page positioning method for returning after exiting the browsing page; A determination module, for determining, if the selected page positioning method is positioning to a marked point position, that the positioning information corresponding to the marking information is the position of the content to be positioned when an exit instruction for the browsing page is detected; the marking information also includes a marking order of the content to be positioned; the marking order is custom selected in the marking setting page; A positioning module is used to locate the browsing page to the position of the content to be located that ranks first in the marking order according to the marking order and the positioning information when a return instruction for the browsing page is detected; to locate the browsing page to the position of the content to be located in the next marking order when a positioning instruction for the next marking point is detected; and to locate the browsing page to the position of the content to be located in the previous marking order when a positioning instruction for the previous marking point is detected.
7. The device according to claim 6, characterized in that The acquisition module is also used for: When a long press on the content to be located in the browsing page is detected, a marking control is called out, and when a click or touch on the marking control is detected, it is determined that a marking instruction for the content to be located is detected.
8. The device according to claim 6, characterized in that The determining module is also used for: If the selected page positioning method is positioning to the last browsing position, when an exit instruction for the browsing page is detected, the last displayed page position before the browsing page is exited is obtained as the positioning information corresponding to the mark information; The positioning module is also used to: when a return instruction for the browsing page is detected, position the browsing page to the last displayed page position.
9. The device according to claim 6, characterized in that The determination module is further used for: if the selected page positioning mode is positioning to the latest time position, when an exit instruction for the browsing page is detected, determining that the positioning information corresponding to the mark information is the latest content position when the browsing page returns; The positioning module is further used to: when a return instruction for the browsing page is detected, position the browsing page to the latest content position.
10. The device according to claim 6, characterized in that The device also includes a clearing module, which is used to: When a cancel-marking instruction for the marked content to be located is detected, the marking information of the marked content to be located is cleared.
11. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 5.
12. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 5.
