CN102201123A - Method and device for editing pictures - Google Patents

Method and device for editing pictures Download PDF

Info

Publication number
CN102201123A
CN102201123A CN201010132224XA CN201010132224A CN102201123A CN 102201123 A CN102201123 A CN 102201123A CN 201010132224X A CN201010132224X A CN 201010132224XA CN 201010132224 A CN201010132224 A CN 201010132224A CN 102201123 A CN102201123 A CN 102201123A
Authority
CN
China
Prior art keywords
picture
editor
server
editing
edit
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
Application number
CN201010132224XA
Other languages
Chinese (zh)
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.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201010132224XA priority Critical patent/CN102201123A/en
Publication of CN102201123A publication Critical patent/CN102201123A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method and a device for editing pictures, which are used for solving the problem that pictures on a server cannot be edited automatically in the prior art. According to the method, after downloading pictures to be edited from a server side according to received editing instructions sent by the server side, a picture editor edits the pictures to be edited and uploads the edited pictures to the server side.

Description

A kind of picture editor's method and device
Technical field
The present invention relates to the picture processing technology field, particularly a kind of picture editor's method and device.
Background technology
Along with popularizing of digital camera, digital picture is more and more, for obtaining high-quality picture, and editing operation such as often need carry out cutting, rotate, discolor to picture.In the picture system of present centralized management, when the picture on the editing server, need earlier will be to be edited the manual client that downloads to of picture, open softwares such as professional picture handling implement such as photoshop again and treat editor's picture and process processing, the manual again picture that will edit is uploaded onto the server after finishing dealing with.
This shows, for the picture on the editing server, client must be installed third party's specialty picture handling implement, like this, after picture to be edited is downloaded in craft, picture to be edited is written into third party's specialty picture handling implement edits, manual again uploading after editor finishes, thereby, can not realize the picture on the automatic editing server, and editing process is loaded down with trivial details, efficient is extremely low.
Summary of the invention
The embodiment of the invention provides a kind of picture editor's method and device, in order to solve the picture problem that can not realize in the prior art on the automatic editing server.
The method that the embodiment of the invention provides a kind of picture to handle comprises:
Picture editor is treated editing picture according to the edit instruction that receives from the server end download;
The described editing picture for the treatment of of described picture editor editor, and the picture after will editing is uploaded to described server end.
The embodiment of the invention provides a kind of picture editor, comprising:
Receiving element is used to receive edit instruction;
Download unit is used for according to the edit instruction that receives, and downloads from server end and treats editing picture;
Edit cell is used to edit the described editing picture for the treatment of;
Uploading unit is used for the picture behind the editor is uploaded to described server end.
The client that the embodiment of the invention provides a kind of picture to handle comprises:
Determining unit is used for when edit control is triggered by the user, according to the corresponding relation of the control and instruction of preserving, determines the edit instruction of described edit control correspondence;
Transmitting element is used for described edit instruction is sent to picture editor.
The picture editor that the embodiment of the invention provides can be according to the edit instruction that receives, from server end download treat editing picture after, edit the described editing picture for the treatment of, and the picture after will editing is uploaded to described server end.Thereby picture editor is the picture on the editing server automatically.
Description of drawings
Fig. 1 is the process flow diagram of image processing method in the embodiment of the invention;
Fig. 2 is a picture disposal system Organization Chart in the embodiment of the invention;
Fig. 3 is the process flow diagram that picture is handled in the embodiment of the invention one;
Fig. 4 is the structural drawing of picture editor in the embodiment of the invention;
Fig. 5 is the structural drawing that picture is handled client in the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of picture editor, can directly edit the picture of downloading from server end to be edited, and the picture after will editing is uploaded to server automatically, thereby has realized the picture on the automatic editing server end.
Server end need be in the corresponding relation of control of preserving and instruction, add the corresponding relation of edit control and edit instruction, thereby, client can be downloaded edit control and installation from server end, and during original state, client also needs to download from server end the corresponding relation of control and instruction, like this, after client has been installed picture editor, can directly edit the picture of downloading from server end to be edited, and the picture after will editing is uploaded to server automatically.Referring to Fig. 1, the process that the picture editor on the client is edited the picture on the server comprises:
Step 101: picture editor receives edit instruction.
Here, the user is by the picture on the WEB browser browser server on the client, when picture need be edited, trigger the edit control on the client, thereby, client is according to the corresponding relation of the control and instruction of preserving, and what determine to receive is edit instruction, and edit instruction is sent to picture editor.In the embodiment of the invention, client is opened picture editor automatically according to edit instruction.
Step 102: picture editor is downloaded picture to be edited from server end.
In the embodiment of the invention, picture editor has download function.When server end comprises: when intermediate server, database server, file server, the process that picture editor is downloaded picture to be edited from server end comprises:
In the embodiment of the invention, picture editor is supported http agreement (Hypertext Transfer Protocol, HTML (Hypertext Markup Language)) and two kinds of host-host protocols of ftp agreement (File Transfer Protocol, file transfer protocol (FTP)).
Picture editor adopts the http agreement, or the ftp agreement is sent the request for the treatment of editing picture of downloading to intermediate server, intermediate server is asked according to this, inquire about this and treat the position of editing picture at file server in database server, intermediate server obtains and treats editing picture according to the position that finds, and this is treated that editing picture copies to this locality, at last, picture editor adopts the http agreement, or the ftp agreement is downloaded acquisition and treated editing picture from middle server.
Here, picture editor is downloaded from middle server and is obtained to treat that editing picture is kept under the client temporary path, is loaded into automatically by picture editor in the form of picture editor.
Step 103: picture editor is edited downloading the editing picture for the treatment of that obtains.
In the embodiment of the invention, picture editor also has amplification, dwindles, local amplification, rotation, mirror image, cutting and change editting function such as ash, here, picture editor can be amplified by treating editing picture, dwindled, local amplification, rotation, mirror image, cutting and/or change ash manipulation, thereby obtains high-quality picture.And the form of the picture that picture editor can be edited comprises: multiple professional picture formats such as jpg, bmp, tif, jpeg, jpe, jfif, ico, gif, png.
Step 104: the picture after picture editor will be edited is uploaded to server end.
Picture editor also has upload function simultaneously, and when server end comprises: when intermediate server, database server, file server, the process that the picture after picture editor will be edited is uploaded to server end comprises:
Picture after picture editor will be edited adopts the http agreement, or the ftp agreement is submitted to intermediate server, intermediate server in database server, inquire about this editor after picture behind the position of file server, with editor after picture be kept at the position that inquires in the file server.
In the embodiment of the invention, during original state, client need be installed edit control, and needs to preserve the corresponding relation of control and instruction.Here, server end is in the corresponding relation of control of preserving and instruction, add the corresponding relation of edit control and edit instruction, client can be downloaded edit control and installs by the WEB browser from server, the same corresponding relation that adds the control and instruction of from server, downloading by the WEB browser, like this, when triggering edit control, what client can be determined to receive is edit instruction.
In the above-described embodiments, picture editor can support big picture file to download automatically and upload.And, upload, support breakpoint transmission in the downloading process.
Certainly, picture editor is just edited this pictures after can downloading a pictures, edits after also can downloading plurality of pictures again.The picture that picture editor is downloaded all is kept under the client temporary path, is loaded into automatically in the form of picture editor by picture editor then and edits.
In step 104 process, picture editor can also be opened third party's specialty photo-editing software, for example: and photoshop, carry out more complicated editor to picture, and submit to server end automatically behind the editor.
Below in conjunction with Figure of description the embodiment of the invention is described in further detail.
Embodiment 1, referring to Fig. 2, the system that picture is handled in the present embodiment comprises: WEB end picture editor 100, intermediate server 200, database server 300 and file server 400, wherein, WEB end picture editor 100 is on client, intermediate server 200, database server 300 and file server 400 constitute server end, thereby, WEB end picture editor 100 links with intermediate server 200, and database server 300 and file server 400 also link with intermediate server 200 respectively.
Like this, when original state, in the control of on intermediate server, preserving and the corresponding relation of instruction, add the corresponding relation of edit control and edit instruction, client is downloaded edit control and installation from middle server, simultaneously, download the corresponding relation of control and instruction from middle server; And, on client, installed have download, editor and the WEB of upload function end picture editor.
Referring to Fig. 3, the client after the initialization utilizes the process of the picture on the automatic editing server of WEB picture editor to comprise:
Step 301: the user is by the picture on the WEB browser browser server end.
Step 302: the user triggers the mounted edit control of client.
When the picture on determining server end needed by editor, then the user can trigger the mounted edit control of client.
Step 303: client sends edit instruction, opens the WEB picture editor.
Client is determined the edit instruction of edit control correspondence according to the corresponding relation of the control and instruction of preserving, thereby sends edit instruction, thereby opens the WEB picture editor, and like this, the WEB picture editor receives edit instruction.
Step 304:WEB picture editor sends the request for the treatment of editing picture of downloading to intermediate server.
The WEB picture editor adopts the http agreement, or the ftp agreement is sent the request for the treatment of editing picture of downloading to intermediate server.
Step 305: intermediate server is inquired about this to database server and is treated the position of editing picture in file server according to the request that receives.
Step 306: the position that intermediate server finds from file server obtains this and treats editing picture, and duplicates this and treat that editing picture arrives local storage unit, and promptly local preservation of intermediate server treated editing picture.
Step 307:WEB picture editor adopts the http agreement, or the ftp agreement obtains from the storage unit of middle server and treat editing picture, and is stored under the client temporary path, is loaded into automatically in editor's form by the WEB picture editor.
Step 308:WEB picture editor is edited the picture in editor's form, the picture after obtaining to edit.
The WEB picture editor to the picture of editor in the form amplify, dwindle, local amplification, rotation, mirror image, cutting and/or change ash manipulation, thereby the picture after obtaining editing.
Step 309:WEB picture editor adopts the http agreement, or the picture of ftp agreement after will editing is uploaded to intermediate server.
Step 310: intermediate server is inquired about the position of picture in file server behind the editor from database server.
Step 311: the picture after intermediate server will be edited is saved in the position that inquires in the file server.
According to the method that above-mentioned picture is handled, can construct a kind of picture editor, referring to Fig. 4, comprising: receiving element 410, download unit 420, edit cell 430 and uploading unit 440.Wherein,
Receiving element 410 is used to receive edit instruction.
Download unit 420 is used for the edit instruction that issues according to the server end that receives, downloads from server end and treats editing picture.
Edit cell 430 is used to edit the editing picture for the treatment of of download.
Uploading unit 440 is used for the picture behind the editor is uploaded to server end.
In the embodiment of the invention, download unit 420 comprises: request subelement and acquisition subelement.
The request subelement be used for adopting the http agreement according to the edit instruction that receives, or the ftp agreement is sent the request for the treatment of editing picture of downloading to intermediate server.Like this, intermediate server is asked according to this, inquires about this and treat the position of editing picture at file server in database server, and according to the position that finds, the described editing picture for the treatment of is copied to this locality.
Obtain subelement, be used to adopt the http agreement, or the ftp agreement is downloaded the described editing picture for the treatment of of acquisition from described intermediate server.
Edit cell 430 can treat that editing picture amplifies, dwindles, local amplification, rotation, mirror image, cutting and change in the operation such as ash one or more.
Uploading unit 440 also be used for the picture behind the editor is adopted the http agreement, or the ftp agreement is submitted to intermediate server.Like this, intermediate server is inquired about picture behind this editor behind the position of file server in database server, and the picture behind the described editor is kept at the position that inquires in the file server.
Picture editor can include but not limited to above-mentioned WEB picture editor in the embodiment of the invention.
Certainly, the client that the embodiment of the invention also provides a kind of picture to handle referring to Fig. 5, comprising: determining unit 510 and transmitting element 520.Wherein,
Determining unit 510 is used for when edit control is triggered by the user, according to the corresponding relation of the control and instruction of preserving, determines the edit instruction of described edit control correspondence.
Transmitting element 520 is used for described edit instruction is sent to picture editor.
Certainly, in the embodiment of the invention, client also comprises: download unit is used for from the corresponding relation of server end download control and instruction.
In the embodiment of the invention, server end must be in the corresponding relation of control of preserving and instruction, add the corresponding relation of edit control and edit instruction, and client must be downloaded the corresponding relation of edit control and control and instruction from server end, thereby, after client had been installed edit control and picture editor, picture editor just can directly be edited the picture of downloading from server end to be edited, and the picture after will editing is uploaded to server end automatically.
In sum, in the embodiment of the invention, picture editor is according to the edit instruction that receives, from server end download treat editing picture after, edit the described editing picture for the treatment of, and the picture after will editing is uploaded to described server end.Thereby picture editor is the picture of editing server end automatically, does not need to carry out separately picture and downloads, do not need to use professional picture work of treatment manually to edit yet, thereby, taking reduced to system resource, editor to the server end picture is fairly simple, has improved efficient.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. the method that picture is handled is characterized in that, comprising:
Picture editor is treated editing picture according to the edit instruction that receives from the server end download;
The described editing picture for the treatment of of described picture editor editor, and the picture after will editing is uploaded to described server end.
2. the method for claim 1 is characterized in that, described picture editor is according to the edit instruction that receives, and downloads from server end and treats to comprise before the editing picture:
After edit control on the client was triggered by the user, client was determined the edit instruction of described edit control correspondence according to the corresponding relation of the control and instruction of preserving;
Described client sends to picture editor with described edit instruction.
3. method as claimed in claim 2 is characterized in that, the corresponding relation of described client storage control and instruction comprises:
Described client is downloaded the corresponding relation of control and instruction from server end.
4. the method for claim 1 is characterized in that, the described download from server end treats that editing picture comprises:
Described picture editor adopts the http agreement according to the edit instruction that receives, or the ftp agreement is sent the request for the treatment of editing picture of downloading to intermediate server;
Described intermediate server is asked according to this, inquires about this and treat the position of editing picture at file server in database server, and according to the position that finds, the described editing picture for the treatment of is copied to this locality;
Described picture editor adopts the http agreement, or the ftp agreement is downloaded the described editing picture for the treatment of of acquisition from described intermediate server.
5. the method for claim 1 is characterized in that, the described editing picture for the treatment of of described picture editor editor comprises:
Described picture editor to describedly treat that editing picture amplifies, dwindles, local amplification, rotation, mirror image, cutting and/or change ash manipulation.
6. the method for claim 1 is characterized in that, the picture after described will the editor is uploaded to described server end and comprises:
Picture after described picture editor will be edited adopts the http agreement, or the ftp agreement is submitted to intermediate server;
Described intermediate server is inquired about picture behind this editor behind the position of file server in database server, and the picture behind the described editor is kept at the position that inquires in the file server.
7. a picture editor is characterized in that, comprising:
Receiving element is used to receive edit instruction;
Download unit is used for according to the edit instruction that receives, and downloads from server end and treats editing picture;
Edit cell is used to edit the described editing picture for the treatment of;
Uploading unit is used for the picture behind the editor is uploaded to described server end.
8. picture editor as claimed in claim 7 is characterized in that, described download unit comprises:
The request subelement be used for adopting the http agreement according to the edit instruction that receives, or the ftp agreement is sent the request for the treatment of editing picture of downloading to intermediate server;
Obtain subelement, be used to adopt the http agreement, or the ftp agreement is downloaded the described editing picture for the treatment of of acquisition from described intermediate server.
9. picture editor as claimed in claim 7 is characterized in that,
Described edit cell, also be used for to describedly treat that editing picture amplifies, dwindles, local amplification, rotation, mirror image, cutting and/or change ash manipulation.
10. picture editor as claimed in claim 7 is characterized in that,
Described uploading unit also be used for the picture behind the editor is adopted the http agreement, or the ftp agreement is submitted to intermediate server.
11. the client that picture is handled is characterized in that, comprising:
Determining unit is used for when edit control is triggered by the user, according to the corresponding relation of the control and instruction of preserving, determines the edit instruction of described edit control correspondence;
Transmitting element is used for described edit instruction is sent to picture editor.
12. client as claimed in claim 11 is characterized in that, also comprises:
Download unit is used for from the corresponding relation of server end download control and instruction.
CN201010132224XA 2010-03-24 2010-03-24 Method and device for editing pictures Pending CN102201123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010132224XA CN102201123A (en) 2010-03-24 2010-03-24 Method and device for editing pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010132224XA CN102201123A (en) 2010-03-24 2010-03-24 Method and device for editing pictures

