CN101650727A - Method and device for browsing pictures - Google Patents
Method and device for browsing pictures Download PDFInfo
- Publication number
- CN101650727A CN101650727A CN200910090444A CN200910090444A CN101650727A CN 101650727 A CN101650727 A CN 101650727A CN 200910090444 A CN200910090444 A CN 200910090444A CN 200910090444 A CN200910090444 A CN 200910090444A CN 101650727 A CN101650727 A CN 101650727A
- Authority
- CN
- China
- Prior art keywords
- picture
- user
- request
- url
- content
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
Abstract
The embodiment of the invention provides a method and a device for pulling pictures, belonging to the field of network communication. The method comprises the following steps: detecting whether a system sends a pulling request to a uniform resource locator url corresponding to a picture when a user clicks the picture; displaying the content of the picture to the user when the system sends the request; and sending the pulling request to the url corresponding to the picture and displaying the content of the picture to the user when the system does not send the request. The specific embodiment ofthe invention also provides the device for pulling pictures. The method and the device have the advantages of avoiding repeated pull and saving bandwidth resources.
Description
Technical field
The present invention relates to network communication field, relate in particular to a kind of browsing method and device of picture.
Background technology
Development along with Internet technology, use picture library more and more general on the net, when the big figure of picture library photo browses, the common custom of user is downward page turning, but because the cause of the network bandwidth, when the user clicks this photo, carry out pulling of this photo again, may influence the speed that the user browses photo; In order to improve the speed that the user browses photo, prior art provides a kind of browsing method of picture, this method is when the user sees current photo, pull next photo of current photo in advance, when clicking next photo as the user, directly will pull the photo of finishing in advance and be shown to the user, thereby improve the speed that the user browses photo greatly.
In realizing process of the present invention, there are the following problems for the technical scheme that prior art provided:
If the scheme of prior art is clicked next photo but pulling also in advance of this photo do not finished the user, system can resend and once pull order, produce to repeat to pull, and then the waste bandwidth resource.
Summary of the invention
Embodiment of the present invention provides a kind of browsing method and device of picture, and this method and device have avoids repeating to pull the advantage of conserve bandwidth resource.
The specific embodiment of the present invention provides a kind of browsing method of picture, and this method comprises: after the user clicked picture, whether detection system sent the request that pulls to described picture corresponding uniform resource locator url;
In this way, the content that shows described picture to the user; Otherwise pull request to the url of described picture correspondence transmission, show the content of described picture to the user.
The present invention also provides a kind of browsing apparatus of picture, and this device comprises:
Detecting unit is used for after the user clicks picture, and whether detection system sends the request that pulls to described picture corresponding uniform resource locator url;
The loaded and displayed unit is used for detecting when being at described detecting unit, shows the content of described picture to the user;
Send display unit, be used for when described detecting unit detects not, send to the url of described picture correspondence and pull request, and show the content of described picture to the user.
By the above-mentioned technical scheme that provides as can be seen, the technical scheme of the embodiment of the invention is after the user clicks picture, send when pulling request to the url of this picture correspondence in the system of detecting, do not send the request of pulling, and show the content of this picture to the user, thereby the pulling also in advance of photo of having avoided the user to click do not finish, system can resend and once pull order, and then avoided repeating to pull, saved bandwidth resources.
Description of drawings
The process flow diagram of the browsing method of a kind of picture that Fig. 1 provides for one embodiment of the invention;
The process flow diagram of the browsing method of a kind of picture that Fig. 2 provides for further embodiment of this invention.
Fig. 3 is the structural drawing of the browsing apparatus of a kind of picture provided by the invention
Embodiment
Embodiment of the present invention provides an embodiment, and present embodiment provides a kind of browsing method of picture, and this method comprises as shown in Figure 1:
S11, after the user clicks picture, whether detection system has sent to this picture corresponding uniform resource locator (url) and has pulled request, in this way, then carries out S13, otherwise carries out carrying out S13 again behind the S12;
S12, send the request that pulls to the url of this picture correspondence;
S13, show the content of this picture to the user.
The request that the above-mentioned request of pulling can send to the url of this picture correspondence for, the Image label on the page.
The method that one embodiment of the invention provides is after the user clicks picture, send when pulling request to the url of this picture correspondence in the system of detecting, do not send the request of pulling, and show the content of this picture to the user, thereby the pulling also in advance of photo of having avoided the user to click do not finished, system can resend and once pull order, and then has avoided repeating to pull, and has saved bandwidth resources.
Optionally, whether said method sends to the url of this picture correspondence in detection system and can also comprise before pulling request, and the Image object modification in the Global Queue is become IMG label on the page.And after the Image object modification become IMG label on the page, the user can see the process that picture loads also can reduce the number of times of searching among the cache within the specific limits; And do not load when finishing at picture, also can show the content of the part picture that has loaded, as when loading a half, half content can Show Picture.
Optionally, said method can also comprise that the IMG tag queue of hiding by the page pulls the subsequent pictures of this picture in advance, and will finish the image cache that pulls processing in advance; Above-mentioned finish pull processing in advance condition can for, subsequent pictures all loads and finishes.
Optionally, above-mentioned subsequent pictures can be one, also can be many, and when for many, can be directly the picture of buffer memory be shown to the user, thereby improves the speed that the user browses photo, improves user's Experience Degree.
The present invention also provides another embodiment, and present embodiment also provides a kind of pre-browsing method of picture, and this method comprises as shown in Figure 2:
The page turning order that S21, reception user send;
The photo of S22, hiding current demonstration;
S23, the photo that judge to need shows whether in load queue, as not, obtains an idle photo after, load the photo that needs demonstration; Then directly show this photo in this way;
Above-mentioned S23 also can be replaced by S24 (omitting among Fig. 2), S24, judges the prestrain photo whether in load queue, as not, obtain an idle photo after, loading prestrain photo; Then directly finish in this way.
Prestrain photo among the above-mentioned S24 can be one of back or several photos of the photo of current demonstration, and concrete digital subscriber can set up on their own.
The method that further embodiment of this invention provides is after receiving the page turning order, the photo that judge to need shows directly shows this photo when load queue, thereby has improved the speed that the user browses photo, has improved user's Experience Degree.
The concrete mode of the another embodiment of above-mentioned realization can for:
<div>
<img?id=″img_obj1″src=″about:blank″style=″display:none″/>
<img?id=″img_obj2″src=″about:blank″style=″display:none″/>
<img?id=″img_obj3″src=″about:blank″style=″display:none″/>
<img?id=″img_obj4″src=″about:blank″style=″display:none″/>
<img?id=″img_obj5″src=″about:blank″style=″display:none″/>
</div>
<script>
/**
* pull photo
* the @param{string}url photo url that will show
The photo url that * will pull in advance
*/
function?imgLoader(url,pUrl){
// photo of current demonstration is hidden
hide(nowImage)
Whether // this photo is in load queue
if(have(url)){
// display photos
show(url);
}else{
Idle img label of // acquisition
var?img=getFree();
img.src=url;
// display photos (not necessarily showing at once here)
show(img);
}
nowImage=url;
if(!have(pUrl)){
// obtain an idle img label, and be not the current photo that is showing
var?img2=getFree();
img2.src=pUrl;
}
}
</script>
The specific embodiment of the invention also provides a kind of browsing apparatus of picture, and this installs as shown in Figure 3, comprising:
Detecting unit 31 is used for after the user clicks picture, and whether detection system sends the request that pulls to described picture corresponding uniform resource locator url;
Send display unit 33, be used for when detecting unit 31 detects not, send to the url of this picture correspondence and pull request, and show the content of this picture to the user.
Optionally, said apparatus can also comprise:
Revise unit 34, be used for Image object modification with Global Queue and become IMG label on the page.
Optionally, said apparatus can also comprise:
Pull the unit in advance, be used for pulling the subsequent pictures of this picture in advance, and will finish the image cache that pulls processing in advance by the IMG tag queue that the page is hidden.
Optionally, above-mentioned subsequent pictures is one or more.
Detecting unit 31 in the device that the specific embodiment of the invention provides is detecting when being, the content that shows this picture by display unit 32 to the user, when detecting not,, show the content of this picture to the user by sending display unit 33 after the url of correspondence transmission request.And then having avoided the pulling also in advance of photo of user's click not finish, system can resend and once pull order, has avoided repeating to pull, and has saved bandwidth resources.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, this program is when carrying out, comprise the said method step, described storage medium comprises: ROM/RAM, disk, CD etc.
In sum, the technical scheme that the specific embodiment of the invention provides has and has avoided repeating to pull, and has saved the advantage of bandwidth resources.
The above; only be the preferable embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the embodiment of the invention discloses; the variation 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 (8)
1, a kind of browsing method of picture is characterized in that, described method comprises:
After the user clicked picture, whether detection system sent the request that pulls to described picture corresponding uniform resource locator url;
In this way, the content that shows described picture to the user; Otherwise pull request to the url of described picture correspondence transmission, show the content of described picture to the user.
2, method according to claim 1 is characterized in that, whether described method also comprised before the url of described picture correspondence transmission pulls request in detection system:
Image object modification in the Global Queue is become IMG label on the page.
3, method according to claim 2 is characterized in that, after the described content that shows described picture to the user, described method also comprises:
The IMG tag queue of hiding by the page pulls the subsequent pictures of described picture in advance, and will finish the image cache that pulls processing in advance.
4, method according to claim 3 is characterized in that, described subsequent pictures is one or more.
5, a kind of browsing apparatus of picture is characterized in that, described device comprises:
Detecting unit is used for after the user clicks picture, and whether detection system sends the request that pulls to described picture corresponding uniform resource locator url;
The loaded and displayed unit is used for detecting when being at described detecting unit, shows the content of described picture to the user;
Send display unit, be used for when described detecting unit detects not, send to the url of described picture correspondence and pull request, and show the content of described picture to the user.
6, device according to claim 5 is characterized in that, described device also comprises:
Revise the unit, be used for Image object modification with Global Queue and become IMG label on the page.
7, device according to claim 6 is characterized in that, described device also comprises:
Pull the unit in advance, be used for pulling the subsequent pictures of described picture in advance, and will finish the image cache that pulls processing in advance by the IMG tag queue that the page is hidden.
8, device according to claim 7 is characterized in that, described subsequent pictures is one or more.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910090444A CN101650727A (en) | 2009-08-11 | 2009-08-11 | Method and device for browsing pictures |
PCT/CN2010/074536 WO2011017985A1 (en) | 2009-08-11 | 2010-06-25 | Method and device for browsing pictures |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910090444A CN101650727A (en) | 2009-08-11 | 2009-08-11 | Method and device for browsing pictures |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101650727A true CN101650727A (en) | 2010-02-17 |
Family
ID=41672966
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910090444A Pending CN101650727A (en) | 2009-08-11 | 2009-08-11 | Method and device for browsing pictures |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101650727A (en) |
WO (1) | WO2011017985A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011017985A1 (en) * | 2009-08-11 | 2011-02-17 | 腾讯科技(深圳)有限公司 | Method and device for browsing pictures |
CN102402560A (en) * | 2010-09-17 | 2012-04-04 | 腾讯数码(天津)有限公司 | Method and system for commenting pictures in individual dynamic messages of SNS (social networking service) community |
CN103412827A (en) * | 2013-08-05 | 2013-11-27 | 广州唯品会信息科技有限公司 | Picture caching method and picture caching system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7216149B1 (en) * | 2000-08-18 | 2007-05-08 | International Business Machines Corporation | Gathering enriched web server activity data of cached web content |
CN101082917A (en) * | 2006-06-02 | 2007-12-05 | 千橡世纪科技发展(北京)有限公司 | Method and apparatus for rapid previewing summary of web page content |
CN101119385A (en) * | 2007-08-10 | 2008-02-06 | 深圳市深信服电子科技有限公司 | Method for enhancing HTTP network velocity using WebPush |
CN101650727A (en) * | 2009-08-11 | 2010-02-17 | 腾讯数码(天津)有限公司 | Method and device for browsing pictures |
-
2009
- 2009-08-11 CN CN200910090444A patent/CN101650727A/en active Pending
-
2010
- 2010-06-25 WO PCT/CN2010/074536 patent/WO2011017985A1/en active Application Filing
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011017985A1 (en) * | 2009-08-11 | 2011-02-17 | 腾讯科技(深圳)有限公司 | Method and device for browsing pictures |
CN102402560A (en) * | 2010-09-17 | 2012-04-04 | 腾讯数码(天津)有限公司 | Method and system for commenting pictures in individual dynamic messages of SNS (social networking service) community |
CN103412827A (en) * | 2013-08-05 | 2013-11-27 | 广州唯品会信息科技有限公司 | Picture caching method and picture caching system |
CN103412827B (en) * | 2013-08-05 | 2016-12-28 | 广州唯品会信息科技有限公司 | Image cache method and system |
Also Published As
Publication number | Publication date |
---|---|
WO2011017985A1 (en) | 2011-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017190709A1 (en) | Method for displaying media file, client and plug-in | |
US8291312B1 (en) | Displaying web pages without downloading static files | |
US8375285B2 (en) | Enabling access to data files unsupported by a computing device | |
TW202006542A (en) | Control method and device for playing multimedia, terminal and computer storage medium | |
US20120304068A1 (en) | Presentation format for an application tile | |
US20100229115A1 (en) | Zoomable user interface data generation | |
CN102768683B (en) | A kind of searching method of pictorial information and searcher | |
US10088986B2 (en) | User function operation method and electronic device supporting the same | |
CN104981800A (en) | Delivery and display of page previews during page retrieval events | |
CN103279517A (en) | Webpage content showing method | |
US9940396B1 (en) | Mining potential user actions from a web page | |
US10152554B2 (en) | Detecting digital content visibility | |
KR20120049291A (en) | Dynamic media content previews | |
CN102799372A (en) | Uploading method and uploading device for pictorial information | |
CN105898518A (en) | Interface display method and device in video loading process | |
CN102298599A (en) | Method and system for browsing web pages in offline state | |
US20190080017A1 (en) | Method, system, and device that invokes a web engine | |
US20150193394A1 (en) | Scheduling processing of resource requests to ensure fulfillment of foreground requests | |
CN101650727A (en) | Method and device for browsing pictures | |
CN102568021B (en) | A kind of picture playing method based on flash and system | |
CN103699652A (en) | Webpage access method and webpage access system | |
CN103034720A (en) | Method, peripheral device and system for forming webpage | |
CN106339235A (en) | Interface display method and device | |
US20130016108A1 (en) | Information processing apparatus, information processing method, and program | |
CN103646115A (en) | Method and system for client side to access to webpage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20100217 |