CN105955597A - Method and device for displaying information - Google Patents
Method and device for displaying information Download PDFInfo
- Publication number
- CN105955597A CN105955597A CN201610255221.2A CN201610255221A CN105955597A CN 105955597 A CN105955597 A CN 105955597A CN 201610255221 A CN201610255221 A CN 201610255221A CN 105955597 A CN105955597 A CN 105955597A
- Authority
- CN
- China
- Prior art keywords
- page
- information
- height
- item
- popular
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for displaying information, and belongs to the technical field of terminals. The method comprises: sending a page loading request to a server, to obtain page contents of the page; according to the page contents of the page, determining at least a hot information item; obtaining page height percentage of each hot information item in the at least a hot information item, the page height percentage meaning ratio of the height of each hot information item relative to the top end of the page and page height of the page; and according to the page height percentage, displaying the preset mark of each hot information item on the corresponding position of a scroll box of the page. The method and the device can improve information amount displayed in the page, so as to improve efficiency of a user to obtain information, so that the user can determine the specific position of each hot information item in the page according to the preset marks, and the specific position of the hot information can be determined without dragging a scroll bar to check the page information onthe corresponding position.
Description
Technical field
The present invention relates to field of terminal technology, particularly to a kind of method for information display and device.
Background technology
Along with the development of network technology, user can carry out information browse by network, but, due to
The network information gets more and more, and user is often difficult to be quickly found out popular information, therefore terminal in bulk information
During the display page, different information can be differently shown, enable a user to from a large amount of letters
Breath is quickly found out popular information.
At present, method for information display can be: for arbitrary page comprising multiple item of information, terminal is at wash with watercolours
During contaminating this page, can be different according to temperatures such as pageviews, for common temperature information and popular letter
Breath is differently shown, and the predeterminated position at each popular item of information renders preset icon, such as, in hot topic
It is the icon of hot news that the beginning location of headline or end position render this news of expression, and this icon can
Think the icon of the picture format of flame profile, it is also possible to for comprising the icon of the text formatting of " hot " word,
Enable a user to according to this preset icon, be quickly found out popular information.
During realizing the present invention, inventor finds that prior art at least there is problems in that
When the information in the page is more, it is impossible to show the full detail of a page on limited terminal screen
Time, need according to user the dragging of scroll bar on the page, the information of display page correspondence position;And at this
In the case of Zhong, by above-mentioned method for information display, can only be according to the part of this page of position display of scroll bar
Popular information in the page, and cannot in terminal current interface shows this page whole popular information concrete
Position, quantity of information is low, Information locating weak effect.
Summary of the invention
In order to solve problem of the prior art, embodiments provide a kind of method for information display and device.
Described technical scheme is as follows:
On the one hand, it is provided that a kind of method for information display, the method includes:
Page load request is sent, to obtain the content of pages of the page to server;
According to the content of pages of this page, determine at least one popular item of information;
Obtain the page height percentage ratio of each popular item of information, this page in this at least one popular item of information
Height percent refers to the page height of this each popular item of information height relative to page top and this page
Ratio;
According to this page height percentage ratio, the scroll box relevant position of this page shows this each popular letter
The default labelling of breath item.
In the first possible implementation of a first aspect of the present invention, obtain this at least one popular information
In Xiang, the page height percentage ratio of each popular item of information includes:
According to this content of pages, determine the height of each item of information included in this page, by this page
The height sum of all items of information comprised is retrieved as the page height of this page;
Arbitrary popular item of information at least one popular item of information for this, by this hot topic item of information at this page
The height sum of all items of information between position and this page top in face, is retrieved as this hot topic item of information
Height relative to this page top;
Page height according to this page and this hot topic item of information, relative to the height on this page top, obtain and are somebody's turn to do
The page height percentage ratio of popular item of information.
In the possible implementation of the second of a first aspect of the present invention, according to this page height percentage ratio,
After the scroll box relevant position of this page shows the default labelling of this each popular item of information, the method
Also include:
When the trigger action presetting labelling to first being detected, wrap in terminal current interface shows this page
First the popular item of information place partial page that labelling is corresponding is preset containing this.
In the third possible implementation of a first aspect of the present invention, presetting of this each popular item of information
Labelling also includes crucial words and the chained address of corresponding popular item of information, correspondingly, according to this page height
Percentage ratio, after the scroll box relevant position of this page shows the default labelling of this each popular item of information,
The method also includes:
When the trigger action presetting the chained address included by labelling to second being detected, jump to this second
Preset the popular information page that labelling is corresponding.
In the 4th kind of possible implementation of a first aspect of the present invention, this page also includes hide Options,
Correspondingly, according to this page height percentage ratio, the scroll box relevant position of this page shows this each heat
After the default labelling of door item of information, the method also includes:
When detecting this trigger action hidden Options, hide the default labelling of this each popular information.
On the other hand, it is provided that a kind of information display device, this device includes:
Sending module, for sending page load request to server, to obtain the content of pages of the page;
Determine module, for the content of pages according to this page, determine at least one popular item of information;
Acquisition module, for obtaining the page height of each popular item of information in this at least one popular item of information
Percentage ratio, this page height percentage ratio refers to that this each popular item of information relative to the height on page top and is somebody's turn to do
The ratio of the page height of the page;
Display module, for according to this page height percentage ratio, aobvious on the scroll box relevant position of this page
Show the default labelling of this each popular item of information.
In the first possible implementation of a second aspect of the present invention, this acquisition module is used for:
According to this content of pages, determine the height of each item of information included in this page, by this page
The height sum of all items of information comprised is retrieved as the page height of this page;
Arbitrary popular item of information at least one popular item of information for this, by this hot topic item of information at this page
The height sum of all items of information between position and this page top in face, is retrieved as this hot topic item of information
Height relative to this page top;
Page height according to this page and this hot topic item of information, relative to the height on this page top, obtain and are somebody's turn to do
The page height percentage ratio of popular item of information.
In the possible implementation of the second of a second aspect of the present invention, this display module is additionally operable to:
When the trigger action presetting labelling to first being detected, wrap in terminal current interface shows this page
First the popular item of information place partial page that labelling is corresponding is preset containing this.
In the third possible implementation of a second aspect of the present invention, presetting of this each popular item of information
Labelling also includes crucial words and the chained address of corresponding popular item of information, and correspondingly, this device also includes:
Page jump module, for when the triggering behaviour presetting the chained address included by labelling to second being detected
When making, jump to this and second preset the popular information page that labelling is corresponding.
In the 4th kind of possible implementation of a second aspect of the present invention, this page also includes hide Options,
Correspondingly, this device also includes:
Hide module, for when detecting this trigger action hidden Options, hide this each popular letter
The default labelling of breath.
The technical scheme that the embodiment of the present invention provides has the benefit that
Page height hundred by popular item of information each at least one popular item of information determined by acquisition
Proportion by subtraction, shows the default labelling of each popular item of information, for finger in the scroll box relevant position of this page
Show each popular item of information particular location in this page, improve the quantity of information that the page shows, and then improve
User obtains the efficiency of information so that according to this default labelling, user can determine that each popular item of information exists
Particular location in this page, and without checking that the page info of relevant position is to determine by dragging scroll bar
The particular location of popular information.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method for information display flow chart that the embodiment of the present invention provides;
Fig. 2 A is a kind of method for information display flow chart that the embodiment of the present invention provides;
Fig. 2 B is a kind of page display schematic diagram that the embodiment of the present invention provides;
Fig. 3 is a kind of information display device block diagram that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of terminal 400 that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Embodiment is described in further detail.
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches
Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.
Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the present invention
Formula.On the contrary, they only with describe in detail in appended claims, the present invention some in terms of mutually one
The example of the apparatus and method caused.
Fig. 1 is a kind of method for information display flow chart that the embodiment of the present invention provides, as it is shown in figure 1, include
Following steps:
101, page load request is sent to server, to obtain the content of pages of the page.
102, according to the content of pages of this page, at least one popular item of information is determined.
103, the page height percentage ratio of each popular item of information in this at least one popular item of information is obtained, should
Page height percentage ratio refers to the page of this each popular item of information height relative to page top and this page
The ratio of height.
104, according to this page height percentage ratio, the scroll box relevant position of this page shows this each heat
The default labelling of door item of information.
The method that the embodiment of the present invention provides, by each at least one popular item of information determined by acquisition
The page height percentage ratio of popular item of information, shows each popular information in the scroll box relevant position of this page
The default labelling of item, for each popular item of information particular location in this page of instruction, improves the page
The quantity of information of display, and then improve user and obtain the efficiency of information so that user can according to this default labelling,
Determine each popular item of information particular location in this page, and without being checked accordingly by dragging scroll bar
The page info of position is to determine the particular location of popular information.
In the first possible implementation of the present invention, obtain each heat in this at least one popular item of information
The page height percentage ratio of door item of information includes:
According to this content of pages, determine the height of each item of information included in this page, by this page
The height sum of all items of information comprised is retrieved as the page height of this page;
Arbitrary popular item of information at least one popular item of information for this, by this hot topic item of information at this page
The height sum of all items of information between position and this page top in face, is retrieved as this hot topic item of information
Height relative to this page top;
Page height according to this page and this hot topic item of information, relative to the height on this page top, obtain and are somebody's turn to do
The page height percentage ratio of popular item of information.
In the possible implementation of the second of the present invention, according to this page height percentage ratio, at this page
After showing the default labelling of this each popular item of information on scroll box relevant position, the method also includes:
When the trigger action presetting labelling to first being detected, wrap in terminal current interface shows this page
First the popular item of information place partial page that labelling is corresponding is preset containing this.
In the third possible implementation of the present invention, the default labelling of this each popular item of information also includes
The crucial words of corresponding popular item of information and chained address, correspondingly, according to this page height percentage ratio,
After showing the default labelling of this each popular item of information on the scroll box relevant position of this page, the method is also
Including:
When the trigger action presetting the chained address included by labelling to second being detected, jump to this second
Preset the popular information page that labelling is corresponding.
In the 4th kind of possible implementation of the present invention, this page also includes hide Options, correspondingly,
According to this page height percentage ratio, the scroll box relevant position of this page shows this each popular item of information
Default labelling after, the method also includes:
When detecting this trigger action hidden Options, hide the default labelling of this each popular information.
Above-mentioned all optional technical schemes, can use and arbitrarily combine the alternative embodiment forming the disclosure,
This repeats the most one by one.
Fig. 2 A is a kind of method for information display flow chart that the embodiment of the present invention provides, and sees Fig. 2 A, the party
The executive agent of method can be terminal, and the method includes:
201, page load request is sent to server, to obtain the content of pages of the page.
This page load request at least includes the chained address of this page, so that this server can be according to this
Chained address determines the content of pages of this page, and returns the content of pages of this page to terminal;In this page
Hold at least include for showing the source code of each item of information in this page, this item of information can be headline,
The text messages such as forum's title, it is also possible to for pictorial information, it is also possible to for other information.Such as video information etc.,
This is not construed as limiting by the embodiment of the present invention.Terminal to server sends the method for this page load request
Three kinds below:
The first, when user being detected to the trigger action of given client end, sending to corresponding server should
Page load request;Wherein, this given client end can be arbitrary client with page loading function,
Such as, microblogging client, news client or browser client etc..
The second, in browser client, when detect user to access web page selection trigger action time,
Obtain the chained address that this user inputs in network address input field, and send this page load request to server,
This page load request carries this chained address.
The third, when user being detected to the trigger action of hyperlinked object, sending to corresponding server should
Page load request, to load the page that this hyperlinked object is linked;Wherein, this hyperlinked object is permissible
Being text, it is also possible to be image, this is not construed as limiting by the embodiment of the present invention.
Terminal to server sends the process of this page load request, can be by appointing in above-mentioned three kinds of methods
A kind of method realizes, it is also possible to being realized by additive method, this is not construed as limiting by the embodiment of the present invention.
202, according to the content of pages of this page, at least one popular item of information is determined.
This page can comprise multiple item of information, according to temperature indexes such as number of visits or comment number of times, can
The plurality of item of information to be divided into popular item of information and common temperature item of information, and according to this page type not
With, the particular content of this item of information is the most different;It should be noted that this hot topic item of information and this common temperature
Item of information can be made a distinction by the different label informations in respective sources code or attribute information, it is also possible to logical
Crossing additive method to be distinguish between, this is not especially limited by the embodiment of the present invention.
Such as, when this page is the news category page, this item of information is headline, correspondingly, and this hot topic
Item of information is the headline of hot news, and this hot news can be that access times are more than in Preset Time
The news of the first preset times, it is also possible to for being artificially arranged to the news of popular state;When this page is forum
During the class page, this item of information is model title, and correspondingly, this hot topic item of information is the model mark of popular model
Topic, this hot topic model can be the model in content containing predetermined keyword, it is also possible to be to reply number of times to be more than
The model of the second preset times, it is also possible to being the model being set to popular note by careful note personnel, the present invention implements
This is not construed as limiting by example.
It should be noted that this Preset Time, the first preset times and second are preset secondary by the embodiment of the present invention
Concrete numerical value and the method to set up of number are all not construed as limiting;When this page is the other kinds of page, this page
In popular item of information can also be corresponding other guide, this is also not construed as limiting by the embodiment of the present invention.
According to the content of pages of this page, determine that the method for at least one popular item of information can be: for this
The source code of any information item in content of pages, detects in the source code of this item of information whether comprise designated word
Section;If the source code of this item of information comprises this specific field, determine that this item of information is for popular item of information;
If the source code of this item of information does not comprise this specific field, determine that this item of information is common temperature item of information.
Wherein, this specific field may refer to determine label information, it is also possible to be information representing item of information attribute etc. its
His information, this is not construed as limiting by the embodiment of the present invention.
According to the content of pages of this page, determine the process of at least one popular item of information, except by above-mentioned
Beyond method realizes, it is also possible to being realized by additive method, this is not construed as limiting by the embodiment of the present invention.
By the content of pages according to this page, determine at least one popular item of information, it is possible to reach according to heat
Degree distinguishes the purpose of the multiple items of information included in this page, and then is capable of when showing this page,
Distinctly display the plurality of item of information.
203, the page height percentage ratio of each popular item of information in this at least one popular item of information is obtained, should
Page height percentage ratio refers to the page of this each popular item of information height relative to page top and this page
The ratio of height.
Obtain the concrete side of the page height percentage ratio of each popular item of information in this at least one popular item of information
Method can be: according to this content of pages, determines the height of each item of information included in this page, should
The height sum of all items of information included in the page is retrieved as the page height of this page;For this at least
Arbitrary popular item of information in one popular item of information, by this hot topic item of information position in this page and this
The height sum of all items of information between page top, is retrieved as this hot topic item of information relative to this page top
The height of end;Page height according to this page and this hot topic item of information relative to the height on this page top,
Obtain the page height percentage ratio of this hot topic item of information.
The page height hundred of each popular item of information in this at least one popular item of information is obtained by said method
Proportion by subtraction, it is possible to ensure the accuracy of acquired percentage ratio, and then the accuracy of Information locating can be improved.
In order to improve the acquisition speed of page height percentage ratio, obtain in this at least one popular item of information each
The method of the page height percentage ratio of popular item of information can also be: according to this content of pages, obtains the first number
Mesh, this first number is the total number of the item of information included in this page, at least one popular information for this
Arbitrary popular item of information in Xiang, obtains the second number, and this second number is that this hot topic item of information is at this page
In position and this page top between the number of all items of information;By this second number and this first number
Ratio be defined as the page height percentage ratio of this hot topic item of information.
The page height percentage of each popular item of information at least one popular item of information is obtained by said method
Ratio, it is possible to increase the acquisition speed of page height percentage ratio, and then improve page display speed, reduce user
Waiting time.
Obtain the process of the page height percentage ratio of each popular item of information in this at least one popular item of information,
Can be realized by said method, it is also possible to realized by additive method, this is not limited by the embodiment of the present invention
Fixed.
By obtaining the page height percentage ratio of each popular item of information, energy in this at least one popular item of information
Enough determine each popular item of information particular location in this page in this at least one popular item of information, and then
Can be according to the page height percentage ratio of this each popular item of information, it is achieved show this each heat at terminal interface
Door item of information particular location in this page.
204, according to this page height percentage ratio, the scroll box relevant position of this page shows this each heat
The default labelling of door item of information.
This scroll box refers to the scroll zones at this page edge scroll bar place, that is to say arrow institute in Fig. 2 B
The region of instruction;This default labelling can use picture format to show on this scroll box, upper as in Fig. 2 B
Shown in figure, it is also possible to show that in this page the page near scroll box is aobvious with text box form or picture format
In showing region, as shown in the figure below in Fig. 2 B;Certainly, this default labelling can be to use other forms at this
Showing on the scroll box relevant position of the page, this is not especially limited by the embodiment of the present invention.
It should be noted that for the default labelling of arbitrary popular item of information, the generation method of this default labelling
Can be: according to this hot topic item of information at the page height percentage ratio of this page, would indicate that this hot topic item of information
During in this page, the label of particular location adds this default labelling to, enable a user to by pre-to this
Bidding note performs trigger action, shows this default labelling correspondence hot topic item of information place portion in terminal current interface
Paging face.
If this default labelling also includes the key word of corresponding popular item of information, generate this default labelling
Method also includes: extract the key word of this hot topic item of information from this hot topic item of information correspondence source code, and will
This key word adds in this default labelling so that user can determine the need for deeply according to this key word
Understand this hot topic item of information.Wherein, the method extracting key word can be: extracts moving in popular item of information
Word and noun, be defined as the key word of this hot topic item of information by this verb and noun;Its other party can also be passed through
Method extracts the key word in popular item of information, and this is not construed as limiting by the embodiment of the present invention.
If this default labelling also includes the chained address of corresponding popular item of information, generate this default labelling
Method also include: from this hot topic item of information correspondence source code, obtain the chained address of this hot topic item of information,
This chained address is added in this default labelling so that when user wants to understand this hot topic item of information in depth
During particular content, can improve further by this chained address being jumped directly to this hot topic information page
User profile obtains efficiency.
By showing the default labelling of each popular item of information in the scroll box relevant position of this page, for
Indicate each popular item of information particular location in this page, it is possible to increase the quantity of information that the page shows, enter
And improve user and obtain the efficiency of information so that user can determine each popular letter according to this default labelling
Breath item particular location in this page, and without checking the page info of relevant position by dragging scroll bar
To determine the particular location of popular information.
205, when the trigger action presetting labelling to first being detected, this page is shown in terminal current interface
In comprise this and first preset the popular item of information place partial page that labelling is corresponding.
Owing to this first is preset labelling and includes for indicating corresponding popular item of information particular location in the page
Label, therefore, when user needs at this hot topic item of information of terminal demonstration, by first presetting labelling to this
Perform trigger action, can show in current interface and comprise this hot topic item of information place partial page, that is to say,
The default labelling that at least one popular item of information, arbitrary popular item of information is corresponding in terminal detects this page
Time, it is possible to the partial page at this hot topic item of information place is comprised at terminal demonstration, and then reach quickly to position
Purpose.
In an alternative embodiment of the invention, the default labelling of this each popular item of information also includes corresponding popular letter
The crucial words of breath item and chained address, correspondingly, according to this page height percentage ratio, in the rolling of this page
After showing the default labelling of this each popular item of information on dynamic frame relevant position, preset second when detecting
During the trigger action of the chained address included by labelling, jump to this and second preset the popular information that labelling is corresponding
The page.
By showing the crucial words of corresponding popular item of information in the default labelling of this each popular item of information,
User can be made to understand the general contents of corresponding popular item of information more quickly, to determine the need for further
Check the particular content of corresponding popular item of information;By showing in the default labelling of this each popular item of information
Corresponding chained address so that when user wants the particular content checking corresponding popular item of information, it is possible to directly
By detection user's operation to this chained address, jump to the popular information page of correspondence, save in terminal
Show this hot topic item of information place partial page, by detection user's trigger action to this hot topic item of information,
Show the step of this hot topic information page, and then information acquisition efficiency can be improved further.
Further, the key of corresponding popular item of information is also included when the default labelling of this each popular item of information
When words and chained address, the pre-bidding of this each popular item of information can be shown in the way of using Folding display
Note, and expansion display option is provided, to launch the information hidden, specifically, can be only at this default labelling
The crucial words of the corresponding popular item of information of middle display, and hide chained address included in this default labelling,
When detecting that user, to when launching the trigger action showing option, shows included chain in this default labelling
Ground connection location.Wherein, this expansion display option can use one, and to the left or downward arrow shows, and will
This expansion display option show that in default labelling around key words on predeterminated position, this predeterminated position is permissible
For right or the lower section of this key words, this is not construed as limiting by the embodiment of the present invention.
The default labelling of this each popular item of information is shown, when user needs by the way of using Folding display
When using chained address included in this default labelling, by detection user, this expansion display option is touched
Send out operation, show this chained address, be both avoided that owing to content included in this default labelling is too much, and hidden
Keep off the situation of this page, can reach again to improve the purpose of information acquisition efficiency.
In still another embodiment of the process, this page also includes hide Options, correspondingly, according to this page
Height percent, shows the default labelling of this each popular item of information on the scroll box relevant position of this page
Afterwards, when detecting this trigger action hidden Options, hide the default labelling of this each popular information.
Hide Options by showing in this page, it is possible to make when user is not intended to the scroll box at this page
During the default labelling of this each popular item of information of interior display, by this execution trigger action that hides Options, reaching
Purpose to the default labelling hiding this each popular item of information.
Page height percentage by popular item of information each at least one popular item of information determined by acquisition
Ratio, shows the default labelling of each popular item of information, for instruction in the scroll box relevant position of this page
Each popular item of information particular location in this page, improves the quantity of information that the page shows, and then improves use
Family obtains the efficiency of information so that according to this default labelling, user can determine that each popular item of information is at this
Particular location in the page, and without checking that the page info of relevant position is to determine heat by dragging scroll bar
The particular location of door information;Further, hide Options by showing in this page, it is possible to make when using
When family is not intended to the default labelling showing this each popular item of information in the Progress box of this page, by this
Hide Options execution trigger action, reaches to hide the purpose of the default labelling of this each popular item of information.
Fig. 3 is a kind of information display device block diagram that the embodiment of the present invention provides.With reference to Fig. 3, this device includes
Sending module 301, determines module 302, acquisition module 303 and display module 304.
Sending module 301, for sending page load request to server, to obtain the content of pages of the page;
Determine module 302, for the content of pages according to this page, determine at least one popular item of information;
Acquisition module 303 is high for obtaining the page of each popular item of information in this at least one popular item of information
Degree percentage ratio, this page height percentage ratio refer to this each popular item of information relative to page top height with
The ratio of the page height of this page;
Display module 304, for according to this page height percentage ratio, on the scroll box relevant position of this page
Show the default labelling of this each popular item of information.
In the first possible implementation that the present invention provides, this acquisition module 303 is used for:
According to this content of pages, determine the height of each item of information included in this page, by this page
The height sum of all items of information comprised is retrieved as the page height of this page;
Arbitrary popular item of information at least one popular item of information for this, by this hot topic item of information at this page
The height sum of all items of information between position and this page top in face, is retrieved as this hot topic item of information
Height relative to this page top;
Page height according to this page and this hot topic item of information, relative to the height on this page top, obtain and are somebody's turn to do
The page height percentage ratio of popular item of information.
In the possible implementation of the second that the present invention provides, this display module 304 is additionally operable to:
When the trigger action presetting labelling to first being detected, wrap in terminal current interface shows this page
First the popular item of information place partial page that labelling is corresponding is preset containing this.
In the third possible implementation that the present invention provides, the default labelling of this each popular item of information is also
Including crucial words and the chained address of corresponding popular item of information, correspondingly, this device also includes:
Page jump module, for when the triggering behaviour presetting the chained address included by labelling to second being detected
When making, jump to this and second preset the popular information page that labelling is corresponding.
In the 4th kind of possible implementation that the present invention provides, this page also includes hide Options, accordingly
Ground, this device also includes:
Hide module, for when detecting this trigger action hidden Options, hide this each popular letter
The default labelling of breath.
It should be understood that the information display device that above-described embodiment provides is when showing information, only with above-mentioned
The division of each functional module is illustrated, and in actual application, can above-mentioned functions be divided as desired
Join and completed by different functional modules, the internal structure of equipment will be divided into different functional modules, with complete
Become all or part of function described above.It addition, the information display device of above-described embodiment offer and letter
Breath display packing embodiment belongs to same design, and it implements process and refers to embodiment of the method, the most no longer
Repeat.
Present embodiments providing a kind of terminal, this terminal may be used for performing offer in each embodiment above-mentioned
Method for information display.Seeing Fig. 4, this terminal 400 includes:
Terminal 400 can include RF (Radio Frequency, radio frequency) circuit 110, include one or
The memorizer 120 of more than one computer-readable recording medium, input block 130, display unit 140, biography
Sensor 150, voicefrequency circuit 160, WiFi (Wireless Fidelity, Wireless Fidelity) module 170, include
There are one or more than one parts such as the processor 180 processing core and power supply 190.Art technology
Personnel are appreciated that the terminal structure shown in Fig. 4 is not intended that the restriction to terminal, can include than figure
Show more or less of parts, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially,
After the downlink information of base station is received, transfer to one or more than one processor 180 processes;It addition, will
Relate to up data and be sent to base station.Generally, RF circuit 110 include but not limited to antenna, at least one
Amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, coupling
Clutch, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, RF circuit
110 can also be communicated with network and other equipment by radio communication.Described radio communication can use arbitrary logical
Beacon is accurate or agreement, include but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service),
CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code
Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution),
Email, SMS (Short Messaging Service, Short Message Service) etc..
Memorizer 120 can be used for storing software program and module, and processor 180 is stored in by operation
The software program of reservoir 120 and module, thus perform the application of various function and data process.Memorizer
120 can mainly include store program area and storage data field, wherein, storage program area can store operating system,
Application program (such as sound-playing function, image player function etc.) etc. needed at least one function;Deposit
Storage data field can store the data (such as voice data, phone directory etc.) that the use according to terminal 400 is created
Deng.Additionally, memorizer 120 can include high-speed random access memory, it is also possible to include non-volatile depositing
Reservoir, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Correspondingly, memorizer 120 can also include Memory Controller, to provide processor 180 and input block
The access of 130 pairs of memorizeies 120.
Input block 130 can be used for receive input numeral or character information, and produce with user setup with
And function controls relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically,
Input block 130 can include Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as
For touching display screen or Trackpad, can collect user thereon or neighbouring touch operation (such as user makes
With any applicable object such as finger, stylus or adnexa on Touch sensitive surface 131 or attached at Touch sensitive surface 131
Near operation), and drive corresponding attachment means according to formula set in advance.Optionally, Touch sensitive surface 131
Touch detecting apparatus and two parts of touch controller can be included.Wherein, touch detecting apparatus detects user's
Touch orientation, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch control
Device receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 180,
And order that processor 180 sends can be received and performed.Furthermore, it is possible to use resistance-type, condenser type,
The polytype such as infrared ray and surface acoustic wave realizes Touch sensitive surface 131.Except Touch sensitive surface 131, input is single
Unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but not
It is limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, behaviour
Make one or more in bar etc..
Display unit 140 can be used for showing the information inputted by user or the information being supplied to user and terminal
The various graphical user interface of 400, these graphical user interface can by figure, text, icon, video and
Its combination in any is constituted.Display unit 140 can include display floater 141, optionally, can use
LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode,
Organic Light Emitting Diode) etc. form configure display floater 141.Further, Touch sensitive surface 131 can cover
Display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, sends process to
Device 180 is to determine the type of touch event, with preprocessor 180 according to the type of touch event at display surface
Corresponding visual output is provided on plate 141.Although in the diagram, Touch sensitive surface 131 and display floater 141
It is to realize input and input function as two independent parts, but in some embodiments it is possible to will
Touch sensitive surface 131 is integrated with display floater 141 and realizes input and output function.
Terminal 400 may also include at least one sensor 150, such as optical sensor, motion sensor and its
His sensor.Specifically, optical sensor can include ambient light sensor and proximity transducer, wherein, environment
Optical sensor can regulate the brightness of display floater 141 according to the light and shade of ambient light, and proximity transducer can be
When terminal 400 moves in one's ear, close display floater 141 and/or backlight.As the one of motion sensor,
Gravity accelerometer can detect the size of (generally three axles) acceleration in all directions, can time static
Detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, the phase of mobile phone attitude
Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for
Gyroscope that terminal 400 can also configure, barometer, drimeter, thermometer, infrared ray sensor etc. other
Sensor, does not repeats them here.
Voicefrequency circuit 160, speaker 161, microphone 162 can provide the audio frequency between user and terminal 400
Interface.The signal of telecommunication after the voice data conversion that voicefrequency circuit 160 can will receive, is transferred to speaker 161,
Acoustical signal output is converted to by speaker 161;On the other hand, the acoustical signal that microphone 162 will be collected
Be converted to the signal of telecommunication, voicefrequency circuit 160 after receiving, be converted to voice data, then by voice data output
After reason device 180 processes, through RF circuit 110 to be sent to such as another terminal, or voice data is exported
To memorizer 120 to process further.Voicefrequency circuit 160 is also possible that earphone jack, outside providing
If earphone and the communication of terminal 400.
WiFi belongs to short range wireless transmission technology, and terminal 400 can help user by WiFi module 170
Sending and receiving e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection
Net accesses.Although Fig. 4 shows WiFi module 170, but it is understood that, it is also not belonging to terminal
400 must be configured into, can omit completely as required in not changing the scope of essence of invention.
Processor 180 is the control centre of terminal 400, utilizes various interface and the whole mobile phone of connection
Various piece, by running or perform to be stored in the software program in memorizer 120 and/or module, and adjusts
By the data being stored in memorizer 120, perform the various functions of terminal 400 and process data, thus right
Mobile phone carries out integral monitoring.Optionally, processor 180 can include one or more process core;Preferably,
Processor 180 can integrated application processor and modem processor, wherein, application processor mainly processes
Operating system, user interface and application program etc., modem processor mainly processes radio communication.Permissible
Being understood by, above-mentioned modem processor can not also be integrated in processor 180.
Terminal 400 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can
With logically contiguous with processor 180 by power-supply management system, thus realize management by power-supply management system
The functions such as charging, electric discharge and power managed.Power supply 190 can also include one or more directly
Stream or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or inverter, electricity
The random component such as source positioning indicator.
Although not shown, terminal 400 can also include photographic head, bluetooth module etc., does not repeats them here.
It is concrete that the display unit of terminal is touch-screen display, and terminal also includes memorizer in the present embodiment,
And one or more than one program, one of them or more than one program is stored in memorizer,
And be configured to be performed by one or more than one processor.One or more than one program comprise
For performing the following instruction operated:
Page load request is sent, to obtain the content of pages of the page to server;
According to the content of pages of this page, determine at least one popular item of information;
Obtain the page height percentage ratio of each popular item of information, this page in this at least one popular item of information
Height percent refers to the page height of this each popular item of information height relative to page top and this page
Ratio;
According to this page height percentage ratio, the scroll box relevant position of this page shows this each popular letter
The default labelling of breath item.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through
Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in
In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or
CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's
Within protection domain.
Claims (10)
1. a method for information display, it is characterised in that described method includes:
Page load request is sent, to obtain the content of pages of the page to server;
According to the content of pages of the described page, determine at least one popular item of information;
Obtain the page height percentage ratio of each popular item of information at least one popular item of information described, described
Page height percentage ratio refers to that described each popular item of information is relative to the height on page top and the described page
The ratio of page height;
According to described page height percentage ratio, the scroll box relevant position of the described page show described each
The default labelling of popular item of information.
Method the most according to claim 1, it is characterised in that obtain at least one popular information described
In Xiang, the page height percentage ratio of each popular item of information includes:
According to described content of pages, determine the height of each item of information included in the described page, by described
The height sum of all items of information included in the page is retrieved as the page height of the described page;
For the arbitrary popular item of information at least one popular item of information described, described popular item of information is existed
The height sum of all items of information between position and described page top in the described page, is retrieved as described
Popular item of information is relative to the height on described page top;
Page height according to the described page and described popular item of information relative to the height on described page top,
Obtain the page height percentage ratio of described popular item of information.
Method the most according to claim 1, it is characterised in that according to described page height percentage ratio,
After the scroll box relevant position of the described page shows the default labelling of described each popular item of information, institute
Method of stating also includes:
When the trigger action presetting labelling to first being detected, in terminal current interface shows the described page
Comprise described first and preset the popular item of information place partial page that labelling is corresponding.
Method the most according to claim 1, it is characterised in that presetting of described each popular item of information
Labelling also includes crucial words and the chained address of corresponding popular item of information, correspondingly, high according to the described page
Degree percentage ratio, shows the pre-bidding of described each popular item of information on the scroll box relevant position of the described page
After note, described method also includes:
When the trigger action presetting the chained address included by labelling to second being detected, jump to described
Two preset the popular information page that labelling is corresponding.
Method the most according to claim 1, it is characterised in that also include in the described page hiding Options,
Correspondingly, according to described page height percentage ratio, on the scroll box relevant position of the described page, display is described
After the default labelling of each popular item of information, described method also includes:
When detecting the described trigger action hidden Options, hide the pre-bidding of described each popular information
Note.
6. an information display device, it is characterised in that described device includes:
Sending module, for sending page load request to server, to obtain the content of pages of the page;
Determine module, for the content of pages according to the described page, determine at least one popular item of information;
Acquisition module is high for obtaining the page of each popular item of information at least one popular item of information described
Degree percentage ratio, described page height percentage ratio refers to the described each popular item of information height relative to page top
The ratio of the page height of degree and the described page;
Display module, for according to described page height percentage ratio, in the scroll box relevant position of the described page
The default labelling of the described each popular item of information of upper display.
Device the most according to claim 6, it is characterised in that described acquisition module is used for:
According to described content of pages, determine the height of each item of information included in the described page, by described
The height sum of all items of information included in the page is retrieved as the page height of the described page;
For the arbitrary popular item of information at least one popular item of information described, described popular item of information is existed
The height sum of all items of information between position and described page top in the described page, is retrieved as described
Popular item of information is relative to the height on described page top;
Page height according to the described page and described popular item of information relative to the height on described page top,
Obtain the page height percentage ratio of described popular item of information.
Device the most according to claim 6, it is characterised in that described display module is additionally operable to:
When the trigger action presetting labelling to first being detected, in terminal current interface shows the described page
Comprise described first and preset the popular item of information place partial page that labelling is corresponding.
Device the most according to claim 6, it is characterised in that presetting of described each popular item of information
Labelling also includes crucial words and the chained address of corresponding popular item of information, and correspondingly, described device also includes:
Page jump module, for when the triggering behaviour presetting the chained address included by labelling to second being detected
When making, jump to described second and preset the popular information page that labelling is corresponding.
Device the most according to claim 6, it is characterised in that also include in the described page hiding choosing
, correspondingly, described device also includes:
Hide module, for when detecting the described trigger action hidden Options, hide described each heat
The default labelling of door information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610255221.2A CN105955597B (en) | 2016-04-22 | 2016-04-22 | Information display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610255221.2A CN105955597B (en) | 2016-04-22 | 2016-04-22 | Information display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105955597A true CN105955597A (en) | 2016-09-21 |
CN105955597B CN105955597B (en) | 2019-08-23 |
Family
ID=56914893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610255221.2A Active CN105955597B (en) | 2016-04-22 | 2016-04-22 | Information display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105955597B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528624A (en) * | 2016-09-30 | 2017-03-22 | 财付通支付科技有限公司 | Information display method and device |
CN108509128A (en) * | 2018-03-30 | 2018-09-07 | 联想(北京)有限公司 | A kind of processing method, processing unit and display methods |
CN109857301A (en) * | 2018-12-27 | 2019-06-07 | 维沃移动通信有限公司 | Show the method and terminal device of information |
CN109947341A (en) * | 2019-04-15 | 2019-06-28 | 重庆天蓬网络有限公司 | A kind of webpage rolls interactive system, method and terminal |
CN110851045A (en) * | 2019-11-06 | 2020-02-28 | 网易(杭州)网络有限公司 | Information display method and device, electronic equipment and computer readable storage medium |
CN112905921A (en) * | 2020-08-05 | 2021-06-04 | 腾讯科技(深圳)有限公司 | Page content display method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382863A (en) * | 2007-09-04 | 2009-03-11 | 英业达股份有限公司 | Page control shaft generating method and web page browser with the page control shaft |
JP2009163735A (en) * | 2007-12-28 | 2009-07-23 | Nhn Corp | User interface providing device, method, and recording medium with program for performing the method recorded therein |
CN101963888A (en) * | 2010-09-30 | 2011-02-02 | 宇龙计算机通信科技(深圳)有限公司 | Electronic terminal and method thereof for controlling page scroll bar |
CN104050184A (en) * | 2013-03-13 | 2014-09-17 | 阿里巴巴集团控股有限公司 | Method and device for displaying page content |
-
2016
- 2016-04-22 CN CN201610255221.2A patent/CN105955597B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382863A (en) * | 2007-09-04 | 2009-03-11 | 英业达股份有限公司 | Page control shaft generating method and web page browser with the page control shaft |
JP2009163735A (en) * | 2007-12-28 | 2009-07-23 | Nhn Corp | User interface providing device, method, and recording medium with program for performing the method recorded therein |
CN101963888A (en) * | 2010-09-30 | 2011-02-02 | 宇龙计算机通信科技(深圳)有限公司 | Electronic terminal and method thereof for controlling page scroll bar |
CN104050184A (en) * | 2013-03-13 | 2014-09-17 | 阿里巴巴集团控股有限公司 | Method and device for displaying page content |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528624A (en) * | 2016-09-30 | 2017-03-22 | 财付通支付科技有限公司 | Information display method and device |
CN108509128A (en) * | 2018-03-30 | 2018-09-07 | 联想(北京)有限公司 | A kind of processing method, processing unit and display methods |
CN108509128B (en) * | 2018-03-30 | 2022-03-25 | 联想(北京)有限公司 | Processing method, processing device and display method |
CN109857301A (en) * | 2018-12-27 | 2019-06-07 | 维沃移动通信有限公司 | Show the method and terminal device of information |
CN109947341A (en) * | 2019-04-15 | 2019-06-28 | 重庆天蓬网络有限公司 | A kind of webpage rolls interactive system, method and terminal |
CN110851045A (en) * | 2019-11-06 | 2020-02-28 | 网易(杭州)网络有限公司 | Information display method and device, electronic equipment and computer readable storage medium |
CN112905921A (en) * | 2020-08-05 | 2021-06-04 | 腾讯科技(深圳)有限公司 | Page content display method and device |
CN112905921B (en) * | 2020-08-05 | 2024-03-15 | 腾讯科技(深圳)有限公司 | Page content display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105955597B (en) | 2019-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103455582B (en) | The display packing of browser navigation page and mobile terminal | |
US9241242B2 (en) | Information recommendation method and apparatus | |
CN105955597A (en) | Method and device for displaying information | |
CN103473092B (en) | A kind of download the processing method of application, device and terminal unit | |
CN104281600B (en) | The method and apparatus of Intelligent Selection word | |
CN104104711B (en) | Reading histories treating method and apparatus | |
CN103310004A (en) | Method, device and equipment for displaying number of unread messages | |
CN104123276B (en) | The hold-up interception method of pop-up, device and system in a kind of browser | |
CN103279574A (en) | Method, device and terminal device for loading explorer pictures | |
CN103310007B (en) | Webpage changing method, device and equipment | |
CN103605668A (en) | Webpage bookmark storing method and device and mobile terminal | |
CN106547844A (en) | A kind for the treatment of method and apparatus of user interface | |
CN104216915A (en) | Webpage processing method, device and terminal equipment | |
CN104239332A (en) | Webpage content processing method, webpage content processing device and browser client side | |
CN103399706B (en) | Page interaction, device and terminal | |
CN107276602A (en) | Radio frequency interference processing method, device, storage medium and terminal | |
CN104679724A (en) | Page noting method and device | |
CN104820546A (en) | Functional information exhibition method and apparatus | |
CN105739839A (en) | Multimedia menu item selection method and device | |
CN106155888A (en) | The detection method of webpage loading performance and device in a kind of Mobile solution | |
CN104598542A (en) | Display method and device for multimedia information | |
CN106682189A (en) | Filename display method and device | |
CN103455601A (en) | Webpage processing method and device, and terminal equipment | |
CN104424203A (en) | Method and system for viewing photo sharing state in mobile device | |
CN105094872B (en) | A kind of method and apparatus showing web application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Applicant after: Guangzhou KuGou Networks Co., Ltd. Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F Applicant before: Guangzhou KuGou Networks Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |