CN104809113B - The display methods and device of webpage information - Google Patents

The display methods and device of webpage information Download PDF

Info

Publication number
CN104809113B
CN104809113B CN201410032774.2A CN201410032774A CN104809113B CN 104809113 B CN104809113 B CN 104809113B CN 201410032774 A CN201410032774 A CN 201410032774A CN 104809113 B CN104809113 B CN 104809113B
Authority
CN
China
Prior art keywords
webpage
link address
media files
webpage link
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410032774.2A
Other languages
Chinese (zh)
Other versions
CN104809113A (en
Inventor
张雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410032774.2A priority Critical patent/CN104809113B/en
Publication of CN104809113A publication Critical patent/CN104809113A/en
Application granted granted Critical
Publication of CN104809113B publication Critical patent/CN104809113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of display methods of webpage information and devices, are related to technical field of network information, can reflect the network traffic conditions expended required for each webpage to be presented, intuitively so as to improve the display precision of webpage information.The described method includes: obtaining webpage link address corresponding with search key first, then number of media files corresponding with the webpage link address is obtained from database, the corresponding number of media files in different web pages chained address is preserved in the database, finally and the corresponding region of the webpage link address show number of media files corresponding with the webpage link address.

Description

The display methods and device of webpage information
Technical field
The present invention relates to technical field of network information, in particular to the display methods and device of a kind of webpage information.
Background technique
With the continuous development of the network information technology, more and more users obtain information by network.Wherein, user It can be by inputting search key in the search engine of browser, to inquire corresponding webpage, to obtain corresponding net Page information.
Currently, usually only showing the link of each webpage when being shown to the corresponding webpage information of search key The contents such as address and content summary information.However network is expended due to generally comprising picture, audio, video etc. in webpage information The biggish media file of flow, when being shown to the corresponding webpage information of search key, if only showing each webpage The contents such as chained address and content summary information can not intuitively reflect the flow feelings expended required for each webpage to be presented Condition, to cause the display precision of existing webpage information lower.
Summary of the invention
The embodiment of the present invention provides the display methods and device of a kind of webpage information, and the display essence of webpage information can be improved Degree.
Technical solution used in the embodiment of the present invention are as follows:
A kind of display methods of webpage information, comprising:
Obtain webpage link address corresponding with search key;
Number of media files corresponding with the webpage link address is obtained from database, is preserved in the database The corresponding number of media files in different web pages chained address;
And the corresponding region of the webpage link address show media file number corresponding with the webpage link address Amount.
A kind of display device of webpage information, comprising:
Acquiring unit, for obtaining webpage link address corresponding with search key;
The acquiring unit is also used to obtain media file number corresponding with the webpage link address from database It measures, preserves the corresponding number of media files in different web pages chained address in the database;
Display unit, for region corresponding with the webpage link address show that the acquiring unit obtains with institute State the corresponding number of media files of webpage link address.
The display methods and device of webpage information provided in an embodiment of the present invention obtain corresponding with search key first Then webpage link address obtains number of media files corresponding with the webpage link address, the data from database The corresponding number of media files in different web pages chained address is preserved in library, finally corresponding with the webpage link address Region show number of media files corresponding with the webpage link address.With at present to the corresponding webpage of search key When information is shown, usually only show that the contents such as chained address and the content summary information of each webpage, the present invention are implemented Example by and the corresponding region of the webpage link address show number of media files corresponding with the webpage link address, It can reflect the network traffic conditions expended required for current each webpage to be presented, intuitively so as to improve webpage information Display precision.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is a kind of display methods flow chart of webpage information provided in an embodiment of the present invention;
Fig. 2 is the display methods flow chart of another webpage information provided in an embodiment of the present invention;
Fig. 3 is a kind of display device structure schematic diagram of webpage information provided in an embodiment of the present invention;
Fig. 4 is the display device structure schematic diagram of another webpage information provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
The advantages of to make technical solution of the present invention, is clearer, makees specifically to the present invention with reference to the accompanying drawings and examples It is bright.
The embodiment of the present invention provides a kind of display methods of webpage information, as shown in Figure 1, which comprises
101, webpage link address corresponding with search key is obtained.
Wherein, user can input search key in a search engine according to actual needs, and then search engine can be with The webpage link address of webpage relevant to search key content and webpage is obtained according to search key.For example, user is defeated The search key entered is football, then search engine obtains webpage relevant to football content and webpage link address.
102, number of media files corresponding with the webpage link address is obtained from database.
Wherein, the corresponding number of media files in different web pages chained address is preserved in the database.Media text Number of packages amount includes picture number, audio file quantity, any one or any one combination in video file quantity.For The storage form of corresponding relationship in the database between picture number and webpage link address can be as shown in the table, and URL is Webpage link address, picnum are picture number.
103, and the corresponding region of the webpage link address show media text corresponding with the webpage link address Number of packages amount.
For example, can show the corresponding media of the webpage link address at the end in the corresponding region of webpage link address Quantity of documents.User can be convenient by display webpage link address corresponding number of media files for the embodiment of the present invention Judge webpage uninterrupted, so that user selectively accesses webpage according to uninterrupted, avoids network flow Waste.
A kind of display methods of webpage information provided in an embodiment of the present invention obtains net corresponding with search key first Page chained address, then obtains number of media files corresponding with the webpage link address, the database from database In preserve the corresponding number of media files in different web pages chained address, finally corresponding with the webpage link address Region shows number of media files corresponding with the webpage link address.With at present to the corresponding webpage of search key believe When breath is shown, the contents such as chained address and the content summary information of each webpage, the embodiment of the present invention are usually only shown By and the corresponding region of the webpage link address show number of media files corresponding with the webpage link address, can Intuitively to reflect the network traffic conditions of consuming required for current each webpage to be presented, so as to improve webpage information Display precision.
Further, the embodiment of the present invention provides the display methods of another webpage information, as shown in Fig. 2, the method Include:
201, the media file number of labels for including in statistical web page label, and the media file number of labels is matched It is set to number of media files corresponding with the webpage link address.
Wherein, media file can be picture, audio file, video file etc..For the picture in webpage, label can be with For<img>, concrete form can be<imgsrc=" http://images.xxx.com/bill/s2013/focus/sy-esf- 142-80-0813.GIF"border="0"width="142"height="80">.When inquiring the mark for including in web page tag Label are<img>quantity be 5 when, then configure 5 for the corresponding picture number of webpage link address.
202, the corresponding relationship between the webpage link address and the number of media files is established, and by the correspondence Relationship saves in the database.
Wherein, the corresponding number of media files in different web pages chained address is preserved in the database.Media text Number of packages amount includes picture number, audio file quantity, any one or any one combination in video file quantity.For The storage form of corresponding relationship in the database between picture number and webpage link address can be as shown in the table, and URL is Webpage link address, picnum are picture number.
203, webpage link address corresponding with search key is obtained.
Wherein, user can input search key in a search engine according to actual needs, and then search engine can be with Webpage relevant to search key content and webpage link address are obtained according to search key.For example, user's input is searched Rope keyword is basketball, then search engine obtains webpage relevant to basketball content and webpage link address.
204, number of media files corresponding with the webpage link address is obtained from database.
205, and the corresponding region of the webpage link address show media text corresponding with the webpage link address Number of packages amount.
Wherein it is possible to show the corresponding media of the webpage link address at the end in the corresponding region of webpage link address Quantity of documents.For example, showing the corresponding picture number of the webpage link address at the end in the corresponding region of webpage link address Amount, and/or audio file quantity, and/or video file quantity etc..For the embodiment of the present invention, by display web page interlinkage The corresponding number of media files in location can be convenient user and judge webpage uninterrupted, so that user is big according to flow It is small, webpage is selectively accessed, the waste of network flow is avoided.
The embodiment of the present invention can also be wrapped before step 205 if the number of media files is picture number It includes: generating the corresponding thumbnail of each picture.At this point, step 205 includes: corresponding with the webpage link address Region, show the corresponding picture number of the webpage link address and the corresponding thumbnail of each picture.It can be with Find out, by showing the same of the corresponding picture number of the webpage link address in region corresponding with the webpage link address When, the corresponding thumbnail of each picture is further displayed, can be further improved the display precision of webpage information.
The display methods of another kind webpage information provided in an embodiment of the present invention, obtains corresponding with search key first Then webpage link address obtains number of media files corresponding with the webpage link address, the data from database The corresponding number of media files in different web pages chained address is preserved in library, finally corresponding with the webpage link address Region show number of media files corresponding with the webpage link address.With at present to the corresponding webpage of search key When information is shown, usually only show that the contents such as chained address and the content summary information of each webpage, the present invention are implemented Example by and the corresponding region of the webpage link address show number of media files corresponding with the webpage link address, It can reflect the network traffic conditions expended required for current each webpage to be presented, intuitively so as to improve webpage information Display precision.
Still further, the specific implementation as method shown in Fig. 1, the embodiment of the present invention provides a kind of showing for webpage information Showing device, as shown in figure 3, described device can be applied in browser or search engine, described device includes: acquiring unit 31, display unit 32.
Acquiring unit 31 can be used for obtaining webpage link address corresponding with search key.
Acquiring unit 31 can be also used for obtaining media file number corresponding with the webpage link address from database It measures, preserves the corresponding number of media files in different web pages chained address in the database.
Display unit 32 can be used for showing that the acquiring unit 31 obtains in region corresponding with the webpage link address The number of media files corresponding with the webpage link address taken.
It should be noted that other of each functional unit involved by device provided in an embodiment of the present invention correspond to description, it can With with reference to the corresponding description in Fig. 1, details are not described herein.
A kind of display device of webpage information provided in an embodiment of the present invention obtains net corresponding with search key first Page chained address, then obtains number of media files corresponding with the webpage link address, the database from database In preserve the corresponding number of media files in different web pages chained address, finally corresponding with the webpage link address Region shows number of media files corresponding with the webpage link address.With at present to the corresponding webpage of search key believe When breath is shown, the contents such as chained address and the content summary information of each webpage, the embodiment of the present invention are usually only shown By and the corresponding region of the webpage link address show number of media files corresponding with the webpage link address, can Intuitively to reflect the network traffic conditions of consuming required for current each webpage to be presented, so as to improve webpage information Display precision.
Still further, the specific implementation as method shown in Fig. 2, the embodiment of the present invention provides another webpage information Display device, as shown in figure 4, described device can be applied in browser or search engine, described device includes: to obtain list Member 41, statistic unit 43, configuration unit 44, establishes unit 45, storage unit 46, generation unit 47 at display unit 42.
Acquiring unit 41 can be used for obtaining webpage link address corresponding with search key.
Acquiring unit 41 can be also used for obtaining media file number corresponding with the webpage link address from database It measures, preserves the corresponding number of media files in different web pages chained address in the database.
Display unit 42 can be used for showing that the acquiring unit 41 obtains in region corresponding with the webpage link address The number of media files corresponding with the webpage link address taken.
Statistic unit 43 can be used for the media file number of labels for including in statistical web page label.
Configuration unit 44, the media file number of labels that can be used for counting the statistic unit 43 be configured to The corresponding number of media files of the webpage link address.
Unit 45 is established, can be used for establishing the corresponding pass between the webpage link address and the number of media files System.
Storage unit 46 can be used for saving the corresponding relationship in the database.
For the embodiment of the present invention, the number of media files includes picture number, audio file quantity, video file number In amount any one or any one combination.
Generation unit 47 can be used for generating the corresponding thumbnail of each picture.
Display unit 42 can be used in region corresponding with the webpage link address, with showing the web page interlinkage The corresponding picture number in location and the corresponding thumbnail of each picture.
It should be noted that other of each functional unit involved by device provided in an embodiment of the present invention correspond to description, it can With with reference to the corresponding description in Fig. 2, details are not described herein.
The display device of another kind webpage information provided in an embodiment of the present invention, obtains corresponding with search key first Then webpage link address obtains number of media files corresponding with the webpage link address, the data from database The corresponding number of media files in different web pages chained address is preserved in library, finally corresponding with the webpage link address Region show number of media files corresponding with the webpage link address.With at present to the corresponding webpage of search key When information is shown, usually only show that the contents such as chained address and the content summary information of each webpage, the present invention are implemented Example by and the corresponding region of the webpage link address show number of media files corresponding with the webpage link address, It can reflect the network traffic conditions expended required for current each webpage to be presented, intuitively so as to improve webpage information Display precision.
The embodiment of the method for above-mentioned offer may be implemented in the display device of webpage information provided in an embodiment of the present invention, specifically Function realizes the explanation referred in embodiment of the method, and details are not described herein.Webpage information provided in an embodiment of the present invention is shown Show that method and device can be adapted for technical field of network information, but is not limited only to this.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (9)

1. a kind of display methods of webpage information characterized by comprising
The quantity for the media file label for including in statistical web page label, and be by the quantity configuration of the media file label Number of media files corresponding with the webpage link address;
The corresponding relationship between the webpage link address and the number of media files is established, and the corresponding relationship is saved In the database;
Obtain webpage link address corresponding with search key;
Number of media files corresponding with the webpage link address is obtained from the database, is preserved in the database The corresponding number of media files in different web pages chained address;
And the corresponding region of the webpage link address show number of media files corresponding with the webpage link address.
2. the display methods of webpage information according to claim 1, which is characterized in that the number of media files includes figure Piece quantity, audio file quantity, any one or any one combination in video file quantity.
3. the display methods of webpage information according to claim 2, which is characterized in that if the number of media files is figure Piece quantity, it is described to show the corresponding media file number of the webpage link address in region corresponding with the webpage link address Before the step of amount, further includes:
Generate thumbnail corresponding with each picture.
4. the display methods of webpage information according to claim 3, which is characterized in that described with the web page interlinkage The corresponding region in location shows that the step of webpage link address corresponding number of media files includes:
In region corresponding with the webpage link address, show the corresponding picture number of the webpage link address and with it is described The corresponding thumbnail of each picture.
5. a kind of display device of webpage information characterized by comprising
Statistic unit, the quantity of the media file label for including in statistical web page label;
Configuration unit, the quantity configuration of the media file label for counting the statistic unit are and the webpage chain It is grounded the corresponding number of media files in location;
Unit is established, the corresponding relationship for establishing between the webpage link address and the number of media files;
Storage unit, for saving in the database the corresponding relationship;
Acquiring unit, for obtaining webpage link address corresponding with search key;
The acquiring unit is also used to obtain media file number corresponding with the webpage link address from the database It measures, preserves the corresponding number of media files in different web pages chained address in the database;
Display unit, for showing that the acquiring unit is obtaining with the net in region corresponding with the webpage link address The corresponding number of media files in page chained address.
6. the display device of webpage information according to claim 5, which is characterized in that the number of media files includes figure Piece quantity, audio file quantity, any one or any one combination in video file quantity.
7. the display device of webpage information according to claim 6, which is characterized in that if the number of media files is figure Piece quantity, described device further include:
Generation unit, for generating thumbnail corresponding with each picture.
8. the display device of webpage information according to claim 7, which is characterized in that
The display unit, for showing that the webpage link address is corresponding in region corresponding with the webpage link address Picture number and thumbnail corresponding with each picture.
9. a kind of non-volatile machine readable storage medium storing program for executing, which is characterized in that be stored with machine readable instructions, at least one can be made A processor executes method according to any of claims 1-4.
CN201410032774.2A 2014-01-23 2014-01-23 The display methods and device of webpage information Active CN104809113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410032774.2A CN104809113B (en) 2014-01-23 2014-01-23 The display methods and device of webpage information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410032774.2A CN104809113B (en) 2014-01-23 2014-01-23 The display methods and device of webpage information

Publications (2)

Publication Number Publication Date
CN104809113A CN104809113A (en) 2015-07-29
CN104809113B true CN104809113B (en) 2019-08-09

Family

ID=53693944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410032774.2A Active CN104809113B (en) 2014-01-23 2014-01-23 The display methods and device of webpage information

Country Status (1)

Country Link
CN (1) CN104809113B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112052377B (en) * 2019-06-06 2023-09-15 百度在线网络技术(北京)有限公司 Resource recommendation method, device, server and storage medium
CN111079054A (en) * 2019-12-25 2020-04-28 维沃移动通信有限公司 Information processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7058726B1 (en) * 1996-07-08 2006-06-06 Internet Number Corporation Method and systems for accessing information on a network using message aliasing functions having shadow callback functions
CN101504648A (en) * 2008-11-14 2009-08-12 北京搜狗科技发展有限公司 Method and apparatus for showing web page resources
CN102567533A (en) * 2011-12-30 2012-07-11 奇智软件(北京)有限公司 Webpage information adding method and webpage information adding system
CN103761231A (en) * 2013-10-17 2014-04-30 北京奇虎科技有限公司 Method and device for providing media content information of page by search engine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246213A1 (en) * 2012-03-16 2013-09-19 Google Inc. Using rate-sensitivities to price downloads
CN103118028B (en) * 2013-02-07 2015-11-18 上海上讯信息技术股份有限公司 Based on the security sweep method and system of web analysis

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7058726B1 (en) * 1996-07-08 2006-06-06 Internet Number Corporation Method and systems for accessing information on a network using message aliasing functions having shadow callback functions
CN101504648A (en) * 2008-11-14 2009-08-12 北京搜狗科技发展有限公司 Method and apparatus for showing web page resources
CN102567533A (en) * 2011-12-30 2012-07-11 奇智软件(北京)有限公司 Webpage information adding method and webpage information adding system
CN103761231A (en) * 2013-10-17 2014-04-30 北京奇虎科技有限公司 Method and device for providing media content information of page by search engine

Also Published As

Publication number Publication date
CN104809113A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
US9773069B2 (en) Pre-fetching of network page content in a browser application
CN104036011B (en) Webpage element display method and browser device
US7373606B2 (en) Method for visualizing weblog social network communities
US8521892B2 (en) Method and apparatus for controlling web page advertisement through incentives and restrictions
CN103546498B (en) It is a kind of that the method and apparatus accessing webpage is provided for mobile terminal
US9813479B2 (en) Browser with video display history
CN110245069B (en) Page version testing method and device and page display method and device
US9443014B2 (en) Custom web page themes
US20180191798A1 (en) Methods and systems for server-side rendering of native content for presentation
US20130185320A1 (en) Display program, display apparatus, information processing method, recording medium, and information processing apparatus
WO2014132404A1 (en) Information processing device, information processing method, information processing program, display control device, and display control program
DE202008018625U1 (en) Communication between domains
JP2014514629A (en) A kind of web page recomposition method
CN102663078B (en) Method and equipment for generating to-be-issued information in network community
US20130007586A1 (en) Method and system for creating and using web feed display templates
KR102361112B1 (en) Extracting similar group elements
US9170988B2 (en) Method for causing computer to display page view on display area by converting HTML page into new HTML pages, and non-transitory computer readable media recording program
CN104462590A (en) Information searching method and device
CN106874502A (en) A kind of method of video search, device and terminal
US20030229850A1 (en) Web browser
CN104735041B (en) Offline resources acquisition methods and device
CN104809113B (en) The display methods and device of webpage information
US10049170B1 (en) Methods and systems for selectively preventing third-party content from being displayed using undefined publisher identifier
CN106951405B (en) Data processing method and device based on typesetting engine
CN104811464B (en) A kind of information processing method, device and system

Legal Events

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