CN106649468B - CDN (content delivery network) content query method and system - Google Patents

CDN (content delivery network) content query method and system Download PDF

Info

Publication number
CN106649468B
CN106649468B CN201610855772.2A CN201610855772A CN106649468B CN 106649468 B CN106649468 B CN 106649468B CN 201610855772 A CN201610855772 A CN 201610855772A CN 106649468 B CN106649468 B CN 106649468B
Authority
CN
China
Prior art keywords
content
cdn
cdn network
special mark
technical elements
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.)
Active
Application number
CN201610855772.2A
Other languages
Chinese (zh)
Other versions
CN106649468A (en
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.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
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 Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201610855772.2A priority Critical patent/CN106649468B/en
Publication of CN106649468A publication Critical patent/CN106649468A/en
Application granted granted Critical
Publication of CN106649468B publication Critical patent/CN106649468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • 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

Abstract

The invention relates to a CDN network content query method and a system thereof, wherein the system comprises a content element extracting module, a content grading and sequencing module and a content query module. A content element extraction module: after new content is added into a CDN node, the CDN network reads the content information and judges whether the content information contains a special mark or not, if the content does not contain the special mark, the CDN network directly extracts technical elements of the content information, and if the content contains the special mark, the CDN network updates the corresponding technical elements according to the special mark; the content scoring and sorting module: the CDN network inputs the extracted technical elements of the content into a CDN network content evaluation model to obtain specific scores of the content, and sorts different contents in an ascending order or a descending order according to the scores; a content query module: when a content request occurs, the CDN network performs fast query and transfer according to content ranking. The invention improves the efficiency of the sequential search algorithm on the basis of fully utilizing the storage space.

Description

CDN (content delivery network) content query method and system
Technical Field
The invention belongs to the technical field of information, and particularly relates to a CDN (content delivery network) content query method and a CDN content query system.
Background
The CDN technology is to allocate an access request of a user to a CDN node closest to the user, and the CDN node directly responds to the access request of the user, so that a resource storage manner and a query algorithm in the CDN node are particularly important. At present, query algorithms of resources in CDN nodes include a dynamic hash algorithm, a consistent hash algorithm, a sequential search algorithm, and the like. The access and insertion speed of the hash algorithm is high, but the hash algorithm cannot fully utilize the storage space, so that the storage space is wasted. Sequential lookup, while able to utilize memory space, is inefficient. The invention provides a CDN (content delivery network) content query method and system, aiming at solving the problem of low efficiency of a sequential search algorithm on the basis of ensuring the utilization rate of a storage space.
Disclosure of Invention
The invention aims to solve the technical problem of improving the efficiency of a sequential search algorithm on the basis of fully utilizing a storage space, and provides a CDN (content delivery network) content query method and a CDN content query system.
The technical scheme of the invention is premised on a CDN network content evaluation model and a CDN network content evaluation system. The implementation of the invention relies on a complete content delivery network (hereinafter referred to as CDN network). Resources stored in the CDN node are collectively referred to as content, and content with a special mark means that the content already has some abstractable special attributes when stored in the CDN node. The technical elements mentioned in the content evaluation method may include, but are not limited to, a content size, an access amount change rate, and the like.
The invention provides a CDN network content query method which comprises the following steps:
step 1, the CDN network reads content information added into a CDN node.
And after the new content is added into the CDN node, the CDN network reads the content information.
And step 2, the CDN network judges whether the content information contains a special mark.
After the new content enters the CDN network, the CDN network determines whether it has a special label.
And 3, extracting the technical elements of the content by the CDN network for content evaluation.
If the content has no special mark, the CDN network directly extracts the technical elements of the content; if the content contains the special mark, the CDN directly updates the corresponding technical elements according to the special mark.
And 4, enabling the CDN to enable the technical elements of the content to pass through a content evaluation model.
And the CDN network inputs the extracted technical elements of the content into a CDN network content evaluation model.
And 5, the CDN obtains content scores according to the content evaluation model and sorts the content scores.
The technical elements of the content are input into a CDN network content evaluation model to obtain a specific score of the content, and at the moment, the CDN network sequences different contents according to the score.
And step 6, the CDN network judges whether new content is added.
And (3) after finishing sequencing by the CDN network, detecting whether new content is added, if so, returning to the step (2), and if not, maintaining content sequencing.
And 7, rapidly inquiring by the CDN network according to the content sequence when the request occurs.
When a content request occurs, the CDN network performs fast query and transfer according to the ranking result of the content.
Thus, the CDN network content query method is ended. A method flow diagram is shown in fig. 1.
The CDN network content query system provided by the invention comprises a content extraction technical element module, a content scoring and sequencing module and a content query module.
1. The content extraction technical element module: after the new content is added into the CDN node, the CDN network reads the content information and judges whether the content information contains a special mark or not. If the content has no special mark, the CDN network directly extracts the technical elements of the content; if the content contains the special mark, the CDN directly updates the corresponding technical elements according to the special mark.
2. The content scoring and sorting module: and the CDN network inputs the extracted technical elements of the content into a CDN network content evaluation model and obtains a specific score of the content. At this time, the CDN network sorts the different contents according to the scores.
3. A content query module: and after finishing sequencing, the CDN detects whether new content is added, if so, extracts the content technical elements again for evaluation, and if not, maintains the content sequencing. When a content request occurs, the CDN network performs fast query and transfer according to the ranking result of the content.
A system block diagram of a CDN network content query system is shown in fig. 2.
The system and the method of the invention have the following two advantages:
(1) The query method can be abstracted to be a mathematical method, content resources are automatically evaluated through a computer language, and labor cost is greatly saved.
(2) On the basis of fully utilizing the storage space, the efficiency of the query and transfer algorithm is greatly improved.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
fig. 2 is a system block diagram of the present invention.
Detailed Description
The following is a detailed description of preferred embodiments of the invention.
In this example, the CDN network content query method and system of the present invention are applied to a certain CDN node.
In the embodiment, the content newly added to the CDN node contains a special mark, specifically, the resource has a certain inherent technical element. The CDN network content query method applied by the invention comprises the following steps:
step 1, the CDN network reads content information added into a CDN node.
And after the new content is added into the CDN node, the CDN network reads the content information.
And 2, judging whether the content information contains a special mark or not by the CDN network.
After the new content enters the CDN network, the CDN network determines that it has the special label.
And 3, extracting the technical elements of the content by the CDN network for content evaluation.
And the CDN directly updates the corresponding technical elements according to the special marks.
And 4, enabling the CDN to enable the technical elements of the content to pass through a content evaluation model.
And the CDN network inputs the extracted technical elements of the content into a CDN network content evaluation model.
And 5, the CDN obtains content scores according to the content evaluation model and sorts the content scores.
The technical elements of the content are input into a CDN network content evaluation model to obtain a specific score of the content, at the moment, the CDN network sequences different contents according to the score, and the sequence with high score is higher.
And step 6, the CDN network judges whether new content is added.
And (3) after finishing sequencing, the CDN detects whether new content is added, if so, the step (2) is returned, and if not, the content sequencing is maintained.
And 7, rapidly inquiring by the CDN network according to the content sequence when the request occurs.
When a content request occurs, the CDN network performs fast query and transfer according to the ranking result of the content.
Thus, the CDN network content query method ends.
In the second embodiment, the content newly added to the CDN node is not specially marked. The CDN network content query method applied by the invention comprises the following steps:
step 1, the CDN network reads content information added into a CDN node.
And after the new content is added into the CDN node, the CDN network reads the content information.
And step 2, the CDN network judges whether the content information contains a special mark.
After the new content enters the CDN network, the CDN network determines that it has no special marker.
And 3, extracting the technical elements of the content by the CDN network for content evaluation.
The CDN directly extracts technical elements of the content.
And 4, enabling the CDN to enable the technical elements of the content to pass through a content evaluation model.
And the CDN network inputs the extracted technical elements of the content into a CDN network content evaluation model.
And 5, the CDN obtains content scores according to the content evaluation model and sorts the content scores.
The technical elements of the content are input into a CDN network content evaluation model to obtain a specific score of the content, at the moment, the CDN network sorts different contents according to the score, and the ranking with high score is higher.
And step 6, the CDN network judges whether new content is added.
And (3) after finishing sequencing by the CDN network, detecting whether new content is added, if so, returning to the step (2), and if not, maintaining content sequencing.
And 7, rapidly querying the CDN network according to the content sequencing when the request occurs.
When a content request occurs, the CDN network performs fast query and transfer according to the ranking result of the content.
Thus, the CDN network content query method is ended.
The application of the CDN network content query system provided by the invention in the embodiment comprises a content extraction technical element module, a content grading and sequencing module and a content query module.
1. The content extraction technical element module: after the new content is added into the CDN node, the CDN network reads the content information and judges whether the content information contains a special mark or not. If the content has no special mark, the CDN network directly extracts the technical elements of the content; if the content contains the special mark, the CDN directly updates the corresponding technical elements according to the special mark.
2. The content scoring and sorting module: and the CDN network inputs the extracted technical elements of the content into a CDN network content evaluation model and obtains a specific score of the content. At this time, the CDN network sorts different contents according to the scores, and the higher score is higher in the ranking.
3. A content query module: and after finishing sequencing, the CDN detects whether new content is added, if so, extracts the content technical elements again for evaluation, and if not, maintains the content sequencing. When a content request occurs, the CDN network performs fast query and transfer according to the ranking result of the content.
Of course, those skilled in the art should realize that the above embodiments are only used for illustrating the present invention, and not as a limitation to the present invention, and that the changes and modifications of the above embodiments will fall within the protection scope of the present invention as long as they are within the scope of the present invention.

Claims (2)

1. A CDN network content query system, characterized by: the system comprises a content element extraction module, a content grading and sorting module and a content query module;
the content element extraction module is characterized in that: after new content is added into a CDN node, the CDN network reads the content information and judges whether the content information contains a special mark, wherein the special mark means that resources have certain inherent technical elements; if the content has no special mark, the CDN network directly extracts the technical elements of the content; if the content contains the special mark, the CDN network updates the corresponding technical elements according to the special mark; the technical factors comprise content size, access amount and access amount change rate;
the content scoring and sorting module is characterized in that: the CDN network inputs the extracted technical elements of the content into a CDN network content evaluation model to obtain specific scores of the content, and sorts different contents in an ascending order or a descending order according to the scores;
the content query module is characterized by: when a content request occurs, the CDN network performs fast query and transfer according to content sequencing.
2. A CDN network content query method is characterized by comprising the following steps:
step 1, a CDN network reads content information added into a CDN node;
step 2, the CDN network judges whether the content information contains a special mark, wherein the special mark means that the resource has certain inherent technical elements; the technical factors comprise content size, access amount and access amount change rate;
step 3, extracting technical elements of the content by the CDN network for content evaluation;
after the new content enters the CDN, firstly judging whether a special mark exists, and if the content does not have the special mark, directly extracting technical elements of the content by the CDN; if the content contains the special mark, the CDN network updates the corresponding technical elements according to the special mark;
step 4, the CDN network passes the technical elements of the content through a content evaluation model;
step 5, the CDN obtains content scores according to the content evaluation model and sorts the content scores;
the CDN network inputs the extracted technical elements of the content into a CDN network content evaluation model to obtain specific scores of the content, and sorts different contents according to the scores;
step 6, the CDN network judges whether new content is added;
after finishing sequencing, the CDN network detects whether new content is added, if so, the step 2 is returned, and if not, sequencing of the content is maintained;
step 7, when the request occurs, the CDN network carries out fast query according to the content sequence;
when a content request occurs, the CDN network performs fast query and transfer according to the ranking result of the content.
CN201610855772.2A 2016-09-28 2016-09-28 CDN (content delivery network) content query method and system Active CN106649468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610855772.2A CN106649468B (en) 2016-09-28 2016-09-28 CDN (content delivery network) content query method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610855772.2A CN106649468B (en) 2016-09-28 2016-09-28 CDN (content delivery network) content query method and system

Publications (2)

Publication Number Publication Date
CN106649468A CN106649468A (en) 2017-05-10
CN106649468B true CN106649468B (en) 2023-04-07

Family

ID=58854803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610855772.2A Active CN106649468B (en) 2016-09-28 2016-09-28 CDN (content delivery network) content query method and system

Country Status (1)

Country Link
CN (1) CN106649468B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741731A (en) * 2009-12-03 2010-06-16 中兴通讯股份有限公司 Content metadata storing, inquiring method and managing system in content delivery network (CDN)

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NO313399B1 (en) * 2000-09-14 2002-09-23 Fast Search & Transfer Asa Procedure for searching and analyzing information in computer networks
CN101119225B (en) * 2006-07-31 2011-05-18 诺基亚西门子通信系统技术(北京)有限公司 Statistical method for network visit
US11144969B2 (en) * 2009-07-28 2021-10-12 Comcast Cable Communications, Llc Search result content sequencing
CN101626404A (en) * 2009-08-06 2010-01-13 中兴通讯股份有限公司 Content distribution method and content distribution device for unified content management system
CN102118376B (en) * 2010-01-06 2016-03-02 中兴通讯股份有限公司 Content delivery network service device and content download method
AU2011203265B1 (en) * 2011-02-01 2012-04-19 Limelight Networks, Inc. Content replication workflow in content delivery networks
US8719261B2 (en) * 2011-12-02 2014-05-06 Verizon Patent And Licensing Inc. Dynamic catalog ranking
CN103699521B (en) * 2012-09-27 2017-11-14 腾讯科技(深圳)有限公司 Text analyzing method and device
CN104580274B (en) * 2013-10-12 2018-06-19 中国电信股份有限公司 Content method of replacing and system, node in content distributing network
CN103970812A (en) * 2013-12-27 2014-08-06 乐视网信息技术(北京)股份有限公司 Multimedia content searching method and system
CN104125162B (en) * 2014-07-29 2017-09-26 小米科技有限责任公司 The access processing method and device of Internet resources
CN104850642B (en) * 2015-05-26 2017-05-17 广州神马移动信息科技有限公司 Internet content quality evaluation method and internet content quality evaluation device
CN105187848B (en) * 2015-08-18 2018-06-29 浪潮软件集团有限公司 Content distribution network system and method
CN105246052B (en) * 2015-10-14 2018-08-03 中国联合网络通信集团有限公司 A kind of method and device of data distribution
CN105407005B (en) * 2015-12-09 2018-09-14 中国联合网络通信集团有限公司 Content distribution method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741731A (en) * 2009-12-03 2010-06-16 中兴通讯股份有限公司 Content metadata storing, inquiring method and managing system in content delivery network (CDN)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张浩.高性能内容发布系统的设计要点.《新媒体研究》.2015,第1卷(第15期),24-26. *

Also Published As

Publication number Publication date
CN106649468A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US20160042055A1 (en) Method and device for establishing label library and searching for user
CN105701096A (en) Index generation method, data inquiry method, index generation device, data inquiry device and system
CN103699585A (en) Methods, devices and systems for file metadata storage and file recovery
CN102737057A (en) Determining method and device for goods category information
CN102722709A (en) Method and device for identifying garbage pictures
CN106528641B (en) Data storage method and device and communication gateway machine
CN107832440B (en) Data mining method, device, server and computer readable storage medium
CN107305570B (en) Data retrieval method and system
CN104778258A (en) Data extraction method oriented to protocol dataflow
CN103345498A (en) Webpage loading method, device and system based on transit server
CN105335481A (en) Large scale character string text suffix index building method and device
CN105591914A (en) Openflow flow table look-up method and device
CN103354576B (en) The storage of mobile phone and cell-phone number attaching information thereof and lookup method
CN101986672A (en) Message processing method and device
CN103856462A (en) Method and system for managing sessions
CN110266598B (en) Routing information processing method, device, equipment and readable storage medium
CN104636368A (en) Data retrieval method and device and server
CN104346347A (en) Data storage method, device, server and system
CN108762979B (en) Terminal information backup method and backup device based on matching tree
CN106326258B (en) URL matching method and device
CN103049445B (en) A kind of method, system and picture state server for inquiring about pictorial information
CN106649468B (en) CDN (content delivery network) content query method and system
CN109697281A (en) The online method, apparatus and electronic equipment for merging document
CN105992178B (en) A kind of refuse messages recognition methods and device
CN103927325A (en) URL (uniform resource locator) classifying method and device

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
GR01 Patent grant
GR01 Patent grant