CN103390023A - Image processing method and system - Google Patents

Image processing method and system Download PDF

Info

Publication number
CN103390023A
CN103390023A CN2013102405544A CN201310240554A CN103390023A CN 103390023 A CN103390023 A CN 103390023A CN 2013102405544 A CN2013102405544 A CN 2013102405544A CN 201310240554 A CN201310240554 A CN 201310240554A CN 103390023 A CN103390023 A CN 103390023A
Authority
CN
China
Prior art keywords
picture
processing
lossless compression
image
service device
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
CN2013102405544A
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.)
Shanghai Ctrip Business Co Ltd
Original Assignee
Ctrip Computer Technology Shanghai 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 Ctrip Computer Technology Shanghai Co Ltd filed Critical Ctrip Computer Technology Shanghai Co Ltd
Priority to CN2013102405544A priority Critical patent/CN103390023A/en
Publication of CN103390023A publication Critical patent/CN103390023A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention provides an image processing method and system. The method comprises the steps that a Web server obtains an image uploaded by a user and sends the image to an image processing optimizing server; and the image processing optimizing server checks whether the image is complete and the image form, performs automatic and real-time multi-step processing and lossless compression processing on the complete image according to the image form, and stores the image subjected to multi-step processing and lossless compression processing to a network file server. The method and the system can reduce the image volume on the premise that the quality is guaranteed, further reduce the network flow, can provide a flexible and configurable mode, perform batch, multi-step, automatic and real-time image process, and optimize the image, so as to ensure that the image is more suitable for network application.

Description