Publications (1)

Publication Number Publication Date
CN102201123A true CN102201123A (en) 2011-09-28

Family

ID=44661773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010132224XA Pending CN102201123A (en) 2010-03-24 2010-03-24 Method and device for editing pictures

Country Status (1)

Country Link
CN (1) CN102201123A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179302A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Picture processing method and system in open platform
CN103714061A (en) * 2012-09-28 2014-04-09 腾讯科技(深圳)有限公司 Method and device for storing webpage images
CN103929446A (en) * 2013-01-11 2014-07-16 北大方正集团有限公司 Method, system and device for operating multimedia files
CN105100230A (en) * 2015-07-09 2015-11-25 无锡天脉聚源传媒科技有限公司 File transmission method and device
CN105677325A (en) * 2015-12-29 2016-06-15 努比亚技术有限公司 Mobile terminal and image processing method
CN106649510A (en) * 2016-10-12 2017-05-10 珠海市魅族科技有限公司 Method for editing cloud photo album and mobile terminal
CN107909634A (en) * 2017-11-30 2018-04-13 努比亚技术有限公司 Image display method, mobile terminal and computer-readable recording medium
CN110704785A (en) * 2019-10-11 2020-01-17 胥万福 Data processing method for rapidly opening pictures in webpage through Photoshop

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1680973A (en) * 2004-04-08 2005-10-12 佳能株式会社 Optical symbols indentifying system and method based on use for network service
CN1855899A (en) * 2005-04-29 2006-11-01 现代奥途纳特株式会社 Interlock system between home network and remote information processing system and control method thereof
WO2008077232A1 (en) * 2006-12-27 2008-07-03 Axon Medical Technologies Corp. Cooperative grid based picture archiving and communication system
CN101472140A (en) * 2007-12-28 2009-07-01 上海高翔广告传播有限公司 System for distributing and requiring multimedia program and implementing method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1680973A (en) * 2004-04-08 2005-10-12 佳能株式会社 Optical symbols indentifying system and method based on use for network service
CN1855899A (en) * 2005-04-29 2006-11-01 现代奥途纳特株式会社 Interlock system between home network and remote information processing system and control method thereof
WO2008077232A1 (en) * 2006-12-27 2008-07-03 Axon Medical Technologies Corp. Cooperative grid based picture archiving and communication system
CN101472140A (en) * 2007-12-28 2009-07-01 上海高翔广告传播有限公司 System for distributing and requiring multimedia program and implementing method thereof

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179302A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Picture processing method and system in open platform
CN103179302B (en) * 2011-12-22 2017-10-10 腾讯科技(深圳)有限公司 Image processing method and system in open platform
CN103714061A (en) * 2012-09-28 2014-04-09 腾讯科技(深圳)有限公司 Method and device for storing webpage images
CN103929446A (en) * 2013-01-11 2014-07-16 北大方正集团有限公司 Method, system and device for operating multimedia files
CN103929446B (en) * 2013-01-11 2017-02-22 北大方正集团有限公司 Method, system and device for operating multimedia files
CN105100230A (en) * 2015-07-09 2015-11-25 无锡天脉聚源传媒科技有限公司 File transmission method and device
CN105677325A (en) * 2015-12-29 2016-06-15 努比亚技术有限公司 Mobile terminal and image processing method
CN106649510A (en) * 2016-10-12 2017-05-10 珠海市魅族科技有限公司 Method for editing cloud photo album and mobile terminal
CN107909634A (en) * 2017-11-30 2018-04-13 努比亚技术有限公司 Image display method, mobile terminal and computer-readable recording medium
CN110704785A (en) * 2019-10-11 2020-01-17 胥万福 Data processing method for rapidly opening pictures in webpage through Photoshop

