CN101662454A - 互联网中图像处理的方法、装置和系统 - Google Patents
互联网中图像处理的方法、装置和系统 Download PDFInfo
- Publication number
- CN101662454A CN101662454A CN200810135527.XA CN200810135527A CN101662454A CN 101662454 A CN101662454 A CN 101662454A CN 200810135527 A CN200810135527 A CN 200810135527A CN 101662454 A CN101662454 A CN 101662454A
- Authority
- CN
- China
- Prior art keywords
- picture
- access request
- image
- picture access
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000012545 processing Methods 0.000 title claims abstract description 28
- 238000012423 maintenance Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000004148 unit process Methods 0.000 claims description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000001747 exhibiting effect Effects 0.000 description 1
- 238000005206 flow analysis Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00132—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture in a digital photofinishing system, i.e. a system where digital photographic images undergo typical photofinishing processing, e.g. printing ordering
- H04N1/00137—Transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
- H04L65/756—Media network packet handling adapting media to device capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
- H04L65/762—Media network packet handling at the source
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00132—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture in a digital photofinishing system, i.e. a system where digital photographic images undergo typical photofinishing processing, e.g. printing ordering
- H04N1/00148—Storage
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00204—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
- H04N1/00244—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server with a server, e.g. an internet server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/327—Initiating, continuing or ending a single-mode communication; Handshaking therefor
- H04N1/32765—Initiating a communication
- H04N1/32771—Initiating a communication in response to a request, e.g. for a particular document
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/327—Initiating, continuing or ending a single-mode communication; Handshaking therefor
- H04N1/32765—Initiating a communication
- H04N1/32771—Initiating a communication in response to a request, e.g. for a particular document
- H04N1/32776—Initiating a communication in response to a request, e.g. for a particular document using an interactive, user-operated device, e.g. a computer terminal, mobile telephone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
- H04N21/6581—Reference data, e.g. a movie identifier for ordering a movie or a product identifier in a home shopping application
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
- H04N21/6582—Data stored in the client, e.g. viewing habits, hardware capabilities, credit card number
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8146—Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
- H04N21/8153—Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics comprising still images, e.g. texture, background image
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/16—Analogue secrecy systems; Analogue subscription systems
- H04N7/173—Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
- H04N7/17309—Transmission or handling of upstream communications
- H04N7/17336—Handling of requests in head-ends
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00132—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture in a digital photofinishing system, i.e. a system where digital photographic images undergo typical photofinishing processing, e.g. printing ordering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N2201/333—Mode signalling or mode changing; Handshaking therefor
- H04N2201/33307—Mode signalling or mode changing; Handshaking therefor of a particular mode
- H04N2201/33314—Mode signalling or mode changing; Handshaking therefor of a particular mode of reading or reproducing mode
- H04N2201/33321—Image or page size, e.g. A3, A4
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N2201/333—Mode signalling or mode changing; Handshaking therefor
- H04N2201/33307—Mode signalling or mode changing; Handshaking therefor of a particular mode
- H04N2201/33314—Mode signalling or mode changing; Handshaking therefor of a particular mode of reading or reproducing mode
- H04N2201/33328—Resolution
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Graphics (AREA)
- Information Transfer Between Computers (AREA)
- Facsimiles In General (AREA)
Abstract
本发明提供了互联网中图像处理的方法、装置和系统,其中,所述方法为:接收用户发送的图片访问请求;将所述图片访问请求转发给图像实时处理器;接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片供用户使用。根据本发明实施例,能够使得用户能够实时地、获得自己所需要的图片,极大地满足了用户需求,提高了用户的满意度。
Description
技术领域
本发明涉及网络技术领域,特别是涉及互联网中图像处理的方法、装置和系统。
背景技术
随着互联网的发展,尤其是各类电子商务网站、照片分享网站等,对图像的要求越来越多。各种网站因为不同的展示需求和带宽的限制,对同一张图像如照片,需要提供不同的尺寸。例如,在一些购物网站,在对商品进行罗列时,通常提供80*80大小的照片,如果客户希望仔细看某一商品时,一般需要提供200*200像素以上尺寸的照片,而在其他业务中可能还会需要提供规格更多的图片,此外,有些业务可能还需要对图片进行一些处理,例如打上公司的水印,品牌的标志等等。
现有的解决方案为,预先将照片缩放成各种不同的规格进行存放,以满足不同的应用需要;或者只提供照片的一种尺寸作为原图片,客户将原图片下载到客户端,根据自己的需要自行压缩调整。
在实现本发明过程中,发明人发现:若采用预先存储多种规格的图像,则需要生成大量文件,当业务需要一种新的尺寸时,就需要对数以亿记的文件进行处理一遍生成该尺寸,这样非常不灵活,效率很低;若采用只提供一种尺寸的原图片,为了保证原图片的可用性,就要求原图片具有较高的质量,这样,用户在将原图像进行下载到客户端的过程中就需要占用大量带宽,而且,对于展示产品的网页而言,一个页面上展示多个图片时,页面基本打不开,实时性差。
发明内容
鉴于上述问题,本发明实施例提供了互联网中图像处理的方法、装置和系统,高效地,实时地满足网络上对图像的各种要求。
为实现上述目的,本发明实施例提供了如下技术方案:
一种互联网中图像处理的方法,包括:
接收用户发送的图片访问请求;
当本地没有所述图片访问请求所要求的图片时,将所述图片访问请求转发给图像实时处理器;
接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片供用户使用。
优选地,还包括:
将接收到的图片进行存储。
优选地,还包括:
对本地存储的图片进行维护,所述维护包括:根据本地所存储的图片的被访问频次删除被访问频次低于预设阈值的图片。
优选地,所述本地存储的图片进行维护具体包括:
定期进行维护;
或者,在本地可用于存储的容量低于预设容量阈值时对CDN节点进行维护。
优选地,所述当本地没有所述图片访问请求所要求的图片时,经由图像服务器将所述图片访问请求转发给图像实时处理器。
优选地,所述当本地没有所述图片访问请求所要求的图片时是指当所述图片访问请求所要求的不是原始图片时。
一种实现互联网中图像处理的CDN节点,包括:第一接收单元,用于接
收用户发送的图片访问请求;
转发单元,用于在自身没有所述图片访问请求所要求的图片时,将图片访问请求转发给图像实时处理器;
第二接收单元,用于接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片供用户使用;
发送单元,用于将符合所述图片访问请求的图片发送给用户。
优选地,还包括:
存储单元,用于将第二接收单元接收到的图片进行存储。
优选地,还包括:
维护单元,用于对CDN节点中存储的图片进行维护,该维护包括:根据CDN节点中所存储的图片的被访问频次删除被访问频次低于预设阈值的图片。
一种实现互联网中图像处理的图像实时处理器,包括:
接收单元,用于接收用户的图片访问请求;
处理单元,用于根据接收单元接收到的图片访问请求处理原始图片;
发送单元,用于将处理单元处理好的图片发送给CDN节点。
一种实现互联网中图像处理的图像实时处理的系统,包括:
CDN节点,用于接收到用户发送的图片访问请求后,当自身有图片访问请求所要求的图片时,将符合所述图片访问请求的图片发送给用户;当自身没有与图片访问请求所要求的图片时,将图片访问请求转发给图像实时处理器;接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片,并将接收到的,符合所述图片访问请求的图片发送给用户;
图像实时处理器,用于接收用户的图片访问请求,根据接收到的图片访问请求处理原始图片,处理完成后,将处理好的图片发送给CDN节点;
图像存储中心,用于存储原始图片。
优选地,还包括:
图像服务器,用于接收CDN节点转发的图片访问请求,判断所述图片访问请求要求的是否为原始图片,如果是,就直接将图像存储中心中存储的原始图片返回给CDN节点;如果不是,就将所述图片访问请求转发给图像实时处理器。
可见,在本发明实施例中,CDN节点接收用户发送的图片访问请求;当所述CDN节点中没有所述图片访问请求所要求的图片时,将所述图片访问请求转发给图像实时处理器;所述CDN节点接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片供用户使用,根据本发明实施例,能够使得用户能够实时地、获得自己所需要的图片,极大地满足了用户需求,提高了用户的满意度。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例一所提供的方法的流程图;
图2为本发明实施例二所提供的方法的流程图;
图3为本发明实施例三所提供的装置的结构示意图;
图4为本发明实施例四所提供的装置的结构示意图;
图5为本发明实施例五所提供的系统的结构示意图。
具体实施方式
本发明实施例提供了互联网中图像处理的方法、装置和系统,下面结合附图对本发明实施例进行详细描述。
参见图1,在本发明实施例一中,实现本发明实施例所提供的方法包括以下步骤:
步骤101:内容传递网络(CDN,Content Delivery Network)节点接收用户发送的图片访问请求。
所述图片访问请求中携带图片的主文件名和辅助文件名。其中,主文件名与图像服务器中保存的原始图片相对应,辅助文件名则表示对该图片的要求,例如可以是对该图片规格的要求,也可以是对图片特殊的处理要求,如加水印等。
优选地,在步骤101之前还包括:
通过用户接入网的DNS,将此次图片访问请求引导到离用户最优的CDN节点。
所述引导是通过DNS解析进行的,比如通过设定DNS,把北京的访问某个域名的请求统一解析到北京的CDN站点所在的IP地址。这是标准的互联网DNS解析的做法。所述离用户最优的CDN节点为根据各地网络质量、各地的流量分析之后,手工绑定的节点。比如,可以把北京与河北的用户统一定向到北京的节点。
通过广泛使用了CDN对图像数据进行近用户端的缓存,有效地提高了用户的访问速度,分散了数据流,对图像服务器的压力进行了分流。
步骤102:当CDN节点中没有所述图片访问请求所要求的图片时,将图片访问请求转发给图像实时处理器。
步骤103:图像实时处理器根据所述图片访问请求从图像存储中心获得原始图片,并对其进行处理。
步骤104:图像实时处理器将处理后的图片返回给CDN节点,CDN节点将该图片提供给用户使用。
在本发明实施例中,只在图像服务器中保存一份原始图片,其它各类尺寸的图片均可以根据访问请求的参数,由图像实时处理器调用图像处理算法实时地完成计算,这样大大降低了需要存储的图片数量,极大地提高了提供各类需求的图片的灵活性。
通过本发明实施例所提供的方法,就可以根据用户的实际需要,对原始图片进行实时地处理,使得用户获得所需要的图片。
优选地,在步骤104之后,还包括:
步骤105:CDN节点将接收到的图片进行存储。
CDN将收到的图片进行存储,如果下次有用户请求该图片,则不需要再向图像实时处理器进行请求,可以直接将图片下发给用户,节约了时间和网络资源,进一步地提供了效率。
优选地,在本发明另一实施例中,步骤102中所述将图片访问请求转发给图像实时处理器具体为:
CDN节点经由图像服务器将所述图片访问请求转发给图像实时处理器。
其中所述CDN节点经由图像服务器将所述图片访问请求转发给图像实时处理器,具体包括:
CDN节点将图片访问请求转发给图像服务器;
当所述图片访问请求要求的是原始图片时,图像服务器直接将原始图片返回给CDN节点;否则将所述图片访问请求转发给图像实时处理器。
在该实施例中在CDN将图片访问请求转发给图像实时处理器之前,先转发给了图像服务器,由图像服务器来判断该图片访问请求是否访问的是原始图片,如果是则可以直接将原始图片返回,如果不是再将该图片访问请求转发给图像实时处理器处理,有效地节约了图像实时处理器工作流程,提高了整体工作效率。
此外,因为各种规格的图片都可以由图像实时处理器调用图像算法实时获得,所以节约了大量的永久性存储空间。
实施例二,本发明实施例对互联网中图像处理的方法进行了更进一步的描述,参见附图2,该方法包括:
步骤201:CDN节点接收用户发送的图片访问请求。
步骤202:CDN根据所述图片访问请求,查询自身是否有与所述图片访问请求相应的图片,如果有,进入步骤203;如果没有进入步骤204。
步骤203:返回所述与图片访问请求相应的图片。
步骤204:将所述图片访问请求转发给图像实时处理器。
步骤205:图像实时处理器根据所述图片访问请求判断所要求访问的图像是否为原始图像,如果是,进入步骤206;如果否,进入步骤207。
步骤206:图像服务器下发所述原始图片。
步骤207:图像实时处理器根据图片访问请求对原始图片进行处理,并返回处理后的图片。
优选地,步骤207进一步包括:
图像实时处理器对原始图片进行规格化处理,将原始图像统一成浏览器能够识别的格式。
通过对原始图片的规格化处理,可以有效地防止一些伪装成图片的恶意代码的上传。
优选地,所述处理具体包括:
将原始图片缩放至某一固定尺寸;
或者,将原始图像打上水印。
在其他实施例中,所述处理可以由客户定制,根据客户的具体需要进行,有良好的扩展性。
步骤208:CDN节点接收图像实时处理器处理完的图片供用户使用。
步骤209:CDN节点存储收到的图片。
优选地,步骤209之后,还包括:
对CDN节点中存储的图片进行维护,该维护包括:根据CDN节点中所存储的图片的被访问频次删除被访问频次低于预设阈值的图片,以便CDN节点能够根据客户的实际需要实时地更新图片。
优选地,可以定期地对CDN节点进行维护,也可以在CDN节点的可用于存储的容量低于预设容量阈值时对CDN节点进行维护。
CDN节点的容量是有限的,只有通过不断地对CDN节点中所存储的图片进行更新,才能为用户提供更高效的服务。
通过本发明实施例所提供的方法,CDN节点判断自身是否储存了用户所要求的图片,在自身能够满足需要时,就直接返回用户所要求的图片;在自身无法满足需要时,将用户的要求转发给图像实时处理器,该图像实时处理器根据用户的需求实时地为用户提供所需要的图片,满足用户的需求。
此外,CDN节点还将从图像实时处理器所获得的图片进行缓存,这样当用户再次要求获取该图片时,CDN节点就能够直接对该请求进行处理,而节约了图像实时处理器再次处理的时间和对网络资源的占用,提高了效率。
另外,通过CDN根据自身容量和所存储图片的被访问频次对所存储的图片进行处理,进一步保证了CDN对网络需求的适应性,提高了CDN的工作效率。
实施例三,与本发明实施例所提供的方法实施例相对应,本发明实施例提供一种实现互联网中图像处理的CDN节点,参见图3,该CDN节点包括:
第一接收单元301,用于接收用户发送的图片访问请求。
转发单元302,用于在自身没有所述图片访问请求所要求的图片时,将图片访问请求转发给图像实时处理器。
第二接收单元303,用于接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片供用户使用。
发送单元304,用于将符合所述图片访问请求的图片发送给用户。
优选地,该装置还包括:
存储单元305,用于将第二接收单元303接收到的图片进行存储。
优选地,图3所述的装置进一步包括:
维护单元306,用于对CDN节点中存储的图片进行维护,该维护包括:根据CDN节点中所存储的图片的被访问频次删除被访问频次低于预设阈值的图片。
图3所述的装置的工作流程为:第一接收单元301接收到用户发送的图片访问请求后,当所述CDN节点中有图片访问请求所要求的图片时,发送单元304将符合所述图片访问请求的图片发送给用户;当所述CDN节点中没有与图片访问请求所要求的图片时,转发单元302将图片访问请求转发给图像实时处理器,第二接收单元303接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片,发送单元304将符合所述图片访问请求的图片发送给用户,存储单元305将第二接收单元303接收到的图片进行存储,维护单元306对CDN节点中存储的图片进行维护。
实施例四,参见图4,本发明实施例还提供一种实现互联网中图像处理的图像实时处理器,该单元包括:
接收单元401,用于接收用户的图片访问请求。
处理单元402,用于根据接收单元401接收到的图片访问请求处理原始图片。
其中,所述处理具体包括:将原始图片缩放至某一固定尺寸;
或者,将原始图像打上水印。
发送单元403,用于将处理单元402处理好的图片发送给CDN节点。
图4所示的装置的工作流程为:
处理单元402根据接收单元401接收到的图片访问请求处理原始图片处理完成之后,发送单元403将处理单元402处理好的图片发送给CDN节点。
实施例五,本发明实施例提供一种实现互联网中图像处理的图像实时处理的系统,参见图5,该系统包括:
CDN节点501,用于接收到用户发送的图片访问请求后,当自身有图片访问请求所要求的图片时,将符合所述图片访问请求的图片发送给用户;当自身没有与图片访问请求所要求的图片时,将图片访问请求转发给图像实时处理器;接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片,并将接收到的,符合所述图片访问请求的图片发送给用户。
图像实时处理器502,用于接收用户的图片访问请求,根据接收到的图片访问请求处理从图像存储中心503所获取的原始图片,处理完成后,将处理好的图片发送给CDN节点。
图像存储中心503,用于存储原始图片。
优选地,图5所示的系统还包括:
图像服务器504,用于接收CDN节点转发的图片访问请求,判断所述图片访问请求要求的是否为原始图片,如果是,就直接将图像存储中心503中存储的原始图片返回给CDN节点;如果不是,就将所述图片访问请求转发给图像实时处理器502。
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。
Claims (12)
1、一种互联网中图像处理的方法,其特征在于,包括:
接收用户发送的图片访问请求;
当本地没有所述图片访问请求所要求的图片时,将所述图片访问请求转发给图像实时处理器;
接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片供用户使用。
2、根据权利要求1所述的方法,其特征在于,还包括:
将接收到的图片进行存储。
3、根据权利要求2所述的方法,其特征在于,还包括:
对本地存储的图片进行维护,所述维护包括:根据本地所存储的图片的被访问频次删除被访问频次低于预设阈值的图片。
4、根据权利要求3所述的方法,其特征在于,所述本地存储的图片进行维护具体包括:
定期进行维护;
或者,在本地可用于存储的容量低于预设容量阈值时对本地存储的图片进行维护。
5、根据权利要求1所述的方法,其特征在于,当本地没有所述图片访问请求所要求的图片时,经由图像服务器将所述图片访问请求转发给图像实时处理器。
6、根据权利要求1或5所述的方法,其特征在于,当本地没有所述图片访问请求所要求的图片时是指当所述图片访问请求所要求的不是原始图片时。
7、一种实现互联网中图像处理的CDN节点,其特征在于,包括:第一接
收单元,用于接收用户发送的图片访问请求;
转发单元,用于在自身没有所述图片访问请求所要求的图片时,将图片访问请求转发给图像实时处理器;
第二接收单元,用于接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片供用户使用;
发送单元,用于将符合所述图片访问请求的图片发送给用户。
8、根据权利要求7所述的装置,其特征在于,还包括:
存储单元,用于将第二接收单元接收到的图片进行存储。
9、根据权利要求8所述的装置,其特征在于,还包括:
维护单元,用于对CDN节点中存储的图片进行维护,该维护包括:根据CDN节点中所存储的图片的被访问频次删除被访问频次低于预设阈值的图片。
10、一种实现互联网中图像处理的图像实时处理器,其特征在于,包括:
接收单元,用于接收用户的图片访问请求;
处理单元,用于根据接收单元接收到的图片访问请求处理原始图片;
发送单元,用于将处理单元处理好的图片发送给CDN节点。
11、一种实现互联网中图像处理的图像实时处理的系统,其特征在于,包括:
CDN节点,用于接收到用户发送的图片访问请求后,当自身有图片访问请求所要求的图片时,将符合所述图片访问请求的图片发送给用户;当自身没有与图片访问请求所要求的图片时,将图片访问请求转发给图像实时处理器;接收由图像实时处理器根据所述图片访问请求对原始图片进行处理后所返回的图片,并将接收到的,符合所述图片访问请求的图片发送给用户;
图像实时处理器,用于接收用户的图片访问请求,根据接收到的图片访问请求处理原始图片,处理完成后,将处理好的图片发送给CDN节点;
图像存储中心,用于存储原始图片。
12、根据权利要求11所述的系统,其特征在于,还包括:
图像服务器,用于接收CDN节点转发的图片访问请求,判断所述图片访问请求要求的是否为原始图片,如果是,就直接将图像存储中心中存储的原始图片返回给CDN节点;如果不是,就将所述图片访问请求转发给图像实时处理器。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810135527.XA CN101662454A (zh) | 2008-08-29 | 2008-08-29 | 互联网中图像处理的方法、装置和系统 |
US12/583,443 US20100057846A1 (en) | 2008-08-29 | 2009-08-20 | Image processing method, apparatus and system |
PCT/US2009/004792 WO2010024866A1 (en) | 2008-08-29 | 2009-08-21 | Image processing method, apparatus and system |
JP2011524976A JP2012501493A (ja) | 2008-08-29 | 2009-08-21 | 画像処理方法、画像処理装置および画像処理システム |
EP09810350.0A EP2335134A4 (en) | 2008-08-29 | 2009-08-21 | METHOD, DEVICE AND SYSTEM FOR PROCESSING IMAGES |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810135527.XA CN101662454A (zh) | 2008-08-29 | 2008-08-29 | 互联网中图像处理的方法、装置和系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101662454A true CN101662454A (zh) | 2010-03-03 |
Family
ID=41726904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810135527.XA Pending CN101662454A (zh) | 2008-08-29 | 2008-08-29 | 互联网中图像处理的方法、装置和系统 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20100057846A1 (zh) |
EP (1) | EP2335134A4 (zh) |
JP (1) | JP2012501493A (zh) |
CN (1) | CN101662454A (zh) |
WO (1) | WO2010024866A1 (zh) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143211A (zh) * | 2010-12-31 | 2011-08-03 | 华为技术有限公司 | 媒体内容的处理方法、设备和系统 |
CN103136225A (zh) * | 2011-11-25 | 2013-06-05 | 北京新媒传信科技有限公司 | 一种互联网图片转换的方法和系统 |
CN104601534A (zh) * | 2014-04-28 | 2015-05-06 | 贵州格安科技有限公司 | Cdn系统图像处理的方法及系统 |
CN104994082A (zh) * | 2015-06-16 | 2015-10-21 | 努比亚技术有限公司 | 一种图片信息处理方法、服务器及系统 |
CN107155057A (zh) * | 2016-03-06 | 2017-09-12 | 刘晓建 | 电子设备快速拍摄带水印照片的方法 |
CN107154013A (zh) * | 2016-03-02 | 2017-09-12 | 阿里巴巴集团控股有限公司 | 用于图像处理的附加卡、内容递送网络服务器及执行方法 |
CN108319868A (zh) * | 2018-02-06 | 2018-07-24 | 北京百度网讯科技有限公司 | 图片访问的保护方法、装置、存储介质及终端设备 |
CN109565606A (zh) * | 2016-07-29 | 2019-04-02 | 微软技术许可有限责任公司 | 混合源架构中的图像变换 |
CN110020266A (zh) * | 2017-07-13 | 2019-07-16 | 深圳市Tcl高新技术开发有限公司 | 存取图片的方法、装置及计算机可读存储介质、终端设备 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102637174A (zh) * | 2011-02-11 | 2012-08-15 | 鸿富锦精密工业(深圳)有限公司 | 镜像文件管理系统及镜像文件管理方法 |
US10289700B2 (en) | 2016-03-01 | 2019-05-14 | Baidu Usa Llc | Method for dynamically matching images with content items based on keywords in response to search queries |
US10235387B2 (en) | 2016-03-01 | 2019-03-19 | Baidu Usa Llc | Method for selecting images for matching with content based on metadata of images and content in real-time in response to search queries |
US10275472B2 (en) * | 2016-03-01 | 2019-04-30 | Baidu Usa Llc | Method for categorizing images to be associated with content items based on keywords of search queries |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5214519A (en) * | 1991-04-29 | 1993-05-25 | E. I. Du Pont De Nemours And Company | Method and apparatus for producing a specified format output image from an arbitrary format source image |
US5764235A (en) * | 1996-03-25 | 1998-06-09 | Insight Development Corporation | Computer implemented method and system for transmitting graphical images from server to client at user selectable resolution |
US5845084A (en) * | 1996-04-18 | 1998-12-01 | Microsoft Corporation | Automatic data display formatting with a networking application |
US6167442A (en) * | 1997-02-18 | 2000-12-26 | Truespectra Inc. | Method and system for accessing and of rendering an image for transmission over a network |
US6310601B1 (en) * | 1998-05-12 | 2001-10-30 | International Business Machines Corporation | Resizing images to improve network throughput |
CA2280662A1 (en) * | 1999-05-21 | 2000-11-21 | Joe Toth | Media server with multi-dimensional scalable data compression |
US20010047517A1 (en) * | 2000-02-10 | 2001-11-29 | Charilaos Christopoulos | Method and apparatus for intelligent transcoding of multimedia data |
AU2001241620A1 (en) * | 2000-02-22 | 2001-09-03 | Visualgold.Com, Inc. | System and method for image processing |
US7653706B2 (en) * | 2000-07-19 | 2010-01-26 | Akamai Technologies, Inc. | Dynamic image delivery system |
US7109985B2 (en) * | 2001-12-14 | 2006-09-19 | Liquidpixels, Inc. | System and method for dynamically generating on-demand digital images |
US20030131002A1 (en) * | 2002-01-08 | 2003-07-10 | Gennetten K. Douglas | Method and apparatus for identifying a digital image and for accessing the digital image over a network |
US20040098463A1 (en) * | 2002-11-19 | 2004-05-20 | Bo Shen | Transcoding-enabled caching proxy and method thereof |
US20040143650A1 (en) * | 2003-01-10 | 2004-07-22 | Michael Wollowitz | Method and system for transmission of computer files |
KR20040069572A (ko) * | 2003-01-29 | 2004-08-06 | 삼성전자주식회사 | 이동통신 단말기의 데이터저장 시스템 및 데이터 저장방법 |
US20080212883A1 (en) * | 2005-08-17 | 2008-09-04 | Pixoneer Geomatics, Inc. | Processing Method of Data Structure for Real-Time Image Processing |
JP4753666B2 (ja) * | 2005-08-30 | 2011-08-24 | 株式会社ユビキタス・ビジネステクノロジー | 携帯サイト管理システム |
US20070151327A1 (en) * | 2005-12-29 | 2007-07-05 | Asml Holding N.V. | Gas gauge proximity sensor with internal gas flow control |
JP4890880B2 (ja) * | 2006-02-16 | 2012-03-07 | キヤノン株式会社 | 画像送信装置,画像送信方法,プログラム,および記憶媒体 |
US8031972B2 (en) * | 2006-12-18 | 2011-10-04 | Dell Products L.P. | System for dynamically resizing information handling system images |
JP2008172319A (ja) * | 2007-01-09 | 2008-07-24 | I Broadcast:Kk | 画像配信システム |
-
2008
- 2008-08-29 CN CN200810135527.XA patent/CN101662454A/zh active Pending
-
2009
- 2009-08-20 US US12/583,443 patent/US20100057846A1/en not_active Abandoned
- 2009-08-21 JP JP2011524976A patent/JP2012501493A/ja active Pending
- 2009-08-21 WO PCT/US2009/004792 patent/WO2010024866A1/en active Application Filing
- 2009-08-21 EP EP09810350.0A patent/EP2335134A4/en not_active Withdrawn
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011144173A1 (zh) * | 2010-12-31 | 2011-11-24 | 华为技术有限公司 | 媒体内容的处理方法、设备和系统 |
CN102143211A (zh) * | 2010-12-31 | 2011-08-03 | 华为技术有限公司 | 媒体内容的处理方法、设备和系统 |
CN103136225A (zh) * | 2011-11-25 | 2013-06-05 | 北京新媒传信科技有限公司 | 一种互联网图片转换的方法和系统 |
CN103136225B (zh) * | 2011-11-25 | 2016-09-14 | 北京新媒传信科技有限公司 | 一种互联网图片转换的方法和系统 |
CN104601534A (zh) * | 2014-04-28 | 2015-05-06 | 贵州格安科技有限公司 | Cdn系统图像处理的方法及系统 |
CN104994082B (zh) * | 2015-06-16 | 2019-06-21 | 努比亚技术有限公司 | 一种图片信息处理方法、服务器及系统 |
CN104994082A (zh) * | 2015-06-16 | 2015-10-21 | 努比亚技术有限公司 | 一种图片信息处理方法、服务器及系统 |
CN107154013A (zh) * | 2016-03-02 | 2017-09-12 | 阿里巴巴集团控股有限公司 | 用于图像处理的附加卡、内容递送网络服务器及执行方法 |
CN107155057A (zh) * | 2016-03-06 | 2017-09-12 | 刘晓建 | 电子设备快速拍摄带水印照片的方法 |
CN109565606A (zh) * | 2016-07-29 | 2019-04-02 | 微软技术许可有限责任公司 | 混合源架构中的图像变换 |
US11240337B2 (en) | 2016-07-29 | 2022-02-01 | Microsoft Technology Licensing, Llc | Image transformation in hybrid sourcing architecture |
CN109565606B (zh) * | 2016-07-29 | 2022-05-24 | 微软技术许可有限责任公司 | 混合源架构中的图像变换 |
CN110020266A (zh) * | 2017-07-13 | 2019-07-16 | 深圳市Tcl高新技术开发有限公司 | 存取图片的方法、装置及计算机可读存储介质、终端设备 |
CN110020266B (zh) * | 2017-07-13 | 2021-12-14 | 深圳市Tcl高新技术开发有限公司 | 存取图片的方法、装置及计算机可读存储介质、终端设备 |
CN108319868A (zh) * | 2018-02-06 | 2018-07-24 | 北京百度网讯科技有限公司 | 图片访问的保护方法、装置、存储介质及终端设备 |
Also Published As
Publication number | Publication date |
---|---|
EP2335134A1 (en) | 2011-06-22 |
EP2335134A4 (en) | 2015-04-01 |
US20100057846A1 (en) | 2010-03-04 |
JP2012501493A (ja) | 2012-01-19 |
WO2010024866A1 (en) | 2010-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101662454A (zh) | 互联网中图像处理的方法、装置和系统 | |
CN101958914B (zh) | 一种文件共享方法、共享服务器和移动通信终端 | |
EP2266043B1 (en) | Cache optimzation | |
CN110096660A (zh) | 用于加载页面图片的方法、装置和电子设备 | |
CN109491758A (zh) | docker镜像分发方法、系统、数据网关及计算机可读存储介质 | |
CN101221572B (zh) | 一种网页数据处理系统 | |
CN103001964B (zh) | 一种局域网环境下的缓存加速方法 | |
CN108932277B (zh) | 一种网页加载方法、网页加载系统和服务器 | |
US8909808B2 (en) | Redundancy elimination for web caching | |
CN101729598A (zh) | 提高Web服务响应速率的方法和系统及网络处理器 | |
CN101459571A (zh) | 一种网站镜像的方法、系统及装置 | |
CN102387172A (zh) | 用于为移动设备提供或获取网络资源的内容的方法和装置 | |
CN102739717A (zh) | 下载方法、下载代理服务器和网络系统 | |
CN107465666A (zh) | 一种客户端ip获取方法与装置 | |
EP2827258A1 (en) | Embedded network proxy system, terminal device and proxy method | |
CN107438084A (zh) | 多客户端数据同步方法和装置 | |
CN109167840A (zh) | 一种任务推送方法、节点自治服务器及边缘缓存服务器 | |
CN104272705A (zh) | 用于显示运营商通告的方法和装置 | |
CN102487375A (zh) | 一种在线下载视频的方法、装置和系统 | |
CN100377522C (zh) | 一种内容分发网络中oma下载的实现方法 | |
CN102404616A (zh) | 基于数字电视网络进行数据云推送的方法及系统 | |
CN103095801A (zh) | 一种应用浏览器自动处理资源的方法和装置 | |
KR20040011000A (ko) | 단말기에 최적화된 화상을 제공하는 화상 변환 시스템 | |
CN101778124A (zh) | 移动客户端访问互联网的方法和页面访问服务器 | |
CN109213955A (zh) | 数据处理方法及相关设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1141169 Country of ref document: HK |
|
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100303 |
|
REG | Reference to a national code |
Ref country code: HK Ref legal event code: WD Ref document number: 1141169 Country of ref document: HK |