WO2016062202A1 - 客户端下载图片的方法及其装置 - Google Patents

客户端下载图片的方法及其装置 Download PDF

Info

Publication number
WO2016062202A1
WO2016062202A1 PCT/CN2015/091692 CN2015091692W WO2016062202A1 WO 2016062202 A1 WO2016062202 A1 WO 2016062202A1 CN 2015091692 W CN2015091692 W CN 2015091692W WO 2016062202 A1 WO2016062202 A1 WO 2016062202A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
client
text information
download request
feature value
Prior art date
Application number
PCT/CN2015/091692
Other languages
English (en)
French (fr)
Inventor
鲁嘉武
Original Assignee
阿里巴巴集团控股有限公司
鲁嘉武
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 阿里巴巴集团控股有限公司, 鲁嘉武 filed Critical 阿里巴巴集团控股有限公司
Priority to EP15853300.0A priority Critical patent/EP3211542A4/en
Priority to JP2017521115A priority patent/JP6709784B2/ja
Publication of WO2016062202A1 publication Critical patent/WO2016062202A1/zh
Priority to US15/494,247 priority patent/US20170223091A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5681Pre-fetching or pre-delivering data based on network characteristics

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and device for downloading pictures by a client.
  • the object of the present invention is to provide a method and device for downloading pictures by a client, which can improve the speed at which a user can obtain picture and text information, and can prevent malicious tampering of picture features in a download request, thereby preventing transactions in online shopping. dispute.
  • an embodiment of the present invention discloses a method for a client to download a picture, including the following steps:
  • the client simultaneously downloads the first picture corresponding to the picture feature value in the download request and the text information corresponding to the character feature value in the download request according to the received download request;
  • the client downloads the second picture from the server, and displays only the text information and the second picture on the client.
  • An embodiment of the present invention further discloses an apparatus for downloading a picture by a client, including:
  • a first downloading unit configured to control, by the client, the first picture corresponding to the picture feature value in the download request and the text information corresponding to the character feature value in the download request according to the received download request;
  • a first determining unit configured to determine whether the first picture and the second picture corresponding to the text information previously stored in the server are from the same picture
  • a first display unit configured to: when the first determining unit determines that the result is no and the client does not download the second picture in advance, the control client downloads the second picture from the server, and displays only the text information and the second picture on the client.
  • downloading the text information and the image with high resolution at the same time can improve the speed at which the user obtains the information, and by determining the picture feature value in the download request. Whether the picture corresponds to the text information can prevent malicious tampering of the picture features in the download request, thereby preventing the sale and purchase disputes such as online shopping.
  • the text information and the picture information at the same time can improve the speed at which the user obtains the information, but if the bandwidth usage affects the transmission of the basic information of the client, the text information can be loaded first, and the image information is loaded to reduce the network congestion. The impact on the acquisition of text or other information.
  • downloading the text information and the picture information at the same time can improve the speed at which the user obtains the information, but if the bandwidth usage affects the transmission of the basic information of the client, the file can be downloaded first. Download image information after word information to reduce the impact of network blocking on text information or other information acquisition.
  • FIG. 1 is a schematic flowchart of a method for a client to download a picture according to a first embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for downloading a picture by a client in a second embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for downloading a picture by the client.
  • the method for downloading a picture by the client includes the following steps:
  • step 101 it is determined whether the bandwidth usage of the first picture and the text information is downloaded beyond a predetermined threshold if the client downloads the first picture and the text information.
  • step 108 is performed; otherwise, step 102 is performed.
  • the bandwidth occupancy may be a fixed value or a ratio of the total bandwidth.
  • step 102 the client simultaneously downloads the first picture corresponding to the picture feature value in the download request and the text information corresponding to the character feature value in the download request according to the received download request.
  • the picture feature value refers to the identifier of the picture in the server, and the picture feature values of the different pictures having the same image and different resolutions or sizes of the same content are the same.
  • step 103 it is determined whether the first picture and the second picture corresponding to the text information stored in the server in advance are derived from the same picture.
  • step 107 is performed; otherwise, step 104 is performed.
  • step 104 it is determined whether the client has downloaded the second picture in advance. If the determination result is yes, step 106 is performed; otherwise, step 105 is performed.
  • the client may have downloaded the second picture in advance, or may download a thumbnail having a lower resolution than the second picture but having the same feature value, so that it is determined whether the client pre-downloads the second picture, for example, First, it is determined whether the eigenvalues of the two are consistent. If they are consistent, it is determined whether the resolution or size of the downloaded picture is equal to or larger than the second picture. If the picture is equal to or larger than the second picture, the currently downloaded picture is used as the second picture. Display.
  • step 105 the client downloads the second picture from the server and displays only the text information and the second picture on the client. This process ends thereafter.
  • step 106 only the text information and the second picture are directly displayed on the client. This process ends thereafter.
  • step 107 the first picture and text information are displayed on the client. This process ends thereafter.
  • step 108 the text information corresponding to the character feature value in the download request is downloaded, and the second picture corresponding to the text information is downloaded according to the downloaded text information. This process ends thereafter.
  • the method further includes the following steps:
  • step 103 If the result of the determination in step 103 is no, the downloaded first picture is deleted.
  • the downloaded first picture may not be deleted, and the first picture format may be set to be hidden and not displayed on the client.
  • step 102 includes the following sub-steps:
  • the first picture is downloaded according to the uniform resource locator of the updated picture.
  • the URL of an image is:
  • the uniform resource locator of the picture includes the feature value of the picture, the resolution information, the size information, and the like, and the picture of a specific size and/or resolution can be downloaded according to the picture.
  • each feature value may be performed according to the two-dimensional code scanned by the client.
  • step 103 can be implemented in the following manner:
  • Etag is the Entity Tag of the URL, which is used to indicate whether the URL object is changed.
  • Whether the similarity of the content displayed in the first picture and the second picture is compared to the similarity predetermined value is compared based on the image matching.
  • two or more pictures originating from the same picture in the present invention have the same figure and have the same picture feature value, but have different resolutions, sizes, etc., for example, in a preferred embodiment of the present invention.
  • the character feature value is identification information of a character stored in the server that describes a certain set of specific information.
  • the download request may be obtained in various forms such as a web address, a two-dimensional code scan, and the like. For example, after the user clicks on the URL to connect or scans the QR code, the client receives the download request.
  • downloading the text information and the image with high resolution at the same time can improve the speed at which the user obtains the information, and by determining the picture feature value in the download request. Whether the picture corresponds to the text information can prevent malicious tampering of the picture features in the download request, thereby preventing the sale and purchase disputes such as online shopping.
  • the method embodiments of the present invention can all be implemented in software, hardware, firmware, and the like. Regardless of whether the invention is implemented in software, hardware, or firmware, the instruction code can be stored in any type of computer-accessible memory (eg, permanent or modifiable, volatile or non-volatile). Volatile, solid or non-solid, fixed or replaceable media, etc.).
  • the memory may be, for example, Programmable Array Logic ("PAL"), Random Access Memory (RAM), or Programmable Read Only Memory (PROM). "), Read-Only Memory (“ROM”), Electrically Erasable Programmable ROM (“EEPROM”), Disk, CD, Digital Versatile Disc , referred to as "DVD”) and so on.
  • PAL Programmable Array Logic
  • RAM Random Access Memory
  • PROM Programmable Read Only Memory
  • ROM Read-Only Memory
  • EEPROM Electrically Erasable Programmable ROM
  • Disk CD
  • DVD Digital Versatile Disc
  • a second embodiment of the present invention relates to an apparatus for downloading a picture by a client.
  • 2 is a schematic structural diagram of an apparatus for downloading a picture by the client.
  • the device for downloading a picture by the client includes:
  • the second determining unit is configured to determine whether the bandwidth usage of the first picture and the text information exceeds a predetermined threshold if the client downloads the first picture and the text information.
  • the second downloading unit is configured to: when the second determining unit determines that the result is YES, download the text information corresponding to the character feature value in the download request, and download the second picture corresponding to the text information according to the downloaded text information.
  • the control unit is configured to control the first download unit to download the first picture and the text information when the second determination unit determines that the result is no.
  • the first downloading unit is configured to control the client to simultaneously download the first picture corresponding to the picture feature value in the download request and the text information corresponding to the character feature value in the download request according to the received download request.
  • the first determining unit is configured to determine whether the first picture and the second picture corresponding to the text information previously stored in the server are from the same picture.
  • a first display unit configured to: when the first determining unit determines that the result is no and the client does not download the second picture in advance, the control client downloads the second picture from the server, and displays only the text on the client. Information and second picture.
  • the second display unit is configured to display only the text information and the second picture directly on the client when the first determining unit determines that the result is no and the client has downloaded the second picture in advance.
  • the first download unit includes the following subunits:
  • a locator extraction subunit for extracting a uniform resource locator of a picture in the download request.
  • the eigenvalue calculation subunit is configured to calculate a uniform resource locator to obtain a picture feature value.
  • a locator update subunit configured to add resolution information or size information of the first picture to the obtained picture feature value to form a uniform resource locator of the updated picture.
  • the picture download subunit is configured to download the first picture according to the uniform resource locator of the updated picture.
  • the device for downloading pictures by the client further includes the following units:
  • the deleting unit is configured to delete the downloaded first picture after the first determining unit determines that the result is no.
  • the first embodiment is a method embodiment corresponding to the present embodiment, and the present embodiment can be implemented in cooperation with the first embodiment.
  • the related technical details mentioned in the first embodiment are still effective in the present embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related art details mentioned in the present embodiment can also be applied to the first embodiment.
  • each unit mentioned in the embodiments of the present invention is a logical unit.
  • a logical unit may be a physical unit, a part of a physical unit, or multiple physical entities.
  • the combined implementation of the elements, the physical implementation of these logical units themselves is not the most important, the combination of the functions implemented by these logical units is the key to solving the technical problems raised by the present invention.
  • the above-mentioned various device embodiments of the present invention do not introduce a unit that is not closely related to solving the technical problem proposed by the present invention, which does not indicate that the above device implementation does not have other unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种客户端下载图片的方法及其装置,所述方法包括以下步骤:客户端根据接收到的下载请求同时下载与下载请求中的图片特征值对应的第一图片和与下载请求中的文字特征值对应的文字信息(102);判断第一图片和预先存储于服务器中的与文字信息对应的第二图片是否源自同一图片(103);如果判断结果为否且客户端未预先下载第二图片,则该客户端从服务器下载第二图片,并在该客户端仅显示文字信息和第二图片(105)。可提高用户获取图片和文字信息的速度,并且,通过判断下载请求中的图片特征值对应的图片是否和文字信息相对应,可防止对下载请求中的图片特征的恶意篡改,进而防止如网络购物中的买卖纠纷。

Description

客户端下载图片的方法及其装置 技术领域
本发明涉及通信领域,特别涉及一种客户端下载图片的方法及其装置。
背景技术
在需要同时展示图片和文字信息的应用中,如购物网站,一般是先下载文字信息,然后根据文字信息下载分辨率较高的图片,文字显示和图片显示之间会存在一定的时间差,影响展示效果。为了提高展示效果,可同时下载图片和文字信息,但是,这样会存在图片的标识被篡改的情况,进而引起买卖纠纷。例如,为了促销,商家会将商品信息链接分享到其他网站或应用程序中,如果是先下载文字信息然后再下载图片,即使期间图片的标识被修改掉,也可根据先下载的文字信息来判断下载的图片是否是和该文字所匹配的(文字信息和图片之间存在对应关系),但是,如果是同时下载文字信息和图片,期间有人对图片的标识进行修改,就无法进行匹配判断,进入引起买卖纠纷。
发明内容
本发明的目的在于提供一种客户端下载图片的方法及其装置,可提高用户获取图片和文字信息的速度,可防止对下载请求中的图片特征的恶意篡改,进而防止如网络购物中的买卖纠纷。
为解决上述技术问题,本发明的实施方式公开了一种客户端下载图片的方法,包括以下步骤:
客户端根据接收到的下载请求同时下载与下载请求中的图片特征值对应的第一图片和与下载请求中的文字特征值对应的文字信息;
判断第一图片和预先存储于服务器中的与文字信息对应的第二图片是否源自同一图片;
如果判断结果为否且客户端未预先下载第二图片,则该客户端从服务器下载第二图片,并在该客户端仅显示文字信息和第二图片。
本发明的实施方式还公开了一种客户端下载图片的装置,包括:
第一下载单元,用于控制客户端根据接收到的下载请求同时下载与下载请求中的图片特征值对应的第一图片和与下载请求中的文字特征值对应的文字信息;
第一判断单元,用于判断第一图片和预先存储于服务器中的与文字信息对应的第二图片是否源自同一图片;
第一显示单元,用于在第一判断单元判断结果为否且客户端未预先下载第二图片时,控制客户端从服务器下载第二图片,并在该客户端仅显示文字信息和第二图片。
本发明实施方式与现有技术相比,主要区别及其效果在于:
在用户需要在客户端通过浏览文字信息和相应的图片来获取信息时,同时下载文字信息和分辨率足够高的图片可提高用户获取信息的速度,并且,通过判断下载请求中的图片特征值对应的图片是否和文字信息相对应,可防止对下载请求中的图片特征的恶意篡改,进而防止如网络购物中的买卖纠纷。
进一步地,如果带宽足够,同时加载文字信息和图片信息可提高用户获取信息的速度,但如果带宽占用量影响客户端基础信息的传输,可先加载文字信息后加载图片信息,减小网路阻塞对文字信息或其他信息获取带来的影响。
进一步地,如果带宽足够,同时下载文字信息和图片信息可提高用户获取信息的速度,但如果带宽占用量影响客户端基础信息的传输,可先下载文 字信息后下载图片信息,减小网路阻塞对文字信息或其他信息获取带来的影响。
附图说明
图1是本发明第一实施方式中一种客户端下载图片的方法的流程示意图;
图2是本发明第二实施方式中一种客户端下载图片的装置的结构示意图。
具体实施方式
在以下的叙述中,为了使读者更好地理解本申请而提出了许多技术细节。但是,本领域的普通技术人员可以理解,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请各权利要求所要求保护的技术方案。
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明的实施方式作进一步地详细描述。
本发明第一实施方式涉及一种客户端下载图片的方法。图1是该客户端下载图片的方法的流程示意图。
具体地,如图1所示,该客户端下载图片的方法包括以下步骤:
在步骤101中,判断如果客户端下载第一图片和文字信息,下载第一图片与文字信息的带宽占用量是否超过预定阈值。
如果判断结果为是,则执行步骤108;否则,执行步骤102。
如果带宽足够,同时加载文字信息和图片信息可提高用户获取信息的速 度,但如果带宽占用量影响客户端基础信息的传输,可先加载文字信息后加载图片信息,减小网路阻塞对文字信息或其他信息获取带来的影响。在本发明中,带宽占用量可以是一个固定值,也可以是一个总带宽的比例值。
在步骤102中,客户端根据接收到的下载请求同时下载与下载请求中的图片特征值对应的第一图片和与下载请求中的文字特征值对应的文字信息。其中,图片特征值是指具服务器中图片的标识,有相同图像、显示相同内容的不同分辨率或大小的不同图片的图片特征值相同。
此后进入步骤103,判断第一图片和预先存储于服务器中的与文字信息对应的第二图片是否源自同一图片。
如果判断结果为是,则执行步骤107;否则,执行步骤104。
在步骤104中,判断客户端是否已预先下载第二图片,如果判断结果为是,则执行步骤106;否则,执行步骤105。
在本发明中,客户端可能已经预先下载了第二图片,也可能预先下载了分辨率低于第二图片但特征值相同的缩略图,故判断客户端是否预下载了第二图片,例如,先判断两者的特征值是否一致,如果一致则判断已下载的图片的分辨率或尺寸是否等于或大于第二图片,如果等于或大于第二图片,则将目前已下载的图片作为第二图片进行显示。
在步骤105中,客户端从服务器下载第二图片,并在该客户端仅显示文字信息和第二图片。此后结束本流程。
在步骤106中,在客户端直接仅显示文字信息和第二图片。此后结束本流程。
在步骤107中,在客户端显示第一图片和文字信息。此后结束本流程。
在步骤108中,下载下载请求中的文字特征值对应的文字信息并根据已下载的文字信息下载与该文字信息对应的第二图片。此后结束本流程。
此外,在本实施方式的一优选例中,在上述步骤103之后,还包括以下步骤:
如果步骤103的判断结果为否,则删除已下载的第一图片。
此外,可以理解,在本发明的其他实施方式中,也可以不删除已下载的第一图片,可将第一图片格式设置为隐藏,不在客户端显示。
此外,在本发明的一优选例中,上述步骤102包括以下子步骤:
提取下载请求中的图片的统一资源定位符URL,例如通过正则表达式获取;
计算统一资源定位符得到图片特征值;
将第一图片的分辨率信息或尺寸信息加入得到的图片特征值中以形成更新后的图片的统一资源定位符;
根据更新后的图片的统一资源定位符下载第一图片。
例如,一图片的URL为:
http://gw1.alicdn.com/XXX/uploaded/i4/TB1LA3rFVXXXXb6XFXXXXXXXXXX_!!0-item_pic.jpg_210×210.jpg,对该URL可通过计算得到图片特征值:
TB1LA3rFVXXXXb6XFXXXXXXXXXX_!!0-item_pic.jpg,然后将要加载的图片的尺寸信息写入该图片特征值中组成新的图片URL进行图片下载(即对URL中的图片尺寸或分辨率值进行替换)。
可以理解,在本发明中,图片的统一资源定位符包括了图片的特征值、分辨率信息、尺寸信息等,可根据其下载特定尺寸和/或分辨率的图片。
此外,可以理解在本发明的其他实施方式中,也可以根据客户扫描的二维码进行各特征值的提取。
此外,在本发明的另一优选例中,上述步骤103可通过以下方式实现:
比较第一图片和第二图片的图片特征值是否一致。或
比较第一图片和第二图片的数据包包头是否一致,比如比较包头中的etag或数据长度是否一致。其中,Etag是URL的Entity Tag,用于标示URL对象是否改变。或
基于图像匹配比较第一图片和第二图片中显示的内容的相似度是否达到相似度预定值。
此外,在本发明中,如果与文字信息对应的图片有多张,则在客户端已经下载了第二图片时,可下载除第二图片外的其他对应的图片。
此外,可以理解,在本发明中源自同一图片的两张或多张图片具有相同的图形且具有相同的图片特征值,但具有不同的分辨率、尺寸等,例如,在本发明的一优选例中,具有不同的统一资源定位符URL。
此外,可以理解,在本发明中,文字特征值是服务器中存储的描述特定信息的一定集合的文字的标识信息。
在本发明的各实施方式中,下载请求可以以网址、二维码扫描等各种形式获得。例如,用户点击网址连接或扫描二维码后,客户端便会接收到下载请求。
在用户需要在客户端通过浏览文字信息和相应的图片来获取信息时,同时下载文字信息和分辨率足够高的图片可提高用户获取信息的速度,并且,通过判断下载请求中的图片特征值对应的图片是否和文字信息相对应,可防止对下载请求中的图片特征的恶意篡改,进而防止如网络购物中的买卖纠纷。
本发明的各方法实施方式均可以以软件、硬件、固件等方式实现。不管本发明是以软件、硬件、还是固件方式实现,指令代码都可以存储在任何类型的计算机可访问的存储器中(例如永久的或者可修改的,易失性的或者非 易失性的,固态的或者非固态的,固定的或者可更换的介质等等)。同样,存储器可以例如是可编程阵列逻辑(Programmable Array Logic,简称“PAL”)、随机存取存储器(Random Access Memory,简称“RAM”)、可编程只读存储器(Programmable Read Only Memory,简称“PROM”)、只读存储器(Read-Only Memory,简称“ROM”)、电可擦除可编程只读存储器(Electrically Erasable Programmable ROM,简称“EEPROM”)、磁盘、光盘、数字通用光盘(Digital Versatile Disc,简称“DVD”)等等。
本发明第二实施方式涉及一种客户端下载图片的装置。图2是该客户端下载图片的装置的结构示意图。
如图2所示,该客户端下载图片的装置包括:
第二判断单元,用于判断如果客户端下载第一图片和文字信息,则下载第一图片与文字信息的带宽占用量是否超过预定阈值。
第二下载单元,用于在第二判断单元判断结果为是时,下载下载请求中的文字特征值对应的文字信息并根据已下载的文字信息下载与该文字信息对应的第二图片。
控制单元,用于在第二判断单元判断结果为否时,控制第一下载单元下载第一图片和文字信息。
第一下载单元,用于控制客户端根据接收到的下载请求同时下载与下载请求中的图片特征值对应的第一图片和与下载请求中的文字特征值对应的文字信息。
第一判断单元,用于判断第一图片和预先存储于服务器中的与文字信息对应的第二图片是否源自同一图片。
第一显示单元,用于在第一判断单元判断结果为否且客户端未预先下载第二图片时,控制客户端从服务器下载第二图片,并在该客户端仅显示文字 信息和第二图片。
第二显示单元,用于在第一判断单元判断结果为否且客户端已预先下载第二图片时,在客户端直接仅显示文字信息和第二图片。
在本发明的一优选例中,上述第一下载单元包括以下子单元:
定位符提取子单元,用于提取下载请求中的图片的统一资源定位符。
特征值计算子单元,用于计算统一资源定位符得到图片特征值。
定位符更新子单元,用于将第一图片的分辨率信息或尺寸信息加入得到的图片特征值中以形成更新后的图片的统一资源定位符。
图片下载子单元,用于根据更新后的图片的统一资源定位符下载第一图片。
此外,该客户端下载图片的装置还包括以下单元:
删除单元,用于在第一判断单元判断结果为否后删除已下载的第一图片。
第一实施方式是与本实施方式相对应的方法实施方式,本实施方式可与第一实施方式互相配合实施。第一实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第一实施方式中。
需要说明的是,本发明各设备实施方式中提到的各单元都是逻辑单元,在物理上,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现,这些逻辑单元本身的物理实现方式并不是最重要的,这些逻辑单元所实现的功能的组合才是解决本发明所提出的技术问题的关键。此外,为了突出本发明的创新部分,本发明上述各设备实施方式并没有将与解决本发明所提出的技术问题关系不太密切的单元引入,这并不表明上述设备实施方式并不存在其它的单元。
需要说明的是,在本专利的权利要求和说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
虽然通过参照本发明的某些优选实施方式,已经对本发明进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。

