CN102184179B - Method and system for cutting photo thumbnail - Google Patents

Method and system for cutting photo thumbnail Download PDF

Info

Publication number
CN102184179B
CN102184179B CN 201110033356 CN201110033356A CN102184179B CN 102184179 B CN102184179 B CN 102184179B CN 201110033356 CN201110033356 CN 201110033356 CN 201110033356 A CN201110033356 A CN 201110033356A CN 102184179 B CN102184179 B CN 102184179B
Authority
CN
China
Prior art keywords
photo
thumbnail
client
user
page
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
CN 201110033356
Other languages
Chinese (zh)
Other versions
CN102184179A (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.)
BEIJING KAIXINREN INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING KAIXINREN INFORMATION TECHNOLOGY 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 BEIJING KAIXINREN INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING KAIXINREN INFORMATION TECHNOLOGY Co Ltd
Priority to CN 201110033356 priority Critical patent/CN102184179B/en
Publication of CN102184179A publication Critical patent/CN102184179A/en
Application granted granted Critical
Publication of CN102184179B publication Critical patent/CN102184179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for cutting a photo thumbnail. The method comprises the following steps that: 1, a server saves photos of a user at different addresses according to different display webpage types of the photos; 2, a client positions a position of a masking of the photos in a webpage to be checked by the user; 3, the client acquires a corresponding photo address according to the type of the webpage to be checked by the user; 4, the client cuts 15 to 62.5 percent of the photo from the top end as the thumbnail by using the masking; and 5, when the user accesses the webpage, the client checks the thumbnail and caches the picture according to the acquired photo address. By the invention, the generated thumbnail comprises complete important information of the photos; when the user previews the photos, actual contents of the photos can be identified intuitively, and the user can check the photos conveniently; moreover, the photos are stored in the cache, so the pressure of the server can be reduced and the stability of the server can be improved.

Description

A kind of method and system of intercepting photo thumbnail
Technical field
The present invention relates to a kind of method and system of intercepting photo thumbnail, belong to the social networking service field.
Background technology
Existing photo thumbnail, normally comparison film intercepting at random.For the photo of perpendicular version, make the thumbnail that generates in this way, its important information is imperfect, during user's preview photo, is difficult to pick out the actual content of photo.The user then need open the former figure of photo and search if need check certain photo, and this checks that to the user photo has brought inconvenience, has influenced user's experience; In addition; Prior art produces in the method for thumbnail, owing to will consider the composing of picture in the page, and all will be to each pictures through after repeatedly calculating, judge and comparing; Carry out compression and generate the thumbnail dimensions that is fit to page layout; Be saved to server then, the pressure of server increases, and causes the poor stability of server.
Summary of the invention
The objective of the invention is to; A kind of method and system of intercepting photo thumbnail are provided; It can make the complete important information that comprises photo in the thumbnail of generation, when making user's preview photo, can pick out the actual content of photo intuitively; Check that to the user photo has brought convenience, improved user's experience.
For solving the problems of the technologies described above, the present invention adopts following technical scheme: a kind of method of intercepting photo thumbnail may further comprise the steps:
S1, server be according to the difference of photo page displayed type, and user's photo is saved as different address;
The position of the masking-out of the photo in the page that S2, client location user desire to check;
S3, the page type that client is desired to check according to the user obtain corresponding photo address;
S4, client use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
S5, during user to access pages, client is checked thumbnail and buffer memory picture according to obtaining photo address.
The method of aforesaid a kind of intercepting photo thumbnail, among the described step S4, client is downloaded photo according to obtaining photo address and is comprised: photo is kept in the buffer memory of client.Photo and thumbnail are kept at the pressure that can alleviate server in the client-cache.
The method of aforesaid a kind of intercepting photo thumbnail, described step S5 also comprises: with the photo location, and make the photo along continuous straight runs placed in the middle.
In the method for aforesaid a kind of intercepting photo thumbnail, described page type comprises: homepage, the former diagram page of photo, photo preview page or the Dynamic Display page.
Realize the system of a kind of intercepting photo thumbnail of preceding method, comprising:
The address generation module is used for the difference of server according to photo page displayed type, and user's photo is saved as different address;
Locating module is used for the position of masking-out of the photo of the page that the client location user desires to check;
Address acquisition module is used for the page type that client desires to check according to the user and obtains corresponding photo address;
Interception module, be used for client use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
Display module is used for client and checks thumbnail and buffer memory picture according to obtaining photo address.
The system of aforesaid a kind of intercepting photo thumbnail also comprises the image cache module, is used for photo is kept at the buffer memory of client.
The system of aforesaid a kind of intercepting photo thumbnail also comprises location module placed in the middle, is used for the photo location, and makes the photo along continuous straight runs placed in the middle.
Compared with prior art, the present invention saves as different address through the photo with the user, the position of the masking-out of the photo in the positioning webpage; The page type of desiring to check according to the user obtains corresponding photo address and with its background as masking-out, then the intercepting photo generates thumbnail; The present invention makes the complete important information that comprises photo in the thumbnail of generation, when making user's preview photo, can pick out the actual content of photo intuitively, checks that to the user photo has brought convenience, has improved user's experience; In addition; Comparison film of the present invention is handled in the process that generates thumbnail; Server only need carry out once carrying out relatively afterwards compression with picture and normal width, returns corresponding picture address then, is brought in the adaptation of accomplishing thumbnail by the client; Therefore use method of the present invention can reduce the pressure of server, improve the stability of server.
Description of drawings
Fig. 1 is the system architecture synoptic diagram of a kind of embodiment of the present invention;
Fig. 2 is the workflow diagram of a kind of embodiment of the present invention.
Reference numeral: 1-address generation module, 2-locating module, 3-address acquisition module, 4-display module, 5-interception module, 6-image cache module, 7 location module placed in the middle.
Below in conjunction with accompanying drawing and embodiment the present invention is further described.
Embodiment
Embodiments of the invention: a kind of method of intercepting photo thumbnail may further comprise the steps:
S1, server be according to the difference of photo page displayed type, and user's photo is saved as different address;
The position of the masking-out of the photo in the page that S2, client location user desire to check;
S3, the page type that client is desired to check according to the user obtain corresponding photo address;
S4, client use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
S5, during user to access pages, client is checked thumbnail and buffer memory picture according to obtaining photo address.
Among the described step S4, client is downloaded photo according to obtaining photo address and is comprised: photo is kept in the buffer memory of client.
Described step S5 also comprises: with the photo location, and make the photo along continuous straight runs placed in the middle.
Described page type comprises: homepage, the former diagram page of photo, photo preview page or the Dynamic Display page.
Realize the system of a kind of intercepting photo thumbnail of preceding method, its system schematic is as shown in Figure 1; Comprise:
Address generation module 1 is used for the difference of server according to photo page displayed type, and user's photo is saved as different address;
Locating module 2 is used for the position of masking-out of the photo of the page that the client location user desires to check;
Address acquisition module 3 is used for the page type that client desires to check according to the user and obtains corresponding photo address;
Interception module 5, be used for client use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
Display module 4 is used for client and checks thumbnail and buffer memory picture according to obtaining photo address.
System also comprises image cache module 6, is used for photo is kept at the buffer memory of client.
System also comprises location module 7 placed in the middle, is used for the photo location, and makes the photo along continuous straight runs placed in the middle.
According to composite principle; Golden section point (approximating 62.5%) is very important in the process of a taking pictures reference point, and the applicant reaches a conclusion after a large amount of photos are analyzed, compare, screened: the key area of most important information of most of photo and photo all is positioned at down 15%~62.5% zone, photo top.
The workflow of a kind of embodiment of the present invention: (workflow diagram is as shown in Figure 2)
S10, picture servers is according to the difference of photo page displayed type, through the address generation module user's photo saved as different address;
S20, the position of the masking-out of the photo in the page that client is desired to check through the locating module consumer positioning;
S30, the page type that client is desired to check according to the user obtain corresponding photo address;
S40, client is photo location, placed in the middle through locating module placed in the middle, then through interception module use cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
S50, during user to access pages, client is checked thumbnail and buffer memory picture according to obtaining photo address through display module.

Claims (6)

1. the method for an intercepting photo thumbnail is characterized in that, may further comprise the steps:
S1, server be according to the difference of photo page displayed type, and user's photo is saved as different address;
The position of the masking-out of the photo in the page that S2, client location user desire to check;
S3, the page type that client is desired to check according to the user obtain corresponding photo address;
S4, client according to use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
S5, during user to access pages, client is checked thumbnail and buffer memory photo according to obtaining photo address.
2. the method for a kind of intercepting photo thumbnail according to claim 1 is characterized in that: described step S5 also comprises: with the photo location, and make the photo along continuous straight runs placed in the middle.
3. the method for a kind of intercepting photo thumbnail according to claim 1 is characterized in that: described page type comprises: homepage, the former diagram page of photo, photo preview page or the Dynamic Display page.
4. realize the system of a kind of intercepting photo thumbnail of the said method of claim 1~3, it is characterized in that, comprising:
Address generation module (1) is used for the difference of server according to photo page displayed type, and user's photo is saved as different address;
Locating module (2) is used for the position of masking-out of the photo of the page that the client location user desires to check;
Address acquisition module (3) is used for the page type that client desires to check according to the user and obtains corresponding photo address;
Interception module (5), be used for client use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
Display module (4) is used for client and checks thumbnail and buffer memory photo according to obtaining photo address.
5. the system of a kind of intercepting photo thumbnail according to claim 4 is characterized in that: also comprise image cache module (6), be used for photo is kept at the buffer memory of client.
6. the system of a kind of intercepting photo thumbnail according to claim 4 is characterized in that: also comprise location module placed in the middle (7), be used for the photo location, and make the photo along continuous straight runs placed in the middle.
CN 201110033356 2011-01-30 2011-01-30 Method and system for cutting photo thumbnail Active CN102184179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110033356 CN102184179B (en) 2011-01-30 2011-01-30 Method and system for cutting photo thumbnail

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110033356 CN102184179B (en) 2011-01-30 2011-01-30 Method and system for cutting photo thumbnail

Publications (2)

Publication Number Publication Date
CN102184179A CN102184179A (en) 2011-09-14
CN102184179B true CN102184179B (en) 2012-12-19

Family

ID=44570356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110033356 Active CN102184179B (en) 2011-01-30 2011-01-30 Method and system for cutting photo thumbnail

Country Status (1)

Country Link
CN (1) CN102184179B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514272A (en) * 2013-09-13 2014-01-15 北京奇虎科技有限公司 Method and device for providing thumbnail corresponding to webpage content
CN103514271A (en) * 2013-09-13 2014-01-15 北京奇虎科技有限公司 Method and device for providing thumbnail image corresponding to webpage content
CN104159140B (en) * 2014-03-03 2018-04-27 腾讯科技(北京)有限公司 A kind of methods, devices and systems of Video processing
CN112199138A (en) * 2020-09-01 2021-01-08 北京达佳互联信息技术有限公司 Task picture display method and device and server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359336A (en) * 2008-08-15 2009-02-04 深圳市中兴移动通信有限公司 Method for producing reduced graph with different specifications based on page need
CN101557389A (en) * 2008-04-11 2009-10-14 北京闻言科技有限公司 Method for dynamically scaling picture as required in request

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8249388B2 (en) * 2008-11-24 2012-08-21 Microsoft Corporation Identifying portions of an image for cropping

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557389A (en) * 2008-04-11 2009-10-14 北京闻言科技有限公司 Method for dynamically scaling picture as required in request
CN101359336A (en) * 2008-08-15 2009-02-04 深圳市中兴移动通信有限公司 Method for producing reduced graph with different specifications based on page need

Also Published As

Publication number Publication date
CN102184179A (en) 2011-09-14

Similar Documents

Publication Publication Date Title
US11734287B2 (en) Mapping images to search queries
US10529106B2 (en) Optimizing image cropping
CN103839479B (en) A kind of efficent electronic writing exchange method
US20160283096A1 (en) Method of generating a link by utilizing a picture and system thereof
CN102184179B (en) Method and system for cutting photo thumbnail
WO2012129786A1 (en) Custom web page themes
US20140281910A1 (en) Smart document anchor
CN103246678B (en) A kind of web page content preview method and apparatus
CN105574102B (en) A kind of method and device of electronic map data load
US9069794B1 (en) Determining location information for images using landmark, caption, and metadata location data
TW200842623A (en) System and method for processing map images
CN102663078B (en) Method and equipment for generating to-be-issued information in network community
US20160104212A1 (en) Computer implemented system for managing advertisements and a method thereof
US20200159764A1 (en) Method for Processing and Displaying Real-Time Social Data on Map
CN106850572B (en) Target resource access method and device
CN106055591A (en) Weather pushing method and device
CN105677771B (en) Network map pre-add support method based on space computational domain similarity mode
JP2010140250A (en) Information provision management system, information provision management method and information provision management program
CN109543127B (en) Page refreshing method, device and equipment and readable storage medium
CN104809113B (en) The display methods and device of webpage information
CN106598933B (en) A kind of web-based type-setting document proofreading method and equipment
CN111382552B (en) Typesetting processing method, device, equipment and storage medium
CN103258012A (en) Method and device for acquiring picture information
US20150261733A1 (en) Asset collection service through capture of content
US20150062660A1 (en) File management apparatus and file management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant