CN105302828B - Page label information display method and device and electronic equipment - Google Patents
Page label information display method and device and electronic equipment Download PDFInfo
- Publication number
- CN105302828B CN105302828B CN201410313068.5A CN201410313068A CN105302828B CN 105302828 B CN105302828 B CN 105302828B CN 201410313068 A CN201410313068 A CN 201410313068A CN 105302828 B CN105302828 B CN 105302828B
- Authority
- CN
- China
- Prior art keywords
- page
- track
- tag information
- target
- browser
- 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
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a method and a device for displaying page tag information and electronic equipment, wherein the method comprises the following steps: determining the number of currently loaded pages of a browser; dividing tracks preset in a browser UI (user interface) into track areas with the number corresponding to the page number according to the page number; establishing a corresponding relation between the track areas and the pages loaded by the browser, and storing page tag information of the pages corresponding to the track areas, wherein one track area corresponds to one page; when the operation of a user on the track is detected, determining a target track area corresponding to the operation position of the operation; displaying a label window at a preset position of the browser, calling target page label information from the stored page label information of the page corresponding to each track area, wherein the target page label information corresponds to the page corresponding to the target track area, and loading the target page label information in the label window. The invention realizes the complete display of the page tag information of the selected page.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for displaying page tag information and electronic equipment.
Background
When a browser loads a plurality of pages, a user often has a requirement of selecting a target page from the loaded pages, so that a page currently displayed by the browser is switched to the target page; currently, the basis for distinguishing the multiple pages loaded by the browser is a page tag (tab).
A page tab is a component in a browser tab bar for displaying page tab information (page tab information may be considered summary information of displayed content of a page corresponding to the page tab), and receiving a click event for opening the corresponding page. Fig. 1 is a schematic structural diagram of a browser, and referring to fig. 1, the browser has a tab bar 10, a page 20, and at least one page tab 11 displayed on the tab bar 10, where the number of the page tabs 11 corresponds to the number of pages loaded by the browser, and one page tab corresponds to one loaded page. After the page tag is clicked by a user, the browser can switch the currently displayed page to correspond to the clicked page tag, and the page tag can display page tag information, so that the user can visually know the summary of the content displayed by the page corresponding to the page tag, and therefore when the browser loads a plurality of webpages, the user can conveniently select and switch a target page (the target page can be a page in which the user is interested) through the page tag information displayed by the page tag; as shown in fig. 1, if the page currently displayed by the browser is a page introducing specific content "XX city style", the corresponding page tag in the tab bar may display page tag information "XX city style" of the page.
The inventor of the invention finds out that: the current display mode of the page tags is to display the page tags corresponding to each loaded page in a tag column, when the level of the page loaded by the browser is deep or the number of pages is large, the tag column will display a plurality of page tags, which causes each page tag to be crowded in the tag column, resulting in a small display area occupied by each page tag in the tag column, and the page tag information cannot be completely displayed, even when the number of the page tags displayed in the tag column exceeds a certain number, the page tags will not display the page tag information any more, which causes the user to be unable to select the target page through the page tag information, and the user needs to open the page loaded by the browser one by one to select and switch the target page. Therefore, in the existing page tag information display mode, when the hierarchy of a page opened by a browser is deep or the number of pages is large, the problem that the page tag information cannot be completely displayed exists, so that the operation of selecting a target page by a user is complicated.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for displaying page tag information, and an electronic device.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a page tag information display method is applied to electronic equipment loaded with a browser, and comprises the following steps:
determining the number of currently loaded pages of a browser;
dividing tracks preset in a browser UI into track areas with the number corresponding to the page number according to the page number;
establishing a corresponding relation between the track areas and the pages loaded by the browser, and storing page tag information of the pages corresponding to the track areas, wherein one track area corresponds to one page;
when the operation of a user on the track is detected, determining a target track area corresponding to the operation position of the operation;
displaying a label window at a preset position of a browser, calling target page label information from stored page label information of pages corresponding to each track area, wherein the target page label information corresponds to the page corresponding to the target track area, and loading the target page label information in the label window.
The embodiment of the invention also provides a page tag information display device, which is applied to electronic equipment loaded with a browser, and the device comprises:
the page number determining module is used for determining the number of the currently loaded pages of the browser;
the area dividing module is used for dividing the tracks preset in the browser UI into track areas with the number corresponding to the page number according to the page number;
the corresponding relation establishing module is used for establishing the corresponding relation between the track areas and the pages loaded by the browser, wherein one track area corresponds to one page;
the storage module is used for storing page tag information of a page corresponding to each track area;
the target track area determining module is used for determining a target track area corresponding to the operation position of the operation when the operation of the track by the user is detected;
the information display module is used for displaying a tag window at a preset position of the browser, calling target page tag information from the stored page tag information of the page corresponding to each track area, wherein the target page tag information corresponds to the page corresponding to the target track area, and loading the target page tag information into the tag window.
The embodiment of the invention also provides electronic equipment which comprises the page tag information display device.
Based on the technical scheme, the page tag information display method provided by the embodiment of the invention can divide the track area of the tracks preset in the UI of the browser according to the number of the pages loaded by the browser, establish the corresponding relation between the track area and the pages loaded by the browser, and store the page tag information of the pages corresponding to the track areas; meanwhile, when a user operates the track and determines the target track area, the embodiment of the invention loads and displays the target page tag information of the page corresponding to the target track area in the tag window, so that the target page tag information has enough display space in the tag window to be displayed, and the complete display of the page tag information of the selected page (the selected page can be regarded as the page corresponding to the target track area) is realized. Therefore, when the page opened by the browser is deep in hierarchy or has more pages, the embodiment of the invention can display a tag window when a user operates a track, and the page tag information of the page corresponding to the target track area corresponding to the operation position of the user is loaded in the tag window, so that the complete display of the page tag information of the selected page is realized by displaying only one tag window at a time and loading and displaying the page tag information of the page to be selected in the tag window, thereby facilitating the user to judge whether the page to be selected is the page in which the user is interested, and enabling the user to more accurately and conveniently select the page in which the user is interested.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic view of a browser configuration;
fig. 2 is a flowchart of a method for displaying page tag information according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of track division according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a correspondence relationship between regions and pages provided in the embodiment of the present invention;
FIG. 5 is a schematic diagram of a display of a tab window according to an embodiment of the present invention;
fig. 6 is another flowchart of a method for displaying page tag information according to an embodiment of the present invention;
FIG. 7 is a flowchart of a page tag information display method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating display of tag information of a target page controlled by a slider according to an embodiment of the present invention;
fig. 9 is a block diagram of a structure of a page tag information display apparatus according to an embodiment of the present invention;
FIG. 10 is a block diagram of a memory module according to an embodiment of the present invention;
fig. 11 is a block diagram of an information display module according to an embodiment of the present invention;
fig. 12 is a block diagram of a correspondence relationship establishing module according to an embodiment of the present invention;
fig. 13 is a block diagram of a target track area determination module according to an embodiment of the present invention;
fig. 14 is another block diagram of the face tag information display apparatus according to the embodiment of the present invention;
fig. 15 is a block diagram showing still another structure of the face tag information display apparatus according to the embodiment of the present invention;
fig. 16 is another block diagram of a target track area determination module according to an embodiment of the present invention;
fig. 17 is a block diagram of still another structure of the page tag information display apparatus according to the embodiment of the present invention;
fig. 18 is a block diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 2 is a flowchart of a method for displaying page tag information according to an embodiment of the present invention, where the method is applicable to an electronic device loaded with a browser, such as a smart phone, a notebook computer, and the like, and referring to fig. 2, the method may include:
s100, determining the number of currently loaded pages of a browser;
optionally, in the embodiment of the present invention, a counter may be set, the count of the counter is increased by 1 each time a page is loaded by the browser, the count of the counter is decreased by 1 each time the browser closes a page, and the number of pages currently loaded by the browser may be determined according to the count value of the counter. Obviously, the number of the currently loaded pages of the browser can also be determined in other manners in the embodiment of the present invention, for example, by calling a parameter related to the number of the currently loaded pages in the browser file, so that the number of the currently loaded pages of the browser is determined through the parameter.
Step S110, dividing the tracks preset in the UI of the browser into track areas with the number corresponding to the number of the pages according to the number of the pages;
optionally, in the embodiment of the present invention, a UI component of a track may be set in advance in a browser UI, so that when the browser is opened, the track may be displayed in a predetermined display area of the browser; the track is to perform area division according to the number of pages loaded by the browser, the number of the divided track areas is consistent with the number of the pages loaded by the browser, fig. 3 shows a track division schematic diagram, which can be referred to, where n is the number of the pages loaded by the browser. Alternatively, the track UI component may be a sliding track UI component, and correspondingly, the track displayed in the predetermined display area of the browser may be a sliding track, and the positioning position of the sliding track may be determined according to a sliding operation of the user (for example, an operation of the user sliding a mouse wheel, an operation of the user sliding the sliding track on a touch screen, or the like).
Alternatively, the track may be located anywhere in the browser, preferably at the browser's toolbar or taskbar location.
Optionally, in the embodiment of the present invention, the transparency of the track may also be set, so that the display transparency of the track in the browser is adjustable, thereby implementing semi-transparent and fully-transparent display of the track.
Alternatively, the track component may be a progress bar component or a slider component, etc.
Step S120, establishing a corresponding relation between the track areas and the pages loaded by the browser, and storing page tag information of the pages corresponding to the track areas, wherein one track area corresponds to one page;
optionally, after dividing the track into track regions corresponding to the number of the pages, the embodiment of the present invention may establish a corresponding relationship between each track region and the corresponding page, so that one track region corresponds to one page; optionally, in the embodiment of the present invention, the corresponding relationship between the track areas and the pages may be established according to a predefined corresponding relationship between the arrangement order of the track areas on the track and the sequence of page loading. If the arrangement mode of the track areas on the tracks is left-right arrangement, the arrangement order from left to right (or from right to left) can be sequentially increased, and the arrangement order corresponds to the sequence of page loading, so that the page loaded first corresponds to the track area with the lowest arrangement order, and the page loaded later corresponds to the sequentially increased track area; fig. 4 is a schematic diagram illustrating a correspondence relationship between a track area and a page, which can be referred to, where page 1 is a page loaded first by a browser, page n is a page loaded last by the browser, and so on. Obviously, when the arrangement of the track areas on the tracks is vertical, the corresponding relationship between the track areas and the pages can be established in the same manner as above, and reference can be made thereto.
Step S130, when the operation of the user on the track is detected, determining a target track area corresponding to the operation position of the operation;
optionally, in the embodiment of the present invention, a slider UI component may be preset on the track, and when a user slides the slider (the user may perform a sliding operation through a touch screen or may perform a sliding operation through an input device such as a mouse), the embodiment of the present invention may detect a location position of the slider on the track (the location is an operation location of the user on the track), so as to determine a track area corresponding to the location position, where the track area is a target track area. Obviously, in the embodiment of the present invention, a slider UI component may not be provided, and a user may directly perform a click operation on the track, and determine that a track area corresponding to a click position is a target track area by detecting the click position of the user on the track.
Optionally, if a slider is disposed on the track, and when it is detected that the track area corresponding to the click position of the click operation does not correspond to the position of the slider when the click operation of the user on the track is performed, the embodiment of the present invention may adjust the position of the slider to correspond to the track area corresponding to the click position of the click operation. Specifically, the embodiment of the present invention may determine the track area corresponding to the click position of the click operation, and then adjust the position of the slider to the position of the track area corresponding to the click position of the click operation.
Step S140, displaying a label window at a preset position of the browser, calling target page label information from the stored page label information of the page corresponding to each track area, wherein the target page label information corresponds to the page corresponding to the target track area, and loading the target page label information into the label window.
Optionally, in the embodiment of the present invention, when a user operates a track, a tab window is displayed at a predetermined position of a browser, and page tab information of a page corresponding to a target track area corresponding to an operation position operated by the user is loaded in the tab window, so that the page tab information can be completely displayed in the displayed tab window, and fig. 5 shows a display diagram of the tab window provided in the embodiment of the present invention, which can be referred to.
According to the page tag information display method provided by the embodiment of the invention, the track area division can be carried out on the tracks preset in the UI of the browser according to the number of pages loaded by the browser, the corresponding relation between the track area and the pages loaded by the browser is established, and the page tag information of the pages corresponding to each track area is stored; meanwhile, when a user operates the track and determines the target track area, the embodiment of the invention loads and displays the target page tag information of the page corresponding to the target track area in the tag window, so that the target page tag information has enough display space in the tag window to be displayed, and the complete display of the page tag information of the selected page (the selected page can be regarded as the page corresponding to the target track area) is realized. Therefore, when the page opened by the browser is deep in hierarchy or has more pages, the embodiment of the invention can display a tag window when a user operates a track, and the page tag information of the page corresponding to the target track area corresponding to the operation position of the user is loaded in the tag window, so that the complete display of the page tag information of the selected page is realized by displaying only one tag window at a time and loading and displaying the page tag information of the page to be selected in the tag window, thereby facilitating the user to judge whether the page to be selected is the page in which the user is interested, and enabling the user to more accurately and conveniently select the page in which the user is interested.
Optionally, after the called target page tag information is loaded in the tag window, the embodiment of the present invention may detect whether the tag window is clicked by a user, specifically, may detect a click operation of the user, determine whether a position of the click operation corresponds to a display position of the tag window, if so, determine that the tag window is clicked by the user, if not, determine that the tag window is not clicked by the user, and under a condition that the tag window is clicked by the user, the embodiment of the present invention may switch a page currently displayed by the browser to be a page corresponding to the target page tag information loaded and displayed by the tag window.
Optionally, an automatic switching mechanism of the page may also be set in the embodiment of the present invention, and under the automatic switching mechanism, after the tag information of the target page is loaded in the tag window, the embodiment of the present invention may switch the page currently displayed by the browser to the page corresponding to the tag information of the target page.
Optionally, after the corresponding relationship between the area and the page loaded by the browser is established, in the embodiment of the present invention, a queue (or an array) may be set to store the page tag information of the page corresponding to each area, and an index is generated at the same time, and the index is used to record the corresponding relationship between the storage position of the page tag information in the queue (or the array) and the corresponding page. After the operation of the user on the track is detected, a tag window can be displayed at a preset position of the browser, meanwhile, a corresponding target track area is determined through the operation position, so that a page corresponding to the target track area is determined, the storage position of the page tag information of the corresponding page in a queue (or an array) is determined through an index, the page tag information (namely target page tag information) of the page corresponding to the target track area is called from the queue (or the array), and the called page tag information is loaded in the tag window. Correspondingly, fig. 6 shows another flowchart of a method for displaying page tag information according to an embodiment of the present invention, and referring to fig. 6, the method may include:
s200, determining the number of currently loaded pages of the browser;
step S210, dividing the tracks preset in the UI of the browser into track areas with the number corresponding to the number of the pages according to the number of the pages;
step S220, establishing a corresponding relation between the track areas and the pages loaded by the browser, wherein one track area corresponds to one page;
step S230, storing page tag information of pages corresponding to each track area in a preset queue, and recording the corresponding relation between the storage positions of the page tags and the corresponding pages through indexes;
step S240, when the operation of the user on the track is detected, determining a target track area corresponding to the operation position of the operation;
step S250, displaying a label window at a preset position of the browser, determining the storage position of the target page label information of the page corresponding to the target track area through the index, calling the target page label information from the storage position, and loading the target page label information in the label window.
Optionally, in the embodiment of the present invention, the track may be a sliding track, and a user may determine the target track area through a slider disposed on the sliding track; correspondingly, fig. 7 shows a further flowchart of a page tag information display method provided by the embodiment of the present invention, and referring to fig. 7, the method may include:
s300, determining the number of currently loaded pages of the browser;
step S310, dividing a sliding track preset in a browser UI into track areas with the number corresponding to the number of the pages according to the number of the pages;
step S320, establishing a corresponding relation between the track areas and the pages loaded by the browser, and storing page tag information of the pages corresponding to the track areas, wherein one track area corresponds to one page;
step S330, when the sliding operation of a user on the sliding block arranged on the track is detected, determining a target track area, wherein the target track area corresponds to the positioning position of the sliding block adjusted according to the sliding operation;
step S340, displaying a label window at a preset position of the browser, calling target page label information from the stored page label information of the page corresponding to each track area, wherein the target page label information corresponds to the page corresponding to the target track area, and loading the target page label information into the label window.
Correspondingly, fig. 8 shows a schematic display diagram of the target page tag information controlled by the slider, which can be referred to.
According to the page tag information display method provided by the embodiment of the invention, when the user operates the track to determine the target track area, the complete display of the page tag information of the selected page is realized by displaying only one tag window at a time and loading and displaying the page tag information of the selected page in the tag window, so that the user can conveniently judge whether the selected page is the page which is interested by the user, and the user can more accurately and conveniently select the page which is interested by the user.
In the following, the page tag information display apparatus provided in the embodiment of the present invention is introduced, and the page tag information display apparatus described below and the page tag information display method described above may be referred to in a corresponding manner.
Fig. 9 is a block diagram of a structure of a page tag information display apparatus according to an embodiment of the present invention, where the page tag information display apparatus is applicable to an electronic device loaded with a browser, and referring to fig. 9, the page tag information display apparatus may include:
a page number determining module 100, configured to determine the number of currently loaded pages of the browser;
the area dividing module 200 is configured to divide the tracks preset in the browser UI into track areas of which the number corresponds to the number of the pages according to the number of the pages;
a corresponding relationship establishing module 300, configured to establish a corresponding relationship between the track areas and the pages loaded by the browser, where one track area corresponds to one page;
the storage module 400 is configured to store page tag information of a page corresponding to each track area;
a target track area determination module 500, configured to determine, when an operation on the track by a user is detected, a target track area corresponding to an operation position of the operation;
the information display module 600 is configured to display a tab window at a predetermined position of a browser, retrieve target page tab information from stored page tab information of pages corresponding to each track area, where the target page tab information corresponds to a page corresponding to the target track area, and load the target page tab information in the tab window.
Alternatively, fig. 10 shows an alternative structure of the memory module 400 provided in the embodiment of the present invention, and referring to fig. 10, the memory module 400 may include:
a storage execution unit 410, configured to store the page tag information of the page corresponding to each track area in a preset queue or array;
the index generating unit 411 is configured to generate an index, where the index records a correspondence between a storage location of the page tag information in the queue or the array and a corresponding page.
Alternatively, fig. 11 shows an alternative structure of the information display module 600, and referring to fig. 11, the information display module 600 may include:
a storage location determining unit 610, configured to determine, through the index, a storage location of the target page tag information in the queue or array;
a retrieving unit 611, configured to retrieve the target page tag information from the storage location.
Optionally, fig. 12 shows an optional structure of the correspondence relationship establishing module 300 according to an embodiment of the present invention, and referring to fig. 12, the correspondence relationship establishing module 300 may include:
the relationship establishing and executing unit 310 is configured to establish a correspondence between the track areas and the pages according to a predefined correspondence between an arrangement order of the track areas on the track and a page loading sequence, where one track area corresponds to one page.
Alternatively, fig. 13 shows an alternative structure of the target track area determining module 500 provided in the embodiment of the present invention, and referring to fig. 13, the target track area determining module 500 may include:
a positioning position determination unit 510 configured to determine a positioning position of a slider on a track when a sliding operation of the slider on the track by a user is detected;
the first target determining unit 511 is configured to determine that the track area corresponding to the positioning location is a target track area.
Optionally, fig. 14 shows another structural block diagram of the page tag information display apparatus according to the embodiment of the present invention, and in combination with fig. 9 and 14, the page tag information display apparatus may further include:
the first switching module 700 is configured to, after the target page tag information is loaded in the tag window, switch a currently displayed page of the browser to a page corresponding to the target page tag information if a click operation of a user on the tag window is detected.
Optionally, fig. 15 shows another structural block diagram of the page tag information display apparatus according to the embodiment of the present invention, and in combination with fig. 9 and fig. 15, the page tag information display apparatus may further include:
a second switching module 800, configured to switch a currently displayed page of the browser to a page corresponding to the target page tag information after the target page tag information is loaded in the tag window.
Alternatively, fig. 16 shows another alternative structure of the target track area determining module 500 provided in the embodiment of the present invention, and referring to fig. 16, the target track area determining module 500 may include:
a click position determining unit 520, configured to determine a click position of a click operation when the click operation of the user on the track is detected;
a second target determining unit 521, configured to determine that the track area corresponding to the click position is a target track area.
On the basis of the target track area determination module 500 shown in fig. 16, fig. 17 shows a further structural block diagram of the page tag information display apparatus provided in the embodiment of the present invention, and in combination with fig. 9 and fig. 17, the page tag information display apparatus may further include:
an adjusting module 900, configured to, after the click operation of the track by the user is detected, if a position of a slider disposed on the track does not correspond to a track area corresponding to a click position of the click operation, adjust a position of the slider to correspond to the track area corresponding to the click position.
The page tag information display device provided by the embodiment of the invention realizes the complete display of the page tag information of the selected page, thereby facilitating the judgment of the user whether the selected page is the page which is interested by the user or not, and enabling the user to more accurately and conveniently select the page which is interested by the user.
The embodiment of the present invention further provides an electronic device loaded with a browser, where the electronic device may include the above-mentioned page tag information display apparatus, and the description of the page tag information display apparatus may refer to the description of the above corresponding part, which is not described herein again; optionally, the electronic device may be a smart phone, a notebook computer, or the like.
In the following description of the hardware structure of the electronic device according to the embodiment of the present invention, the following description may refer to the corresponding parts in the description related to the page tag information display method. Fig. 18 is a block diagram of a hardware structure of an electronic device according to an embodiment of the present invention, and referring to fig. 18, the electronic device may include: a processor 1, a communication interface 2, a memory 3 and a communication bus 4;
wherein, the processor 1, the communication interface 2 and the memory 3 complete the communication with each other through the communication bus 4;
optionally, the communication interface 2 may be an interface of a communication module, such as an interface of a GSM module;
a processor 1 for executing a program;
a memory 3 for storing a program;
the program may include program code including computer operating instructions.
The processor 1 may be a central processing unit CPU or an application specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention.
The memory 3 may comprise a high-speed RAM memory, and may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory.
Among them, the procedure can be specifically used for:
determining the number of currently loaded pages of a browser;
dividing tracks preset in a browser UI into track areas with the number corresponding to the page number according to the page number;
establishing a corresponding relation between the track areas and the pages loaded by the browser, and storing page tag information of the pages corresponding to the track areas, wherein one track area corresponds to one page;
when the operation of a user on the track is detected, determining a target track area corresponding to the operation position of the operation;
displaying a label window at a preset position of a browser, calling target page label information from stored page label information of pages corresponding to each track area, wherein the target page label information corresponds to the page corresponding to the target track area, and loading the target page label information in the label window.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (16)
1. A page tag information display method is applied to an electronic device loaded with a browser, and the method comprises the following steps:
determining the number of currently loaded pages of a browser;
dividing tracks preset in a browser UI into track areas with the number corresponding to the page number according to the page number, wherein the tracks can be arranged at any position in the browser;
establishing a corresponding relation between the track areas and the pages according to a corresponding relation between the pre-defined arrangement order of the track areas on the tracks and the loading sequence of the pages, and storing page tag information of the pages corresponding to the track areas, wherein one track area corresponds to one page;
when the operation of a user on the track is detected, determining a target track area corresponding to the operation position of the operation;
displaying a label window at a preset position of a browser, calling target page label information from stored page label information of pages corresponding to each track area, wherein the target page label information corresponds to the page corresponding to the target track area, and loading and completely displaying the target page label information in the label window.
2. The method for displaying page tag information according to claim 1, wherein the storing the page tag information of the page corresponding to each track area comprises:
storing the page tag information of the page corresponding to each track area in a preset queue or array, and generating an index, wherein the index records the corresponding relation between the storage position of the page tag information in the queue or array and the corresponding page.
3. The method for displaying page tag information according to claim 2, wherein the retrieving of the target page tag information from the stored page tag information of the page corresponding to each region includes:
determining the storage position of the target page tag information in the queue or array through the index;
and calling the target page tag information from the storage position.
4. The method of displaying page tag information according to claim 1, wherein said determining a target track area comprises:
when the sliding operation of a user on a sliding block arranged on the track is detected, determining the positioning position of the sliding block on the track;
and determining the track area corresponding to the positioning position as a target track area.
5. The method of displaying page tag information of claim 1, further comprising:
after the target page tag information is loaded in the tag window, if the clicking operation of a user on the tag window is detected, switching a page currently displayed by a browser to a page corresponding to the target page tag information;
or after the target page tag information is loaded in the tag window, switching the currently displayed page of the browser into the page corresponding to the target page tag information.
6. The method of displaying page tag information according to claim 1, wherein said determining a target track area comprises:
when the clicking operation of a user on the track is detected, determining the clicking position of the clicking operation;
and determining the track area corresponding to the click position as a target track area.
7. The method of displaying page tag information of claim 6, further comprising:
after the clicking operation of the user on the track is detected, if the position of a slider arranged on the track does not correspond to the track area corresponding to the clicking position of the clicking operation, the position of the slider is adjusted to correspond to the track area corresponding to the clicking position.
8. A page tag information display apparatus applied to an electronic device loaded with a browser, the apparatus comprising:
the page number determining module is used for determining the number of the currently loaded pages of the browser;
the area dividing module is used for dividing the tracks preset in the browser UI into track areas with the number corresponding to the number of the pages according to the number of the pages, and the tracks can be arranged at any position in the browser;
the system comprises a relation establishing execution unit, a page loading execution unit and a display unit, wherein the relation establishing execution unit is used for establishing the corresponding relation between the track areas and the pages according to the corresponding relation between the arrangement sequence of the track areas on the track and the page loading sequence defined in advance, and one track area corresponds to one page;
the storage module is used for storing page tag information of a page corresponding to each track area;
the target track area determining module is used for determining a target track area corresponding to the operation position of the operation when the operation of the track by the user is detected;
the information display module is used for displaying a label window at a preset position of the browser, calling target page label information from the stored page label information of the page corresponding to each track area, wherein the target page label information corresponds to the page corresponding to the target track area, and loading and completely displaying the target page label information in the label window.
9. The page tag information display device of claim 8, wherein the storage module comprises:
the storage execution unit is used for storing the page tag information of the page corresponding to each track area in a preset queue or array;
and the index generating unit is used for generating an index, and the index records the corresponding relation between the storage position of the page tag information in the queue or the array and the corresponding page.
10. The page tag information display device of claim 9, wherein the information display module comprises:
the storage position determining unit is used for determining the storage position of the target page tag information in the queue or the array through the index;
and the calling unit is used for calling the target page tag information from the storage position.
11. The page tag information display apparatus of claim 8, wherein the target track area determination module comprises:
a positioning position determination unit configured to determine a positioning position of a slider on a track when a sliding operation of the slider on the track by a user is detected;
and the first target determining unit is used for determining the track area corresponding to the positioning position as a target track area.
12. The page tag information display apparatus of claim 8, wherein the apparatus further comprises:
the first switching module is used for switching a currently displayed page of the browser to a page corresponding to the tag information of the target page if the clicking operation of a user on the tag window is detected after the tag information of the target page is loaded in the tag window;
or the second switching module is used for switching the current page displayed by the browser into the page corresponding to the target page tag information after the target page tag information is loaded in the tag window.
13. The page tag information display apparatus of claim 8, wherein the target track area determination module comprises:
the click position determining unit is used for determining the click position of the click operation when the click operation of the user on the track is detected;
the second target determining unit is used for determining the track area corresponding to the click position as a target track area;
the device further comprises:
and the adjusting module is used for adjusting the position of the slider to correspond to the track area corresponding to the click position if the position of the slider arranged on the track does not correspond to the track area corresponding to the click position of the click operation after the click operation of the track by the user is detected.
14. An electronic device loaded with a browser, characterized by comprising the page tag information display apparatus according to any one of claims 8 to 13.
15. A computer-readable storage medium, characterized in that a program is stored in the storage medium; the program, when executed, implements a page tag information display method as claimed in any one of claims 1 to 7.
16. A data processing apparatus, characterized by comprising: a processor and a memory; wherein the processor is configured to execute a computer program stored in the memory; the memory is used for storing a computer program for executing the page tag information display method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410313068.5A CN105302828B (en) | 2014-07-02 | 2014-07-02 | Page label information display method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410313068.5A CN105302828B (en) | 2014-07-02 | 2014-07-02 | Page label information display method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105302828A CN105302828A (en) | 2016-02-03 |
CN105302828B true CN105302828B (en) | 2020-09-29 |
Family
ID=55200103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410313068.5A Active CN105302828B (en) | 2014-07-02 | 2014-07-02 | Page label information display method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105302828B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109740098B (en) * | 2018-12-29 | 2022-01-11 | 深圳点猫科技有限公司 | Application processing method based on multi-page window and electronic equipment |
CN110276029A (en) * | 2019-05-20 | 2019-09-24 | 中国平安财产保险股份有限公司 | Tab page switching method, electronic device and storage medium |
CN113157169A (en) * | 2020-01-22 | 2021-07-23 | 阿里巴巴集团控股有限公司 | Interactive method and device for interactive media content and electronic equipment |
CN113296659A (en) * | 2020-03-27 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Operation processing method, operation processing device and electronic equipment |
CN111460347B (en) * | 2020-03-31 | 2023-03-24 | Oppo广东移动通信有限公司 | Page browsing control method and device and computer readable storage medium |
CN112307518B (en) * | 2020-10-16 | 2024-06-11 | 神州融安科技(北京)有限公司 | Signature information processing method, signature information display method, signature information processing device, signature information display device, electronic equipment and storage medium |
CN112307375A (en) * | 2020-11-09 | 2021-02-02 | 北京沃东天骏信息技术有限公司 | Page display method and device, electronic equipment and computer readable medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102831155A (en) * | 2012-06-29 | 2012-12-19 | 北京奇虎科技有限公司 | Method and device for displaying micro image of webpage tag |
CN103412923A (en) * | 2013-08-12 | 2013-11-27 | 网际傲游(北京)科技有限公司 | Web browser state switching method and web browser |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6590594B2 (en) * | 1999-03-25 | 2003-07-08 | International Business Machines Corporation | Window scroll-bar |
US8266524B2 (en) * | 2008-02-25 | 2012-09-11 | Microsoft Corporation | Editing a document using a transitory editing surface |
US8732613B2 (en) * | 2012-09-06 | 2014-05-20 | Google Inc. | Dynamic user interface for navigating among GUI elements |
-
2014
- 2014-07-02 CN CN201410313068.5A patent/CN105302828B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102831155A (en) * | 2012-06-29 | 2012-12-19 | 北京奇虎科技有限公司 | Method and device for displaying micro image of webpage tag |
CN103412923A (en) * | 2013-08-12 | 2013-11-27 | 网际傲游(北京)科技有限公司 | Web browser state switching method and web browser |
Also Published As
Publication number | Publication date |
---|---|
CN105302828A (en) | 2016-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105302828B (en) | Page label information display method and device and electronic equipment | |
US9058105B2 (en) | Automated adjustment of input configuration | |
US7454702B2 (en) | Tool for selecting ink and other objects in an electronic document | |
CN104238897B (en) | A kind of menu item display methods and device | |
US9665471B1 (en) | Program code interface for providing program code and corresponding results of evaluating the program code | |
US20170031555A1 (en) | Display Processing Method and Display Processing Device | |
EP3736675A1 (en) | Method for performing operation on touchscreen and terminal | |
WO2016138510A1 (en) | Contextual zoom | |
CN109740041B (en) | Webpage crawling method and device, storage medium and computer equipment | |
CN106201177A (en) | A kind of operation execution method and mobile terminal | |
US20150309690A1 (en) | Method and system for searching information records | |
CN106293328A (en) | Icon display method and device | |
US20160070467A1 (en) | Electronic device and method for displaying virtual keyboard | |
CN108008891A (en) | A kind of control method and device of navigation bar, terminal, readable storage medium storing program for executing | |
CN111143731B (en) | Display method and device for webpage interface zooming and terminal equipment | |
US20160154545A1 (en) | Electronic device and method for managing and displaying application icons | |
US20170139584A1 (en) | User account switching interface | |
US7995063B2 (en) | Figure rendering apparatus and figure rendering method | |
CN106126662A (en) | A kind of electronic book displaying method and mobile terminal | |
US9880991B2 (en) | Transposing table portions based on user selections | |
CN107656746A (en) | A kind of method and mobile terminal of program upgrading | |
CN110647268B (en) | Control method and control device for display window in game | |
CN110515618A (en) | Page info typing optimization method, equipment, storage medium and device | |
CN104657078A (en) | Terminal | |
EP3210101B1 (en) | Hit-test to determine enablement of direct manipulations in response to user actions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |