CN108540505A - A kind of content updating method and device - Google Patents
A kind of content updating method and device Download PDFInfo
- Publication number
- CN108540505A CN108540505A CN201710117463.XA CN201710117463A CN108540505A CN 108540505 A CN108540505 A CN 108540505A CN 201710117463 A CN201710117463 A CN 201710117463A CN 108540505 A CN108540505 A CN 108540505A
- Authority
- CN
- China
- Prior art keywords
- new task
- node
- nodes
- grade
- downstream site
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of content updating method and device, the method includes:Node in network receives more new task, it is updated according to the update task execution, downstream site is selected in the other nodes for being not carried out more new task, the more new task received is sent to downstream site, method is analogized step by step successively, until all nodes in the network all receive more new task and execute update.The present invention utilizes the loose couplings of intelligent optimization algorithm and each node, and the file in all storage servers is allow to complete update within the extremely short time.The present invention has further the advantage that:Solve the problems, such as that file update speed and efficiency in traditional CDN technologies cannot get both.Distributed collaborative ensures that all tasks can fast and effectively reach all nodes, ensures the integrality of content.It realizes content and the Distributed Calculation of scheduling, realizes the full area access of the whole network, solve concurrent bottleneck, realize the strong extension of whole system.
Description
Technical field
The present invention relates to field of network data transmission more particularly to a kind of content updating methods and device.
Background technology
Under current network environment, the contents such as picture, webpage, music, video are usually using complete with being distributed in
The content distributing network (Content Delivery Network, abbreviation CDN) of the cache node of ball various regions comes for terminal user
Faster content access service is provided.User directly can obtain specific cache contents from content node nearby, without returning
Source server request content.However, after network upgrade resource, the node of all caching the contents of the section is also required in time more
Newly (containing delete), otherwise user will continue to obtain old content, the content published such as certain news website once occur mistake or
Person is distorted by hacker, to avoid the more serious state of affairs, the whole network content from needing immediate updating, since CDN often has a large amount of distribution
Cache contents are a major challenge on the node of different geographical, all nodes that timely update.
In traditional CDN caching mechanisms, form of the whole network content update based on message queue is realized, content update is worked as
When, thousands of equipment are managed by a central server, center needs to confirm the push of the state and tracking equipment of all devices
Situation needs to retry when equipment fails.In such a way that equipment tracking, failure retransmit, system may be implemented a content and exist
The update of the whole network is completed.There are following defects for this mode:
Once 1, network has troubles, from the point of view of current network actual state, conventional contents update mode is possible to occur
Server can not obtain update within task effective time.At this point, center can retransmit after receiving tracking feedback, final efficiency is beaten greatly
Discount;
2, content update may be related to uniform resource locator (the Uniform Resource of substantial amounts simultaneously
Locator, URL), message queue handles the time used in a URL generally in up to ten thousand milliseconds of ranks, the whole network content it is complete
Update then needs several minutes of even dozens of minutes, it is clear that cannot be satisfied enterprise demand;
3, message queue only carries out queuing processing by the time sequencing that task starts to task, and task is newer urgent
Degree is not consistent with the time sequencing that task starts, this leads to the newer unfairness of task.
Invention content
To solve the above-mentioned problems, the present invention provides a kind of content updating method and devices.
The present invention provides a kind of content updating methods, are applied to content distributing network or non-content distribution network, including:
Node in network receives more new task, is updated according to the update task execution, in the other sections for being not carried out more new task
Downstream site is selected in point, the more new task received is sent to downstream site, method is analogized step by step successively, until described
Until all nodes all receive more new task and execute update in network.
The above update method also has the characteristics that:
It is described to select downstream site in the other nodes for being not carried out more new task and include:It was not carried out more newly appointed
Multiple destination nodes are selected in other nodes of business, obtain the connection grade of present node and the destination node, selection connection
Downstream site of the N M nodes as present node before grade;Wherein, M and N is the integer more than zero.
The above update method also has the characteristics that:
It is described to be not carried out in other nodes of more new task that select multiple destination nodes include one in following manner
Kind:
Mode one was not carried out selection in other nodes of more new task and is in same carrier network with present node
Multiple nodes;
Mode two was not carried out selection in other nodes of more new task and is in same carrier network with present node
And geographically it is less than multiple nodes of pre-determined distance;
Mode three was not carried out in other nodes of more new task and randomly chooses multiple nodes.
The above update method also has the characteristics that:
The connection grade of the acquisition present node and the destination node includes one kind in following manner:
Mode one extracts the destination node in the connection rank list from the present node of real-time servicing with other nodes
Connection grade, record has the connection grade of present node and other nodes in the connection rank list;Wherein, described current
When being connected to rank list described in node real-time servicing, present node and other node-node transmission index parameters are calculated in real time, according to meter
The transmission objective parameter of calculating determines new connection grade, and updates connection rank list, at least one in transmission objective parameter
Kind:Average data transfer rate, transmission bandwidth, request response delay, the average data transfer rate are connected to grade with described
It is proportionate, the transmission bandwidth is proportionate with the grade that is connected to, and the request response delay is born with the grade that is connected to
It is related;
Mode two calculates at least one of the following transmission objective parameter between present node and the destination node:
Average data transfer rate, transmission bandwidth, request response delay;Connection grade is determined according to calculated transmission objective parameter,
The average data transfer rate is proportionate with the grade that is connected to, and the transmission bandwidth is in positive with the grade that is connected to
It closes, the request response delay is connected to grade negative correlation with described.
The above update method also has the characteristics that:
The method further includes:From node, that is, first nodes of more new task described in server reception to not in the network
Same more new task is sent after being identified to downstream site;All nodes are real-time according to the mark of more new task in the network
The more new task for detecting whether to receive repetition abandons the more new task of redundancy in the more new task for receiving repetition.
The above update method also has the characteristics that:
The method further includes:When the node receives multiple more new tasks in preset duration, parsing is each more newly appointed
The priority index of business is handled according to the priority index of respectively more new task according to the sequence of priority index from high to low successively
The more new task.
The above update method also has the characteristics that:
It is sent based on User Datagram Protocol UDP when the more new task received is sent to downstream site by the node.
The above update method also has the characteristics that:
The method further includes the transmission path table of each network renewal process of the node maintenance, is being determined to subordinate
After node, transmission path table is added in the mark of downstream site and executed newer node to mark, transmission path table is sent
To downstream site.
Content update device provided by the invention is applied to content delivery network node or non-content distribution network node,
Including:
Receiving module, for receiving more new task;
Update module, for being updated according to the update task execution;
Selecting module, for selecting downstream site in the other nodes for being not carried out more new task;
Sending module, the more new task for that will receive are sent to downstream site.
The above updating device also has the characteristics that:
The selecting module further includes destination node selecting unit and downstream site selecting unit;
The destination node selecting unit selected multiple target sections for being not carried out in other nodes of more new task
Point;
The downstream site selecting unit is used to obtain the connection grade of present node and the destination node, selection connection
Downstream site of the N M nodes as present node before grade;Wherein, M and N is the integer more than zero.
The above updating device also has the characteristics that:
The destination node selecting unit is also used for its a kind of that more new task was not carried out in following manner
Multiple destination nodes are selected in its node:
Mode one was not carried out selection in other nodes of more new task and is in same carrier network with present node
Multiple nodes;
Mode two was not carried out selection in other nodes of more new task and is in same carrier network with present node
And geographically it is less than multiple nodes of pre-determined distance;
Mode three was not carried out in other nodes of more new task and randomly chooses multiple nodes.
The above updating device also has the characteristics that:
The downstream site selecting unit further includes that connection rank list safeguards subelement and selection processing subelement;
The connection rank list safeguards subelement for calculating the following biography between present node and the destination node
At least one of defeated index parameter:Average data transfer rate, transmission bandwidth, request response delay;According to calculated biography
Defeated index parameter determines new connection grade, and updates connection rank list, and the average data transfer rate is connected to described
Grade is proportionate, and the transmission bandwidth is proportionate with the grade that is connected to, and the request response delay is connected to described
Grade is negatively correlated;
The selection processing subelement is for from the connection rank list of the present node of real-time servicing and other nodes
The connection grade of the destination node is extracted, the connection etc. for having present node and other nodes is recorded in the connection rank list
Grade;
Alternatively, the downstream site selecting unit includes transmission objective parameter computation unit and selection processing subelement;
The transmission objective parameter computation unit is used to calculate the following biography between present node and the destination node
At least one of defeated index parameter:Average data transfer rate, transmission bandwidth, request response delay;
The selection processing subelement is used to determine connection grade, the average according to calculated transmission objective parameter
It is proportionate with the grade that is connected to according to transmission speed, the transmission bandwidth is proportionate with the grade that is connected to, the request
Response delay is connected to grade negative correlation with described.
The above updating device also has the characteristics that:
Further include mark module and detection module;
The mark module is used for when the receiving module is from more new task described in server reception, to different updates
Task is identified;
The detection module is used to detect whether to receive the more new task of repetition in real time according to the mark of more new task,
The more new task of redundancy is abandoned when receiving the more new task of repetition.
The above updating device also has the characteristics that:
Described device further includes parsing module;
The parsing module is used for when the receiving module receives multiple more new tasks in preset duration, is parsed
The priority index of each more new task;
The sending module is additionally operable to according to the priority index of each more new task according to priority index from high to low
More new task described in sequentially handling successively.
The above updating device also has the characteristics that:
The more new task that the sending module is additionally operable to receive is based on User Datagram Protocol when being sent to downstream site
UDP is discussed to send.
The above updating device also has the characteristics that:
Described device further includes transmission path table maintenance module;
The transmission path table maintenance module is determined to subordinate to save for safeguarding transmission path table, in the selecting module
After point, transmission path table is added in the mark of downstream site and executed newer node to mark;
The sending module is additionally operable to the transmission path table being sent to the downstream site.
The present invention utilizes the loose couplings of intelligent optimization algorithm and each node, makes the file in all storage servers can
To complete update within the extremely short time.
The present invention has further the advantage that:
Solve the problems, such as that file update speed and efficiency in traditional CDN technologies cannot get both.
Distributed collaborative ensures that all tasks can fast and effectively reach all nodes, ensures the integrality of content.
It realizes content and the Distributed Calculation of scheduling, realizes the full area access of the whole network, solve concurrent bottleneck, realize entire system
The strong extension of system.
Priority is divided to task, can adjust as needed and execute sequence, ensure timely responding to for key business.
Description of the drawings
The attached drawing for constituting the part of the present invention is used to provide further understanding of the present invention, schematic reality of the invention
Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of content updating method in embodiment;
Fig. 2 is the structure chart of content update device in embodiment.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.It needs
Illustrate, in the absence of conflict, the features in the embodiments and the embodiments of the present application mutually can be combined arbitrarily.
The method of the present invention can be applied to content distributing network, can also be applied to non-content distribution network.The present invention
Device be applied to content delivery network node or non-content distribution network node.The device of the invention can typically be applied to
Reciprocity (peer) node.
Fig. 1 is the flow chart of content updating method in embodiment;The method includes:
Step 101, the node in network receives more new task;
Step 102, it is updated according to the update task execution;
Step 103, downstream site is selected in the other nodes for being not carried out more new task;
Step 104, the more new task received is sent to downstream site;
The above method is analogized step by step successively, until all nodes all receive more new task and execute update in the network
Until.
The following detailed description of this method.
In step 103, in the other nodes for being not carried out more new task selecting downstream site includes:It was not carried out
Multiple destination nodes are selected in other nodes of more new task, obtain the connection grade of present node and the destination node, choosing
Select downstream site of N before the being connected to grade M nodes as present node;Wherein, M and N is the integer more than zero;
It includes one kind in following manner to be not carried out in other nodes of more new task and select multiple destination nodes:
Mode one was not carried out selection in other nodes of more new task and is in same carrier network with present node
Multiple nodes;
Mode two was not carried out selection in other nodes of more new task and is in same carrier network with present node
And geographically it is less than multiple nodes of pre-determined distance;
Mode three was not carried out in other nodes of more new task and randomly chooses multiple nodes;
The connection grade of acquisition present node and the destination node includes one kind in following manner:
Mode one extracts the destination node in the connection rank list from the present node of real-time servicing with other nodes
Connection grade, record has the connection grade of present node and other nodes in the connection rank list.Wherein, described current
When being connected to rank list described in node real-time servicing, present node and other node-node transmission index parameters are calculated in real time, according to meter
The transmission objective parameter of calculating determines new connection grade, and updates connection rank list, at least one in transmission objective parameter
Kind:Average data transfer rate, transmission bandwidth, request response delay, the average data transfer rate are connected to grade with described
It is proportionate, the transmission bandwidth is proportionate with the grade that is connected to, and the request response delay is born with the grade that is connected to
It is related.In this mode one, present node also periodically with other node switching connectivity grade tables, and according to the connection after exchange
Property table of grading update connectivity grade table.
Mode two calculates at least one of the following transmission objective parameter between present node and the destination node:
Average data transfer rate, transmission bandwidth, request response delay;Connection grade is determined according to calculated transmission objective parameter,
The average data transfer rate is proportionate with the grade that is connected to, and the transmission bandwidth is in positive with the grade that is connected to
It closes, the request response delay is connected to grade negative correlation with described.
It is based on User Datagram Protocol when the more new task received is sent to downstream site by node at step 104
UDP is sent.
This method further includes:Network receives node, that is, first nodes of more new task to different more new tasks from server
It is sent to downstream site after being identified;All nodes of network detect whether to receive repetition in real time according to the mark of more new task
More new task, in the more new task for receiving repetition abandon redundancy more new task.
This method further includes:When node receives multiple more new tasks in preset duration, the excellent of each more new task is parsed
First grade index, according to the priority index of respectively more new task according to the sequence of priority index from high to low handle successively it is described more
New task.
This method further includes the transmission path table of each network renewal process of node maintenance, is being determined to downstream site
Afterwards, the mark of downstream site addition transmission path table was executed into newer node to mark, and transmission path table was sent to
Downstream site.In this method using this transmission path table can effectively recording mark executed newer node, to avoid by
Task message repeats to send, and reduces system redundancy.
This method further includes:After the node is updated according to the update task execution, the more new task is saved herein
The information that point update is completed is uploaded to database.
After this method interior joint receives more new task, local update task program is called to execute more new task, called more
New task program be in the following manner in one kind:
One, registration executes the shell script of particular task, and the script is executed when particular task reaches,
Two, TCP connection is established, structure monitors the client-side program of particular task, is executed more when listening to particular task
New task.
Fig. 2 is the structure chart of content update device in embodiment.This device includes receiving module, update module, selection mould
Block, sending module.
Receiving module is for receiving more new task;
Update module is used to be updated according to the update task execution;
Selecting module in the other nodes for being not carried out more new task for selecting downstream site;
The more new task that sending module is used to receive is sent to downstream site.
Wherein,
Selecting module includes destination node selecting unit and downstream site selecting unit.
Destination node selecting unit selected multiple destination nodes for being not carried out in other nodes of more new task;Tool
Body is used to select multiple destination nodes using a kind of be not carried out in other nodes of more new task in following manner:
Mode one was not carried out selection in other nodes of more new task and is in same carrier network with present node
Multiple nodes;
Mode two was not carried out selection in other nodes of more new task and is in same carrier network with present node
And geographically it is less than multiple nodes of pre-determined distance;
Mode three was not carried out in other nodes of more new task and randomly chooses multiple nodes.
Downstream site selecting unit is used to obtain the connection grade of present node and the destination node, selection connection grade
Downstream site of first N of the M node as present node;Wherein, M and N is the integer more than zero.
Downstream site selecting unit includes that connection rank list safeguards subelement and selection processing subelement.It is connected to grade row
Table safeguards subelement for calculating at least one of the following transmission objective parameter between present node and the destination node:
Average data transfer rate, transmission bandwidth, request response delay;New connection etc. is determined according to calculated transmission objective parameter
Grade, and connection rank list is updated, the average data transfer rate is proportionate with the grade that is connected to, the transmission bandwidth
It is proportionate with the grade that is connected to, the request response delay is connected to grade negative correlation with described.Selection processing subelement is used
The connection grade of the destination node, institute are extracted in connection rank list of the present node with other nodes from real-time servicing
Stating record in connection rank list has the connection grade of present node and other nodes;
Alternatively, downstream site selecting unit includes transmission objective parameter computation unit and selection processing subelement.Transmission
Index parameter computation subunit is used to calculate in the following transmission objective parameter between present node and the destination node extremely
Few one kind:Average data transfer rate, transmission bandwidth, request response delay.Selection processing subelement is used for according to calculated
Transmission objective parameter determines that connection grade, the average data transfer rate are proportionate with the grade that is connected to, the transmission
Bandwidth is proportionate with the grade that is connected to, and the request response delay is connected to grade negative correlation with described.
Further include being connected to grade maintenance module for the connection rank list described in maintenance mode one in the present apparatus.Connection
Grade maintenance module calculates present node and joins with other node-node transmission indexs in real time for being connected to rank list described in real-time servicing
Number determines connection grade, at least one of transmission objective parameter according to calculated transmission objective parameter:Mean data transfer
Speed, transmission bandwidth, request response delay, the average data transfer rate are proportionate with the grade that is connected to, the biography
Defeated bandwidth is proportionate with the grade that is connected to, and the request response delay is connected to grade negative correlation with described.The transmission mould
Block is additionally operable to that the connectivity grade table of this node is periodically sent to other nodes, and the receiving module is additionally operable to periodically from other
Node receives its connectivity grade table.The connection grade maintenance module is additionally operable to the connectivity according to the other nodes received
Table of grading updates the connectivity grade table of this node.
The present apparatus further includes mark module and detection module.Mark module is used to receive from server in the receiving module
When the more new task, different more new tasks is identified.The detection module is used for real according to the mark of more new task
When detect whether to receive the more new task of repetition, in the more new task for receiving repetition abandon redundancy more new task.
The present apparatus further includes parsing module.Parsing module is multiple for being received in preset duration in the receiving module
When more new task, the priority index of each more new task is parsed.Sending module is additionally operable to the priority according to each more new task
Index handles the more new task successively according to the sequence of priority index from high to low.
The more new task that the sending module of the present apparatus is additionally operable to receive is based on user data when being sent to downstream site
Datagram protocol UDP is sent.
The present apparatus further includes transmission path table maintenance module.This transmission path table maintenance module is for safeguarding transmission path
Table determines to downstream site that transmission path table is added in the mark of downstream site executes to mark in the selecting module
Cross newer node.Sending module is additionally operable to the transmission path table being sent to the downstream site,
The present apparatus includes uploading module, for that will update the more new task after the update module executes update
At information be uploaded to database.
The present invention utilizes the loose couplings of intelligent optimization algorithm and each node, makes the file in all storage servers can
To complete content update within the extremely short time.
The present invention has further the advantage that:
Solve the problems, such as that file update speed and efficiency in traditional CDN technologies cannot get both.
Distributed collaborative ensures that all tasks can fast and effectively reach all nodes, ensures the integrality of content.
It realizes content and the Distributed Calculation of scheduling, realizes the full area access of the whole network, solve concurrent bottleneck, realize entire system
The strong extension of system.
Priority is divided to task, can adjust as needed and execute sequence, ensure timely responding to for key business.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware is completed, and described program can be stored in computer readable storage medium, such as read-only memory, disk or CD
Deng.Optionally, all or part of step of above-described embodiment can also be realized using one or more integrated circuits, accordingly
Ground, the form that hardware may be used in each module/unit in above-described embodiment are realized, the shape of software function module can also be used
Formula is realized.The present invention is not limited to the combinations of the hardware and software of any particular form.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that article or equipment including a series of elements include not only those elements, but also includes not having
There is the other element being expressly recited, or further includes for this article or the intrinsic element of equipment.Do not limiting more
In the case of system, the element that is limited by sentence " including ... ", it is not excluded that including the element article or equipment in
There is also other identical elements.
The above examples are only used to illustrate the technical scheme of the present invention and are not limiting, reference only to preferred embodiment to this hair
It is bright to be described in detail.It will be understood by those of ordinary skill in the art that can modify to technical scheme of the present invention
Or equivalent replacement should all cover the claim model in the present invention without departing from the spirit of the technical scheme of the invention and range
In enclosing.
Claims (16)
1. a kind of content updating method is applied to content distributing network or non-content distribution network, which is characterized in that including:Net
Node in network receives more new task, is updated according to the update task execution, in the other nodes for being not carried out more new task
In select downstream site, the more new task received is sent to downstream site, method is analogized step by step successively, until the net
Until all nodes all receive more new task and execute update in network.
2. content updating method as described in claim 1, which is characterized in that
It is described to select downstream site in the other nodes for being not carried out more new task and include:More new task was not carried out
Multiple destination nodes are selected in other nodes, obtain the connection grade of present node and the destination node, selection connection grade
Downstream site of first N of the M node as present node;Wherein, M and N is the integer more than zero.
3. content updating method as claimed in claim 2, which is characterized in that
It is described to be not carried out in other nodes of more new task that select multiple destination nodes include one kind in following manner:
Mode one was not carried out selection in other nodes of more new task and is in the more of same carrier network with present node
A node;
Mode two, be not carried out in other nodes of more new task selection and present node be in same carrier network and
Geographically it is less than multiple nodes of pre-determined distance;
Mode three was not carried out in other nodes of more new task and randomly chooses multiple nodes.
4. content updating method as claimed in claim 2, which is characterized in that
The connection grade of the acquisition present node and the destination node includes one kind in following manner:
Mode one extracts the company of the destination node in the connection rank list from the present node of real-time servicing with other nodes
Logical grade, it is described to be connected to the connection grade for being recorded in rank list and having present node and other nodes;Wherein, the present node
When being connected to rank list described in real-time servicing, present node and other node-node transmission index parameters are calculated in real time, according to calculating
Transmission objective parameter determine new connection grade, and update connection rank list, at least one of transmission objective parameter:It is flat
Equal data transmission bauds, transmission bandwidth, request response delay, the average data transfer rate are in positive with the grade that is connected to
It closes, the transmission bandwidth is proportionate with the grade that is connected to, and the request response delay is connected to grade negative correlation with described;
Mode two calculates at least one of the following transmission objective parameter between present node and the destination node:It is average
Data transmission bauds, transmission bandwidth, request response delay;Connection grade is determined according to calculated transmission objective parameter, it is described
Average data transfer rate is proportionate with the grade that is connected to, and the transmission bandwidth is proportionate with the grade that is connected to, institute
It states request response delay and is connected to grade negative correlation with described.
5. content updating method as described in claim 1, which is characterized in that
The method further includes:From node, that is, first nodes of more new task described in server reception to different in the network
More new task is sent after being identified to downstream site;All nodes detect in real time according to the mark of more new task in the network
The more new task for whether receiving repetition abandons the more new task of redundancy in the more new task for receiving repetition.
6. content updating method as described in claim 1, which is characterized in that
The method further includes:When the node receives multiple more new tasks in preset duration, each more new task is parsed
Priority index, handled successively according to the sequence of priority index from high to low according to the priority index of respectively more new task described in
More new task.
7. content updating method as described in claim 1, which is characterized in that
It is sent based on User Datagram Protocol UDP when the more new task received is sent to downstream site by the node.
8. content updating method as described in claim 1, which is characterized in that
The method further includes the transmission path table of each network renewal process of the node maintenance, is being determined to downstream site
Afterwards, the mark of downstream site addition transmission path table was executed into newer node to mark, transmission path table was sent to down
Grade node.
9. a kind of content update device is applied to content delivery network node or non-content distribution network node, which is characterized in that
Including:
Receiving module, for receiving more new task;
Update module, for being updated according to the update task execution;
Selecting module, for selecting downstream site in the other nodes for being not carried out more new task;
Sending module, the more new task for that will receive are sent to downstream site.
10. content update device as claimed in claim 9, which is characterized in that
The selecting module further includes destination node selecting unit and downstream site selecting unit;
The destination node selecting unit selected multiple destination nodes for being not carried out in other nodes of more new task;
The downstream site selecting unit is used to obtain the connection grade of present node and the destination node, selection connection grade
Downstream site of first N of the M node as present node;Wherein, M and N is the integer more than zero.
11. content update device as claimed in claim 10, which is characterized in that
The destination node selecting unit is also used for a kind of other sections that more new task was not carried out in following manner
Multiple destination nodes are selected in point:
Mode one was not carried out selection in other nodes of more new task and is in the more of same carrier network with present node
A node;
Mode two, be not carried out in other nodes of more new task selection and present node be in same carrier network and
Geographically it is less than multiple nodes of pre-determined distance;
Mode three was not carried out in other nodes of more new task and randomly chooses multiple nodes.
12. content update device as claimed in claim 10, which is characterized in that
The downstream site selecting unit further includes that connection rank list safeguards subelement and selection processing subelement;
The connection rank list safeguards that following transmission of the subelement for calculating between present node and the destination node refers to
Mark at least one of parameter:Average data transfer rate, transmission bandwidth, request response delay;Referred to according to calculated transmission
Mark parameter determines new connection grade, and updates connection rank list, and the average data transfer rate is connected to grade with described
It is proportionate, the transmission bandwidth is proportionate with the grade that is connected to, and the request response delay is born with the grade that is connected to
It is related;
The selection processing subelement in the connection rank list from the present node of real-time servicing with other nodes for extracting
The connection grade of the destination node, it is described to be connected to the connection grade for being recorded in rank list and having present node and other nodes;
Alternatively, the downstream site selecting unit includes transmission objective parameter computation unit and selection processing subelement;
The following transmission that the transmission objective parameter computation unit is used to calculate between present node and the destination node refers to
Mark at least one of parameter:Average data transfer rate, transmission bandwidth, request response delay;
The selection processing subelement is used to determine that connection grade, the average data pass according to calculated transmission objective parameter
Defeated speed is proportionate with the grade that is connected to, and the transmission bandwidth is proportionate with the grade that is connected to, the request response
Delay is connected to grade negative correlation with described.
13. content update device as claimed in claim 9, which is characterized in that
Further include mark module and detection module;
The mark module is used for when the receiving module is from more new task described in server reception, to different more new tasks
It is identified;
The detection module is used to detect whether to receive the more new task of repetition in real time according to the mark of more new task, receive
The more new task of redundancy is abandoned when to the more new task repeated.
14. content update device as claimed in claim 9, which is characterized in that
Described device further includes parsing module;
The parsing module is used for when the receiving module receives multiple more new tasks in preset duration, is parsed respectively more
The priority index of new task;
The sending module is additionally operable to the sequence according to priority index from high to low according to the priority index of each more new task
More new task described in processing successively.
15. content updating method as claimed in claim 9, which is characterized in that
The more new task that the sending module is additionally operable to receive is based on User Datagram Protocol UDP when being sent to downstream site
It sends.
16. content update device as claimed in claim 9, which is characterized in that
Described device further includes transmission path table maintenance module;
The transmission path table maintenance module is determined in the selecting module to downstream site for safeguarding transmission path table
Afterwards, the mark of downstream site addition transmission path table was executed into newer node to mark;
The sending module is additionally operable to the transmission path table being sent to the downstream site.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911260104.5A CN111064780B (en) | 2017-03-01 | 2017-03-01 | Multitask content updating method, device, equipment and medium |
CN201710117463.XA CN108540505B (en) | 2017-03-01 | 2017-03-01 | Content updating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710117463.XA CN108540505B (en) | 2017-03-01 | 2017-03-01 | Content updating method and device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911260104.5A Division CN111064780B (en) | 2017-03-01 | 2017-03-01 | Multitask content updating method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108540505A true CN108540505A (en) | 2018-09-14 |
CN108540505B CN108540505B (en) | 2020-04-28 |
Family
ID=63488440
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911260104.5A Active CN111064780B (en) | 2017-03-01 | 2017-03-01 | Multitask content updating method, device, equipment and medium |
CN201710117463.XA Active CN108540505B (en) | 2017-03-01 | 2017-03-01 | Content updating method and device |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911260104.5A Active CN111064780B (en) | 2017-03-01 | 2017-03-01 | Multitask content updating method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN111064780B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109274762A (en) * | 2018-10-22 | 2019-01-25 | 杭州领智云画科技有限公司 | CDN method for refreshing and system |
CN111385316A (en) * | 2018-12-27 | 2020-07-07 | 阿里巴巴集团控股有限公司 | Resource refreshing method, access method and device |
CN111464624A (en) * | 2020-03-30 | 2020-07-28 | 北京金山云网络技术有限公司 | Content refreshing method and device for CDN (content delivery network) and electronic equipment |
CN114024984A (en) * | 2021-09-27 | 2022-02-08 | 阿里巴巴(中国)有限公司 | Resource refreshing method, device and equipment for Content Delivery Network (CDN) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113656222A (en) * | 2021-07-01 | 2021-11-16 | 中国长城科技集团股份有限公司 | Serial port connection method, serial port connection device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262487A (en) * | 2008-04-25 | 2008-09-10 | 北京中企开源信息技术有限公司 | Data transmission processing method and device for point-to-point client |
CN102594902A (en) * | 2012-03-01 | 2012-07-18 | 浙江大学 | BitTorrent node selecting method based on node performance |
US20160180317A1 (en) * | 2013-03-11 | 2016-06-23 | Google Inc. | Offline peer-to-peer transactions |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7158985B1 (en) * | 2003-04-09 | 2007-01-02 | Cisco Technology, Inc. | Method and apparatus for efficient propagation of large datasets under failure conditions |
CN102271324A (en) * | 2010-06-03 | 2011-12-07 | 中国移动通信集团公司 | scheduling information updating method, device and system |
CN101931656B (en) * | 2010-09-16 | 2012-11-21 | 武汉大学 | ISP-friendly distributed service node selection and update method |
CN102368776B (en) * | 2011-11-25 | 2015-02-04 | 中国科学技术大学 | Optimization function module of node list in content distribution/delivery network (CDN) |
CN102546820B (en) * | 2012-02-16 | 2015-12-16 | 华为技术有限公司 | The storage means of transmission optimization method, map information, Apparatus and system |
CN102665196B (en) * | 2012-04-28 | 2014-11-05 | 清华大学 | On-line progressive program updating method for wireless sensor network |
CN103581245B (en) * | 2012-07-30 | 2018-06-19 | 腾讯科技(深圳)有限公司 | A kind of method and system of content distributing network content distribution |
CN103595740B (en) * | 2012-08-14 | 2016-08-24 | 中国科学院声学研究所 | A kind of method and system updating copyright content similarity graph of peer-to-peer network |
CN103200273B (en) * | 2013-04-19 | 2016-01-20 | 北京科技大学 | The copy of content consistency maintaining method of physically based deformation position |
CN104348888B (en) * | 2013-08-09 | 2017-09-26 | 中国电信股份有限公司 | Contents construction distribution method, content delivery network node and system |
EP2912830B1 (en) * | 2014-01-08 | 2016-01-06 | Telefonaktiebolaget L M Ericsson (publ) | Method, node and distributed system for configuring a network of cdn caching nodes |
CN104967861B (en) * | 2015-05-27 | 2019-01-22 | 上海赛特斯信息科技股份有限公司 | Video caching system and method in CDN network |
US10042626B2 (en) * | 2015-06-29 | 2018-08-07 | Verizon Patent And Licensing Inc. | Software updates using client self-reporting and a hierarchical data structure |
-
2017
- 2017-03-01 CN CN201911260104.5A patent/CN111064780B/en active Active
- 2017-03-01 CN CN201710117463.XA patent/CN108540505B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262487A (en) * | 2008-04-25 | 2008-09-10 | 北京中企开源信息技术有限公司 | Data transmission processing method and device for point-to-point client |
CN102594902A (en) * | 2012-03-01 | 2012-07-18 | 浙江大学 | BitTorrent node selecting method based on node performance |
US20160180317A1 (en) * | 2013-03-11 | 2016-06-23 | Google Inc. | Offline peer-to-peer transactions |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109274762A (en) * | 2018-10-22 | 2019-01-25 | 杭州领智云画科技有限公司 | CDN method for refreshing and system |
CN111385316A (en) * | 2018-12-27 | 2020-07-07 | 阿里巴巴集团控股有限公司 | Resource refreshing method, access method and device |
CN111385316B (en) * | 2018-12-27 | 2022-06-21 | 阿里巴巴集团控股有限公司 | Resource refreshing method, access method and device |
CN111464624A (en) * | 2020-03-30 | 2020-07-28 | 北京金山云网络技术有限公司 | Content refreshing method and device for CDN (content delivery network) and electronic equipment |
CN114024984A (en) * | 2021-09-27 | 2022-02-08 | 阿里巴巴(中国)有限公司 | Resource refreshing method, device and equipment for Content Delivery Network (CDN) |
CN114024984B (en) * | 2021-09-27 | 2024-01-05 | 阿里巴巴(中国)有限公司 | Resource refreshing method, device and equipment for Content Delivery Network (CDN) |
Also Published As
Publication number | Publication date |
---|---|
CN108540505B (en) | 2020-04-28 |
CN111064780B (en) | 2023-04-18 |
CN111064780A (en) | 2020-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108540505A (en) | A kind of content updating method and device | |
Le Blond et al. | Pushing bittorrent locality to the limit | |
US9635107B2 (en) | System and method for managing data delivery in a peer-to-peer network | |
US20050216569A1 (en) | Method for implementing content delivery network (cdn) internetworking, respective networks and interface component | |
US20110078230A1 (en) | Method and system for providing a cdn with granular quality of service | |
CN103475654B (en) | Network path optimization method, equipment and network system | |
EP3567813B1 (en) | Method, apparatus and system for determining content acquisition path and processing request | |
CN103581245A (en) | Content delivery method and system of content delivery network | |
CN105847139A (en) | Data transmission method, apparatus and system | |
US10715635B2 (en) | Node route selection method and system | |
CN110430274A (en) | A kind of document down loading method and system based on cloud storage | |
CN103907321A (en) | System and method for using dynamic allocation of virtual lanes to alleviate congestion in a fat-tree topology | |
CN101895482A (en) | Method and device for abstracting logic topology information of peer-to-peer technological network | |
CN102918813A (en) | Device and method for data load balancing | |
US20160352815A1 (en) | Data Distribution Based on Network Information | |
US9521071B2 (en) | Federation of controllers management using packet context | |
CN111654321B (en) | Satellite network management method and device and electronic equipment | |
CN101133412A (en) | Maintaining and distributing relevant routing information base updates to subscribing clients in a device | |
CN106059936B (en) | The method and device of cloud system Multicast File | |
US9055113B2 (en) | Method and system for monitoring flows in network traffic | |
CN105872856A (en) | Method and system for distributing stream media files | |
CN103595808B (en) | A kind of file update information method for pushing and device | |
CN115623000A (en) | Method and device for efficiently distributing data on digital network | |
CN104660664B (en) | Method and apparatus for managing storage system | |
CN105049463A (en) | Distributed database, method of sharing data, and apparatus for a distributed database |
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 | ||
CB02 | Change of applicant information |
Address after: 550003 Building No. 12 in the Southern Park of Gui'an High-end Equipment Industrial Park, Guizhou Province Applicant after: Guizhou Baishan cloud Polytron Technologies Inc Address before: 100015 5 floor, block E, 201 IT tower, electronic city, 10 Jiuxianqiao Road, Chaoyang District, Beijing. Applicant before: Guizhou white cloud Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |