WO2013044744A1 - 一种下载资源提供方法及装置 - Google Patents

一种下载资源提供方法及装置 Download PDF

Info

Publication number
WO2013044744A1
WO2013044744A1 PCT/CN2012/081616 CN2012081616W WO2013044744A1 WO 2013044744 A1 WO2013044744 A1 WO 2013044744A1 CN 2012081616 W CN2012081616 W CN 2012081616W WO 2013044744 A1 WO2013044744 A1 WO 2013044744A1
Authority
WO
WIPO (PCT)
Prior art keywords
download
user
resource
security
information
Prior art date
Application number
PCT/CN2012/081616
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 US14/347,491 priority Critical patent/US20140245438A1/en
Publication of WO2013044744A1 publication Critical patent/WO2013044744A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • 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/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/134Hyperlinking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/145Countermeasures against malicious traffic the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms
    • 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]

Definitions

  • the present invention relates to the field of Internet application technologies, and in particular, to a download resource providing method and apparatus. Background technique
  • the Internet provides convenience for users, it also provides a communication environment for malicious programs such as computer viruses and Trojans.
  • malicious programs such as computer viruses and Trojans.
  • the creators or communicators of malicious programs often spoof malicious programs into other resources or secretly carry malicious programs in other resource packages. If other users download such resources to the computer, they are vulnerable to viruses or Trojans, which have various adverse consequences.
  • Anti-virus software also known as anti-virus software or anti-virus software
  • Anti-virus software generally has real-time monitoring function, which can perform data preparation for writing to the local computer. Security detection, if it is determined that the data is a virus or Trojan, then this part of the data is removed from the local computer.
  • the real-time monitoring function of the existing anti-virus software can effectively prevent the malicious programs in the network from entering the local computer and continue to spread, thereby improving the security of the system.
  • the user is likely to still not get the resources he wants, need to search again on the Internet, and even if a new download resource is found, the security cannot be guaranteed.
  • the waste of user time and effort has also led to the inefficient use of a large amount of system resources and network bandwidth.
  • the present invention has been made in order to provide a download resource providing method and apparatus that overcomes or at least partially solves or alleviates the above problems, and can automatically find the original downloaded content after detecting that the original download content of the user is unsafe.
  • Alternative resources are provided to the user.
  • a download resource providing method including: The security of the original resource to be downloaded by the user is detected; if the detection result is not secure, the secure download resource matching the user download requirement is queried; and the link information of the secure download resource is provided to the user.
  • a download resource providing apparatus including: a security detecting unit, configured to detect security of an original resource that a user wants to download; and a downloading resource query unit, configured to use the security When the detection result of the detection unit is unsafe, the security download resource matching the user download requirement is queried; and the download resource providing unit is configured to provide the link information of the secure download resource to the user.
  • a computer program comprising computer readable code causing the server to perform any of claims 1 to 9 when the computer readable code is run on a server
  • the download resource providing method
  • a computer readable medium storing the computer program according to claim 19 is provided.
  • the technical solution provided by the present invention after detecting that the resource that the user has downloaded or prepared to download is insecure, further searches for an alternative resource that meets the user's download requirement according to the actual downloading requirement of the user, and directly provides the user with the user, thereby eliminating the need for the user to manually re-manually Looking for new download resources, at the same time, the security of the provided alternative resources is guaranteed, and the user can directly use it after downloading, thereby providing convenience for the user, and avoiding the system resources caused by the user repeatedly searching for the download operation. Network bandwidth consumption.
  • FIG. 1 is a flow chart of a method for providing a download resource according to the present invention
  • 2 is a flowchart of a method for detecting security of a download resource according to the present invention
  • FIG. 3 is a schematic structural diagram of a device for downloading resources according to the present invention
  • FIG. 4 is a schematic structural diagram of a download resource query unit according to the present invention.
  • FIG. 5 is a schematic diagram of a second structure of a download resource query unit according to the present invention.
  • FIG. 6 is a schematic diagram of a third structure of a download resource query unit according to the present invention.
  • FIG. 7 is a schematic structural diagram of a security detecting unit according to the present invention.
  • Figure 8 is a schematic block diagram showing a server for performing the method according to the present invention.
  • Fig. 9 schematically shows a memory unit for holding or carrying a program code implementing a method according to the invention.
  • the method may include the following steps:
  • test result is not secure, query the secure download resource that matches the user's download requirement;
  • the link information of the secure download resource is provided to the user.
  • the security of the original resource to be downloaded by the user is first detected, wherein the detecting step may be performed before the user performs the download operation, or after the user completes the download. If it is found that the original resource to be downloaded by the user is unsecure, according to the actual downloading requirement of the user, the alternative resource that meets the user's downloading requirement is further searched and directly provided to the user.
  • the download requirement of the user can be directly obtained according to the manual input of the user, or can be automatically identified according to the download link of the original resource.
  • the user after detecting that the resource that the user has downloaded or ready to download is not secure, the user does not need to manually search for a new download resource, thereby simplifying the operation of the user and providing convenience for the user.
  • the security of the provided alternative resources is guaranteed, such as providing a link to the official website of the software, or providing a link to a securely verified resource library, etc., users can download these resources and use them directly, which also avoids User counter The consumption of system resources and network bandwidth caused by the complex search download operation.
  • FIG. 1 is a flowchart of a method for providing a download resource according to the present invention, including the following steps:
  • security detection can be performed on data to be written to the local computer. For example, after the user confirms the download operation, the data is first transmitted from the data source to the user's local computer via the network, and the local computer can match the downloaded data with the signature of the virus database or the Trojan, thereby determining the data downloaded. It is safe; you can also divide a space isolated from the system in the local memory or hard disk, execute the downloaded program in the isolated space, and judge whether the downloaded program is safe according to the execution result.
  • the system if it is detected that the data downloaded by the user is unsafe, the system will issue a warning to the user, and further clear the data from the local computer to ensure the security of the system.
  • users do not get the download resources they actually want.
  • the solution provided by the present invention if it is detected that the resource downloaded by the user is unsecure, it will help the user to find the resource desired by the user.
  • a basic implementation solution is: after detecting that the downloaded resource is insecure, an alert is sent to the user, and an input interface is provided to the user.
  • the user enters his own download requirements and then finds the corresponding secure download resource based on the content entered by the user. For example, the user wants to download "angry bird", and the first downloaded content is detected to contain viruses, which can be provided to the user.
  • An input interface when the user enters "angry bird,” then can find the safe “angry bird” related download resources according to the content entered by the user.
  • the solution provided by the above for knowing the actual downloading requirement of the user is equivalent to directly initiating an inquiry to the user.
  • the advantage is that the accuracy is good, but the manual operation of the user is required, which brings inconvenience to the user to a certain extent.
  • Another solution for knowing the actual downloading needs of the user is: obtaining the downloading demand information of the user according to the historical search behavior of the user.
  • a common operation is to first input a search keyword in the search engine, and then enter the search page according to the search result.
  • This search keyword can well represent the user's download requirements. Therefore, the user's download demand information can be automatically obtained by extracting the search keyword used by the user last time, thereby reducing the user's repeated input operation.
  • the present invention further provides a method for automatically identifying a user's download requirement according to the download link information of the original resource, and the specific implementation is as follows:
  • Each resource downloaded from the network will correspond to a download link information. From this download link information, you can estimate the user's download requirements from multiple angles, for example:
  • the file name of the original resource can be obtained.
  • the file name itself can effectively identify the resource itself, so in many cases, the file name of the download resource can directly represent the user. Download requirements.
  • a separate page is provided for each download resource, and the title of these pages is a good description of the download resources.
  • the original page where the download resource is located can be located, and the source code of the page can be further obtained, and the content of the "title" field in the source code of the page can be obtained.
  • the title of the page the content of which is most likely the user's download needs.
  • the page text display information corresponding to the original resource download link can be further found. In some cases, this part of the information may also represent the user's download requirement.
  • the three schemes may be used separately or in combination.
  • the recognition result is considered to be available. of.
  • the automatic recognition result may also be presented to the user, and the user is required to confirm the recognition result.
  • a plurality of recognition results can be simultaneously displayed to the user. If the user thinks that the result of the automatic recognition is consistent with his own idea, the user can directly confirm the recognition result and submit it as his own download requirement information.
  • the user manually inputting the download requirement and automatically identifying the download requirement may also be implemented in combination, for example, first identifying the user's download requirement, presenting the recognition result to the user, and providing an input interface to the user. If the user thinks that the automatic recognition result is consistent with his or her own idea, the recognition result can be directly confirmed. If the user thinks that the result of the automatic recognition is not consistent with his own idea, further input the download requirement information manually.
  • the search operation can be performed within a network range capable of determining resource security, for example: the official website of the software, and the security Guaranteed download sites, etc.
  • the corresponding resource link information may be collected in advance and a database is created. After confirming the user's downloading requirements, the corresponding link information is directly obtained from the database. If the storage resource allows, you can also set up the resource library and store the security detection resources directly into the resource library. After confirming the user's download requirements, you can directly obtain the corresponding download link information in the resource library.
  • the link information of the found secure download resource is provided to the user, so that the user downloads again.
  • the link information provided to the user in this step may be one or more.
  • the method provided by the foregoing embodiment detects the security of the user after downloading the resource to the local area.
  • the security of the download link can be detected before the user downloads, thereby reducing The user's invalid download behavior further reduces the consumption of network bandwidth resources.
  • FIG. 2 is a flowchart of a method for detecting security of a download resource according to the present invention.
  • the step may specifically include the following sub-steps: SlOla, obtain a download link security information collection;
  • the information set may have a plurality of specific bearer modes, such as a list mode, a text mode, and the like.
  • a “list, instead of” information set" will be described as an example.
  • the download link security list In the download link security list, the URLs of several download links are recorded, and the resources corresponding to each URL are recorded.
  • the list may be in the form of a blacklist, a whitelist, or a black and white list, wherein the blacklist represents a collection of unsafe download links, and the whitelist is a collection of secure download links.
  • Downloading the content of the link security list can be based on a certain number of test statistics, and can be continuously updated and improved.
  • Each URL in the list can be a specific download resource address, which is applicable to the case where the security of a specific link has been confirmed. It can also be a website domain name or website path, which is applicable to the confirmed overall security of the website. For example, the security downloads provided by some official websites are guaranteed. For such websites, the website can be whitelisted, and the download resources provided by some websites are often carried. Virus or Trojans, for such sites, can be recorded in the form of a blacklist of websites.
  • SlOlc determines the security of the original resource according to the feature matching result.
  • the download link is found in the webpage, and then the download link is directly clicked on the webpage, or the download software is used for downloading;
  • the solution provided by the embodiment of the present invention is: triggering SlOlb when the user browses the webpage, as follows:
  • the download link information in the current webpage is extracted, and the step may be implemented by acquiring the webpage source code and extracting the part with the download link feature from the source code. Further, the extracted download link information is matched with the content of the download link security list, and if the extracted download link information matches the white list in the list, the extracted download link is considered to be safe if extracted. If the downloaded link information matches the blacklist in the list, the extracted download link is considered unsafe. Or if The extracted download link information does not match the whitelist in the list, and the extracted download link may be considered unsafe.
  • the SlOlb may also be triggered when the user performs a download operation, as follows:
  • the information of the download link is feature-matched with the content of the list.
  • the download operation of the user may include: directly clicking the download link on the webpage, downloading the download link by using the download tool, inputting the download address into the browser address bar or downloading tool, and the like.
  • feature matching is performed on the content of the download link information and the download link security list, and before the user confirms the download operation, the detection result of the download link security is given. .
  • the technical solution for downloading the link security detection solution provided by the embodiment of the present invention can be implemented in a client used by the user, for example, built in software such as anti-virus software, Internet protection software, and browser.
  • a basic download link security list can exist locally on the client. Considering that the security of download links in the list may change at any time, and the amount of resources in the network is huge, the content of the list can be continuously enriched and improved through testing.
  • a server may be set on the network side for storing the latest download link security list, and the client may download the initial download link security list or continuously update the download link by connecting to the server.
  • the security list where the update can be manually triggered by the user, triggered periodically, or actively pushed by the server, similar to the virus database update mechanism of the anti-virus software.
  • the download link security on the network is pre-stated and a set of information is generated, and the download link in the webpage is determined according to the preset information collection content, so that the user understands before downloading the data.
  • the security of the download link and further looking for a secure download link, compared with the way of downloading and then performing security detection, the user's invalid download behavior can be further reduced, and the consumption of network bandwidth resources can be reduced.
  • the network side server may further generate a download link security list according to the detection result reported by other clients, and the specific method is as follows:
  • the real-time monitoring function of these anti-virus software will detect the data just downloaded to the machine, and determine whether the downloaded data can be safely written locally according to the detection result.
  • the antivirus is installed After the software client completes the detection of the downloaded data, the detection result (whether it is safe) is reported to the network server together with the address of the download link, so that the server can quickly collect a large number of detection results, and enrich and improve the download more efficiently. Link the contents of the security list.
  • the client with the anti-virus software can only report the detected unsafe download link to the network-side server, and can report all the detection results to the network-side server. .
  • the solution of the embodiment fully utilizes the feature of the large number of Internet users, and distributes the work that needs to be completed by the system side to a single user on the Internet, so that the download link security can be made without increasing the labor cost of the system side.
  • the content of the list is continuously updated.
  • the client can obtain the updated download link security list from the server side in time, which brings the continuous improvement of the download link security detection capability in S101.
  • the present invention further provides a download resource providing apparatus.
  • the apparatus includes:
  • the security detecting unit 210 is configured to detect the security of the original resource that the user wants to download;
  • the download resource query unit 220 is configured to query a secure download resource that matches the user download requirement if the security detection unit detects that the result is unsafe;
  • the download resource providing unit 230 is configured to provide the link information of the secure download resource to the user.
  • FIG. 4 is a schematic structural diagram of the download resource query unit 220 provided by the present invention, including:
  • the download requirement identification sub-unit 221 is configured to identify a download requirement of the user according to the download link information of the original resource;
  • the first query sub-unit 222 is configured to query a secure download resource that matches the recognition result.
  • FIG. 5 is a schematic diagram showing another structure of the download resource query unit 220 according to the present invention. Based on the structure shown in FIG. 4, the recognition result user interaction sub-unit 223 is further included for the download request. After the identification subunit identifies the user's download requirement, the recognition result is presented to the user, and the user is required to confirm the recognition result;
  • the download result query unit 220 includes the recognition result user interaction sub-unit 223
  • the first query sub-unit 222 is specifically used for querying and confirming with the user. Identify the secure download resources that match the results.
  • the download requirement identification sub-unit 221 shown in FIG. 4 or FIG. 5 may specifically: obtain a file name of the original resource according to the download link information of the original resource, and identify a download requirement of the user by using the file name;
  • the downloading requirement of the user is identified according to the page text display information corresponding to the original resource download link.
  • FIG. 6 shows another structure of the download resource query unit 220 provided by the present invention, including:
  • the download requirement obtaining subunit 224 is configured to obtain download requirement information input by the user; or obtain the download demand information of the user according to the historical search behavior of the user.
  • the second query subunit 225 is configured to query a secure download resource that matches the content of the download requirement information input by the user.
  • FIG. 7 is a schematic diagram showing a specific structure of the security detecting unit 210 provided by the present invention, including:
  • the information collection obtaining sub-unit 211 is configured to obtain the download link security information set in advance; wherein the information set obtaining sub-unit 211 is specifically configured to obtain the download link security information set from the network side server.
  • the obtained download link security information set may include one or more of the following contents:
  • the feature matching sub-unit 212 is configured to perform feature matching on the download link information of the original resource and the content of the information set;
  • the security judgment subunit 213 is configured to determine the security of the original resource according to the feature matching result.
  • the feature matching sub-unit 212 may be specifically configured to: when the user browses the webpage, extract the download link information in the current webpage; The link information is feature-matched with the content of the set of information.
  • the feature matching sub-unit 212 may be further configured to perform feature matching between the information of the download link and the content of the information set when the user triggers the download operation.
  • the information set obtaining unit 210 may directly obtain the locally preset download link security information set, or obtain the download link security information set from the network side server, and perform synchronous update with the network side at any time.
  • the download link security information set on the network side server can be obtained by:
  • the client in this embodiment corresponds to a computer installed with conventional anti-virus software, and is characterized in that it needs to download data to the local area and then perform security detection. Since such a client exists in the Internet on a large number of objective objects, this embodiment The solution makes full use of this feature, and distributes the work that needs to be completed by the system side to a single user on the Internet, so that the content of the download link security information collection can be continued without increasing the system side labor cost.
  • the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments. The same or similar parts may be referred to each other, and each embodiment focuses on differences from other embodiments.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the description as separate components is or may not be a physical unit, ie may be located in one place, or may be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the device in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the present invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 8 illustrates a server, such as an application server, that can implement the *** in accordance with the present invention.
  • the server conventionally includes a processor 810 and a computer program product or computer readable medium in the form of a memory 820.
  • Memory 820 can be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • Memory 820 has a memory space 830 for program code 831 for performing any of the method steps described above.
  • storage space 830 for program code may include various program code 831 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 820 in the server of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 83 ⁇ , ie code that can be read by a processor such as 810, which is shipped by the server At the time of the line, the server is caused to perform the various steps in the method described above.
  • an embodiment or “one or more embodiments” as used herein means that a particular feature, structure, or characteristic described in connection with the embodiments is included in at least one embodiment of the invention. Moreover, it is noted that the examples of the words “in one embodiment” herein are not necessarily all referring to the same embodiment.
  • any reference signs placed between parentheses shall not be construed as a limitation.
  • the word “comprising” does not exclude the presence of the elements or steps that are not in the claims.
  • the word “a” or “an” preceding a component does not exclude the presence of a plurality of such elements.
  • the invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item.
  • the use of the words first, second, and third does not indicate any order. These words can be interpreted as names.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Virology (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种下载资源提供方法及装置,其中,所述方法包括:对用户要下载的原始资源的安全性进行检测;如果检测结果为不安全,则查询与用户下载需求相匹配的安全下载资源;将所述安全下载资源的链接信息提供给用户。采用本发明技术方案,所提供的替代资源的安全性都是有保证的,同时也避免了用户反复的搜索下载操作所造成的系统资源和网络带宽的消耗。

Description

一种下载资源提供方法及装置 技术领域
本发明涉及互联网应用技术领域, 特别是涉及一种下载资源提供方 法及装置。 背景技术
随着互联网的发展, 越来越多的用户习惯在网上搜索并下载自己感 兴趣的资源。 但是, 互联网在为用户提供便利的同时, 也为计算机病毒、 木马等恶意程序提供了传播环境。 恶意程序的制作者或传播者们, 经常 会将恶意程序伪装成其他资源、 或者将恶意程序暗中携带于其他资源包 中, 如果其他用户将这类资源下载到计算机中, 就很容易感染病毒或木 马, 从而产生各种不良后果。
为了提高计算机系统的安全性, 多数用户都会选择在计算机中安装 杀毒软件 (也称反病毒软件或防病毒软件) , 杀毒软件一般都具有实时 监控的功能, 可以对准备写入本地计算机的数据进行安全性检测, 如果 判断出数据为病毒或木马, 则将这部分数据从本地计算机中清除。
现有杀毒软件的实时监控功能, 可以有效地避免网络中的恶意程序 进驻本地计算机并继续传播, 从而提高了系统的安全性。 但是, 在完成 病毒或木马查杀之后, 用户很有可能仍然没有获得自己想要的资源, 需 要重新在网上搜索, 并且, 即便找到了新的下载资源, 其安全性同样无 法是没有保证的。 如此反复, 造成用户时间和精力的浪费, 也导致了大 量系统资源和网络带宽的无效占用。 发明内容
鉴于上述技术问题, 提出了本发明以便提供一种克服或者至少部分 地解决或者减緩上述问题的下载资源提供方法及装置, 能够在检测到用 户原始下载内容不安全后, 自动寻找原始下载内容的替代资源提供给用 户。 技术方案如下:
根据本发明的一个方面, 提供了一种下载资源提供方法, 包括: 对 用户要下载的原始资源的安全性进行检测; 如果检测结果为不安全, 则 查询与用户下载需求相匹配的安全下载资源; 将所述安全下载资源的链 接信息提供给用户。
根据本发明的又一个方面, 提供了一种下载资源提供装置, 包括: 安全性检测单元, 用于对用户要下载的原始资源的安全性进行检测; 下 载资源查询单元, 用于在所述安全性检测单元检测结果为不安全的情况 下, 查询与用户下载需求相匹配的安全下载资源; 下载资源提供单元, 用于将所述安全下载资源的链接信息提供给用户。
根据本发明的又一个方面, 提供了一种计算机程序, 其包括计算机 可读代码, 当所述计算机可读代码在服务器上运行时, 导致所述服务器 执行根据权利要求 1至 9中的任一个所述的下载资源提供方法。
根据本发明的再一个方面, 提供了一种计算机可读介质, 其中存储 了如权利要求 19所述的计算机程序。
本发明所提供的技术方案, 在检测到用户已下载或准备下载的资源 不安全后, 根据用户的实际下载需求, 进一步寻找符合用户下载需求的 替代资源并直接提供给用户, 从而无需用户重新手动寻找新的下载资源, 同时, 所提供的替代资源的安全性都是有保证的, 用户下载后可直接使 用, 从而为用户提供方便, 也避免了用户反复的搜索下载操作所造成的 系统资源和网络带宽的消耗。
上述说明仅是本发明技术方案的概述, 为了能够更清楚了解本发明 的技术手段, 而可依照说明书的内容予以实施, 并且为了让本发明的上 述和其它目的、 特征和优点能够更明显易懂, 以下特举本发明的具体实 施方式。 附图说明
通过阅读下文优选实施方式的详细描述, 各种其他的优点和益处对 于本领域普通技术人员将变得清楚明了。 附图仅用于示出优选实施方式 的目的, 而并不认为是对本发明的限制。 而且在整个附图中, 用相同的 参考符号表示相同的部件。 在附图中:
图 1为本发明下载资源提供方法的一种流程图; 图 2为本发明下载资源安全性检测方法的一种流程图; 图 3为本发明下载资源提供装置的一种结构示意图;
图 4为本发明下载资源查询单元的一种结构示意图;
图 5为本发明下载资源查询单元的第二种结构示意图;
图 6为本发明下载资源查询单元的第三种结构示意图;
图 7为本发明安全性检测单元的一种结构示意图;
图 8 示意性地示出了用于执行根据本发明的方法的服务器的框图; 以及
图 9 示意性地示出了用于保持或者携带实现根据本发明的方法的程 序代码的存储单元。 具体实施例
下面结合附图和具体的实施方式对本发明作进一步的描述。
首先对本发明所提供的一种下载资源提供方法实施例进行说明, 该 方法可以包括以下步骤:
对用户要下载的原始资源的安全性进行检测;
如果检测结果为不安全, 则查询与用户下载需求相匹配的安全下载 资源;
将所述安全下载资源的链接信息提供给用户。
在上述方案中, 首先对用户要下载的原始资源的安全性进行检测, 其中, 检测的步骤可以在用户执行下载操作之前进行, 也可以在用户完 成下载之后进行。 如检测发现用户要下载的原始资源是不安全的, 则根 据用户的实际下载需求, 进一步寻找符合用户下载需求的替代资源并直 接提供给用户。 其中, 用户的下载需求可以直接根据用户的手动输入获 得, 也可以根据原始资源的下载链接自动进行识别。
根据本发明所提供的技术方案, 在检测到用户已下载或准备下载的 资源不安全之后, 无需用户重新手动寻找新的下载资源, 从而简化了用 户的操作, 为用户提供方便。 同时, 所提供的替代资源的安全性都是有 保证的, 例如提供软件官方网站的链接、 或者提供经过安全性验证的资 源库的链接等等, 用户下载这些资源后可直接使用, 这也避免了用户反 复搜索下载操作所造成的系统资源和网络带宽的消耗。
为了使本领域技术人员更好地理解本发明中的技术方案, 下面将结 合本发明中的附图, 对本发明中的技术方案进行详细地描述, 显然, 所 描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员所获得的所有其他实施例, 都 应当属于本发明保护的范围。
图 1所示为本发明所提供的一种下载资源提供方法的流程图, 包括 以下步骤:
5101 , 对用户要下载的原始资源的安全性进行检测;
根据现有技术的方案, 可以对准备写入本地计算机的数据进行安全 性检测。 例如, 当用户确认下载操作后, 数据首先从数据源经网络传输 至用户本地计算机, 本地计算机可以将所下载的数据与病毒库或木马库 中的特征码进行特征匹配, 从而判断数据下载的数据是否安全; 也可以 在本地内存或硬盘中划分出一块与系统隔离的空间, 在隔离空间内执行 所下载的程序, 根据执行结果判断所下载的程序是否安全。
可以理解的是, 检测下载资源的安全性还可以有多种具体的实现方 案, 本发明对此并不需要进行限定。
5102 , 如果检测结果为不安全, 则查询与用户下载需求相匹配的安 全下载资源;
根据现有技术的方案, 如果检测到用户下载的数据是不安全的, 系 统将会向用户发出警告, 进一步还可以从本地计算机中将这部分数据清 除, 以保证系统的安全性。 但是, 在保证安全性的基础上, 用户并没有 获得自己实际想要的下载资源。 针对该问题, 在本发明所提供的方案中, 如果检测到用户下载的资源是不安全的, 将帮助用户查找用户所想要的 资源。
为了有针对性地进行资源查找, 首先需要获知用户的实际下载需求, 一种基本的实现方案是: 在检测到下载资源不安全后, 向用户发出告警 提示, 并向用户提供一个输入接口, 要求用户输入自己的下载需求, 然 后根据用户输入的内容查找相应的安全下载资源。例如,用户想要下载"愤 怒的小鸟", 而首次下载到的内容被查出包含病毒, 此时可以向用户提供 一个输入界面, 当用户输入"愤怒的小鸟,,后, 就可以根据用户所输入的内 容, 查找安全的"愤怒的小鸟"相关下载资源。
上述提供的获知用户实际下载需求的方案, 相当于直接向用户发起 询问, 优点在于准确性好, 但是需要用户手动的操作, 在一定程度上为 用户带来不便, 针对该问题, 本发明提供的另一种获知用户实际下载需 求的方案是: 根据用户的历史搜索行为, 获得用户的下载需求信息。
用户在需要下载资源时, 一种常见的操作是先在搜索引擎输入搜索 关键词, 然后根据搜索结果进入搜索页面。 这个搜索关键词可以很好地 表示用户的下载需求, 因此, 可以通过提取用户最近一次使用的搜索关 键词的方式, 自动获得用户的下载需求信息, 从而减少用户的重复输入 操作。
本发明还进一步提供一种根据原始资源的下载链接信息, 自动识别 用户的下载需求的方式, 具体实现如下:
每一个从网络上下载的资源, 都会对应一个下载链接信息, 从这个 下载链接信息入手, 可以从多个角度来估计用户的下载需求, 例如:
通过解析原始资源的下载链接信息, 可以得到原始资源的文件名, 对于一些网络资源, 其文件名本身就可以有效地标识该资源本身, 因此 在很多情况下, 下载资源的文件名可以直接代表用户的下载需求。
在很多下载网站中, 会为每一个下载资源都提供一个单独的页面, 这些页面的标题可以很好地对下载资源进行描述。 某些情况下, 通过解 析原始资源的下载链接信息, 可以定位到下载资源所在的原始页面, 进 一步地可以获取页面的源代码, 通过获取页面源代码中 "title"字段的内 容, 就可以获得该页面的标题, 该标题的内容很有可能就是用户的下载 需求。
此外, 定位到下载资源所在的原始页面之后, 通过解析页面源代码, 还可以进一步找出原始资源下载链接对应的页面文字展示信息, 某些情 况下, 这部分信息也可能代表用户的下载需求。
以上提供了三种自动识别用户下载需求的方案, 在实际应用中, 这 三种方案可以分别单独使用, 也可以结合使用, 例如, 当几种方案的识 别结果一致时, 认为该识别结果是可用的。 在本发明的一种实施方式中, 为了保证识别的准确性, 也可以把自 动识别结果展示给用户, 并要求用户对识别结果进行确认。 这里可以将 多种识别结果同时展示给用户, 用户如果认为自动识别的结果与自己想 法一致, 可以直接确认识别结果, 作为自己的下载需求信息提交。
可以理解的是, 上述的用户手动输入下载需求以及自动识别下载需 求的方案, 也可以结合实施, 例如, 首先对用户的下载需求进行识别, 将识别结果展示给用户, 同时向用户提供一个输入界面, 如果用户如果 认为自动识别结果与自己想法一致, 可以直接确认识别结果, 如果用户 如果认为自动识别的结果与自己的想法并不一致, 再进一步手动输入下 载需求信息。
进一步地, 还应保证为用户所找到的新下载资源是安全的, 为了保 证查找结果的安全性, 可以在能够确定资源安全性的网络范围内执行查 找操作, 例如: 软件的官方网站、 有安全保障的下载站点等。 当然, 也 可以根据用户热门的下载需求, 预先搜集相应的资源链接信息并建立数 据库, 当确认用户的下载需求后, 直接从数据库中获取相应的链接信息。 如果存储资源允许, 还可以自行搭建资源库, 将通过安全性检测的资源 直接存入资源库中, 当确认用户的下载需求后, 直接获取资源库中的对 应下载链接信息。
S103 , 将所述安全下载资源的链接信息提供给用户。
在本步骤中, 根据 S102中的查询结果, 将找到的安全下载资源的链 接信息提供给用户, 以便用户再次下载。 本领域技术人员可以理解的是, 根据 S102中查找安全资源方式的不同, 在本步骤中向用户提供的链接信 息可以是一个或多个。 上述实施例所提供的方法, 是在用户将资源下载到本地后再检测其 安全性, 在本发明的另一种实施方式中, 能够在用户进行下载之前, 检 测下载链接的安全性, 从而减少用户无效的下载行为, 进一步降低网络 带宽资源的消耗。
图 2为本发明所提供的下载资源安全性检测方法的一种流程图, 对 应于 S101 , 该步骤具体可以包括以下子步骤: SlOla, 获得下载链接安全性信息集合;
根据本发明所提供的方案, 为了实现对下载链接安全性的检测, 首 先需要具备一个能够标识下载链接安全性的信息集合。 所述信息集合可 以有多种具体的承载方式, 比如列表方式、 文本方式等等, 为描述方便, 在本实施例中将以 "列表,,代替"信息集合"为例进行描述。
在下载链接安全性列表中, 记录着若干下载链接的 URL, 同时记录 着每个 URL所对应的资源是否安全。在实际应用中, 列表可以是黑名单、 白名单、 或黑白名单混合的形式, 其中, 黑名单表示不安全下载链接的 集合, 白名单则是安全下载链接的集合。
下载链接安全性列表的内容, 可以根据一定数量的测试统计得出, 并且可以不断更新和完善。 列表中的每个 URL, 可以是一个具体的下载 资源地址, 适用于已确认某个具体链接安全性的情况; 也可以是某个网 站域名或网站路径, 适用于已确认网站整体安全性的情况, 例如, 某些 官方网站所提供的软件下载资源, 其安全性都是有保证的, 对于这类网 站, 可以以网站白名单的方式记录, 而某些网站所提供的下载资源, 经 常携带有病毒或木马程序, 对于这类网站, 可以以网站黑名单的形式记 录。
SlOlb , 将所述原始资源的下载链接信息与所述信息集合的内容进行 特征匹配;
SlOlc , 根据特征匹配结果, 判断所述原始资源的安全性。
用户在上网过程中, 一种最常见的下载行为是: 在浏览网页的过程 中发现网页中存在下载链接, 然后通过直接点击网页中的下载链接、 或 者利用下载软件进行下载; 对应于这种下载行为, 本发明实施例所提供 的方案是: 在用户浏览网页时触发 SlOlb , 具体如下:
当用户浏览网页时, 提取当前网页中的下载链接信息, 该步骤可以 通过获取网页页面源代码、 从源代码中提取具有下载链接特征的部分实 现。 进一步地, 将提取到的下载链接信息与下载链接安全性列表的内容 进行特征匹配, 如果提取到的下载链接信息与列表中白名单匹配成功, 则认为提取到的下载链接是安全的, 如果提取到的下载链接信息与列表 中黑名单匹配成功, 则认为提取到的下载链接是不安全的。 或者, 如果 提取到的下载链接信息与列表中白名单匹配不成功, 也可以认为提取到 的下载链接是不安全的。
在本发明的另一种实施方式中, 还可以在用户执行下载操作时, 触 发 SlOlb, 具体如下:
当用户触发下载操作时, 将下载链接的信息与所述列表的内容进行 特征匹配。 其中, 用户的下载操作, 可以包括: 直接点击网页上的下载 链接、 利用下载工具对下载链接进行下载、 将下载地址输入浏览器地址 栏或下载工具等等。 根据本发明实施例的方案, 在检测到用户的下载行 为后, 开始对下载链接信息与下载链接安全性列表的内容进行特征匹配 , 在用户确认下载操作之前, 给出下载链接安全性的检测结果。
本发明实施例所提供的技术方案下载链接安全性检测方案, 可以在 用户所使用的客户端中实现, 例如内置于杀毒软件、 上网保护软件、 浏 览器等软件中。 在客户端软件初始安装后, 可以在客户端本地存在一个 基本的下载链接安全性列表。 考虑到列表中下载链接的安全性可能随时 发生变化, 而且网络中的资源数量巨大, 通过测试也可以不断丰富和完 善列表的内容。 在本发明方案的一种实施方式中, 可以在网络侧设置一 服务器, 用于存放最新的下载链接安全性列表, 客户端可以通过连接服 务器来下载最初的下载链接安全性列表或者不断更新下载链接安全性列 表, 其中, 更新的方式可以是用户手动触发、 周期性触发、 或者是服务 器主动推送, 类似于杀毒软件的病毒库更新机制。
应用本实施例所提供的技术方案, 预先对网络上的下载链接安全性 进行统计并生成信息集合, 根据预置的信息集合内容判断网页中的下载 链接是否安全, 使得在用户下载数据之前就了解到下载链接的安全性, 并进一步寻找安全下载链接, 与下载后再进行安全性检测的方式相比, 可以进一步减少用户无效的下载行为, 降低网络带宽资源的消耗。
在本发明的一种实施方式中, 网络侧服务器还可以根据其他客户端 上报的检测结果来生成下载链接安全性列表, 具体方法如下:
由于很多用户都会选择在计算机中安装杀毒软件, 这些杀毒软件的 实时监控的功能会对刚刚下载至本机的数据进行检测, 并根据检测结果 确定下载的数据是否可以安全写入本地。 在本发明实施例中, 装有杀毒 软件的客户端在对下载数据完成检测之后, 将检测结果(是否安全) 连 同下载链接的地址一起上报给网络服务器, 这样, 服务器就可以快速收 集大量的检测结果, 更高效率地丰富和完善下载链接安全性列表的内容。
根据实际需求, 装有杀毒软件的客户端可以只将所检测到的不安全 下载链接上报给网络侧服务器, 也可以将所有检测结果都上报给网络侧 服务器, 本发明对此并不需要进行限定。
本实施例方案充分利用了互联网用户数量大的特点, 将原本需要由 系统侧完成测试的工作分散给互联网上的单一用户, 从而可以在不增加 系统侧人力成本的情况下, 使下载链接安全性列表的内容得到持续的更 新, 客户端可以从服务器侧及时获得更新下载链接安全性列表, 相应带 来 S101中下载链接安全性检测能力的持续提升。
相应于上面的方法实施例, 本发明还提供一种下载资源提供装置, 参见图 3所示, 该装置包括:
安全性检测单元 210 ,用于对用户要下载的原始资源的安全性进行检 测;
下载资源查询单元 220 ,用于在所述安全性检测单元检测结果为不安 全的情况下, 查询与用户下载需求相匹配的安全下载资源;
下载资源提供单元 230 ,用于将所述安全下载资源的链接信息提供给 用户。
图 4所示为本发明所提供的下载资源查询单元 220的一种结构示意 图, 包括:
下载需求识别子单元 221 , 用于根据所述原始资源的下载链接信息, 识别用户的下载需求;
第一查询子单元 222 , 用于查询与识别结果相匹配的安全下载资源。 图 5所示为本发明所提供的下载资源查询单元 220的另一种结构示 意图, 在图 4所示结构的基础上, 进一步包括了识别结果用户交互子单 元 223 , 用于在所述下载需求识别子单元识别用户下载需求后, 将识别结 果展示给用户、 并要求用户对识别结果进行确认;
在下载资源查询单元 220中包括识别结果用户交互子单元 223的情 况下, 相应地, 所述第一查询子单元 222 , 具体用于查询与用户所确认的 识别结果相匹配的安全下载资源。
其中, 图 4或图 5所示的下载需求识别子单元 221 , 具体可以: 根据所述原始资源的下载链接信息获得原始资源的文件名, 利用所 述文件名识别用户的下载需求;
和 /或
根据所述原始资源的下载链接信息获得原始资源的下载页面标题, 利用所述下载页面标题识别用户的下载需求;
和 /或
根据所述原始资源下载链接对应的页面文字展示信息, 识别用户的 下载需求。
图 6所示为本发明所提供的下载资源查询单元 220的另一种结构示 意图包括:
下载需求获得子单元 224 ,用于获得用户输入的下载需求信息;或者, 根据所述用户的历史搜索行为获得所述用户的下载需求信息。
第二查询子单元 225 ,用于查询与用户输入的下载需求信息内容相匹 配的安全下载资源。
图 7所示为本发明所提供的安全性检测单元 210的一种具体结构示 意图, 包括:
信息集合获得子单元 211 , 用于预先获得下载链接安全性信息集合; 其中, 信息集合获得子单元 211可以具体用于从网络侧服务器获得 下载链接安全性信息集合。 所获得的下载链接安全性信息集合中, 可以 包括以下一种或多种内容:
下载链接黑名单、 下载链接白名单、 下载网站黑名单、 下载网站白 名单。
特征匹配子单元 212 ,用于将所述原始资源的下载链接信息与所述信 息集合的内容进行特征匹配;
安全性判断子单元 213 , 用于根据特征匹配结果, 判断所述原始资源 的安全性。
在本发明的一种实施方式中, 所述特征匹配子单元 212可以具体用 于当用户浏览网页时, 提取当前网页中的下载链接信息; 将提取到的下 载链接信息与所述信息集合的内容进行特征匹配。
在本发明的一种实施方式中, 所述特征匹配子单元 212还可以具体 用于当用户触发下载操作时, 将下载链接的信息与所述信息集合的内容 进行特征匹配。
根据本发明的实施方案, 信息集合获得单元 210可以直接获得本地 预置的下载链接安全性信息集合, 也可以从网络侧服务器获得下载链接 安全性信息集合, 并且随时与网络侧进行同步更新。 其中, 网络侧服务 器上的下载链接安全性信息集合可以通过以下方式获得:
在客户端完成资源下载后, 对所下载资源的安全性进行检测, 将检 测结果上报至所述网络侧服务器; 网络侧服务器根据一个或多个客户端 上报的检测结果, 生成所述下载链接安全性信息集合。 本实施例中的客 户端对应于安装有常规杀毒软件的计算机, 其特点是需要将数据下载到 本地后再进行安全性检测, 由于这类客户端在互联网上是大量客观存在 的, 本实施例方案充分利用了这一特点, 将原本需要由系统侧完成测试 的工作分散给互联网上的单一用户, 从而可以在不增加系统侧人力成本 的情况下, 使下载链接安全性信息集合的内容得到持续的更新, 从而使 得安全性检测单元 210的安全检测能力能够得到持续提升。
为了描述的方便, 描述以上装置时以功能分为各种单元分别描述。 当然, 在实施本发明时可以把各单元的功能在同一个或多个软件和 /或硬 件中实现。
通过以上的实施方式的描述可知, 本领域的技术人员可以清楚地了 解到本发明可借助软件加必需的通用硬件平台的方式来实现。 基于这样 的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分可 以以软件产品的形式体现出来, 该计算机软件产品可以存储在存储介质 中, 如 ROM/RAM、 磁碟、 光盘等, 包括若干指令用以使得一台计算机 设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个 实施例或者实施例的某些部分所述的方法。 相同相似的部分互相参见即可, 每个实施例重点说明的都是与其他实施 例的不同之处。 尤其, 对于装置实施例而言, 由于其基本相似于方法实 施例, 所以描述得比较简单, 相关之处参见方法实施例的部分说明即可。 以上所描述的装置实施例仅仅是示意性的, 其中所述作为分离部件说明 是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到 多个网络单元上。 可以根据实际的需要选择其中的部分或者全部模块来 实现本实施例方案的目的。 本领域普通技术人员在不付出创造性劳动的 情况下, 即可以理解并实施。
本发明的各个部件实施例可以以硬件实现, 或者以在一个或者多个 处理器上运行的软件模块实现, 或者以它们的组合实现。 本领域的技术 人员应当理解, 可以在实践中使用微处理器或者数字信号处理器 (DSP ) 来实现根据本发明实施例的 ***设备中的一些或者全部部件的一些或者 全部功能。 本发明还可以实现为用于执行这里所描述的方法的一部分或 者全部的设备或者装置程序 (例如, 计算机程序和计算机程序产品) 。 这样的实现本发明的程序可以存储在计算机可读介质上, 或者可以具有 一个或者多个信号的形式。 这样的信号可以从因特网网站上下载得到, 或者在载体信号上提供, 或者以任何其他形式提供。
例如, 图 8示出了可以实现根据本发明的 ***的服务器, 例如应用服 务器。 该服务器传统上包括处理器 810和以存储器 820形式的计算机程 序产品或者计算机可读介质。 存储器 820可以是诸如闪存、 EEPROM (电 可擦除可编程只读存储器) 、 EPROM、 硬盘或者 ROM之类的电子存储 器。存储器 820具有用于执行上述方法中的任何方法步骤的程序代码 831 的存储空间 830。 例如, 用于程序代码的存储空间 830可以包括分别用于 实现上面的方法中的各种步骤的各个程序代码 831。这些程序代码可以从 一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机 程序产品中。 这些计算机程序产品包括诸如硬盘, 紧致盘 (CD ) 、 存储 卡或者软盘之类的程序代码载体。 这样的计算机程序产品通常为如参考 图 9所述的便携式或者固定存储单元。 该存储单元可以具有与图 8的服 务器中的存储器 820 类似布置的存储段、 存储空间等。 程序代码可以例 如以适当形式进行压缩。 通常, 存储单元包括计算机可读代码 83 Γ , 即 可以由例如诸如 810 之类的处理器读取的代码, 这些代码当由服务器运 行时, 导致该服务器执行上面所描述的方法中的各个步骤。
本文中所称的 "一个实施例"、 "实施例"或者"一个或者多个实施例" 意味着, 结合实施例描述的特定特征、 结构或者特性包括在本发明的至 少一个实施例中。 此外, 请注意, 这里"在一个实施例中"的词语例子不一 定全指同一个实施例。
在此处所提供的说明书中, 说明了大量具体细节。 然而, 能够理解, 本发明的实施例可以在没有这些具体细节的情况下被实践。 在一些实例 中, 并未详细示出公知的方法、 结构和技术, 以便不模糊对本说明书的 理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限 制, 并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计 出替换实施例。 在权利要求中, 不应将位于括号之间的任何参考符号构 造成对权利要求的限制。单词"包含"不排除存在未列在权利要求中的元件 或步骤。 位于元件之前的单词 "一"或"一个"不排除存在多个这样的元件。 本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计 算机来实现。 在列举了若干装置的单元权利要求中, 这些装置中的若干 个可以是通过同一个硬件项来具体体现。 单词第一、 第二、 以及第三等 的使用不表示任何顺序。 可将这些单词解释为名称。
此外, 还应当注意, 本说明书中使用的语言主要是为了可读性和教 导的目的而选择的, 而不是为了解释或者限定本发明的主题而选择的。 因此, 在不偏离所附权利要求书的范围和精神的情况下, 对于本技术领 域的普通技术人员来说许多修改和变更都是显而易见的。 对于本发明的 范围, 对本发明所做的公开是说明性的, 而非限制性的, 本发明的范围 由所附权利要求书限定。

Claims

1、 一种下载资源提供方法, 其特征在于, 包括:
对用户要下载的原始资源的安全性进行检测;
如果检测结果为不安全, 则查询与用户下载需求相匹配的安全下载 资源;
将所述安全下载资源的链接信息提供给用户。
2、 根据权利要求 1所述的方法, 其特征在于, 所述查询与用户下载 需求相匹配的安全下载资源, 包括:
根据所述原始资源的下载链接信息, 识别用户的下载需求; 查询与识别结果相匹配的安全下载资源。
3、 根据权利要求 2所述的方法, 其特征在于,
在识别用户下载需求后, 还包括: 将识别结果展示给用户, 并要求 用户对识别结果进行确认;
所述查询与识别结果相匹配的安全下载资源, 包括: 查询与用户所 确认的识别结果相匹配的安全下载资源。
4、 根据权利要求 2或 3所述的方法, 其特征在于, 所述根据所述原 始资源的下载链接信息, 识别用户的下载需求, 包括:
根据所述原始资源的下载链接信息获得原始资源的文件名, 利用所 述文件名识别用户的下载需求;
和 /或
根据所述原始资源的下载链接信息获得原始资源的下载页面标题, 利用所述下载页面标题识别用户的下载需求; 和 /或
根据所述原始资源下载链接对应的页面文字展示信息, 识别用户的 下载需求。
5、 根据权利要求 1所述的方法, 其特征在于, 所述查询与用户下载 需求相匹配的安全下载资源, 包括:
获得用户输入的下载需求信息, 查询与所述用户输入的下载需求信 息内容相匹配的安全下载资源;
和 /或,
根据所述用户的历史搜索行为, 获得所述用户的下载需求信息; 查 询与所述用户的下载需求信息内容相匹配的安全下载资源。
6、 根据权利要求 1或 2或 3或 5所述的方法, 其特征在于, 所述对 用户要下载的原始资源的安全性进行检测, 包括:
预先获得下载链接安全性信息集合;
将所述原始资源的下载链接信息与所述下载链接安全性信息集合的 内容进行特征匹配;
根据特征匹配结果, 判断所述原始资源的安全性。
7、 根据权利要求 6所述的方法, 其特征在于, 所述将原始资源的下 载链接信息与所述信息集合的内容进行特征匹配, 包括:
当用户浏览网页时, 提取当前网页中的下载链接信息; 将提取到的 下载链接信息与所述下载链接安全性信息集合的内容进行特征匹配; 或者,
当用户触发下载操作时, 将下载链接的信息与所述下载链接安全性 信息集合的内容进行特征匹配。
8、 根据权利要求 6所述的方法, 其特征在于, 所述下载链接安全性 信息集合中, 包括下述名单中的一种或多种:
下载链接黑名单;
下载链接白名单;
下载网站黑名单
下载网站白名单。
9、 根据权利要求 6所述的方法, 其特征在于, 所述下载链接安全性 信息集合至少通过以下方式获得:
在客户端完成资源下载后, 对所下载资源的安全性进行检测, 将检 测结果上报至网络侧服务器;
所述网络侧服务器根据一个或多个客户端上报的检测结果, 生成所 述下载链接安全性信息集合;
从所述网络侧服务器获得所述下载链接安全性信息集合。
10、 一种下载资源提供装置, 其特征在于, 包括:
安全性检测单元, 用于对用户要下载的原始资源的安全性进行检测; 的情况下, 查询与用户下载需求相匹配的安全下载资源;
下载资源提供单元, 用于将所述安全下载资源的链接信息提供给用 户。
11、 根据权利要求 10所述的方法装置, 其特征在于, 所述下载资源 查询单元查询, 包括: 下载需求识别子单元, 用于根据所述原始资源的下载链接信息, 识 别用户的下载需求;
第一查询子单元, 用于查询与识别结果相匹配的安全下载资源。
12、 根据权利要求 11所述的装置, 其特征在于, 所述下载资源查询 单元, 还包括:
识别结果用户交互子单元, 用于在所述下载需求识别子单元识别用 户下载需求后, 将识别结果展示给用户、 并要求用户对识别结果进行确 认;
所述第一查询子单元, 具体用于查询与用户所确认的识别结果相匹 配的安全下载资源。
13、 根据权利要求 11或 12所述的装置, 其特征在于, 所述下载需 求识别子单元, 具体用于:
根据所述原始资源的下载链接信息获得原始资源的文件名, 利用所 述文件名识别用户的下载需求;
和 /或
根据所述原始资源的下载链接信息获得原始资源的下载页面标题, 利用所述下载页面标题识别用户的下载需求;
和 /或
根据所述原始资源下载链接对应的页面文字展示信息, 识别用户的 下载需求。
14、 根据权利要求 10所述的装置, 其特征在于, 所述下载资源查询 单元, 包括: 下载需求获得子单元, 用于获得用户输入的下载需求信息或根据所 述用户的历史搜索行为获得所述用户的下载需求信息;
第二查询子单元, 用于查询与用户输入的下载需求信息内容相匹配 的安全下载资源。
15、 根据权利要求 10或 11或 12或 14所述的装置, 其特征在于, 所述安全性检测单元, 包括:
信息集合获得子单元, 用于预先获得下载链接安全性信息集合; 特征匹配子单元, 用于将所述原始资源的下载链接信息与所述信息 集合的内容进行特征匹配;
安全性判断子单元, 用于根据特征匹配结果, 判断所述原始资源的 安全性。
16、 根据权利要求 15所述的装置, 其特征在于, 所述特征匹配子单 元, 具体用于:
当用户浏览网页时, 提取当前网页中的下载链接信息; 将提取到的 下载链接信息与所述信息集合的内容进行特征匹配;
或者
当用户触发下载操作时, 将下载链接的信息与所述信息集合的内容 进行特征匹配。
17、 根据权利要求 15所述的装置, 其特征在于, 所述下载链接安全 性信息集合中, 包括:
下载链接黑名单、 下载链接白名单、 下载网站黑名单和 /或下载网站 白名单。
18、 根据权利要求 15所述的装置, 其特征在于, 所述信息集合获得 子单元, 具体用于从所述网络侧服务器获得所述下载链接安全性信息集 合, 所述下载链接安全性信息集合至少通过下述方式获得: 在客户端完 成资源下载后, 对所下载资源的安全性进行检测, 将检测结果上报至所 述网络侧服务器; 所述网络侧服务器根据一个或多个客户端上报的检测 结果生成所述下载链接安全性信息集合。
19、 一种计算机程序, 包括计算机可读代码, 当所述计算机可读代 码在服务器上运行时,导致所述服务器执行根据权利要求 1-9中的任一个 所述的下载资源提供方法。
20、 一种计算机可读介质, 其中存储了如权利要求 19所述的计算机 程序。
PCT/CN2012/081616 2011-09-28 2012-09-19 一种下载资源提供方法及装置 WO2013044744A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/347,491 US20140245438A1 (en) 2011-09-28 2012-09-19 Download resource providing method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110301270.2 2011-09-28
CN201110301270.2A CN102333122B (zh) 2011-09-28 2011-09-28 一种下载资源提供方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2013044744A1 true WO2013044744A1 (zh) 2013-04-04

Family

ID=45484723

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/081616 WO2013044744A1 (zh) 2011-09-28 2012-09-19 一种下载资源提供方法及装置

Country Status (3)

Country Link
US (1) US20140245438A1 (zh)
CN (1) CN102333122B (zh)
WO (1) WO2013044744A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955833A (zh) * 2019-11-27 2020-04-03 百度在线网络技术(北京)有限公司 一种搜索方法、装置、服务器、终端设备和介质

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333122B (zh) * 2011-09-28 2015-04-15 奇智软件(北京)有限公司 一种下载资源提供方法、装置及系统
CN103581878B (zh) * 2012-07-20 2018-07-06 百度在线网络技术(北京)有限公司 一种用于在移动设备中获取目标资源的方法和设备
CN103679016A (zh) * 2012-09-04 2014-03-26 珠海市君天电子科技有限公司 手机恶意程序的处理方法和系统
CN102867145B (zh) * 2012-09-07 2015-07-22 腾讯科技(深圳)有限公司 染毒应用的处理方法、处理装置及处理系统
CN105657062A (zh) * 2012-11-01 2016-06-08 北京奇虎科技有限公司 浏览器进行软件下载的方法和浏览器
CN102984205A (zh) * 2012-11-01 2013-03-20 北京奇虎科技有限公司 辅助浏览器进行软件下载的安全管理器
CN102970346B (zh) * 2012-11-01 2016-04-20 北京奇虎科技有限公司 浏览器进行软件下载的方法和浏览器
CN103020519A (zh) * 2012-11-15 2013-04-03 百度在线网络技术(北京)有限公司 用于提供访问请求所对应的安全相关信息的方法和设备
CN102984161B (zh) * 2012-12-05 2016-06-15 北京奇虎科技有限公司 一种可信网站的识别方法和装置
CN103294507A (zh) * 2013-05-09 2013-09-11 优视科技有限公司 一种提供下载资源信息的方法及装置
CN103441848A (zh) * 2013-08-16 2013-12-11 广东欧珀移动通信有限公司 移动终端的应用认证方法和系统
CN104079493A (zh) * 2014-06-11 2014-10-01 国家计算机网络与信息安全管理中心 基于下载资源名的流量识别方法和设备、管控方法和设备
CN104462400A (zh) * 2014-12-10 2015-03-25 北京奇虎科技有限公司 在移动终端中进行文件下载的方法、装置和浏览器客户端
CN105991746A (zh) * 2015-03-04 2016-10-05 腾讯科技(深圳)有限公司 一种下载文件的方法及装置
CN105912926A (zh) * 2016-04-28 2016-08-31 北京小米移动软件有限公司 合法安装包获取方法、装置及系统
CN107465646B (zh) * 2016-06-02 2019-02-26 腾讯科技(深圳)有限公司 一种应用下载方法、系统及相关设备
CN107665304A (zh) * 2016-07-29 2018-02-06 北京邮电大学 软件升级的监管方法和装置
CN106487793A (zh) * 2016-10-19 2017-03-08 广东欧珀移动通信有限公司 应用安装方法及装置
CN106599081A (zh) * 2016-11-24 2017-04-26 梁梅芹 基于使用者的移动终端上网管理方法
CN107015818B (zh) * 2017-06-06 2021-04-27 北京梆梆安全科技有限公司 应用的非本体部分更新的外部覆盖更新方法和装置
CN107301334B (zh) * 2017-06-28 2020-03-17 Oppo广东移动通信有限公司 支付类应用程序下载防护方法、装置及移动终端
CN109218320B (zh) * 2018-09-25 2022-09-09 中国平安人寿保险股份有限公司 网站链路安全性验证方法、装置、计算机设备及存储介质
CN112883093B (zh) * 2021-02-04 2022-09-02 湖北宸威玺链信息技术有限公司 基于动态指令流检测的数据导出方法及系统及装置及介质
CN113694539A (zh) * 2021-09-22 2021-11-26 网易(杭州)网络有限公司 资源管理方法及装置、存储介质、电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050120242A1 (en) * 2000-05-28 2005-06-02 Yaron Mayer System and method for comprehensive general electric protection for computers against malicious programs that may steal information and/or cause damages
CN1770801A (zh) * 2004-11-02 2006-05-10 乐金电子(中国)研究开发中心有限公司 利用移动通信终端平台回叫方式的内容下载方法
CN101447006A (zh) * 2008-12-30 2009-06-03 深圳市迅雷网络技术有限公司 一种提供文件安全信息的方法和安全信息处理系统
CN101924760A (zh) * 2010-08-17 2010-12-22 优视科技有限公司 可执行文件的安全下载方法及系统
CN102333122A (zh) * 2011-09-28 2012-01-25 奇智软件(北京)有限公司 一种下载资源提供方法、装置及系统

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167520A (en) * 1996-11-08 2000-12-26 Finjan Software, Inc. System and method for protecting a client during runtime from hostile downloadables
US7606821B2 (en) * 2004-06-30 2009-10-20 Ebay Inc. Method and system for preventing fraudulent activities
US7822620B2 (en) * 2005-05-03 2010-10-26 Mcafee, Inc. Determining website reputations using automatic testing
US8438499B2 (en) * 2005-05-03 2013-05-07 Mcafee, Inc. Indicating website reputations during user interactions
US8015606B1 (en) * 2005-07-14 2011-09-06 Ironkey, Inc. Storage device with website trust indication
US20080134042A1 (en) * 2005-09-14 2008-06-05 Magiq Technologies, Dac , A Corporation Qkd System Wth Ambiguous Control
US20070112814A1 (en) * 2005-11-12 2007-05-17 Cheshire Stuart D Methods and systems for providing improved security when using a uniform resource locator (URL) or other address or identifier
CN101136025A (zh) * 2007-09-24 2008-03-05 腾讯科技(深圳)有限公司 一种下载网络资源的方法、系统及设备
CN101146111B (zh) * 2007-10-19 2012-03-07 深圳市迅雷网络技术有限公司 一种文件下载的方法及设备
CN101179474B (zh) * 2007-12-21 2012-02-01 深圳市迅雷网络技术有限公司 一种下载方法、系统及装置
CN101471838B (zh) * 2007-12-27 2012-06-27 华为技术有限公司 一种源切换的方法、系统和设备
CN101308533A (zh) * 2008-06-30 2008-11-19 华为技术有限公司 病毒查杀的方法、装置和系统
CN101437051B (zh) * 2008-12-04 2011-09-28 四川长虹电器股份有限公司 网络资源下载方法
AU2011201043A1 (en) * 2010-03-11 2011-09-29 Mailguard Pty Ltd Web site analysis system and method
US20120324568A1 (en) * 2011-06-14 2012-12-20 Lookout, Inc., A California Corporation Mobile web protection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050120242A1 (en) * 2000-05-28 2005-06-02 Yaron Mayer System and method for comprehensive general electric protection for computers against malicious programs that may steal information and/or cause damages
CN1770801A (zh) * 2004-11-02 2006-05-10 乐金电子(中国)研究开发中心有限公司 利用移动通信终端平台回叫方式的内容下载方法
CN101447006A (zh) * 2008-12-30 2009-06-03 深圳市迅雷网络技术有限公司 一种提供文件安全信息的方法和安全信息处理系统
CN101924760A (zh) * 2010-08-17 2010-12-22 优视科技有限公司 可执行文件的安全下载方法及系统
CN102333122A (zh) * 2011-09-28 2012-01-25 奇智软件(北京)有限公司 一种下载资源提供方法、装置及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955833A (zh) * 2019-11-27 2020-04-03 百度在线网络技术(北京)有限公司 一种搜索方法、装置、服务器、终端设备和介质

Also Published As

Publication number Publication date
CN102333122B (zh) 2015-04-15
US20140245438A1 (en) 2014-08-28
CN102333122A (zh) 2012-01-25

Similar Documents

Publication Publication Date Title
WO2013044744A1 (zh) 一种下载资源提供方法及装置
US9544316B2 (en) Method, device and system for detecting security of download link
US9614862B2 (en) System and method for webpage analysis
US9300682B2 (en) Composite analysis of executable content across enterprise network
WO2016201819A1 (zh) 检测恶意文件的方法和装置
AU2007273085B2 (en) System and method of analyzing web content
US8997220B2 (en) Automatic detection of search results poisoning attacks
US8788925B1 (en) Authorized syndicated descriptions of linked web content displayed with links in user-generated content
WO2015081900A1 (zh) 基于云安全拦截广告程序的方法、装置和系统
US20140215631A1 (en) Method and system for monitoring webpage malicious attributes
WO2014067320A1 (zh) 网页分享方法、系统、服务器、客户端、计算机程序以及计算机可读介质
WO2014000537A1 (zh) 一种钓鱼网站查找系统及方法
WO2013189216A1 (zh) 网页检测方法与扫描引擎
WO2012113272A1 (zh) 一种提高终端上网安全性的方法、系统和装置
US9154522B2 (en) Network security identification method, security detection server, and client and system therefor
US11604843B2 (en) Method and system for generating phrase blacklist to prevent certain content from appearing in a search result in response to search queries
WO2011116696A1 (zh) 一种提供网络资源的方法及系统
WO2013143405A1 (zh) 网络访问的实现方法、装置和系统、以及网络系统
WO2015003663A1 (zh) 一种视频处理方法、装置、服务器和客户端设备
WO2013189254A1 (zh) 热点聚合方法及装置
WO2012094965A1 (zh) 提示消息呈现方法、终端和服务器
US20150222649A1 (en) Method and apparatus for processing a webpage
WO2015109928A1 (zh) 一种加载推荐信息、网址检测的方法、装置和系统
WO2017063596A1 (zh) 一种处理网站地图的方法、装置及设备
WO2017167208A1 (zh) 识别恶意网站的方法、装置及计算机存储介质

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: 12834836

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14347491

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12834836

Country of ref document: EP

Kind code of ref document: A1