Similar Documents

Publication Publication Date Title
CN102201123A (en) Method and device for editing pictures
JP2005513617A5 (en)
IL149823A0 (en) Methods and apparatus for downloading a file from a server
WO2007108904A3 (en) System and method for editing online documents
JP2006314009A5 (en)
EP1457890A3 (en) Method and apparatus for submitting a document service request from a mobile device
TW200738007A (en) Method and apparatus for selecting a communication mode for performing user requested data transfers
MX2009011515A (en) Method and apparatus for software downloads in a network.
EP1271356A3 (en) System for transmission of embedded applications over a network
CN105100210A (en) File cache method and device applied to client
JP2008547117A5 (en)
WO2001071539A3 (en) System and method for automatically forwarding email and email events via a computer network to a server computer
CN101014022A (en) Method, apparatus and system for transmitting files in instant messaging tool
EP1339195A3 (en) Method and device for attaching documents to e-mail
CN105227610A (en) File uploading and storing method and device
WO2000057315A3 (en) Extended file system
JP2007181143A5 (en)
CN101398813A (en) Application management system for on-line editing network file
EP1237095A3 (en) Method and apparatus for supplying network path bookmark information
JP2005514833A5 (en)
CN101587480B (en) System and method for distributed storage of Notes file
JP2007305064A (en) Server, information processing terminal, file transfer method and method, automatic file updating system, method and program
CN104717241A (en) File network sharing method, terminal and server
WO2018209554A1 (en) Apparatus for accessing third-party platform protocol
JP2004096580A (en) Data management 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110928