CN104809113A - Webpage information display method and device - Google Patents
Webpage information display method and device Download PDFInfo
- Publication number
- CN104809113A CN104809113A CN201410032774.2A CN201410032774A CN104809113A CN 104809113 A CN104809113 A CN 104809113A CN 201410032774 A CN201410032774 A CN 201410032774A CN 104809113 A CN104809113 A CN 104809113A
- Authority
- CN
- China
- Prior art keywords
- link address
- webpage link
- media files
- info web
- picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a webpage information display method and device and relates to the network information technique information. Network flows consumed by various to-be-exhibited web pages can be intuitively reflected, thus display precision of webpage information can be improved. The method comprises the steps: firstly, acquiring a webpage link address corresponding to search keywords; secondly, acquiring the quantity of media files corresponding to the webpage link address from a database, wherein different webpage link addresses stored in the database are respectively corresponding to the quantities of the corresponding media files; and finally, displaying the quantity of the media files corresponding to the webpage link address in a region corresponding to the webpage link address.
Description
Technical field
The present invention relates to technical field of network information, particularly a kind of display packing of info web and device.
Background technology
Along with the development of the network information technology, increasing user carrys out obtaining information by network.Wherein, user by inputted search keyword in the search engine of browser, can inquire about corresponding webpage, thus obtains corresponding info web.
At present, when showing info web corresponding to search keyword, usually only show the contents such as the chained address of each webpage and content summary information.But expend the larger media file of network traffics owing to usually comprising picture, audio frequency, video etc. in info web, when the info web corresponding to search keyword is shown, if only show the content such as chained address and content summary information of each webpage, intuitively cannot reflect the traffic conditions expended required for each webpage to be presented, thus cause the display precision of existing info web lower.
Summary of the invention
The embodiment of the present invention provides a kind of display packing and device of info web, can improve the display precision of info web.
The technical scheme that the embodiment of the present invention adopts is:
A display packing for info web, comprising:
Obtain the webpage link address corresponding with search keyword;
From database, obtain the number of media files corresponding with described webpage link address, in described database, preserve the number of media files that different web pages chained address is corresponding respectively;
The number of media files corresponding with described webpage link address is shown in the region corresponding with described webpage link address.
A display device for info web, comprising:
Acquiring unit, for obtaining the webpage link address corresponding with searching for keyword;
Described acquiring unit, also for obtaining the number of media files corresponding with described webpage link address from database, preserves the number of media files that different web pages chained address is corresponding respectively in described database;
Display unit, for showing the number of media files corresponding with described webpage link address that described acquiring unit obtains in the region corresponding with described webpage link address.
The display packing of the info web that the embodiment of the present invention provides and device, first the webpage link address corresponding with search keyword is obtained, then from database, the number of media files corresponding with described webpage link address is obtained, preserve the number of media files that different web pages chained address is corresponding respectively in described database, finally show the number of media files corresponding with described webpage link address in the region corresponding with described webpage link address.With current to search for info web corresponding to keyword show time, usually the contents such as the chained address of each webpage and content summary information are only shown, the embodiment of the present invention is by showing the number of media files corresponding with described webpage link address in the region corresponding with described webpage link address, intuitively can reflect the network traffic conditions expended required for each webpage to be presented current, thus the display precision of info web can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The display packing process flow diagram of a kind of info web that Fig. 1 provides for the embodiment of the present invention;
The display packing process flow diagram of the another kind of info web that Fig. 2 provides for the embodiment of the present invention;
The display device structure schematic diagram of a kind of info web that Fig. 3 provides for the embodiment of the present invention;
The display device structure schematic diagram of the another kind of info web that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
For making the advantage of technical solution of the present invention clearly, below in conjunction with drawings and Examples, the present invention is elaborated.
The embodiment of the present invention provides a kind of display packing of info web, and as shown in Figure 1, described method comprises:
101, the webpage link address corresponding with search keyword is obtained.
Wherein, user can inputted search keyword in a search engine according to the actual requirements, and then search engine can obtain the webpage relevant with searching for key words content and the webpage link address of webpage according to search keyword.Such as, the search keyword of user's input is football, then search engine obtains the webpage relevant to football content and webpage link address.
102, from database, the number of media files corresponding with described webpage link address is obtained.
Wherein, the number of media files that different web pages chained address is corresponding is respectively preserved in described database.Number of media files comprise in picture number, audio file quantity, video file quantity any one or any one combination.Can be as shown in the table for the file layout in a database of the corresponding relation between picture number and webpage link address, URL is webpage link address, and picnum is picture number.
103, the number of media files corresponding with described webpage link address is shown in the region corresponding with described webpage link address.
Such as, number of media files corresponding to this webpage link address can be shown at the end place in region corresponding to webpage link address.For the embodiment of the present invention, by the number of media files that display web page chained address is corresponding, user can be facilitated to judge webpage uninterrupted, thus user can be made according to uninterrupted, selectively accessed web page, avoids the waste of network traffics.
The display packing of a kind of info web that the embodiment of the present invention provides, first the webpage link address corresponding with search keyword is obtained, then from database, the number of media files corresponding with described webpage link address is obtained, preserve the number of media files that different web pages chained address is corresponding respectively in described database, finally show the number of media files corresponding with described webpage link address in the region corresponding with described webpage link address.With current to search for info web corresponding to keyword show time, usually the contents such as the chained address of each webpage and content summary information are only shown, the embodiment of the present invention is by showing the number of media files corresponding with described webpage link address in the region corresponding with described webpage link address, intuitively can reflect the network traffic conditions expended required for each webpage to be presented current, thus the display precision of info web can be improved.
Further, the embodiment of the present invention provides the display packing of another kind of info web, and as shown in Figure 2, described method comprises:
201, the media file number of labels comprised in statistical web page label, and described media file number of labels is configured to the number of media files corresponding with described webpage link address.
Wherein, media file can be picture, audio file, video file etc.For the picture in webpage, label can be <img>, and concrete form can be <imgsrc=" http://images.xxx.com/bill/s2013/focus/sy-esf-142-80-0813.jpg " border=" 0 " width=" 142 " height=" 80 " >.When to inquire the label comprised in web page tag be the quantity of <img> be 5 time, then picture number corresponding for webpage link address is configured to 5.
202, set up the corresponding relation between described webpage link address and described number of media files, and described corresponding relation is preserved in the database.
Wherein, the number of media files that different web pages chained address is corresponding is respectively preserved in described database.Number of media files comprise in picture number, audio file quantity, video file quantity any one or any one combination.Can be as shown in the table for the file layout in a database of the corresponding relation between picture number and webpage link address, URL is webpage link address, and picnum is picture number.
203, the webpage link address corresponding with search keyword is obtained.
Wherein, user can inputted search keyword in a search engine according to the actual requirements, and then search engine can obtain the webpage relevant with searching for key words content and webpage link address according to search keyword.Such as, the search keyword of user's input is basketball, then search engine obtains the webpage relevant to basketball content and webpage link address.
204, from database, the number of media files corresponding with described webpage link address is obtained.
205, the number of media files corresponding with described webpage link address is shown in the region corresponding with described webpage link address.
Wherein, number of media files corresponding to this webpage link address can be shown at the end place in region corresponding to webpage link address.Such as, picture number corresponding to this webpage link address and/or audio file quantity and/or video file quantity etc. is shown at the end place in region corresponding to webpage link address.For the embodiment of the present invention, by the number of media files that display web page chained address is corresponding, user can be facilitated to judge webpage uninterrupted, thus user can be made according to uninterrupted, selectively accessed web page, avoids the waste of network traffics.
For the embodiment of the present invention, if described number of media files is picture number, then can also comprise before step 205: generate the thumbnail that each picture described is corresponding respectively.Now, step 205 comprises: in the region corresponding with described webpage link address, shows the thumbnail of picture number corresponding to described webpage link address and each picture described difference correspondence.Can find out, while showing picture number corresponding to described webpage link address in the region corresponding with described webpage link address, the thumbnail that each picture of display is corresponding respectively further, can improve the display precision of info web further.
The display packing of the another kind of info web that the embodiment of the present invention provides, first the webpage link address corresponding with search keyword is obtained, then from database, the number of media files corresponding with described webpage link address is obtained, preserve the number of media files that different web pages chained address is corresponding respectively in described database, finally show the number of media files corresponding with described webpage link address in the region corresponding with described webpage link address.With current to search for info web corresponding to keyword show time, usually the contents such as the chained address of each webpage and content summary information are only shown, the embodiment of the present invention is by showing the number of media files corresponding with described webpage link address in the region corresponding with described webpage link address, intuitively can reflect the network traffic conditions expended required for each webpage to be presented current, thus the display precision of info web can be improved.
Again further, as the specific implementation of method shown in Fig. 1, the embodiment of the present invention provides a kind of display device of info web, as shown in Figure 3, described device can be applied in browser or search engine, and described device comprises: acquiring unit 31, display unit 32.
Acquiring unit 31, may be used for obtaining the webpage link address corresponding with search keyword.
Acquiring unit 31, can also be used for obtaining the number of media files corresponding with described webpage link address from database, preserve the number of media files that different web pages chained address is corresponding respectively in described database.
Display unit 32, may be used for showing in the region corresponding with described webpage link address the number of media files corresponding with described webpage link address that described acquiring unit 31 obtains.
It should be noted that, other of each functional unit involved by the device that the embodiment of the present invention provides are corresponding to be described, can corresponding description in reference diagram 1, does not repeat them here.
The display device of a kind of info web that the embodiment of the present invention provides, first the webpage link address corresponding with search keyword is obtained, then from database, the number of media files corresponding with described webpage link address is obtained, preserve the number of media files that different web pages chained address is corresponding respectively in described database, finally show the number of media files corresponding with described webpage link address in the region corresponding with described webpage link address.With current to search for info web corresponding to keyword show time, usually the contents such as the chained address of each webpage and content summary information are only shown, the embodiment of the present invention is by showing the number of media files corresponding with described webpage link address in the region corresponding with described webpage link address, intuitively can reflect the network traffic conditions expended required for each webpage to be presented current, thus the display precision of info web can be improved.
Again further, as the specific implementation of method shown in Fig. 2, the embodiment of the present invention provides the display device of another kind of info web, as shown in Figure 4, described device can be applied in browser or search engine, and described device comprises: acquiring unit 41, display unit 42, statistic unit 43, dispensing unit 44, set up unit 45, storage unit 46, generation unit 47.
Acquiring unit 41, may be used for obtaining the webpage link address corresponding with search keyword.
Acquiring unit 41, can also be used for obtaining the number of media files corresponding with described webpage link address from database, preserve the number of media files that different web pages chained address is corresponding respectively in described database.
Display unit 42, may be used for showing in the region corresponding with described webpage link address the number of media files corresponding with described webpage link address that described acquiring unit 41 obtains.
Statistic unit 43, may be used for the media file number of labels comprised in statistical web page label.
Dispensing unit 44, the described media file number of labels that may be used for described statistic unit 43 to add up is configured to the number of media files corresponding with described webpage link address.
Set up unit 45, may be used for setting up the corresponding relation between described webpage link address and described number of media files.
Storage unit 46, may be used for described corresponding relation to preserve in the database.
For the embodiment of the present invention, described number of media files comprise in picture number, audio file quantity, video file quantity any one or any one combination.
Generation unit 47, may be used for generating each picture described thumbnail corresponding respectively.
Display unit 42, may be used in the region corresponding with described webpage link address, shows the thumbnail of picture number corresponding to described webpage link address and each picture described difference correspondence.
It should be noted that, other of each functional unit involved by the device that the embodiment of the present invention provides are corresponding to be described, can corresponding description in reference diagram 2, does not repeat them here.
The display device of the another kind of info web that the embodiment of the present invention provides, first the webpage link address corresponding with search keyword is obtained, then from database, the number of media files corresponding with described webpage link address is obtained, preserve the number of media files that different web pages chained address is corresponding respectively in described database, finally show the number of media files corresponding with described webpage link address in the region corresponding with described webpage link address.With current to search for info web corresponding to keyword show time, usually the contents such as the chained address of each webpage and content summary information are only shown, the embodiment of the present invention is by showing the number of media files corresponding with described webpage link address in the region corresponding with described webpage link address, intuitively can reflect the network traffic conditions expended required for each webpage to be presented current, thus the display precision of info web can be improved.
The display device of the info web that the embodiment of the present invention provides can realize the above-mentioned embodiment of the method provided, and concrete function realizes the explanation referred in embodiment of the method, does not repeat them here.The display packing of the info web that the embodiment of the present invention provides and device go for technical field of network information, but are not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (10)
1. a display packing for info web, is characterized in that, comprising:
Obtain the webpage link address corresponding with search keyword;
From database, obtain the number of media files corresponding with described webpage link address, in described database, preserve the number of media files that different web pages chained address is corresponding respectively;
The number of media files corresponding with described webpage link address is shown in the region corresponding with described webpage link address.
2. the display packing of info web according to claim 1, is characterized in that, before the step of the webpage link address that described acquisition is corresponding with search keyword, also comprises:
The media file number of labels comprised in statistical web page label, and described media file number of labels is configured to the number of media files corresponding with described webpage link address;
Set up the corresponding relation between described webpage link address and described number of media files, and described corresponding relation is preserved in the database.
3. the display packing of info web according to claim 1 and 2, is characterized in that, described number of media files comprise in picture number, audio file quantity, video file quantity any one or any one combination.
4. the display packing of info web according to claim 3, it is characterized in that, if described number of media files is picture number, described show the step of number of media files corresponding to described webpage link address in the region corresponding with described webpage link address before, also comprise:
Generate the thumbnail corresponding respectively with each picture described.
5. the display packing of info web according to claim 4, is characterized in that, the described step showing number of media files corresponding to described webpage link address in the region corresponding with described webpage link address comprises:
In the region corresponding with described webpage link address, show picture number corresponding to described webpage link address and the thumbnail corresponding respectively with each picture described.
6. a display device for info web, is characterized in that, comprising:
Acquiring unit, for obtaining the webpage link address corresponding with searching for keyword;
Described acquiring unit, also for obtaining the number of media files corresponding with described webpage link address from database, preserves the number of media files that different web pages chained address is corresponding respectively in described database;
Display unit, for showing the number of media files corresponding with described webpage link address that described acquiring unit obtains in the region corresponding with described webpage link address.
7. the display device of info web according to claim 6, is characterized in that, described device also comprises:
Statistic unit, for the media file number of labels comprised in statistical web page label;
Dispensing unit, is configured to the number of media files corresponding with described webpage link address for the described media file number of labels of being added up by described statistic unit;
Set up unit, for setting up the corresponding relation between described webpage link address and described number of media files;
Storage unit, for preserving described corresponding relation in the database.
8. the display device of the info web according to claim 6 or 7, is characterized in that, described number of media files comprise in picture number, audio file quantity, video file quantity any one or any one combination.
9. the display device of info web according to claim 8, is characterized in that, if described number of media files is picture number, described device also comprises:
Generation unit, for generating the thumbnail corresponding respectively with each picture described.
10. the display device of info web according to claim 9, is characterized in that,
Described display unit, in the region corresponding with described webpage link address, shows picture number corresponding to described webpage link address and the thumbnail corresponding respectively with each picture described.
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 true CN104809113A (en) | 2015-07-29 |
CN104809113B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111079054A (en) * | 2019-12-25 | 2020-04-28 | 维沃移动通信有限公司 | Information processing method and electronic equipment |
CN112052377A (en) * | 2019-06-06 | 2020-12-08 | 百度在线网络技术(北京)有限公司 | Resource recommendation method, device, server and storage medium |
Citations (6)
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 |
CN103118028A (en) * | 2013-02-07 | 2013-05-22 | 上海上讯信息技术有限公司 | Method and system for safe scanning based on webpage resolving |
US20130246213A1 (en) * | 2012-03-16 | 2013-09-19 | Google Inc. | Using rate-sensitivities to price downloads |
CN103761231A (en) * | 2013-10-17 | 2014-04-30 | 北京奇虎科技有限公司 | Method and device for providing media content information of page by search engine |
-
2014
- 2014-01-23 CN CN201410032774.2A patent/CN104809113B/en active Active
Patent Citations (6)
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 |
US20130246213A1 (en) * | 2012-03-16 | 2013-09-19 | Google Inc. | Using rate-sensitivities to price downloads |
CN103118028A (en) * | 2013-02-07 | 2013-05-22 | 上海上讯信息技术有限公司 | Method and system for safe scanning based on webpage resolving |
CN103761231A (en) * | 2013-10-17 | 2014-04-30 | 北京奇虎科技有限公司 | Method and device for providing media content information of page by search engine |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112052377A (en) * | 2019-06-06 | 2020-12-08 | 百度在线网络技术(北京)有限公司 | Resource recommendation method, device, server and storage medium |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104809113B (en) | 2019-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107506343B (en) | A kind of processing method and processing device of information editing | |
CN104753966A (en) | Resource file inquiry method and system based on server and client caches | |
CN103546498B (en) | It is a kind of that the method and apparatus accessing webpage is provided for mobile terminal | |
CN104866522A (en) | Method and device for providing answer information for questioner | |
CN105824830B (en) | Method, client and equipment for displaying page | |
US9043343B2 (en) | Identifier assigning method, identifier parsing method, and multimedia reading | |
CN105373608A (en) | Input method based scene-mode content pushing method and system | |
CN104834645B (en) | Method and apparatus for showing format document | |
CN104462590A (en) | Information searching method and device | |
CN103617209A (en) | File management method and file management device for mobile terminal | |
CN108829809A (en) | A kind of information displaying method and its terminal device, the network equipment | |
CN109740016A (en) | Method, apparatus, server and the computer readable storage medium of music query | |
CN107728983A (en) | Double screen operating method and equipment | |
WO2020063844A1 (en) | Method for recommending associated information, and terminal and server thereof | |
Hawkins | A Framework for the CIO Position | |
CN104809113A (en) | Webpage information display method and device | |
CN103377246B (en) | Bookmark processing method and terminal browser | |
CN106326403A (en) | Web page generating method and device | |
CN104808995A (en) | Method and device for storing application contents over applications | |
CN102541820B (en) | A kind of multi-format composite document generates and methods of exhibiting and system | |
CN105404672A (en) | Webpage data storage and operation system and method | |
CN104021170A (en) | Information acquiring method and cloud server | |
CN105447016A (en) | Assembly fast search and reuse method | |
JP2016177588A (en) | Information processing device, information processing method, and information processing program | |
CN104021192A (en) | Database renewing method and device |
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 |