Image processing method and system
Technical field
Step internet industry of the present invention, particularly a kind of image processing method and system.
Background technology
Each large website all needs a large amount of pictures to come exhibiting product and service, the network traffics that picture brings account for very high proportion, the picture of most of products ﹠ services is JPG format pictures of taking with digital product, and can carrying out Lossless Compression, the picture of JPG form reduces network traffics, yet present website more than 95% is not done the Lossless Compression of picture and is processed.In addition, many websites picture is all manually to cut in advance after compression processes mostly, then uploads onto the server, and needs a large amount of manpowers to process if the picture amount is huge, and easily makes mistakes.
Summary of the invention
The object of the present invention is to provide a kind of image processing method and system, can be automatically, in real time, in bulk picture multi-step and Lossless Compression are processed, make it to be more suitable for network application, reduce network traffics thereby optimize picture.
For addressing the above problem, the invention provides a kind of image processing method, comprising:
Web server obtains the picture that the user uploads, and described picture is sent to picture processing Optimized Service device;
Described picture processing Optimized Service device checks whether complete and picture format of described picture, complete picture is done according to its picture format automatic, real-time multi-step is processed and Lossless Compression is processed, and will through multi-step processes and the Lossless Compression processing after picture-storage to NetWare file server.
Further, in said method, described picture processing Optimized Service device will also comprise through the picture-storage that multi-step is processed after processing with Lossless Compression to the step of NetWare file server:
The user passes through CDN server and Reverse Proxy successively from the picture of described NetWare file server access after multi-step processing and Lossless Compression processing.
Further, in said method, described multi-step process comprise to picture cut, convergent-divergent, format conversion, color space conversion, add watermark, add shape, insert word, increase expansion special efficacy such as sharpening, fuzzy, threshold value, rotate, lose lustre, rotate and the processing of overturning in combination in any.
Further, in said method, described Lossless Compression is treated to remove does not affect metadata that the picture vision shows and satellite information to reduce 5% to 40% picture volume.
According to another side of the present invention, a kind of picture processing system is provided, comprising:
Web server, be used for obtaining the picture that the user uploads, and described picture be sent to picture processing Optimized Service device;
Described picture processing Optimized Service device, be used for checking whether complete and picture format of described picture, complete picture is done according to its picture format automatic, real-time multi-step is processed and Lossless Compression is processed, and will through multi-step processes and the Lossless Compression processing after picture-storage to NetWare file server;
NetWare file server, be used for the picture of storage after multi-step processing and Lossless Compression processing.
Further, in said system, CDN server and Reverse Proxy, for the picture after multi-step processing and Lossless Compression processing that passes through for the user on described CDN server and the described NetWare file server of Reverse Proxy access, to improve picture access speed.
Further, in said system, the described multi-step that described picture processing Optimized Service device carries out process comprise to picture cut, convergent-divergent, format conversion, color space conversion, add watermark, add shape, insert word, increase expansion special efficacy such as sharpening, fuzzy, threshold value, rotate, lose lustre, rotate and the processing of overturning in combination in any.
Further, in said system, the described Lossless Compression that described picture processing Optimized Service device carries out is treated to remove does not affect metadata that the picture vision shows and satellite information to reduce 5% to 40% picture volume.
Compared with prior art, the present invention obtains by Web server the picture that the user uploads, and described picture is sent to picture processing Optimized Service device; Described picture processing Optimized Service device checks whether complete and picture format of described picture, complete picture is made automatic, real-time multi-step processing and Lossless Compression according to its picture format to be processed, and will through multi-step process and the picture-storage of Lossless Compression after processing to NetWare file server, can reduce the picture volume under the prerequisite of ensuring the quality of products, and then reduction network traffics, and, configurable mode flexibly can be provided, in batches, multi-step, automatic, real-time processing picture, optimize picture and make it to be more suitable for network application.
Description of drawings
Fig. 1 is the process flow diagram of the image processing method of one embodiment of the invention;
Fig. 2 is the schematic diagram of the picture processing system of one embodiment of the invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Embodiment one
As shown in Figure 1, the invention provides a kind of image processing method, comprising:
Step S1, Web server (WebServer) obtains the picture that the user uploads, and described picture is sent to picture processing Optimized Service device;
Step S2, described picture processing Optimized Service device checks whether complete and picture format of described picture, complete picture is done according to its picture format automatic, real-time multi-step is processed and Lossless Compression is processed, and will through multi-step processes and the Lossless Compression processing after picture-storage to NetWare file server (nfs server).Concrete, this step provides configurable flexibly mode batch, multi-step, automatic, real-time processing picture, can meet the demand of various picture processings, and can reduce human cost and error.
Further, also can comprise step S3 after step S2,
The user passes through CDN server (Content Delivery Network) and Reverse Proxy successively from the picture of described NetWare file server access after multi-step processing and Lossless Compression processing.Concrete, can improve picture access speed by Reverse Proxy and CDN server during picture access.
Preferably, the described multi-step in step S2 process comprise to picture cut, convergent-divergent, format conversion, color space conversion, add watermark, add shape, insert word, increase expansion special efficacy such as sharpening, fuzzy, threshold value, rotate, lose lustre, rotate and the processing of overturning in combination in any.
Preferably, the described Lossless Compression in step S2 is processed by removing does not affect metadata that the picture vision shows and satellite information to reduce 5% to 40% picture volume.Concrete, the Lossless Compression function of JPG format picture for example can be provided, the JPG format picture of namely various cameras being shot does not affect by removing metadata and the satellite information that the picture vision shows under the harmless condition of quality, reduce 5% to 40% picture volume, make picture save 5% to 40% flow and space when Internet Transmission and storage, picture after processing is more conducive to network application, can effectively alleviate large-scale website high flow capacity problem under the prerequisite of ensuring the quality of products.
the present embodiment provides a whole set of picture relevant framework, comprise picture uploading, picture processing, picture-storage, the several aspects of picture access, provide a cover to carry out batch to picture, multi-step, automatically, in real time, disposal route that can flexible configuration, the function of processing capable of being combined comprises: the cutting of picture, convergent-divergent, format conversion, the color space conversion, add watermark, add shape, insert word, increase expansion special efficacy such as sharpening, fuzzy, threshold value, rotation, lose lustre, rotation, the operations such as upset, dynamically generating pictures and storage, can support jpg, png, gif, tens kinds of picture formats such as bmp, can meet the demand of various picture processings, and can automatically process when picture uploading.In addition, the color space (as CMYK) that can automatically browser not supported converts the color space that each browser is supported to.Can generate according to the mass parameter that the user arranges the picture of various quality and volume for the JPG picture.
Embodiment two
As shown in Figure 2, the present invention also provides another kind of picture processing system, comprises Web server 1, picture processing Optimized Service device 2 and NetWare file server 3.
Web server 1, be used for obtaining the picture that the user uploads, and described picture be sent to picture processing Optimized Service device 2;
Described picture processing Optimized Service device 2, be used for checking whether complete and picture format of described picture, complete picture is done according to its picture format automatic, real-time multi-step is processed and Lossless Compression is processed, and will through multi-step processes and the Lossless Compression processing after picture-storage to NetWare file server 3;
NetWare file server 3, be used for the picture of storage after multi-step processing and Lossless Compression processing.
Further, the system of the present embodiment also can comprise:
CDN server 4 and Reverse Proxy 5, for the picture after multi-step processing and Lossless Compression processing that passes through for the user on described CDN server 5 and the Reverse Proxy 4 described NetWare file servers 3 of access, to improve picture access speed.
Preferably, the described multi-step that carries out of described picture processing Optimized Service device 3 process comprise to picture cut, convergent-divergent, format conversion, color space conversion, add watermark, add shape, insert word, increase expansion special efficacy such as sharpening, fuzzy, threshold value, rotate, lose lustre, rotate and the processing of overturning in combination in any.
Preferably, the described Lossless Compression that carries out of described picture processing Optimized Service device 3 is treated to remove does not affect metadata that the picture vision shows and satellite information to reduce 5% to 40% picture volume.
Other detailed content of embodiment specifically can, referring to embodiment one, not repeat them here.
In sum, the present invention obtains by Web server the picture that the user uploads, and described picture is sent to picture processing Optimized Service device; Described picture processing Optimized Service device checks whether complete and picture format of described picture, complete picture is made automatic, real-time multi-step processing and Lossless Compression according to its picture format to be processed, and will through multi-step process and the picture-storage of Lossless Compression after processing to NetWare file server, can reduce the picture volume under the prerequisite of ensuring the quality of products, and then reduction network traffics, and, configurable mode flexibly can be provided, in batches, multi-step, automatic, real-time processing picture, optimize picture and make it to be more suitable for network application.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.For the disclosed system of embodiment, owing to corresponding to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates and gets final product referring to method.
The professional can also further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or combination both, for the interchangeability of hardware and software clearly is described, composition and the step of each example described in general manner according to function in the above description.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention invention.Like this, if within of the present invention these were revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also was intended to comprise these change and modification.

