CN112187656A - Management system of CDN node - Google Patents

Management system of CDN node Download PDF

Info

Publication number
CN112187656A
CN112187656A CN202011060469.6A CN202011060469A CN112187656A CN 112187656 A CN112187656 A CN 112187656A CN 202011060469 A CN202011060469 A CN 202011060469A CN 112187656 A CN112187656 A CN 112187656A
Authority
CN
China
Prior art keywords
node
area
access
value
video
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
Application number
CN202011060469.6A
Other languages
Chinese (zh)
Other versions
CN112187656B (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.)
Anhui Jiplay Cloud Technology Co Ltd
Original Assignee
Anhui Jiplay 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 Anhui Jiplay Cloud Technology Co Ltd filed Critical Anhui Jiplay Cloud Technology Co Ltd
Priority to CN202011060469.6A priority Critical patent/CN112187656B/en
Publication of CN112187656A publication Critical patent/CN112187656A/en
Application granted granted Critical
Publication of CN112187656B publication Critical patent/CN112187656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention discloses a management system of a CDN node, which is used for solving the problems that how to analyze videos stored in the CDN node to obtain a video value, and the videos are reasonably expanded through the video value, so that the access congestion caused by too many visitors is avoided; the system comprises a data acquisition module, a server, a node distribution module, a node management module, a registration login module and a node calculation module; according to the method, the video stored in the CDN network node is analyzed through the access mean value, the interval mean value, the access times and the access duration to obtain the video value, the video is reasonably expanded through the video value, so that the visitor can conveniently access the video, and the situation that the visitor is too many and the access jam is caused is avoided; and a CDN network node is conveniently and reasonably selected through the access distribution value to establish communication connection with an accessor.

Description