Claims (10)

  1. 一种客户端下载图片的方法,其特征在于,包括以下步骤:
    客户端根据接收到的下载请求同时下载与下载请求中的图片特征值对应的第一图片和与下载请求中的文字特征值对应的文字信息;
    判断所述第一图片和预先存储于服务器中的与所述文字信息对应的第二图片是否源自同一图片;
    如果判断结果为否且所述客户端未预先下载所述第二图片,则该客户端从服务器下载所述第二图片,并在该客户端仅显示所述文字信息和第二图片。
  2. 根据权利要求1所述的客户端下载图片的方法,其特征在于,所述“客户端根据接收到的下载请求同时下载与下载请求中的图片特征值对应的第一图片和与下载请求中的文字特征值对应的文字信息”的步骤包括以下子步骤:
    提取下载请求中的图片的统一资源定位符;
    计算所述统一资源定位符得到图片特征值;
    将所述第一图片的分辨率信息或尺寸信息加入得到的所述图片特征值中以形成更新后的图片的统一资源定位符;
    根据更新后的图片的统一资源定位符下载所述第一图片。
  3. 根据权利要求1所述的客户端下载图片的方法,其特征在于,在所述“判断所述第一图片和预先存储于服务器中的与所述文字信息对应的第二图片是否源自同一图片”的步骤之后,还包括以下步骤:
    如果判断结果为否,则删除已下载的所述第一图片。
  4. 根据权利要求1所述的客户端下载图片的方法,其特征在于,在所述“判断所述第一图片和预先存储于服务器中的与所述文字信息对应的第二图片是否源自同一图片”的步骤之后,还包括以下步骤:
    如果判断结果为否且所述客户端已预先下载所述第二图片,则在客户端直接仅显示所述文字信息和第二图片。
  5. 根据权利要求1至4中任一项所述的客户端下载图片的方法,其特征在于,在所述“客户端根据接收到的下载请求同时下载与下载请求中的图片特征值对应的第一图片和与下载请求中的文字特征值对应的文字信息”的步骤之前,还包括以下步骤:
    判断如果客户端下载所述第一图片和文字信息,则下载所述第一图片与文字信息的带宽占用量是否超过预定阈值;
    如果未超过预定阈值,则执行所述“客户端根据接收到的下载请求同时下载与下载请求中的图片特征值对应的第一图片和与下载请求中的文字特征值对应的文字信息”的步骤;
    如果超过预定阈值,则下载所述下载请求中的文字特征值对应的文字信息并根据已下载的所述文字信息下载与该文字信息对应的所述第二图片。
  6. 一种客户端下载图片的装置,其特征在于,包括:
    第一下载单元,用于控制客户端根据接收到的下载请求同时下载与下载请求中的图片特征值对应的第一图片和与下载请求中的文字特征值对应的文字信息;
    第一判断单元,用于判断所述第一图片和预先存储于服务器中的与所述文字信息对应的第二图片是否源自同一图片;
    第一显示单元,用于在所述第一判断单元判断结果为否且所述客户端未预先下载所述第二图片时,控制客户端从服务器下载所述第二图片,并在该客户端仅显示所述文字信息和第二图片。
  7. 根据权利要求6所述的客户端下载图片的装置,其特征在于,所述第一下载单元包括以下子单元:
    定位符提取子单元,用于提取下载请求中的图片的统一资源定位符;
    特征值计算子单元,用于计算所述统一资源定位符得到图片特征值;
    定位符更新子单元,用于将所述第一图片的分辨率信息或尺寸信息加入得到的所述图片特征值中以形成更新后的图片的统一资源定位符;
    图片下载子单元,用于根据更新后的图片的统一资源定位符下载所述第一图片。
  8. 根据权利要求6所述的客户端下载图片的装置,其特征在于,还包括以下单元:
    删除单元,用于在所述第一判断单元判断结果为否后删除已下载的所述第一图片。
  9. 根据权利要求6所述的客户端下载图片的装置,其特征在于,还包括以下单元:
    第二显示单元,用于在所述第一判断单元判断结果为否且所述客户端已预先下载所述第二图片时,在客户端直接仅显示所述文字信息和第二图片。
  10. 根据权利要求6至9中任一项所述的客户端下载图片的装置,其特征在于,还包括以下单元,
    第二判断单元,用于判断如果客户端下载所述第一图片和文字信息,则下载所述第一图片与文字信息的带宽占用量是否超过预定阈值;
    控制单元,用于在第二判断单元判断结果为否时,控制所述第一下载单元下载所述第一图片和文字信息;
    第二下载单元,用于在第二判断单元判断结果为是时,下载所述下载请求中的文字特征值对应的文字信息并根据已下载的所述文字信息下载与该文字信息对应的所述第二图片。