Claims (8)

1. an image processing method, is characterized in that, comprising:
Web server obtains the picture that the user uploads, and described picture is sent to picture processing Optimized Service device;
Described picture processing Optimized Service device checks whether complete and picture format of described picture, complete picture is done according to its picture format automatic, real-time multi-step is processed and Lossless Compression is processed, and will through multi-step processes and the Lossless Compression processing after picture-storage to NetWare file server.
2. image processing method as claimed in claim 1, is characterized in that, described picture processing Optimized Service device will also comprise through the picture-storage that multi-step is processed after processing with Lossless Compression to the step of NetWare file server:
The user passes through CDN server and Reverse Proxy successively from the picture of described NetWare file server access after multi-step processing and Lossless Compression processing.
3. image processing method as claimed in claim 1, it is characterized in that, described multi-step process comprise to picture cut, convergent-divergent, format conversion, color space conversion, add watermark, add shape, insert word, increase expansion special efficacy such as sharpening, fuzzy, threshold value, rotate, lose lustre, rotate and the processing of overturning in combination in any.
4. image processing method as claimed in claim 1, is characterized in that, described Lossless Compression is treated to remove does not affect metadata that the picture vision shows and satellite information to reduce 5% to 40% picture volume.
5. a picture processing system, is characterized in that, comprising:
Web server, be used for obtaining the picture that the user uploads, and described picture be sent to picture processing Optimized Service device;
Described picture processing Optimized Service device, be used for checking whether complete and picture format of described picture, complete picture is done according to its picture format automatic, real-time multi-step is processed and Lossless Compression is processed, and will through multi-step processes and the Lossless Compression processing after picture-storage to NetWare file server;
NetWare file server, be used for the picture of storage after multi-step processing and Lossless Compression processing.
6. picture processing system as claimed in claim 5, is characterized in that, also comprises:
CDN server and Reverse Proxy, for the picture after multi-step processing and Lossless Compression processing that passes through for the user on described CDN server and the described NetWare file server of Reverse Proxy access, to improve picture access speed.
7. picture processing system as claimed in claim 5, it is characterized in that, the described multi-step that described picture processing Optimized Service device carries out process comprise to picture cut, convergent-divergent, format conversion, color space conversion, add watermark, add shape, insert word, increase expansion special efficacy such as sharpening, fuzzy, threshold value, rotate, lose lustre, rotate and the processing of overturning in combination in any.
8. picture processing system as claimed in claim 5, is characterized in that, the described Lossless Compression that described picture processing Optimized Service device carries out is treated to remove does not affect metadata that the picture vision shows and satellite information to reduce 5% to 40% picture volume.
CN2013102405544A 2013-06-17 2013-06-17 Image processing method and system Pending CN103390023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102405544A CN103390023A (en) 2013-06-17 2013-06-17 Image processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102405544A CN103390023A (en) 2013-06-17 2013-06-17 Image processing method and system

Publications (1)

Publication Number Publication Date
CN103390023A true CN103390023A (en) 2013-11-13

Family

ID=49534295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102405544A Pending CN103390023A (en) 2013-06-17 2013-06-17 Image processing method and system

Country Status (1)

Country Link
CN (1) CN103390023A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317502A (en) * 2014-10-31 2015-01-28 新华瑞德(北京)网络科技有限公司 Picture editing method and device
CN104754042A (en) * 2015-03-13 2015-07-01 网宿科技股份有限公司 Picture releasing and uploading acceleration method and system using CDN (content distribution network)
CN105094918A (en) * 2015-08-11 2015-11-25 北京思特奇信息技术股份有限公司 Image size processing method and system
CN107154013A (en) * 2016-03-02 2017-09-12 阿里巴巴集团控股有限公司 Additional card, content delivery network server and execution method for image procossing
CN107249087A (en) * 2017-07-25 2017-10-13 维沃移动通信有限公司 A kind of photo optimization method, mobile terminal and computer-readable recording medium
CN110244919A (en) * 2019-06-17 2019-09-17 山东世纪开元电子商务集团有限公司 A kind of picture develops and prints process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040175047A1 (en) * 2003-03-07 2004-09-09 Michael Gormish Communication of compressed digital images
CN101187870A (en) * 2007-10-18 2008-05-28 金蝶软件(中国)有限公司 Software system interface picture management method
CN102508851A (en) * 2011-09-27 2012-06-20 深圳市五巨科技有限公司 Image upload processing method and image upload processing system
CN102917033A (en) * 2012-09-29 2013-02-06 乐视网信息技术(北京)股份有限公司 Picture intercepting and sharing method of video player

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040175047A1 (en) * 2003-03-07 2004-09-09 Michael Gormish Communication of compressed digital images
CN101187870A (en) * 2007-10-18 2008-05-28 金蝶软件(中国)有限公司 Software system interface picture management method
CN102508851A (en) * 2011-09-27 2012-06-20 深圳市五巨科技有限公司 Image upload processing method and image upload processing system
CN102917033A (en) * 2012-09-29 2013-02-06 乐视网信息技术(北京)股份有限公司 Picture intercepting and sharing method of video player

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BORROW: "无损前提下 图片在线瘦身", 《电脑迷》 *
陈蕴智 等: "报纸网络数据无损压缩安全传输系统研究", 《中国印刷与包装研究》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317502A (en) * 2014-10-31 2015-01-28 新华瑞德(北京)网络科技有限公司 Picture editing method and device
CN104317502B (en) * 2014-10-31 2018-03-09 大唐网络有限公司 The edit methods and editing device of picture
CN104754042A (en) * 2015-03-13 2015-07-01 网宿科技股份有限公司 Picture releasing and uploading acceleration method and system using CDN (content distribution network)
CN105094918A (en) * 2015-08-11 2015-11-25 北京思特奇信息技术股份有限公司 Image size processing method and system
CN107154013A (en) * 2016-03-02 2017-09-12 阿里巴巴集团控股有限公司 Additional card, content delivery network server and execution method for image procossing
CN107249087A (en) * 2017-07-25 2017-10-13 维沃移动通信有限公司 A kind of photo optimization method, mobile terminal and computer-readable recording medium
CN107249087B (en) * 2017-07-25 2020-01-31 维沃移动通信有限公司 photo optimization method, mobile terminal and computer readable storage medium
CN110244919A (en) * 2019-06-17 2019-09-17 山东世纪开元电子商务集团有限公司 A kind of picture develops and prints process

Similar Documents

Publication Publication Date Title
CN103390023A (en) Image processing method and system
US20150113054A1 (en) Method, client, server, and system for sharing content
CN103514241B (en) picture loading method and system
CN104679570A (en) Image loading display method, equipment and system
JP2014534492A5 (en)
CN103531218B (en) A kind of online multimedia file editing method and system
CN109785939A (en) Medical image display methods, device, equipment and storage medium based on cloud
US20160057087A1 (en) Processing media messages based on the capabilities of the receiving device
CN106791889A (en) A kind of method for processing video frequency and system, distributed objects storage system
EP2947630A1 (en) Method for compressing coordinate data
CN107295084A (en) A kind of video editing system and method based on high in the clouds
US11290756B2 (en) Interruptible video transcoding
CN105282124A (en) Transmission method and presentation method of progressive picture based on XMPP
CN102938775A (en) Issuing method, system and client of video microblog
CN106899894A (en) The adaptive stream media method of dynamic optimization, device and server
CN111311486A (en) Method and apparatus for processing image
CN104572964A (en) Zip file unzipping method and device
CN104376281B (en) Face list identifying system based on mobile network
CN105812833A (en) File processing method and device
CN106658047B (en) Streaming media server cloud data processing method and device
US20150063435A1 (en) Techniques for reference based transcoding
CN110287388B (en) Data visualization method and device
CN103577451A (en) Webpage transcoding method, webpage transcoding device and webpage transcoding system
CN114928754B (en) Data processing method for live-action three-dimensional data and electronic equipment
CN103491393A (en) Video service processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160302

Address after: 200335 Shanghai city Changning District Admiralty Road No. 968 Building No. 16 10 floor

Applicant after: SHANGHAI XIECHENG BUSINESS CO., LTD.

Address before: 200335 Shanghai Changning District Fuquan Road No. 99

Applicant before: Ctrip computer technology (Shanghai) Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131113