CN108282543A - A kind of CDN node content authentication method and system - Google Patents

A kind of CDN node content authentication method and system Download PDF

Info

Publication number
CN108282543A
CN108282543A CN201810180722.8A CN201810180722A CN108282543A CN 108282543 A CN108282543 A CN 108282543A CN 201810180722 A CN201810180722 A CN 201810180722A CN 108282543 A CN108282543 A CN 108282543A
Authority
CN
China
Prior art keywords
cdn node
source station
file
calibration tool
content authentication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810180722.8A
Other languages
Chinese (zh)
Inventor
刘晓光
汪志武
赵子毅
张晴晴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wisdom Cloud Technology Co Ltd
Original Assignee
Beijing Wisdom Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wisdom Cloud Technology Co Ltd filed Critical Beijing Wisdom Cloud Technology Co Ltd
Priority to CN201810180722.8A priority Critical patent/CN108282543A/en
Publication of CN108282543A publication Critical patent/CN108282543A/en
Pending legal-status Critical Current

Links

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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The present invention relates to a kind of CDN node content authentication method and system, including source station, calibration tool, CDN node, the storage file of source station generates its inspection of document code;CDN node generates the file verification code of simultaneously storage file in cache file simultaneously;Calibration tool is compared by communicating acquisition file verification code with source station and CDN node.Calibration tool is http protocol head response field extension mode with source station and CDN node communication mode.It is using X Verify Tag as the field name of check code that calibration tool, which is http protocol head response field extension mode with source station and CDN node communication mode, and the value of check code is the value of ETag.It is relatively high that the present invention verifies efficiency;It is relatively high to verify accuracy rate;System maintenance operating cost is low.

Description

A kind of CDN node content authentication method and system
Technical field
The invention belongs to information technology fields, more particularly to a kind of CDN node content authentication method and system.
Background technology
In CDN distributed systems, there are a large amount of node, each node has cached a large amount of file again.The text of caching Part content requires consistent with source station file content.When source station, some file content changes, fringe node has delayed The respective file deposited will first do removing action, and when having waited access, fringe node caches the latest document content of source station again. Due to the complexity of the framework of CDN distributed systems, over time and continuous file content changes, specific Occurs abnormal, incorrect 100% removing, it is likely that edge section occur under situation, such as when cleaning fringe node file cache The file content of point cache and the inconsistent situation of source station file.Since node and content quantity are huge, this file content is not Unanimously relatively it is difficult to find.
Then, the problem of needs verify specified edge cache file and the comparison of source station file is just produced.
In traditional scheme, a calibration tool is usually write, analog subscriber is accessed and verified.Calibration tool arrives first source station File download is returned, the MD5 values of file are calculated, the file link (URL) then verified as needed, calibration tool is to often After the file for downloading corresponding caching on a fringe node, MD5 values are calculated separately, are compared with the MD5 values of source station file, most The consistent or inconsistent conclusion of each fringe node is obtained afterwards.
The disadvantage of traditional scheme:1, low to specific efficiency.Calibration tool must be to verifying needs on each fringe node File download gets off, then executes MD5 digest calculating, and the time of download may be very long, often completes primary download, will carry out MD5 It calculates, efficiency is very low, and especially when the file for needing to verify is more and larger, calibration tool is to network bandwidth and stores all It has higher requirements.2, verification accuracy is difficult to accomplish 100%.Since the link condition of calibration tool to each fringe node differs Sample, it is possible to download unsuccessful or download imperfect, lead to obtain inaccurate check results.
Invention content
The present invention provides the content authentication method and systems of CDN node more than one, it is therefore intended that improves verification efficiency and verification Accuracy.
The storage file of this CDN node content authentication system, including source station, calibration tool, CDN node, source station generates Its inspection of document code;CDN node generates the file verification code of simultaneously storage file in cache file simultaneously;Calibration tool by with source It stands and CDN node communication obtains file verification code and compared.
Calibration tool is http protocol head response field extension mode with source station and CDN node communication mode.
It is with X- that calibration tool, which is http protocol head response field extension mode with source station and CDN node communication mode, Verify-Tag is the field name of check code, and the value of check code is the value of ETag.
This CDN node content authentication system, a kind of corresponding CDN node content authentication method, comprises the steps of:
Step 1, source station generate file verification code;
Step 2, CDN node produce cache file check code;
Step 3, calibration tool obtain source station and CDN node check code, not to determining whether file is consistent.
Step 3 calibration tool is http protocol head response field extension mode with source station and CDN node communication mode.
Step 3 calibration tool and source station and CDN node communication mode be http protocol head response field extension mode be with X-Verify-Tag is the field name of check code, and the value of check code is the value of ETag.
Advantages of the present invention:
It is relatively high to verify efficiency;It is relatively high to verify accuracy rate;System maintenance operating cost is low.
Description of the drawings
Fig. 1 is traditional method of calibration processing mode;
Fig. 2 is the method for calibration processing mode of the present invention.
Specific implementation mode
It elaborates below to the preferred embodiment of the present invention.
This CDN node content authentication system, including source station, calibration tool, CDN node, Fig. 1 show traditional solution party The mode of case;The storage file of source station generates its inspection of document code in this programme;CDN node is generated and is deposited simultaneously in cache file Store up the file verification code of file;Calibration tool is compared by communicating acquisition file verification code with source station and CDN node, is such as schemed Shown in 2.
Calibration tool is http protocol head response field extension mode with source station and CDN node communication mode.
It is with X- that calibration tool, which is http protocol head response field extension mode with source station and CDN node communication mode, Verify-Tag is the field name of check code, and the value of check code is the value of ETag.
This CDN node content authentication system, a kind of corresponding CDN node content authentication method, comprises the steps of:
Step 1, source station generate file verification code;
Step 2, CDN node produce cache file check code;
Step 3, calibration tool obtain source station and CDN node check code, not to determining whether file is consistent.
Step 3 calibration tool is http protocol head response field extension mode with source station and CDN node communication mode.
Step 3 calibration tool and source station and CDN node communication mode be http protocol head response field extension mode be with X-Verify-Tag is the field name of check code, and the value of check code is the value of ETag.
Certainly, those skilled in the art are it should be appreciated that above example is intended merely to illustrate the present invention , and not limitation of the invention, as long as within the scope of the invention to the variation of above example, modification all in the present invention Protection domain within.

Claims (6)

1. a kind of CDN node content authentication system, including source station, calibration tool, CDN node, it is characterised in that:The storage of source station Its inspection of document code of file generated;CDN node generates the file verification code of simultaneously storage file in cache file simultaneously;Calibration tool It is compared by communicating acquisition file verification code with source station and CDN node.
2. CDN node content authentication system according to claim 1, it is characterised in that:Calibration tool is saved with source station and CDN Point communication mode is http protocol head response field extension mode.
3. CDN node content authentication system according to claim 2, it is characterised in that:Calibration tool is saved with source station and CDN Point communication mode is that http protocol head response field extension mode is field name using X-Verify-Tag as check code, check code Value be ETag value.
4. CDN node content authentication system according to claim 1, a kind of CDN node content authentication method, feature exist In comprising the steps of:
Step 1, source station generate file verification code;
Step 2, CDN node produce cache file check code;
Step 3, calibration tool obtain source station and CDN node check code, not to determining whether file is consistent.
5. CDN node content authentication method according to claim 4, it is characterised in that:Step 3 calibration tool and source station and CDN node communication mode is http protocol head response field extension mode.
6. CDN node content authentication method according to claim 4, it is characterised in that:Step 3 calibration tool and source station and CDN node communication mode is that http protocol head response field extension mode is field name using X-Verify-Tag as check code, The value of check code is the value of ETag.
CN201810180722.8A 2018-03-05 2018-03-05 A kind of CDN node content authentication method and system Pending CN108282543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810180722.8A CN108282543A (en) 2018-03-05 2018-03-05 A kind of CDN node content authentication method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810180722.8A CN108282543A (en) 2018-03-05 2018-03-05 A kind of CDN node content authentication method and system

Publications (1)

Publication Number Publication Date
CN108282543A true CN108282543A (en) 2018-07-13

Family

ID=62809132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810180722.8A Pending CN108282543A (en) 2018-03-05 2018-03-05 A kind of CDN node content authentication method and system

Country Status (1)

Country Link
CN (1) CN108282543A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413200A (en) * 2018-11-26 2019-03-01 Oppo(重庆)智能科技有限公司 A kind of method, client, MES and electronic equipment that resource imports
CN109492436A (en) * 2018-11-29 2019-03-19 深圳市网心科技有限公司 A kind of file verification method and relevant apparatus
CN110460487A (en) * 2019-06-25 2019-11-15 网宿科技股份有限公司 The monitoring method and system of service node, service node
CN110889143A (en) * 2018-09-07 2020-03-17 阿里巴巴集团控股有限公司 File verification method and device
CN111093110A (en) * 2019-12-03 2020-05-01 华为技术有限公司 HTTP request transmission method and equipment
CN111314403A (en) * 2018-12-12 2020-06-19 阿里巴巴集团控股有限公司 Method and device for checking resource consistency

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040193702A1 (en) * 2003-03-31 2004-09-30 Microsoft Corp. System and method of network content location for roaming clients
CN102255695A (en) * 2011-07-22 2011-11-23 乐视网信息技术(北京)股份有限公司 Data check method and system applied to peer-to-peer (p2p) network delivery system
CN103379139A (en) * 2012-04-17 2013-10-30 百度在线网络技术(北京)有限公司 A verification method and a verification system for distributed cache content, and apparatuses
CN107613016A (en) * 2017-10-11 2018-01-19 网宿科技股份有限公司 Files in batch method for down loading, client, Distributor and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040193702A1 (en) * 2003-03-31 2004-09-30 Microsoft Corp. System and method of network content location for roaming clients
CN102255695A (en) * 2011-07-22 2011-11-23 乐视网信息技术(北京)股份有限公司 Data check method and system applied to peer-to-peer (p2p) network delivery system
CN103379139A (en) * 2012-04-17 2013-10-30 百度在线网络技术(北京)有限公司 A verification method and a verification system for distributed cache content, and apparatuses
CN107613016A (en) * 2017-10-11 2018-01-19 网宿科技股份有限公司 Files in batch method for down loading, client, Distributor and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
车东: "《面向站长和网站管理员的Web缓存加速指南,https://blog.csdn.net/liushu_it/article/details/17264527》", 11 December 2013 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889143A (en) * 2018-09-07 2020-03-17 阿里巴巴集团控股有限公司 File verification method and device
CN109413200A (en) * 2018-11-26 2019-03-01 Oppo(重庆)智能科技有限公司 A kind of method, client, MES and electronic equipment that resource imports
CN109413200B (en) * 2018-11-26 2021-04-23 Oppo(重庆)智能科技有限公司 Resource import method, client, MES and electronic equipment
CN109492436A (en) * 2018-11-29 2019-03-19 深圳市网心科技有限公司 A kind of file verification method and relevant apparatus
CN111314403A (en) * 2018-12-12 2020-06-19 阿里巴巴集团控股有限公司 Method and device for checking resource consistency
CN110460487A (en) * 2019-06-25 2019-11-15 网宿科技股份有限公司 The monitoring method and system of service node, service node
CN111093110A (en) * 2019-12-03 2020-05-01 华为技术有限公司 HTTP request transmission method and equipment
CN111093110B (en) * 2019-12-03 2021-02-12 华为技术有限公司 HTTP request transmission method and equipment

Similar Documents

Publication Publication Date Title
CN108282543A (en) A kind of CDN node content authentication method and system
US10979485B2 (en) Mechanism for distinguishing between content to be served through first or second delivery channels
CN104346167B (en) The method and device of channel bag is applied in generation
CN109067930B (en) Domain name access method, domain name resolution method, server, terminal and storage medium
US10887419B2 (en) Fast cache purge optimization handling of unavailable nodes
CN104283933A (en) Data downloading method, client-side and system
CN111092811A (en) Request processing method and device, API gateway and readable storage medium
CN102789469B (en) Method for updating pages and system
KR101560185B1 (en) Method for controlling device using URL in distributed network environment and apparatus thereof
CN108595505B (en) Data query method and device
CN103347092A (en) Method and device for recognizing cacheable file
CN102999500A (en) Statistical method and system for click rate
CN104333548A (en) Method and system of accessing local services in https websites
CN101820439A (en) Display method, device and client for files
US20220360994A1 (en) Part 2 of Remote SIM Provisioning of a Subscriber Entity
CN104954448A (en) Picture processing method, picture processing system and picture processing server
CN106790334A (en) A kind of page data transmission method and system
CN111030888A (en) Domain name system DNS capacity measuring method, device, equipment and medium
CN112783541A (en) Equipment upgrading method and device and server
CN103269353A (en) Web cache and return optimization method and Web cache system
CN105592083A (en) Method and device for terminal to have access to server by using token
CN105812503B (en) Root server address renewing method and a kind of recursion server
US20150160996A1 (en) Method, device, client end and system for network resource management
CN109672756B (en) Data transmission method and related device, server and storage medium
CN110460487B (en) Service node monitoring method and system and service node

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180713