CN105955597B - Information display method and device - Google Patents
Information display method and device Download PDFInfo
- Publication number
- CN105955597B CN105955597B CN201610255221.2A CN201610255221A CN105955597B CN 105955597 B CN105955597 B CN 105955597B CN 201610255221 A CN201610255221 A CN 201610255221A CN 105955597 B CN105955597 B CN 105955597B
- Authority
- CN
- China
- Prior art keywords
- page
- information
- item
- popular
- height
- 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
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 kind of information display method and devices, belong to field of terminal technology.The described method includes: page load request is sent to server, to obtain the content of pages of the page;According to the content of pages of the page, at least one popular information item is determined;The page height percentage of each popular information item at least one described popular information item is obtained, the page height percentage refers to ratio of each popular information item relative to the height on page top and the page height of the page;According to the page height percentage, the preset mark of each popular information item is shown on the scroll box corresponding position of the page.The present invention can be improved the information content that the page is shown, and then improve the efficiency that user obtains information, it allows users to according to the preset mark, specific location of each popular information item in the page is determined, without checking the page info of corresponding position by dragging scroll bar to determine the specific location of popular information.
Description
Technical field
The present invention relates to field of terminal technology, in particular to a kind of information display method and device.
Background technique
With the continuous development of network technology, user can carry out information browse by network, however, due to the network information
More and more, user is often difficult to be quickly found out popular information in bulk information, therefore terminal is during showing the page,
Different information can be differently shown, enable a user to be quickly found out popular information from bulk information.
Currently, information display method can be with are as follows: for any page comprising multiple items of information, terminal is rendering the page
During, common temperature information and popular information can be differently shown, according to the temperatures such as pageview difference every
The predeterminated position of a popular information item renders preset icon, for example, in the beginning location or end position wash with watercolours of hot news title
Dye indicates that the news is the icon of hot news, which can be the icon of the picture format of flame profile, or packet
The icon of text formatting containing " heat " word enables a user to be quickly found out popular information according to the preset icon.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
When the information in the page is more, can not be needed when showing all information of a page on limited terminal screen
Will dragging according to user to scroll bar on the page, show the information of page corresponding position;And in this case, by above-mentioned
Information display method can only show the popular information in the partial page of the page according to the position of scroll bar, and can not be at end
End current interface shows the specific location of whole popular informations in the page, and information content is low, and Information locating effect is poor.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of information display method and devices.It is described
Technical solution is as follows:
On the one hand, a kind of information display method is provided, this method comprises:
Page load request is sent to server, to obtain the content of pages of the page;
According to the content of pages of the page, at least one popular information item is determined;
Obtain the page height percentage of each popular information item at least one popular information item, the page height hundred
Divide than referring to the ratio of each popular information item relative to the height on page top and the page height of the page;
According to the page height percentage, each popular information item is shown on the scroll box corresponding position of the page
Preset mark.
In the first possible implementation of the first aspect of the present invention, obtain every at least one popular information item
The page height percentage of a popular information item includes:
According to the content of pages, the height of each item of information included in the page is determined, it will be included in the page
The sum of the height of all items of information be retrieved as the page height of the page;
For any popular item of information at least one popular information item, by the popular information item in the page
The sum of the height of all items of information between position and the page top is retrieved as the popular information item relative to the page top
Height;
According to the page height of the page and the height of the popular information item relative to the page top, hot topic letter is obtained
Cease the page height percentage of item.
In second of possible implementation of the first aspect of the present invention, according to the page height percentage, in the page
After the preset mark for showing each popular information item on the scroll box corresponding position in face, this method further include:
When detecting the trigger action to the first preset mark, terminal current interface show in the page comprising this
Partial page where the corresponding popular information item of one preset mark.
In the third possible implementation of the first aspect of the present invention, the preset mark of each popular information item is also
Crucial words and chained address including corresponding popular information item, correspondingly, according to the page height percentage, in the page
After the preset mark for showing each popular information item on scroll box corresponding position, this method further include:
When detecting the trigger action to chained address included by the second preset mark, the second pre- bidding is jumped to
Remember the corresponding popular information page.
It further include hiding Options in the page, accordingly in the 4th kind of possible implementation of the first aspect of the present invention
Ground shows the default of each popular information item according to the page height percentage on the scroll box corresponding position of the page
After label, this method further include:
When detecting to the trigger action to hide Options, the preset mark of each popular information is hidden.
On the other hand, a kind of information display device is provided, which includes:
Sending module, for sending page load request to server, to obtain the content of pages of the page;
Determining module determines at least one popular information item for the content of pages according to the page;
Module is obtained, for obtaining the page height percentage of each popular information item at least one popular information item
Than the page height percentage refers to each popular information item relative to the height on page top and the page height of the page
Ratio;
Display module, for according to the page height percentage, showing that this is every on the scroll box corresponding position of the page
The preset mark of a popular information item.
In the first possible implementation of the second aspect of the present invention, which is used for:
According to the content of pages, the height of each item of information included in the page is determined, it will be included in the page
The sum of the height of all items of information be retrieved as the page height of the page;
For any popular item of information at least one popular information item, by the popular information item in the page
The sum of the height of all items of information between position and the page top is retrieved as the popular information item relative to the page top
Height;
According to the page height of the page and the height of the popular information item relative to the page top, hot topic letter is obtained
Cease the page height percentage of item.
In second of possible implementation of the second aspect of the present invention, which is also used to:
When detecting the trigger action to the first preset mark, terminal current interface show in the page comprising this
Partial page where the corresponding popular information item of one preset mark.
In the third possible implementation of the second aspect of the present invention, the preset mark of each popular information item is also
Crucial words and chained address including corresponding popular information item, correspondingly, the device further include:
Page jump module, for when detecting the trigger action to chained address included by the second preset mark,
Jump to the corresponding popular information page of second preset mark.
It further include hiding Options in the page, accordingly in the 4th kind of possible implementation of the second aspect of the present invention
Ground, the device further include:
Hidden module, for hiding the pre- of each popular information when detecting to the trigger action to hide Options
Bidding note.
Technical solution provided in an embodiment of the present invention has the benefit that
By obtaining the page height percentage of each popular information item at least one identified popular information item,
The preset mark of each popular information item is shown in the scroll box corresponding position of the page, to be used to indicate each popular information item
Specific location in the page improves the information content that the page is shown, and then improves the efficiency that user obtains information, so that user
Specific location of each popular information item in the page can be determined according to the preset mark, without rolling by dragging
Item checks the page info of corresponding position to determine the specific location of popular information.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of information display method flow chart provided in an embodiment of the present invention;
Fig. 2A is a kind of information display method flow chart provided in an embodiment of the present invention;
Fig. 2 B is a kind of page display schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of information display device block diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal 400 provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is a kind of information display method flow chart provided in an embodiment of the present invention, as shown in Figure 1, comprising the 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 the page, at least one popular information item is determined.
103, the page height percentage of each popular information item at least one popular information item is obtained, the page is high
Degree percentage refers to the ratio of each popular information item relative to the height on page top and the page height of the page.
104, according to the page height percentage, each popular information is shown on the scroll box corresponding position of the page
The preset mark of item.
Method provided in an embodiment of the present invention, by obtaining each popular letter at least one identified popular information item
The page height percentage for ceasing item, shows the preset mark of each popular information item in the scroll box corresponding position of the page, with
It is used to indicate specific location of each popular information item in the page, improves the information content that the page is shown, and then improve user
The efficiency for obtaining information, allows users to determine that each popular information item is specific in the page according to the preset mark
Position, without checking the page info of corresponding position by dragging scroll bar to determine the specific location of popular information.
In the possible implementation of the first of the invention, each popular information at least one popular information item is obtained
Page height percentage include:
According to the content of pages, the height of each item of information included in the page is determined, it will be included in the page
The sum of the height of all items of information be retrieved as the page height of the page;
For any popular item of information at least one popular information item, by the popular information item in the page
The sum of the height of all items of information between position and the page top is retrieved as the popular information item relative to the page top
Height;
According to the page height of the page and the height of the popular information item relative to the page top, hot topic letter is obtained
Cease the page height percentage of item.
In of the invention second possible implementation, according to the page height percentage, in the scroll box of the page
After the preset mark for showing each popular information item on corresponding position, this method further include:
When detecting the trigger action to the first preset mark, terminal current interface show in the page comprising this
Partial page where the corresponding popular information item of one preset mark.
In the third possible implementation of the invention, the preset mark of each popular information item further includes corresponding heat
The crucial words of door item of information and chained address, it is correspondingly, corresponding in the scroll box of the page according to the page height percentage
After the preset mark for showing each popular information item on position, this method further include:
When detecting the trigger action to chained address included by the second preset mark, the second pre- bidding is jumped to
Remember the corresponding popular information page.
It further include hiding Options in the page, correspondingly, according to the page in the 4th kind of possible implementation of the invention
Face height percent should after the preset mark for showing each popular information item on the scroll box corresponding position of the page
Method further include:
When detecting to the trigger action to hide Options, the preset mark of each popular information is hidden.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination
It repeats one by one.
Fig. 2A is a kind of information display method flow chart provided in an embodiment of the present invention, referring to fig. 2 A, the execution of this method
Main body can be terminal, this method comprises:
201, page load request is sent to server, to obtain the content of pages of the page.
The page load request includes at least the chained address of the page, so that the server can be grounded according to the chain
Location determines the content of pages of the page, and the content of pages of the page is returned to terminal;The content of pages is included at least for showing
Show the source code of each item of information in the page, which can be the text informations such as headline, forum's title, can also be with
It can also be other information for pictorial information.Such as video information, the embodiment of the present invention are not construed as limiting this.Terminal is to service
The method that device sends the page load request can be following three kinds:
The first, when detecting trigger action of the user to given client end, send the page to corresponding server and add
Carry request;Wherein, which can be any client that function is loaded with the page, for example, microblogging client, new
Hear client or browser client etc..
Second, in browser client, when detecting trigger action of the user to access web page selection, obtaining should
The chained address that user inputs in network address input field, and the page load request is sent to server, the page load request
Carry the chained address.
The third, when detecting trigger action of the user to hyperlinked object, send the page to corresponding server and add
Request is carried, to load the page that the hyperlinked object is linked;Wherein, which can be text, be also possible to figure
Picture, the embodiment of the present invention are not construed as limiting this.
Terminal to server sends the process of the page load request, can pass through any side in above-mentioned three kinds of methods
Method is realized, can also be realized by other methods, the embodiment of the present invention is not construed as limiting this.
202, according to the content of pages of the page, at least one popular information item is determined.
It may include multiple items of information in the page, it, can should according to browsing time or the comment temperatures index such as number
Multiple items of information are divided into popular information item and common temperature item of information, and according to page type difference, the tool of the item of information
Hold in vivo also different;It should be noted that the popular information item and the common temperature item of information can be by corresponding source codes
Different label informations or attribute information distinguish, can also be distinguish by other methods, the embodiment of the present invention is to this
It is not especially limited.
For example, the item of information is headline, and correspondingly, which is when the page is the news category page
The headline of hot news, the hot news can be greater than the new of the first preset times for access times within a preset time
It hears, or be artificially arranged to the news of popular state;When the page is forum's class page, which is model mark
Topic, correspondingly, the popular information item are the model title of popular model, which can be in content containing default key
The model of word is also possible to reply the model that number is greater than the second preset times, can also be and is set as popular by examining note personnel
The model of note, the embodiment of the present invention are not construed as limiting this.
It should be noted that tool of the embodiment of the present invention to the preset time, the first preset times and the second preset times
Body numerical value and setting method are not construed as limiting;Popular information item when the page is the other kinds of page, in the page
It can be corresponding other content, the embodiment of the present invention is also not construed as limiting this.
According to the content of pages of the page, determine that the method for at least one popular information item can be with are as follows: in the page
Whether the source code of any information item in appearance detects in the source code of the item of information comprising specific field;If the item of information
Source code in include the specific field, determine the item of information be popular information item;If do not wrapped in the source code of the item of information
Containing the specific field, determine that the item of information is common temperature item of information.Wherein, which can be specified label information,
It is also possible to indicate that other informations, the embodiment of the present invention such as the information of item of information attribute are not construed as limiting this.
According to the content of pages of the page, the process of at least one popular information item is determined, except through above method reality
Other than now, it can also be realized by other methods, the embodiment of the present invention is not construed as limiting this.
By the content of pages according to the page, determines at least one popular information item, can reach and be distinguished according to temperature
The purpose of multiple items of information included in the page, and then can be realized when showing the page, distinctly display multiple letter
Cease item.
203, the page height percentage of each popular information item at least one popular information item is obtained, the page is high
Degree percentage refers to the ratio of each popular information item relative to the height on page top and the page height of the page.
The specific method for obtaining the page height percentage of each popular information item at least one popular information item can
With are as follows: according to the content of pages, the height of each item of information included in the page is determined, by institute included in the page
The sum of the height for having item of information is retrieved as the page height of the page;For any hot topic at least one popular information item
Item of information, by the sum of the height of all items of information of the popular information item between the position and the page top in the page,
It is retrieved as the height of the popular information item relative to the page top;According to the page height of the page and the popular information item phase
For the height on the page top, the page height percentage of the popular information item is obtained.
The page height percentage of each popular information item at least one popular information item is obtained by the above method,
It can guarantee the accuracy of acquired percentage, and then can be improved the accuracy of Information locating.
In order to improve the acquisition speed of page height percentage, each popular letter at least one popular information item is obtained
The method for ceasing the page height percentage of item can be with are as follows: according to the content of pages, obtains the first number, which is should
Item of information total number included in the page obtains for any popular item of information at least one popular information item
Two numbers, second number are all items of information of the popular information item between the position and the page top in the page
Number;The ratio of second number He first number is determined as to the page height percentage of the popular information item.
The page height percentage of each popular information item at least one popular information item, energy are obtained by the above method
The acquisition speed of page height percentage is enough improved, and then improves page display speed, reduces period of reservation of number.
Obtain the process of the page height percentage of each popular information item at least one popular information item, Ke Yitong
Above method realization is crossed, can also be realized by other methods, the embodiment of the present invention is not construed as limiting this.
By obtaining the page height percentage of each popular information item at least one popular information item, can determine
Specific location of each popular information item in the page at least one popular information item, and then can be according to each heat
The page height percentage of door item of information, realizes and shows the specific position of each popular information item in the page in terminal interface
It sets.
204, according to the page height percentage, each popular information is shown on the scroll box corresponding position of the page
The preset mark of item.
The scroll box refers in the scroll zones where the page edge scroll bar, that is to say in Fig. 2 B indicated by arrow
Region;The preset mark can be shown on the scroll box using picture format, can also be with text as shown in the upper figure in Fig. 2 B
This frame grid type or picture format are shown in the page display area in the page near scroll box, such as the following figure institute in Fig. 2 B
Show;Certainly, which can also be shown on the scroll box corresponding position of the page using other forms, the present invention
Embodiment is not especially limited this.
It should be noted that for the preset mark of any popular item of information, the generation method of the preset mark can be with are as follows:
According to the popular information item in the page height percentage of the page, popular information item specific location in the page will be indicated
Label be added in the preset mark, enable a user to by the preset mark execute trigger action, work as in terminal
Front interface shows that the preset mark corresponds to partial page where popular information item.
If further include the keyword of corresponding popular information item in the preset mark, the method for the preset mark is generated also
It include: the keyword that the popular information item is extracted in source code to be corresponded to from the popular information item, and the keyword is added to this
In preset mark, allow users to determine the need for understanding in depth the popular information item according to the keyword.Wherein, it extracts
The method of keyword can be with are as follows: extracts the verb and noun in popular information item, the verb and noun are determined as hot topic and believed
Cease the keyword of item;The keyword in popular information item can also be extracted by other methods, the embodiment of the present invention does not make this
It limits.
If further include the chained address of corresponding popular information item in the preset mark, the method that generates the preset mark
Further include: the chained address for obtaining the popular information item in source code is corresponded to from the popular information item, which is added
Into the preset mark, so that when user wants to understand the particular content of the popular information item in depth, it can be by the chain
Ground connection location jumps directly to the popular information page, further increases user information and obtains efficiency.
The preset mark of each popular information item is shown by the scroll box corresponding position in the page, it is every to be used to indicate
Specific location of a popular information item in the page can be improved the information content that the page is shown, and then improves user and obtain letter
The efficiency of breath allows users to determine specific location of each popular information item in the page according to the preset mark, and
Without checking the page info of corresponding position by dragging scroll bar to determine the specific location of popular information.
205, it when detecting the trigger action to the first preset mark, is shown in the page in terminal current interface and includes
Partial page where the corresponding popular information item of first preset mark.
Due to including the label for being used to indicate corresponding popular information item specific location in the page in first preset mark,
Therefore, when user needs when terminal shows the popular information item, by executing trigger action to first preset mark
It shows in current interface comprising partial page where the popular information item, that is to say, when terminal detects at least one in the page
In a popular information item when any hot topic corresponding preset mark of item of information, can show to include the popular information item institute in terminal
Partial page, and then achieve the purpose that quickly to position.
In an alternative embodiment of the invention, the preset mark of each popular information item further includes corresponding popular information item
Crucial words and chained address correspondingly according to the page height percentage, are shown on the scroll box corresponding position of the page
After the preset mark of each popular information item, when detect the triggering to chained address included by the second preset mark grasp
When making, the corresponding popular information page of second preset mark is jumped to.
By showing the crucial words of corresponding popular information item in the preset mark of each popular information item, can make
User understands the general contents of corresponding popular information item more quickly, to determine the need for further checking corresponding popular information
The particular content of item;By showing corresponding chained address in the preset mark of each popular information item, so that when user thinks
When checking the particular content of corresponding popular information item, it can be jumped directly by detecting operation of the user to the chained address
To the corresponding popular information page, partial page where showing the popular information item in terminal is saved, by detection user to this
The trigger action of popular information item, the step of showing the popular information page, and then information acquisition efficiency can be further increased.
Further, when the preset mark of each popular information item further include corresponding popular information item crucial words and
When chained address, the preset mark of each popular information item can be shown by the way of Folding display, and it is aobvious to provide expansion
Show option, hiding information is unfolded, specifically, the keyword of corresponding popular information item can be only shown in the preset mark
Word, and chained address included in the preset mark is hidden, when detecting trigger action of the user to expansion display option,
Included chained address is shown in the preset mark.Wherein, which shows that option can be using one to the left or downwards
Arrow show, and the expansion is shown that option show that in preset mark, this is preset around crucial words on predeterminated position
Position can be the right or lower section of the key words, and the embodiment of the present invention is not construed as limiting this.
The preset mark that each popular information item is shown by using the mode of Folding display is somebody's turn to do when user needs to use
In preset mark when included chained address, the trigger action of option is shown to the expansion by detection user, shows the chain
The case where being grounded location, being both avoided that since content included in the preset mark is excessive, and blocked the page, and raising can be reached
The purpose of information acquisition efficiency.
It in still another embodiment of the process, further include hiding Options in the page, correspondingly, according to the page height percentage
Than after the preset mark for showing each popular information item on the scroll box corresponding position of the page, when detecting to this
When the trigger action to hide Options, the preset mark of each popular information is hidden.
It is hidden Options by being shown in the page, enables to be not intended to show in the scroll box of the page as user
When the preset mark of each popular information item, trigger action is executed by hiding Options to this, reaches and hides each hot topic
The purpose of the preset mark of item of information.
By obtaining the page height percentage of each popular information item at least one identified popular information item,
The scroll box corresponding position of the page shows the preset mark of each popular information item, is existed with being used to indicate each popular information item
Specific location in the page improves the information content that the page is shown, and then improves the efficiency that user obtains information, enables a user to
It is enough that specific location of each popular information item in the page is determined according to the preset mark, without passing through dragging scroll bar
The page info of corresponding position is checked to determine the specific location of popular information;Further, hidden by being shown in the page
Option is hidden, enables to be not intended to show the preset mark of each popular information item in the Progress box of the page as user
When, trigger action is executed by hiding Options to this, achievees the purpose that the preset mark for hiding each popular information item.
Fig. 3 is a kind of information display device block diagram provided in an embodiment of the present invention.Referring to Fig. 3, which includes sending mould
Block 301, determining module 302 obtain 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;
Determining module 302 determines at least one popular information item for the content of pages according to the page;
Module 303 is obtained, for obtaining the page height hundred of each popular information item at least one popular information item
Divide ratio, which refers to that each popular information item is high relative to the height on page top and the page of the page
The ratio of degree;
Display module 304, for according to the page height percentage, display should on the scroll box corresponding position of the page
The preset mark of each popular information item.
In the first possible implementation provided by the invention, which is used for:
According to the content of pages, the height of each item of information included in the page is determined, it will be included in the page
The sum of the height of all items of information be retrieved as the page height of the page;
For any popular item of information at least one popular information item, by the popular information item in the page
The sum of the height of all items of information between position and the page top is retrieved as the popular information item relative to the page top
Height;
According to the page height of the page and the height of the popular information item relative to the page top, hot topic letter is obtained
Cease the page height percentage of item.
In second provided by the invention possible implementation, which is also used to:
When detecting the trigger action to the first preset mark, terminal current interface show in the page comprising this
Partial page where the corresponding popular information item of one preset mark.
In the third possible implementation provided by the invention, the preset mark of each popular information item further includes pair
Answer crucial words and the chained address of popular information item, correspondingly, the device further include:
Page jump module, for when detecting the trigger action to chained address included by the second preset mark,
Jump to the corresponding popular information page of second preset mark.
It further include hiding Options in the page in the 4th kind of possible implementation provided by the invention, correspondingly, the dress
It sets further include:
Hidden module, for hiding the pre- of each popular information when detecting to the trigger action to hide Options
Bidding note.
It should be understood that information display device provided by the above embodiment is when showing information, only with above-mentioned each function
The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds
Block is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete all or part of function described above
Energy.In addition, information display device provided by the above embodiment and information display method embodiment belong to same design, it is specific real
Existing process is detailed in embodiment of the method, and which is not described herein again.
A kind of terminal is present embodiments provided, it is aobvious which can be used for executing the information provided in above-mentioned each embodiment
Show method.Referring to fig. 4, which includes:
Terminal 400 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter
The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160,
WiFi (Wireless Fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core
The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 4 is not constituted pair
The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components
It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses
Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make
With any communication standard or agreement, and including 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, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short
Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation
Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 400
According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap
Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory
120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used
Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 400 that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.
Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal
Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel
141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby
After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event
Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Fig. 4
Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display
Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 400 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 400 is moved in one's ear
Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally
Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely
In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 400 can also configure, herein
It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 400.Audio
Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160
Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160
Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110
End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack,
To provide the communication of peripheral hardware earphone Yu terminal 400.
WiFi belongs to short range wireless transmission technology, and terminal 400 can help user's transceiver electronics by WiFi module 170
Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 4 is shown
WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 400, it can according to need completely
Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 400, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120
Interior data execute the various functions and processing data of terminal 400, to carry out integral monitoring to mobile phone.Optionally, processor
180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor,
Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing
Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 400 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event
Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 400 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality
It applies in example, the display unit of terminal is touch-screen display, and terminal further includes having memory and one or more than one
Program, perhaps more than one program is stored in memory and is configured to by one or more than one processing for one of them
Device executes.The one or more programs include instructions for performing the following operations:
Page load request is sent to server, to obtain the content of pages of the page;
According to the content of pages of the page, at least one popular information item is determined;
Obtain the page height percentage of each popular information item at least one popular information item, the page height hundred
Divide than referring to the ratio of each popular information item relative to the height on page top and the page height of the page;
According to the page height percentage, each popular information item is shown on the scroll box corresponding position of the page
Preset mark.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (6)
1. a kind of information display method, which is characterized in that the described method includes:
Page load request is sent to server, to obtain the content of pages of the page, the content of pages includes multiple items of information;
For the source code of any information item in the content of pages, whether detect in the source code of the item of information comprising referring to
Determine field;If in the source code of the item of information including the specific field, determine that the item of information is popular information item;
Obtain the page height percentage of each popular information item at least one popular information item, the page height percentage
Refer to ratio of each popular information item relative to the height on page top and the page height of the page;
According to the page height percentage, each popular information item is shown on the scroll box corresponding position of the page
Preset mark, the preset mark of each popular information item include corresponding popular information item crucial words and chain ground connection
Location;
Crucial words and the expansion display of corresponding popular information option are shown in the preset mark of each popular information item
Option;
When detecting the trigger action for the expansion display option for including to the second preset mark, in second preset mark
Show the chained address that second preset mark includes;
When detecting the trigger action to chained address included by second preset mark, it is default to jump to described second
Mark the corresponding popular information page.
2. the method according to claim 1, wherein obtaining each popular information at least one popular information item
Page height percentage include:
According to the content of pages, the height of each item of information included in the page is determined, will be wrapped in the page
The sum of the height of all items of information contained is retrieved as the page height of the page;
For any popular item of information at least one described popular information item, by the popular information item in the page
Position and the page top between all items of information the sum of height, be retrieved as the popular information item relative to described
The height on page top;
Height according to the page height of the page and the popular information item relative to the page top, obtains the heat
The page height percentage of door item of information.
3. the method according to claim 1, wherein further include hiding Options in the page, correspondingly, according to
The page height percentage shows the pre- bidding of each popular information item on the scroll box corresponding position of the page
After note, the method also includes:
When detecting to the trigger action to hide Options, the preset mark of each popular information is hidden.
4. a kind of information display device, which is characterized in that described device includes:
Sending module, for sending page load request to server, to obtain the content of pages of the page, the content of pages packet
Include multiple items of information;
Determining module, for the source code of any information item in the content of pages, in the source code for detecting the item of information
It whether include specific field;If in the source code of the item of information including the specific field, determine the item of information for heat
Door item of information;
Module is obtained, it is described for obtaining the page height percentage of each popular information item at least one popular information item
Page height percentage refers to each popular information item relative to the height on page top and the page height of the page
Ratio;
Display module, described in being shown on the scroll box corresponding position of the page according to the page height percentage
The preset mark of the preset mark of each popular information item, each popular information item includes the key of corresponding popular information item
Words and chained address;The crucial words of corresponding popular information option is shown in the preset mark of each popular information item
Option is shown with expansion;When detecting the trigger action for the expansion display option for including to the second preset mark, described the
The chained address that second preset mark includes is shown in two preset marks;Second preset mark is wrapped when detecting
When the trigger action of the chained address included, the corresponding popular information page of second preset mark is jumped to.
5. device according to claim 4, which is characterized in that the acquisition module is used for:
According to the content of pages, the height of each item of information included in the page is determined, will be wrapped in the page
The sum of the height of all items of information contained is retrieved as the page height of the page;
For any popular item of information at least one described popular information item, by the popular information item in the page
Position and the page top between all items of information the sum of height, be retrieved as the popular information item relative to described
The height on page top;
Height according to the page height of the page and the popular information item relative to the page top, obtains the heat
The page height percentage of door item of information.
6. device according to claim 4, which is characterized in that it further include hiding Options in the page, it is correspondingly, described
Device further include:
Hidden module, for hiding the pre- of each popular information when detecting to the trigger action to hide Options
Bidding note.
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 CN105955597A (en) | 2016-09-21 |
CN105955597B true 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) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528624B (en) * | 2016-09-30 | 2020-02-14 | 财付通支付科技有限公司 | Information display method and device |
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 |
CN112905921B (en) * | 2020-08-05 | 2024-03-15 | 腾讯科技(深圳)有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN105955597A (en) | 2016-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105955597B (en) | Information display method and device | |
CN106453053B (en) | Group message display methods and device | |
CN105095432B (en) | Web page annotation display methods and device | |
CN104965843B (en) | A kind of method and device obtaining comment information | |
CN104571787B (en) | A kind of message display method and communication terminal | |
CN105278937B (en) | A kind of method and device showing pop-up box message | |
CN104102419B (en) | Page display method, device and terminal device | |
CN104636047B (en) | The method, apparatus and touch screen terminal operated to the object in list | |
CN105022616B (en) | A kind of method and device generating Webpage | |
CN104281600B (en) | The method and apparatus of Intelligent Selection word | |
CN104850406B (en) | A kind of method and apparatus for switching the page | |
CN104238893B (en) | A kind of method and apparatus that video preview picture is shown | |
CN104869465B (en) | video playing control method and device | |
CN104104711B (en) | Reading histories treating method and apparatus | |
CN105957544B (en) | Lyric display method and device | |
CN111580815B (en) | Page element editing method and related equipment | |
CN104021129B (en) | Show the method and terminal of group picture | |
CN105530239B (en) | Multi-medium data acquisition methods and device | |
CN106371749A (en) | Method and device for terminal control | |
CN104820546B (en) | Function information methods of exhibiting and device | |
CN106231575B (en) | Method for processing short messages and device | |
CN107465802A (en) | A kind of methods, devices and systems for showing communication message | |
CN104346028B (en) | Address field display methods, device and mobile terminal | |
CN105487770B (en) | Picture sending method and device | |
CN104598542B (en) | The display methods and device of multimedia messages |
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 |
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. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |