CN105488054B - A kind of method and device of browsing pictures - Google Patents

A kind of method and device of browsing pictures Download PDF

Info

Publication number
CN105488054B
CN105488054B CN201410475327.4A CN201410475327A CN105488054B CN 105488054 B CN105488054 B CN 105488054B CN 201410475327 A CN201410475327 A CN 201410475327A CN 105488054 B CN105488054 B CN 105488054B
Authority
CN
China
Prior art keywords
picture
file
website information
webpage
response
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
CN201410475327.4A
Other languages
Chinese (zh)
Other versions
CN105488054A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410475327.4A priority Critical patent/CN105488054B/en
Publication of CN105488054A publication Critical patent/CN105488054A/en
Application granted granted Critical
Publication of CN105488054B publication Critical patent/CN105488054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses a kind of methods of browsing pictures.For example, this method may include: to execute to obtain picture operation in response to the picture on the webpage that currently shows browser, the website information of the webpage is read, wherein the resolution ratio of acquired picture is less than the resolution ratio of the picture on the webpage;Acquired picture is saved as into picture file, and, the website information is added in the file attribute of the picture file.Using method provided by the embodiments of the present application, the higher original high definition picture of resolution ratio on webpage can be efficiently and easily navigated to according to website information in the file attribute of the lower picture file of local resolution ratio, and reduces the waste to resource is locally stored.In addition, disclosed herein as well is a kind of devices of browsing pictures.

Description

A kind of method and device of browsing pictures
Technical field
This application involves computer application field, in particular to a kind of method and device of browsing pictures.
Background technique
In life, user often browses many pictures in webpage, and picture suitable on webpage is saved sometimes In local so as to browsing next time.
Picture on webpage can take the mode of screenshot to save.It is especially right but since the picture effect of screenshot is poor For the user of picture processing relevant industries, the picture effect of screenshot is unable to satisfy it and browses needs.Therefore, clear in order to guarantee It lookes to clearly picture, the original image of high definition on webpage would generally be separately stored to local by the user that picture handles relevant industries. But prolonged accumulation, these high definition pictures can occupy a large amount of memory spaces of hard disk, lead to the waste that resource is locally stored.
Summary of the invention
In view of this, a kind of method and device for being designed to provide browsing pictures of the application, to realize easily While picture preferable to effect by the picture browsing locally saved, the waste that resource is locally stored is reduced.
In the first aspect of the application, a kind of method of browsing pictures is provided.For example, this method may include: sound Picture on the webpage that Ying Yu currently shows browser, which executes, obtains picture operation, reads the website information of the webpage, In, the resolution ratio of acquired picture is less than the resolution ratio of the picture on the webpage;Acquired picture is saved as into picture File, and, the website information is added in the file attribute of the picture file.
In the second aspect of the application, a kind of device of browsing pictures is provided.For example, the apparatus may include: net Location acquiring unit, can be used for executing in response to the picture on the webpage that currently shows browser and obtains picture operation, read The website information of the webpage, wherein the resolution ratio of acquired picture is less than the resolution ratio of the picture on the webpage;It saves Unit can be used for acquired picture saving as picture file, and, the website information is added to the picture text In the file attribute of part.
It can be seen that the application has the following beneficial effects:
Since the embodiment of the present application is picture file of the resolution ratio less than original high definition picture on webpage what is locally saved, And corresponding website information is preserved in the file attribute of the picture file saved, thus user can be convenient according to local Website information in the picture file of preservation is reduced compared with quickly browsing to the higher original high definition picture of resolution ratio on webpage Waste to resource is locally stored.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application, for those of ordinary skill in the art, in the premise of not making the creative labor property Under, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of method flow schematic diagram of browsing pictures disclosed in the embodiment of the present application;
Fig. 2 is a kind of apparatus structure schematic diagram of browsing pictures disclosed in the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common Technical staff's every other embodiment obtained without creative efforts, all should belong to protection of the present invention Range.
It is a kind of method flow diagram of browsing pictures provided by the embodiments of the present application for example, with reference to Fig. 1.As shown in Figure 1, This method may include:
S110, it is executed in response to the picture on the webpage that is currently shown to browser and obtains picture operation, read the net The website information of page, wherein the resolution ratio of acquired picture is less than the resolution ratio of the picture on the webpage.
For example, the picture on the webpage that user currently shows browser in the embodiment of the present application, which executes, obtains picture operation It may include: that user executes shot operation to the picture on webpage, and after obtaining screenshot, carries out preservation operation to screenshot;Or Person directly executes the picture on webpage and separately deposits operation.
In the embodiment for executing shot operation to the picture on webpage, it can also add in a browser for working as The webpage of preceding display executes the plug-in unit of shot operation.When user browses to the picture for wanting to save in the webpage that browser is shown When, the plug-in unit can be used, screenshot is carried out to picture.The application can use the plug-in unit to the net currently shown in response to user Picture in page executes shot operation, automatically extracts the website information for the webpage that browser is currently shown.Wherein, the plug-in unit can The screenshot of corresponding size is generated with the range selected according to user.
It should be noted that the application is unlimited to applicable browser.For example, it may be IE browser, Firefox is clear Look at device, Chrome browser etc..
S120, acquired picture is saved as into picture file, and, the website information is added to the picture text In the file attribute of part.
It should be noted that in the embodiment of the present application, format to the picture file saved is simultaneously not limited.Example Such as, the picture file saved can be the JPG format for meeting EXIF specification.EXIF (Exchangeable Image File), It is a kind of specification of jpeg file, defers to Joint Photographic Experts Group, increase in EXIF code requirement file attribute (for example, File header information) Content and index map in relation to photographing information.In this embodiment, acquired picture can be saved as and meets EXIF rule The picture file of the JPG format of model, and standardized according to EXIF, the website information is added to the file attribute of the picture In.
For example, step S120 can be held by described for executing the plug-in unit of shot operation to the webpage currently shown Row.After the plug-in unit generates screenshot, plug-in unit can call the operation interface of browser, read the network address letter of the webpage currently shown Breath, and by the website information be saved in EIXF specification JPG format picture file file attribute in.The plug-in unit can incite somebody to action The picture file of JPG format is stored in the scheduled local folders of plug-in unit.
As it can be seen that due to the embodiment of the present application locally save be resolution ratio be less than webpage on original high definition picture picture File, and corresponding website information is preserved in the file attribute of the picture file saved, so that user can be convenient ground root According to the website information in the picture file locally saved compared with quickly browsing to the higher original high definition picture of resolution ratio on webpage, And reduce waste to resource is locally stored.
In some possible embodiments of the embodiment of the present application, it may also respond to execute the picture file specified The website information is read out in operation from the file attribute of the picture file, and browser is called to open the website information Corresponding webpage.It should be noted that the browser called in this step shows net with when executing obtaining picture operation before The browser of page picture can be identical, be also possible to different browsers.
The picture file that locally saves is browsed for the ease of user, in some possible embodiments, in conjunction with above-mentioned clear It lookes in device and is embedded in the embodiment of plug-in unit, it, can be by using being embedded in browser for example, user is while browser execution In above-mentioned plug-in unit, several picture files for being stored in local are browsed.For example, the plug-in unit can be in response to browse graph The operation of piece list reads out the picture file for having website information in file attribute (for example, can be from the scheduled local text of plug-in unit Picture file is read out in part folder), the picture file read out is shown in the form of listed files.User can choose picture text Any picture file in part list is browsed.It, can be to described when user is when browsing to the picture for wanting more preferable effect Picture file executes specified operation.Plug-in unit executes specified operation to picture file in response to user, from the file category of picture file Property in read out the website information, call browser to open the corresponding webpage of the website information, to make user in webpage In see original high definition picture.
It should be noted that the embodiment of the present application is unlimited to the specific embodiment of the specified operation.For example, some can In the embodiment of energy, behaviour can be clicked in response to executing to the picture (i.e. image object) shown in the picture file opened Make, or, in response to executing clicking operation to the picture file (i.e. file object) being unopened, from the file of the picture file The website information is read out in attribute, and browser is called to open the corresponding webpage of the website information.Wherein, the execution point Operation is hit, for the terminal device configured with mouse, can refer to that user clicks the interface that terminal device is shown using mouse, For the terminal device with touch screen, it can refer to that user clicks the interface that touch screen is shown using finger or stylus.
In some possible embodiments, above-mentioned plug-in unit is also possible to be detached from the independently operated plug-in unit of browser, at this In application and it is not limited.
Corresponding with the method for above-mentioned browsing pictures, present invention also provides a kind of devices of browsing pictures.
It is a kind of apparatus structure schematic diagram of browsing pictures provided by the embodiments of the present application for example, with reference to Fig. 2.Such as Fig. 2 institute Show, the apparatus may include:
Network address acquiring unit 210 can be used for executing acquisition in response to the picture on the webpage that currently shows browser Picture operation, reads the website information of the webpage, wherein the resolution ratio of acquired picture is less than the picture on the webpage Resolution ratio.Storage unit 220 can be used for acquired picture saving as picture file, and, by the website information It is added in the file attribute of the picture file.
In order to reduce user's operation, in some possible embodiments, device provided by the embodiments of the present application can also be wrapped Include: picture browsing unit 230 can be used in response to executing specified operation to the picture file, from the picture file The website information is read out in file attribute, and browser is called to open the corresponding webpage of the website information.In the embodiment party In formula, it is manually entered website information without user, automatic that browser is called to open the corresponding webpage of website information, easy user Operation.
It should be noted that the embodiment of the present application is unlimited to the specific embodiment of the specified operation.For example, some can In the embodiment of energy, the picture browsing unit 230 can be used in response to the figure shown in the picture file opened Piece executes clicking operation, or, in response to executing clicking operation to the picture file being unopened, from the file of the picture file The website information is read out in attribute, and browser is called to open the corresponding webpage of the website information.
The picture that locally saves is browsed for the ease of user, can also include: that list is clear in some possible embodiments It lookes at unit 240, can be used for the operation in response to browsing pictures list, read out the picture text for having website information in file attribute Part shows the picture file read out in the form of listed files.
It should be noted that in the embodiment of the present application, format to the picture file saved is simultaneously not limited.Example Such as, the storage unit 220 can be used for saving as in acquired picture the picture text for meeting the JPG format of EXIF specification Part, and standardized according to EXIF, the website information is added in the file attribute of the picture.
As it can be seen that due to the embodiment of the present application storage unit 220 locally save be resolution ratio be less than webpage on it is original The picture file of high definition picture, and corresponding website information is preserved in the file attribute of picture file, therefore, user can root The higher original high definition picture of resolution ratio on webpage is easily browsed to according to website information, and is reduced to resource is locally stored Waste.
It should be noted that picture browsing unit 230 and list browse unit 240 are in Fig. 2 in the embodiment of the present application Being drawn with dotted line to indicate these units not is the necessary unit of device provided by the embodiments of the present application.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can It realizes by means of software and necessary general hardware platform.Based on this understanding, technical solution of the present invention essence On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the certain of each embodiment or embodiment of the invention Method described in part.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The present invention can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer, service Device computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system, top set Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, including any of the above system or equipment Distributed computing environment etc..
The present invention can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The present invention can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (8)

1. a kind of method of browsing pictures characterized by comprising
It is executed in response to the picture on the webpage that is currently shown to browser and obtains picture operation, read the network address letter of the webpage Breath, wherein the resolution ratio of acquired picture is less than the resolution ratio of the picture on the webpage;
Acquired picture is saved as into picture file, and, the website information is added to the file of the picture file In attribute,
The method also includes:
In response to executing specified operation to the picture file, the network address is read out from the file attribute of the picture file Information calls browser to open the corresponding webpage of the website information.
2. the method according to claim 1, wherein described in response to executing specified behaviour to the picture file Make, the website information is read out from the file attribute of the picture file, browser is called to open the website information pair The webpage answered includes:
In response to executing clicking operation to the picture shown in the picture file opened, or, in response to the figure being unopened Piece file executes clicking operation, and the website information is read out from the file attribute of the picture file, and browser is called to beat Open the corresponding webpage of the website information.
3. the method according to claim 1, wherein further include:
In response to the operation of browsing pictures list, the picture file for having website information in file attribute is read out, with listed files Form show the picture file that reads out.
4. method according to claim 1-3, which is characterized in that described that acquired picture is saved as picture File, and, the website information is added in the file attribute of the picture file includes: to save acquired picture For meet EXIF specification JPG format picture file, and standardized according to EXIF, the website information be added to the figure In the file attribute of piece.
5. a kind of device of browsing pictures characterized by comprising
Network address acquiring unit, the picture on the webpage in response to currently showing to browser, which executes, obtains picture operation, reads Take the website information of the webpage, wherein the resolution ratio of acquired picture is less than the resolution ratio of the picture on the webpage;
Storage unit, for acquired picture to be saved as picture file, and, the website information is added to the figure In the file attribute of piece file,
Picture browsing unit, for specifying operation in response to executing to the picture file, from the file category of the picture file Property in read out the website information, call browser to open the corresponding webpage of the website information.
6. device according to claim 5, which is characterized in that the picture browsing unit, in response to having opened Picture file in the picture that shows execute clicking operation, or, in response to executing clicking operation to the picture file being unopened, The website information is read out from the file attribute of the picture file, calls browser to open the website information corresponding Webpage.
7. device according to claim 5, which is characterized in that further include: list browse unit, in response to browse graph The picture file for having website information in file attribute is read out in the operation of piece list, is shown and is read out in the form of listed files Picture file.
8. according to the described in any item devices of claim 5-7, which is characterized in that the storage unit, for will be acquired Picture saves as the picture file for meeting the JPG format of EXIF specification, and is standardized according to EXIF, and the website information is added Into the file attribute of the picture.
CN201410475327.4A 2014-09-17 2014-09-17 A kind of method and device of browsing pictures Active CN105488054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410475327.4A CN105488054B (en) 2014-09-17 2014-09-17 A kind of method and device of browsing pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410475327.4A CN105488054B (en) 2014-09-17 2014-09-17 A kind of method and device of browsing pictures

Publications (2)

Publication Number Publication Date
CN105488054A CN105488054A (en) 2016-04-13
CN105488054B true CN105488054B (en) 2019-11-26

Family

ID=55675034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410475327.4A Active CN105488054B (en) 2014-09-17 2014-09-17 A kind of method and device of browsing pictures

Country Status (1)

Country Link
CN (1) CN105488054B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383643A (en) * 2016-09-18 2017-02-08 浙江慧脑信息科技有限公司 Method for browsing picture and text at the same time
CN106528799A (en) * 2016-11-11 2017-03-22 广州三星通信技术研究有限公司 Method and device used for displaying multimedia file

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719125A (en) * 2009-11-06 2010-06-02 冯强 Hand-held communication terminal and webpage browsing method thereof
CN101996184A (en) * 2009-08-13 2011-03-30 上海杉达学院 Method for establishing mobile website for access of mobile terminal
CN102929953A (en) * 2012-10-08 2013-02-13 北京奇虎科技有限公司 Webpage picture display device and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6266668B1 (en) * 1998-08-04 2001-07-24 Dryken Technologies, Inc. System and method for dynamic data-mining and on-line communication of customized information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996184A (en) * 2009-08-13 2011-03-30 上海杉达学院 Method for establishing mobile website for access of mobile terminal
CN101719125A (en) * 2009-11-06 2010-06-02 冯强 Hand-held communication terminal and webpage browsing method thereof
CN102929953A (en) * 2012-10-08 2013-02-13 北京奇虎科技有限公司 Webpage picture display device and method

Also Published As

Publication number Publication date
CN105488054A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
JP6286104B2 (en) Display method, apparatus, server, program and recording medium for social network information stream
US9659278B2 (en) Methods, systems, and computer program products for displaying tag words for selection by users engaged in social tagging of content
CN104239298B (en) Text message recommends method, server, browser and system
CN102646135B (en) Webpage collecting method, device and system
CN105787091B (en) Support the content delivering system and method for multiple terminals
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
WO2016018683A1 (en) Image based search to identify objects in documents
CN104504096B (en) A kind of information transferring method and web page browsing device of inter-network page
CN107273369B (en) Table data modification method and device
CN106874271A (en) A kind of method and system that PC webpages are converted to mobile terminal webpage
CN104462590A (en) Information searching method and device
CN104090869B (en) A kind of method and translation system for translating the network information
CN108536700A (en) A kind of method that nothing buries a collector journal
CN104765849A (en) Method and system for acquiring copied data source information
CN105550179A (en) Webpage collection method and browser plug-in
CN105653550B (en) Webpage filtering method and device
CN105488054B (en) A kind of method and device of browsing pictures
CN104808995B (en) A kind of method and apparatus for across application collection application content
EP3564833B1 (en) Method and device for identifying main picture in web page
US20170041436A1 (en) System and Method for the Sharing of Structured Tagged Content where all Content Originates from a Structured Content Management System
CN109240664A (en) A kind of method and terminal acquiring user behavior information
US9384285B1 (en) Methods for identifying related documents
US20140164338A1 (en) Organizing information directories
US20160011770A1 (en) Document autograph system and method
US20170277738A1 (en) Temporal representation of structured information in an object model

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