Management system of CDN node
Technical Field
The invention relates to the field of cloud computers, in particular to a management system of CDN nodes.
Background
The CDN is a layer of intelligent virtual network on top of the existing internet infrastructure, which is constructed by placing node servers throughout the network. The CDN can redirect the request of the user to the service node closest to the user in real time according to the network flow, the connection and load condition of each node, the distance to the user, the response time and other comprehensive information, and aims to select the node relatively close to the user to send the content required by the user to the user, relieve the condition of network congestion and improve the response speed of a website.
The functional entities included in the CDN network include a content cache device, a content switch, a content router, a CDN content management system, and the like. The content cache is a CDN network node;
the existing CDN node management system cannot analyze videos stored in CDN network nodes to obtain video values, and the videos are reasonably expanded through the video values, so that the phenomenon of access congestion caused by too many visitors is easy to occur.
Disclosure of Invention
The invention aims to provide a management system of a CDN node in order to solve the problems that how to analyze videos stored in the CDN node to obtain a video value, and the videos are reasonably expanded through the video value, so that access congestion caused by too many visitors is avoided; according to the method, the video stored in the CDN network node is analyzed through the access mean value, the interval mean value, the access times and the access duration to obtain the video value, the video is reasonably expanded through the video value, so that the visitor can conveniently access the video, and the situation that the visitor is too many and the access jam is caused is avoided; and a CDN network node is conveniently and reasonably selected through the access distribution value to establish communication connection with an accessor.
The purpose of the invention can be realized by the following technical scheme: a management system of CDN nodes comprises a data acquisition module, a server, a node distribution module, a node management module, a registration login module and a node calculation module;
the data acquisition module is used for acquiring node information of the CDN network node and sending the node information to the server;
the node management module is used for analyzing videos stored in the CDN network node to obtain and process a video value of the file content;
the node distribution module is used for selecting CDN network nodes and establishing communication connection with the visitor;
the registration login module is used for submitting registration information for registration by a user and sending the registration information with successful registration to the server;
the node calculation module is used for acquiring registration information in the server, analyzing and calculating to obtain a computer node value, and the node calculation module sends the computer node value to the server for storage.
Preferably, the node information includes a remaining memory of the CDN network node, a current real-time location, a number of access times of the video, a storage time, each access time, a location of the visitor, and an access duration.
Preferably, the specific analysis steps of the node management module are as follows:
s11: acquiring node information, sequencing each access moment of the video according to a time sequence, calculating the time difference between two adjacent access moments to obtain access interval duration, summing all the access interval durations, averaging to obtain an access average value, and marking the access average value as T1;
s12: performing range difference calculation on the position of the visitor and the current real-time position of the CDN network node to obtain an access distance; summing all access distances corresponding to the video, taking the average value to obtain an average distance value, and marking the average distance value as T2;
s13: the access times and the access duration of the video are assigned and marked as T3 and T4; carrying out normalization processing on the access mean value, the interval mean value, the access times and the access duration and taking the numerical values of the access mean value, the interval mean value, the access times and the access duration; using formulas
Figure BDA0002712197390000031
Acquiring a video value TS of the video; wherein a1, a2, a3, a4 and a5 are all preset proportionality coefficients; t5 is the time difference between the storage time of the video and the current time;
s14: when the TS is larger than a set video threshold TB; performing video extension processing, specifically:
s141: when TS < TB + b1, no action is performed;
s142: when the TS + b2 is larger than or equal to the TS + TB 1, the current real-time position of the CDN network node is taken as the center of a circle, and a circle is drawn at the center of the circle by a preset radius to obtain a circular screening range; obtaining CDN network nodes in a circular screening range and marking the CDN network nodes as primary selection nodes; establishing an X axis and a Y axis in the circular screening range; dividing the circular screening range into two semicircular areas by taking the Y axis as a boundary, and respectively marking the two semicircular areas as an area A and an area B; marking the initially selected node positioned in the B area as a B area node; dividing the area A into two sectors with an included angle of ninety degrees by taking the X axis as a boundary, and marking the sectors as an area A1 and an area A2; the B region is divided into a B1 region and a B2 region; marking the primary selection node with the position in the A1 area as the node in the A1 area; marking the primary selection node with the position in the A2 area as the node in the A2 area; selecting a half-axis point of the X axis in the area A and marking as X1; calculating the distance difference between the position of the node in the A1 area and a semi-axis point X1 to obtain an axis point distance and marking the distance as G1; calculating the distance difference between the position of the node in the A2 area and a semi-axis point X1 to obtain an axis point distance G2; respectively counting the number of nodes of the A1 region and the A2 region in the A1 region and the A2 region, and marking the nodes as M1 and M2; normalizing the distance between the shaft points and the number of the nodes and taking the numerical values of the distances and the number of the nodes; acquiring a node coincidence value MZ by using a formula MZ-Gk × d1+ Mk × d 2; wherein d1 and d2 are both proportional to a preset proportional coefficient; k is 1 or 2; selecting a primary selection node in the area A with the maximum node coincidence value as a selection node in the area A; similarly, selecting the primary selected node in the B area with the maximum node coincidence value as the selected node in the B area; the node management module respectively sends the video to a selected node in the area A and a selected node in the area B for storage;
s143: when the TS + b3 is larger than or equal to the TS + TB 2, the current real-time position of the CDN network node is taken as the center of a circle, and a circle is drawn at the center of the circle by a preset radius to obtain a circular screening range; obtaining CDN network nodes in a circular screening range and marking the CDN network nodes as primary selection nodes; dividing the circular screening range into three sectors; and labeled as zone C, zone D and zone E; selecting the area C, selecting a center line C1 in the area C through the center of a circle, wherein the center line C1 divides the area C into two sectorial areas which are marked as an area C2 and an area C3; counting the node numbers of the primary selection nodes at the positions in the C2 area and the C3 area and respectively marking as E2 and E3; selecting a terminal C4 of a middle line C1; calculating the distance difference between the initially selected node position of the C2 area and the end point C4 to obtain a node distance F2; calculating the distance difference between the initially selected node position of the C3 area and the end point C4 to obtain a node distance F3; normalizing the node spacing and the node number, taking the values of the node spacing and the node number, and obtaining a node coincidence value MZ of the initially selected node in the C area by using a formula MZ-Fh × d1+ Mh × d 2; h takes the value of 1 or 2; selecting a primary selection node in the C area with the maximum node coincidence value as a selection node of the C area; similarly, selecting the D area and the E area to obtain a D area selected node and an E area selected node; the node management module respectively sends the video to a selected node in the C region, a selected node in the D region and a selected node in the E region for storage;
s144: when the TS + b4 is larger than or equal to the TS + TB 3, the current real-time position of the CDN network node is taken as the center of a circle, and a circle is drawn at the center of the circle by a preset radius to obtain a circular screening range; obtaining CDN network nodes in a circular screening range and marking the CDN network nodes as primary selection nodes; dividing the circular screening range into four sectors equally, and processing through S143; and so on;
s15: and when the TS is smaller than a set video threshold TB, deleting the video in the CDN network node.
Preferably, the processing steps of the node allocation module are as follows:
s21: the visitor sends the current real-time position and the video name to the node distribution module through the mobile phone terminal; after receiving the current real-time position and the video name, the node distribution module pushes the video name to search the corresponding stored CDN network node and marks the CDN network node as a first node; performing distance difference calculation on the current real-time position of the first node to obtain a node access distance; marking a first node with a node access distance smaller than a set threshold as a preferred node;
s22: label the machine node value of the preferred node as W1; marking the node access interval of the preferred node as W2; normalizing the machine node value and the node access distance of the preferred node and taking the numerical value; using formulas
Figure BDA0002712197390000051
Obtaining an access allocation value WQ of an optimal node; wherein d6 and d7 are both preset proportionality coefficients;
s23: and the node distribution module establishes communication connection between the optimal node with the maximum access distribution value WQ and the mobile phone terminal of the visitor, and then the visitor accesses the video corresponding to the video name through the mobile phone terminal.
Preferably, the registration information includes the model of the mobile phone, the remaining memory of the mobile phone, the factory time of the mobile phone, and the name and the number of the owner of the mobile phone; the server marks the mobile phone terminal which is successfully registered as a CDN network node;
the specific analysis steps of the node calculation module are as follows:
s31: acquiring registration information of CDN network nodes in a server; calculating the time difference between the factory time of the mobile phone and the current time to obtain the factory time length of the mobile phone, and marking the factory time length as P1;
s32: setting all mobile phone models to correspond to a model value; matching the mobile phone model with all mobile phone models to obtain a corresponding model value and marking as P2; marking the residual memory of the mobile phone as P3;
s33: carrying out normalization processing on the delivery time length, the model value and the residual memory of the mobile phone and taking the numerical values; using formulas
Figure BDA0002712197390000052
Obtaining a machine node value W1 of the CDN network node; wherein d3, d4 and d5 are all preset proportionality coefficients; λ is correction factor, and its value is 0.968.
Compared with the prior art, the invention has the beneficial effects that:
1. the node management module analyzes videos stored in the CDN network nodes to obtain and process video values of file contents, normalizes the access mean values, the interval mean values, the access times and the access duration and takes numerical values of the access mean values, the interval mean values, the access times and the access duration; obtaining a video value TS of the video by using a formula; when the TS is larger than a set video threshold TB; performing video expansion processing, and deleting the video in the CDN network node when the TS is smaller than a set video threshold TB; videos stored in the CDN network nodes are analyzed through the access mean value, the interval mean value, the access times and the access duration to obtain video values, the videos are reasonably expanded through the video values, access of visitors is facilitated, and access congestion caused by too many visitors is avoided;
2. the node distribution module selects CDN network nodes to establish communication connection with the visitor; the visitor sends the current real-time position and the video name to the node distribution module through the mobile phone terminal; after receiving the current real-time position and the video name, the node distribution module pushes the video name to search the corresponding stored CDN network node and marks the CDN network node as a first node; performing distance difference calculation on the current real-time position of the first node to obtain a node access distance; marking a first node with a node access distance smaller than a set threshold as a preferred node; normalizing the machine node value and the node access distance of the preferred node and taking the numerical value; obtaining an access allocation value of the preferred node by using a formula; the node allocation module establishes communication connection between the optimal node with the maximum access allocation value and a mobile phone terminal of an accessor, and then the accessor accesses the video corresponding to the video name through the mobile phone terminal; the method comprises the steps of searching for a video name of an accessor to obtain a corresponding optimized node, obtaining an access distribution value of the optimized node through a machine node value and a node access distance of the optimized node, and conveniently and reasonably selecting a CDN network node to establish communication connection with the accessor through the access distribution value.
Drawings
In order to facilitate understanding for those skilled in the art, the present invention will be further described with reference to the accompanying drawings.
FIG. 1 is a functional block diagram of the present invention;
FIG. 2 is a schematic view of two semicircular regions of a circular screening zone of the present invention;
figure 3 is a schematic of three sectors of a circular screening field of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-3, a management system for CDN nodes includes a data acquisition module, a server, a node allocation module, a node management module, a registration login module, and a node calculation module;
the data acquisition module is used for acquiring node information of the CDN network node and sending the node information to the server; the node information comprises the residual memory of the CDN network node, the current real-time position, the video access times, the storage time, each access time, the position of an accessor and the access time length;
the node management module is used for analyzing videos stored in the CDN network nodes to obtain and process video values of file contents; the specific analysis steps are as follows:
s11: acquiring node information, sequencing each access moment of the video according to a time sequence, calculating the time difference between two adjacent access moments to obtain access interval duration, summing all the access interval durations, averaging to obtain an access average value, and marking the access average value as T1;
s12: performing range difference calculation on the position of the visitor and the current real-time position of the CDN network node to obtain an access distance; summing all access distances corresponding to the video, taking the average value to obtain an average distance value, and marking the average distance value as T2;
s13: the access times and the access duration of the video are assigned and marked as T3 and T4; carrying out normalization processing on the access mean value, the interval mean value, the access times and the access duration and taking the numerical values of the access mean value, the interval mean value, the access times and the access duration; using formulas
Figure BDA0002712197390000071
Acquiring a video value TS of the video; wherein a1, a2, a3, a4 and a5 are all preset proportionality coefficients; t5 is the time difference between the storage time of the video and the current time;
s14: when the TS is larger than a set video threshold TB; performing video extension processing, specifically:
s141: when TS < TB + b1, no action is performed;
s142: when the TS + b2 is larger than or equal to the TS + TB 1, the current real-time position of the CDN network node is taken as the center of a circle, and a circle is drawn at the center of the circle by a preset radius to obtain a circular screening range; obtaining CDN network nodes in a circular screening range and marking the CDN network nodes as primary selection nodes; establishing an X axis and a Y axis in the circular screening range; dividing the circular screening range into two semicircular areas by taking the Y axis as a boundary, and respectively marking the two semicircular areas as an area A and an area B; marking the initially selected node positioned in the B area as a B area node; dividing the area A into two sectors with an included angle of ninety degrees by taking the X axis as a boundary, and marking the sectors as an area A1 and an area A2; the B region is divided into a B1 region and a B2 region; marking the primary selection node with the position in the A1 area as the node in the A1 area; marking the primary selection node with the position in the A2 area as the node in the A2 area; selecting a half-axis point of the X axis in the area A and marking as X1; calculating the distance difference between the position of the node in the A1 area and a semi-axis point X1 to obtain an axis point distance and marking the distance as G1; calculating the distance difference between the position of the node in the A2 area and a semi-axis point X1 to obtain an axis point distance G2; respectively counting the number of nodes of the A1 region and the A2 region in the A1 region and the A2 region, and marking the nodes as M1 and M2; normalizing the distance between the shaft points and the number of the nodes and taking the numerical values of the distances and the number of the nodes; acquiring a node coincidence value MZ by using a formula MZ-Gk × d1+ Mk × d 2; wherein d1 and d2 are both proportional to a preset proportional coefficient; k is 1 or 2; selecting a primary selection node in the area A with the maximum node coincidence value as a selection node in the area A; similarly, selecting the primary selected node in the B area with the maximum node coincidence value as the selected node in the B area; the node management module respectively sends the video to a selected node in the area A and a selected node in the area B for storage;
s143: when the TS + b3 is larger than or equal to the TS + TB 2, the current real-time position of the CDN network node is taken as the center of a circle, and a circle is drawn at the center of the circle by a preset radius to obtain a circular screening range; obtaining CDN network nodes in a circular screening range and marking the CDN network nodes as primary selection nodes; dividing the circular screening range into three sectors; and labeled as zone C, zone D and zone E; selecting the area C, selecting a center line C1 in the area C through the center of a circle, wherein the center line C1 divides the area C into two sectorial areas which are marked as an area C2 and an area C3; counting the node numbers of the primary selection nodes at the positions in the C2 area and the C3 area and respectively marking as E2 and E3; selecting a terminal C4 of a middle line C1; calculating the distance difference between the initially selected node position of the C2 area and the end point C4 to obtain a node distance F2; calculating the distance difference between the initially selected node position of the C3 area and the end point C4 to obtain a node distance F3; normalizing the node spacing and the node number, taking the values of the node spacing and the node number, and obtaining a node coincidence value MZ of the initially selected node in the C area by using a formula MZ-Fh × d1+ Mh × d 2; h takes the value of 1 or 2; selecting a primary selection node in the C area with the maximum node coincidence value as a selection node of the C area; similarly, selecting the D area and the E area to obtain a D area selected node and an E area selected node; the node management module respectively sends the video to a selected node in the C region, a selected node in the D region and a selected node in the E region for storage;
s144: when the TS + b4 is larger than or equal to the TS + TB 3, the current real-time position of the CDN network node is taken as the center of a circle, and a circle is drawn at the center of the circle by a preset radius to obtain a circular screening range; obtaining CDN network nodes in a circular screening range and marking the CDN network nodes as primary selection nodes; dividing the circular screening range into four sectors equally, and processing through S143; and so on;
s15: when the TS is smaller than a set video threshold TB, deleting the video in the CDN network node;
the node distribution module is used for selecting CDN network nodes and establishing communication connection with the visitor; the processing steps of the node distribution module are as follows:
s21: the visitor sends the current real-time position and the video name to the node distribution module through the mobile phone terminal; after receiving the current real-time position and the video name, the node distribution module pushes the video name to search the corresponding stored CDN network node and marks the CDN network node as a first node; performing distance difference calculation on the current real-time position of the first node to obtain a node access distance; marking a first node with a node access distance smaller than a set threshold as a preferred node;
s22: label the machine node value of the preferred node as W1; marking the node access interval of the preferred node as W2; normalizing the machine node value and the node access distance of the preferred node and taking the numerical value; using formulas
Figure BDA0002712197390000091
Obtaining an access allocation value WQ of an optimal node; wherein d6 and d7 are both preset proportionality coefficients;
s23: the node allocation module establishes communication connection between the optimal node with the maximum access allocation value WQ and a mobile phone terminal of an accessor, and then the accessor accesses videos corresponding to the video names through the mobile phone terminal;
the registration login module is used for submitting registration information for registration by a user and sending the registration information with successful registration to the server; the registration information comprises the model of the mobile phone, the residual memory of the mobile phone, the factory time of the mobile phone and the name and the number of the corresponding owner of the mobile phone; the server marks the mobile phone terminal which is successfully registered as a CDN network node;
the node calculation module is used for acquiring registration information in the server, analyzing and calculating to obtain a computer node value, and sending the computer node value to the server for storage; the specific analysis steps of the node calculation module are as follows:
s31: acquiring registration information of CDN network nodes in a server; calculating the time difference between the factory time of the mobile phone and the current time to obtain the factory time length of the mobile phone, and marking the factory time length as P1;
s32: setting all mobile phone models to correspond to a model value; matching the mobile phone model with all mobile phone models to obtain a corresponding model value and marking as P2; marking the residual memory of the mobile phone as P3;
s33: carrying out normalization processing on the delivery time length, the model value and the residual memory of the mobile phone and taking the numerical values; using formulas
Figure BDA0002712197390000101
Obtaining a machine node value W1 of the CDN network node; wherein d3, d4 and d5 are all preset proportionality coefficients; λ is correction factor, and its value is 0.968.
The formulas are obtained by acquiring a large amount of data and performing software simulation, and the coefficients in the formulas are set by the technicians in the field according to actual conditions;
when the CDN system is used, the node management module analyzes videos stored in CDN network nodes to obtain and process video values of file contents, and normalizes and takes numerical values of access mean values, interval mean values, access times and access duration; obtaining a video value TS of the video by using a formula; when the TS is larger than a set video threshold TB; performing video expansion processing, and deleting the video in the CDN network node when the TS is smaller than a set video threshold TB; videos stored in the CDN network nodes are analyzed through the access mean value, the interval mean value, the access times and the access duration to obtain video values, the videos are reasonably expanded through the video values, access of visitors is facilitated, and access congestion caused by too many visitors is avoided;
the node distribution module is used for selecting CDN network nodes and establishing communication connection with the visitor; the visitor sends the current real-time position and the video name to the node distribution module through the mobile phone terminal; after receiving the current real-time position and the video name, the node distribution module pushes the video name to search the corresponding stored CDN network node and marks the CDN network node as a first node; performing distance difference calculation on the current real-time position of the first node to obtain a node access distance; marking a first node with a node access distance smaller than a set threshold as a preferred node; normalizing the machine node value and the node access distance of the preferred node and taking the numerical value; obtaining an access allocation value of the preferred node by using a formula; the node allocation module establishes communication connection between the optimal node with the maximum access allocation value and a mobile phone terminal of an accessor, and then the accessor accesses the video corresponding to the video name through the mobile phone terminal; the method comprises the steps of searching for a video name of an accessor to obtain a corresponding optimized node, obtaining an access distribution value of the optimized node through a machine node value and a node access distance of the optimized node, and conveniently and reasonably selecting a CDN network node to establish communication connection with the accessor through the access distribution value.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims (5)

1. A management system of CDN nodes is characterized by comprising a data acquisition module, a server, a node distribution module, a node management module, a registration login module and a node calculation module;
the data acquisition module is used for acquiring node information of the CDN network node and sending the node information to the server;
the node management module is used for analyzing videos stored in the CDN network node to obtain and process a video value of the file content;
the node distribution module is used for selecting CDN network nodes and establishing communication connection with the visitor;
the registration login module is used for submitting registration information for registration by a user and sending the registration information with successful registration to the server;
the node calculation module is used for acquiring registration information in the server, analyzing and calculating to obtain a computer node value, and the node calculation module sends the computer node value to the server for storage.
2. The management system of a CDN node as recited in claim 1, wherein the node information includes remaining memory of the CDN network node, a current real-time location, access times of a video, a storage time, each access time, a location of a visitor, and an access duration.
3. The CDN node management system of claim 1, wherein the specific analysis step of the node management module is:
s11: acquiring node information, sequencing each access moment of the video according to a time sequence, calculating the time difference between two adjacent access moments to obtain access interval duration, summing all the access interval durations, averaging to obtain an access average value, and marking the access average value as T1;
s12: performing range difference calculation on the position of the visitor and the current real-time position of the CDN network node to obtain an access distance; summing all access distances corresponding to the video, taking the average value to obtain an average distance value, and marking the average distance value as T2;
s13: the access times and the access duration of the video are assigned and marked as T3 and T4; carrying out normalization processing on the access mean value, the interval mean value, the access times and the access duration and taking the numerical values of the access mean value, the interval mean value, the access times and the access duration; using formulas
Figure FDA0002712197380000021
Acquiring a video value TS of the video; wherein a1, a2, a3, a4 and a5 are all preset proportionality coefficients; t5 is the time difference between the storage time of the video and the current time;
s14: when the TS is larger than a set video threshold TB; performing video extension processing, specifically:
s141: when TS < TB + b1, no action is performed;
s142: when the TS + b2 is larger than or equal to the TS + TB 1, the current real-time position of the CDN network node is taken as the center of a circle, and a circle is drawn at the center of the circle by a preset radius to obtain a circular screening range; obtaining CDN network nodes in a circular screening range and marking the CDN network nodes as primary selection nodes; establishing an X axis and a Y axis in the circular screening range; dividing the circular screening range into two semicircular areas by taking the Y axis as a boundary, and respectively marking the two semicircular areas as an area A and an area B; marking the initially selected node positioned in the B area as a B area node; dividing the area A into two sectors with an included angle of ninety degrees by taking the X axis as a boundary, and marking the sectors as an area A1 and an area A2; the B region is divided into a B1 region and a B2 region; marking the primary selection node with the position in the A1 area as the node in the A1 area; marking the primary selection node with the position in the A2 area as the node in the A2 area; selecting a half-axis point of the X axis in the area A and marking as X1; calculating the distance difference between the position of the node in the A1 area and a semi-axis point X1 to obtain an axis point distance and marking the distance as G1; calculating the distance difference between the position of the node in the A2 area and a semi-axis point X1 to obtain an axis point distance G2; respectively counting the number of nodes of the A1 region and the A2 region in the A1 region and the A2 region, and marking the nodes as M1 and M2; normalizing the distance between the shaft points and the number of the nodes and taking the numerical values of the distances and the number of the nodes; acquiring a node coincidence value MZ by using a formula MZ-Gk × d1+ Mk × d 2; wherein d1 and d2 are both proportional to a preset proportional coefficient; k is 1 or 2; selecting a primary selection node in the area A with the maximum node coincidence value as a selection node in the area A; similarly, selecting the primary selected node in the B area with the maximum node coincidence value as the selected node in the B area; the node management module respectively sends the video to a selected node in the area A and a selected node in the area B for storage;
s143: when the TS + b3 is larger than or equal to the TS + TB 2, the current real-time position of the CDN network node is taken as the center of a circle, and a circle is drawn at the center of the circle by a preset radius to obtain a circular screening range; obtaining CDN network nodes in a circular screening range and marking the CDN network nodes as primary selection nodes; dividing the circular screening range into three sectors; and labeled as zone C, zone D and zone E; selecting the area C, selecting a center line C1 in the area C through the center of a circle, wherein the center line C1 divides the area C into two sectorial areas which are marked as an area C2 and an area C3; counting the node numbers of the primary selection nodes at the positions in the C2 area and the C3 area and respectively marking as E2 and E3; selecting a terminal C4 of a middle line C1; calculating the distance difference between the initially selected node position of the C2 area and the end point C4 to obtain a node distance F2; calculating the distance difference between the initially selected node position of the C3 area and the end point C4 to obtain a node distance F3; normalizing the node spacing and the node number, taking the values of the node spacing and the node number, and obtaining a node coincidence value MZ of the initially selected node in the C area by using a formula MZ-Fh × d1+ Mh × d 2; h takes the value of 1 or 2; selecting a primary selection node in the C area with the maximum node coincidence value as a selection node of the C area; similarly, selecting the D area and the E area to obtain a D area selected node and an E area selected node; the node management module respectively sends the video to a selected node in the C region, a selected node in the D region and a selected node in the E region for storage;
s144: when the TS + b4 is larger than or equal to the TS + TB 3, the current real-time position of the CDN network node is taken as the center of a circle, and a circle is drawn at the center of the circle by a preset radius to obtain a circular screening range; obtaining CDN network nodes in a circular screening range and marking the CDN network nodes as primary selection nodes; dividing the circular screening range into four sectors equally, and processing through S143; and so on;
s15: and when the TS is smaller than a set video threshold TB, deleting the video in the CDN network node.
4. The CDN node management system of claim 1, wherein the processing of the node allocation module is:
s21: the visitor sends the current real-time position and the video name to the node distribution module through the mobile phone terminal; after receiving the current real-time position and the video name, the node distribution module pushes the video name to search the corresponding stored CDN network node and marks the CDN network node as a first node; performing distance difference calculation on the current real-time position of the first node to obtain a node access distance; marking a first node with a node access distance smaller than a set threshold as a preferred node;
s22: label the machine node value of the preferred node as W1; marking the node access interval of the preferred node as W2; normalizing the machine node value and the node access distance of the preferred node and taking the numerical value; using formulas
Figure FDA0002712197380000041
Obtaining an access allocation value WQ of an optimal node; wherein d6 and d7 are both preset proportionality coefficients;
s23: and the node distribution module establishes communication connection between the optimal node with the maximum access distribution value WQ and the mobile phone terminal of the visitor, and then the visitor accesses the video corresponding to the video name through the mobile phone terminal.
5. The management system of a CDN node as recited in claim 1, wherein the registration information includes a model of a mobile phone, a remaining memory of the mobile phone, a factory time of the mobile phone, and a name and a phone number of an owner of the mobile phone; the server marks the mobile phone terminal which is successfully registered as a CDN network node;
the specific analysis steps of the node calculation module are as follows:
s31: acquiring registration information of CDN network nodes in a server; calculating the time difference between the factory time of the mobile phone and the current time to obtain the factory time length of the mobile phone, and marking the factory time length as P1;
s32: setting all mobile phone models to correspond to a model value; matching the mobile phone model with all mobile phone models to obtain a corresponding model value and marking as P2; marking the residual memory of the mobile phone as P3;
s33: will leave factory time length, model value andcarrying out normalization processing on the residual memory of the mobile phone and taking the value of the residual memory of the mobile phone; using formulas
Figure FDA0002712197380000042
Obtaining a machine node value W1 of the CDN network node; wherein d3, d4 and d5 are all preset proportionality coefficients; λ is correction factor, and its value is 0.968.
CN202011060469.6A 2020-09-30 2020-09-30 Management system of CDN node Active CN112187656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011060469.6A CN112187656B (en) 2020-09-30 2020-09-30 Management system of CDN node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011060469.6A CN112187656B (en) 2020-09-30 2020-09-30 Management system of CDN node

Publications (2)

Publication Number Publication Date
CN112187656A true CN112187656A (en) 2021-01-05
CN112187656B CN112187656B (en) 2023-10-03

Family

ID=73946298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011060469.6A Active CN112187656B (en) 2020-09-30 2020-09-30 Management system of CDN node

Country Status (1)

Country Link
CN (1) CN112187656B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010057107A (en) * 2008-08-29 2010-03-11 Nippon Telegr & Teleph Corp <Ntt> Server disposition method, server disposition method in carrier type cdn, server disposition system, carrier type cdn system, and program
US8819187B1 (en) * 2013-10-29 2014-08-26 Limelight Networks, Inc. End-to-end acceleration of dynamic content
US20140325577A1 (en) * 2011-10-13 2014-10-30 Telefonica, S.A. Method an a system to perform a distributed content acquisition process for a content delivery network
WO2015014176A1 (en) * 2013-07-31 2015-02-05 Tencent Technology (Shenzhen) Company Limited Method, device, scheduling server and system for network allocation
US20180293111A1 (en) * 2015-05-12 2018-10-11 Wangsu Science & Technology Co.,Ltd. Cdn-based content management system
CN109660624A (en) * 2018-12-26 2019-04-19 网宿科技股份有限公司 Planing method, server and the storage medium of content distributing network resource
CN110351375A (en) * 2019-07-16 2019-10-18 深圳市网心科技有限公司 A kind of data processing method, device and computer installation, readable storage medium storing program for executing
CN110830572A (en) * 2019-11-06 2020-02-21 中移(杭州)信息技术有限公司 CDN access optimization method and system
CN111539755A (en) * 2020-07-08 2020-08-14 江苏荣泽信息科技股份有限公司 License issuing safety management system based on block chain
CN111600967A (en) * 2020-07-24 2020-08-28 江苏荣泽信息科技股份有限公司 Access pressure-based load balancing system among block chain nodes

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010057107A (en) * 2008-08-29 2010-03-11 Nippon Telegr & Teleph Corp <Ntt> Server disposition method, server disposition method in carrier type cdn, server disposition system, carrier type cdn system, and program
US20140325577A1 (en) * 2011-10-13 2014-10-30 Telefonica, S.A. Method an a system to perform a distributed content acquisition process for a content delivery network
WO2015014176A1 (en) * 2013-07-31 2015-02-05 Tencent Technology (Shenzhen) Company Limited Method, device, scheduling server and system for network allocation
US8819187B1 (en) * 2013-10-29 2014-08-26 Limelight Networks, Inc. End-to-end acceleration of dynamic content
US20180293111A1 (en) * 2015-05-12 2018-10-11 Wangsu Science & Technology Co.,Ltd. Cdn-based content management system
CN109660624A (en) * 2018-12-26 2019-04-19 网宿科技股份有限公司 Planing method, server and the storage medium of content distributing network resource
CN110351375A (en) * 2019-07-16 2019-10-18 深圳市网心科技有限公司 A kind of data processing method, device and computer installation, readable storage medium storing program for executing
CN110830572A (en) * 2019-11-06 2020-02-21 中移(杭州)信息技术有限公司 CDN access optimization method and system
CN111539755A (en) * 2020-07-08 2020-08-14 江苏荣泽信息科技股份有限公司 License issuing safety management system based on block chain
CN111600967A (en) * 2020-07-24 2020-08-28 江苏荣泽信息科技股份有限公司 Access pressure-based load balancing system among block chain nodes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张庆华;: "云存储技术在视频监控中的发展与应用", 中国安防, no. 05 *

Also Published As

Publication number Publication date
CN112187656B (en) 2023-10-03

Similar Documents

Publication Publication Date Title
CN111695697B (en) Multiparty joint decision tree construction method, equipment and readable storage medium
Cheng et al. A novel big data based telecom operation architecture
US20240049108A1 (en) Network provisioning
JP4102367B2 (en) Intelligent traffic management system for network and intelligent traffic management method using the same
CN109104464B (en) Distributed data updating method for collaborative storage in edge computing environment
CN100456286C (en) Universal file search system and method
CN104995870A (en) Multi-objective server placement determination
CN109905288B (en) Application service classification method and device
CN102055813A (en) Access controlling method for network application and device thereof
CN105868231A (en) Cache data updating method and device
CN104468752A (en) Method and system for increasing utilization rate of cloud computing resources
CN110046174B (en) population migration analysis method and system based on big data
CN112989157A (en) Method and device for detecting crawler request
CN103298010A (en) Network link state display method and network link state display device
CN105871585A (en) Terminal association method and device
CN103607418A (en) Large-scale data partitioning system and partitioning method based on cloud service data characteristics
CN103327036A (en) Identification method of Internet browsing devices and Cookie server
CN113301126B (en) Edge computing method suitable for heterogeneous networking gateway
CN111770152B (en) Edge data management method, medium, edge server and system
CN113553312A (en) Digital twin construction method based on elevator production process
CN112187656A (en) Management system of CDN node
CN110401626B (en) Hacker attack grading detection method and device
CN112235254A (en) Rapid identification method for Tor network bridge in high-speed backbone network
CN103096380B (en) Wireless access point load balancing load balancing
CN110515975A (en) Risk detecting system, 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