PCT/CN2015/091692 2014-10-23 2015-10-10 客户端下载图片的方法及其装置 WO2016062202A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP15853300.0A EP3211542A4 (en) 2014-10-23 2015-10-10 Picture downloading method for client and device thereof
JP2017521115A JP6709784B2 (ja) 2014-10-23 2015-10-10 クライアント端末で画像をダウンロードするための方法およびデバイス
US15/494,247 US20170223091A1 (en) 2014-10-23 2017-04-21 Method and device for downloading pictures at a client terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410572749.3A CN105589879B (zh) 2014-10-23 2014-10-23 客户端下载图片的方法及其装置
CN201410572749.3 2014-10-23

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/494,247 Continuation US20170223091A1 (en) 2014-10-23 2017-04-21 Method and device for downloading pictures at a client terminal

Publications (1)

Publication Number Publication Date
WO2016062202A1 true WO2016062202A1 (zh) 2016-04-28

Family

ID=55760282

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/091692 WO2016062202A1 (zh) 2014-10-23 2015-10-10 客户端下载图片的方法及其装置

Country Status (5)

Country Link
US (1) US20170223091A1 (zh)
EP (1) EP3211542A4 (zh)
JP (1) JP6709784B2 (zh)
CN (1) CN105589879B (zh)
WO (1) WO2016062202A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304518A (zh) * 2018-01-24 2018-07-20 平安科技(深圳)有限公司 多媒体文件处理方法、服务器及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10218728B2 (en) * 2016-06-21 2019-02-26 Ebay Inc. Anomaly detection for web document revision
CN108040050A (zh) * 2017-12-12 2018-05-15 任天民 一种原生照片鉴定方法及应用
CN110691108B (zh) * 2018-07-04 2022-09-09 武汉斗鱼网络科技有限公司 一种图片的下载保存方法及电子设备
CN108989462A (zh) * 2018-08-24 2018-12-11 四川长虹电器股份有限公司 基于aws云服务的图片下载方法
CN109492121A (zh) * 2018-09-30 2019-03-19 深圳壹账通智能科技有限公司 智能识别图片的方法、装置、服务器及存储介质
CN112766994A (zh) * 2021-02-09 2021-05-07 公安部第三研究所 一种能力验证检材的防篡改方法,系统及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090115799A1 (en) * 2007-11-01 2009-05-07 Htc Corporation Method for displaying images
CN103294667A (zh) * 2012-02-27 2013-09-11 深圳市腾讯计算机系统有限公司 通过水印进行同源图片追踪的方法及系统
CN103426140A (zh) * 2012-05-25 2013-12-04 索尼公司 图像防篡改验证方法和装置,以及图像防篡改方法和系统
CN103617165A (zh) * 2013-10-22 2014-03-05 小米科技有限责任公司 一种加载图片的方法、装置及终端
CN104111950A (zh) * 2013-04-19 2014-10-22 腾讯科技(深圳)有限公司 网页图片加载方法及加载装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8874964B1 (en) * 2006-11-15 2014-10-28 Conviva Inc. Detecting problems in content distribution
US8117089B2 (en) * 2007-02-13 2012-02-14 Claudia Juliana Minsky System for segmentation by product category of product images within a shopping cart
CN102469149A (zh) * 2010-11-17 2012-05-23 北京千橡网景科技发展有限公司 用于通过代理自适应调整图像的方法和装置
CN102752371B (zh) * 2012-06-11 2016-05-11 北京新媒传信科技有限公司 在客户端上实现闪屏的方法和客户端
CN102946418B (zh) * 2012-10-26 2015-12-09 北京奇虎科技有限公司 一种终端设备、一种图片提供系统和一种图片传输方法
CN103823690B (zh) * 2013-12-05 2017-12-12 Tcl集团股份有限公司 一种在线图片加载方法和系统
CN104036053A (zh) * 2014-07-07 2014-09-10 广州金山网络科技有限公司 一种无效链接地址处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090115799A1 (en) * 2007-11-01 2009-05-07 Htc Corporation Method for displaying images
CN103294667A (zh) * 2012-02-27 2013-09-11 深圳市腾讯计算机系统有限公司 通过水印进行同源图片追踪的方法及系统
CN103426140A (zh) * 2012-05-25 2013-12-04 索尼公司 图像防篡改验证方法和装置,以及图像防篡改方法和系统
CN104111950A (zh) * 2013-04-19 2014-10-22 腾讯科技(深圳)有限公司 网页图片加载方法及加载装置
CN103617165A (zh) * 2013-10-22 2014-03-05 小米科技有限责任公司 一种加载图片的方法、装置及终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3211542A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304518A (zh) * 2018-01-24 2018-07-20 平安科技(深圳)有限公司 多媒体文件处理方法、服务器及存储介质
CN108304518B (zh) * 2018-01-24 2020-11-24 平安科技(深圳)有限公司 多媒体文件处理方法、服务器及存储介质

Also Published As

Publication number Publication date
JP6709784B2 (ja) 2020-06-17
US20170223091A1 (en) 2017-08-03
CN105589879B (zh) 2019-01-04
EP3211542A1 (en) 2017-08-30
CN105589879A (zh) 2016-05-18
JP2017533510A (ja) 2017-11-09
EP3211542A4 (en) 2018-01-10

Similar Documents

Publication Publication Date Title
WO2016062202A1 (zh) 客户端下载图片的方法及其装置
US11875391B2 (en) Message based generation of item listings
US11356479B2 (en) Systems and methods for takedown of counterfeit websites
US9608945B2 (en) Sending messages to multiple receiving electronic devices using a message server
US9449294B2 (en) Method and apparatus for managing user devices and contents by using quick response codes
US11710195B2 (en) Detection and prevention of fraudulent activity on social media accounts
JP7025354B2 (ja) 画像妥当性確認の自動化
JP6880055B2 (ja) メッセージ偽造防止実施方法及びデバイス
US20150213434A1 (en) Product information and payment system using scanable codes
US11032317B1 (en) Phishing scheme detection and termination
US20210105302A1 (en) Systems And Methods For Determining User Intent At A Website And Responding To The User Intent
CN110619103A (zh) 网页图文检测方法、装置及存储介质
CN114124919A (zh) 网络状况的检测方法、装置、计算机设备和存储介质
GB2517723A (en) Token verification
CN106709742B (zh) 一种原生广告数据处理方法及装置
FR3059865A1 (fr) Procede d'authentification d'un equipement terminal, dispositif, equipement serveur et programme d'ordinateur associes
US10657195B2 (en) Method, system, apparatus, and program for identifying and rewarding sender and receiver of shared URLs and recommendations by using double-sided affiliate link
US20160239641A1 (en) Method and System for Scan and Matching Media for Streaming Authorization
TWI726383B (zh) 簡訊啟動網頁的身分辨識方法
CN107948179B (zh) 网络支付监测方法及系统
EP3349161A1 (fr) Procédé de traitement d'une transaction de paiement, borne de paiement et programme correspondant
CN109816411B (zh) 资源推广信息处理方法、装置、系统和计算机设备
CN112765675A (zh) 一种基于区块链的数据处理方法及装置
CN118013536A (zh) 共享内容校验方法、装置、电子设备及存储介质
KR101766688B1 (ko) 이미지 제공 방법 및 이미지 제공을 위한 웹서버

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15853300

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017521115

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2015853300

Country of ref document: EP