CN111565207B - Control method and device for content distribution network and computer readable storage medium - Google Patents

Control method and device for content distribution network and computer readable storage medium Download PDF

Info

Publication number
CN111565207B
CN111565207B CN201910112730.3A CN201910112730A CN111565207B CN 111565207 B CN111565207 B CN 111565207B CN 201910112730 A CN201910112730 A CN 201910112730A CN 111565207 B CN111565207 B CN 111565207B
Authority
CN
China
Prior art keywords
edge node
node
slave
master
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910112730.3A
Other languages
Chinese (zh)
Other versions
CN111565207A (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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910112730.3A priority Critical patent/CN111565207B/en
Publication of CN111565207A publication Critical patent/CN111565207A/en
Application granted granted Critical
Publication of CN111565207B publication Critical patent/CN111565207B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a control method and device of a content delivery network and a computer readable storage medium, relating to the technical field of communication and aiming at solving the problem of complex centralized management and control of a CDN (content delivery network). The method comprises the following steps: acquiring master-slave node information sent by a CDN coordinator; receiving a content access request; determining a second edge node according to the content access request and the master-slave node information; and controlling the second edge node to provide access content according to the content access request. The embodiment of the invention can reduce the complexity of the centralized management control of the CDN network.

Description

Control method and device for content distribution network and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for controlling a content distribution network, and a computer readable storage medium.
Background
The CDN (Content Delivery Network ) is a content delivery network constructed on the network, and by means of the edge servers deployed in various places, a user can obtain required content nearby through load balancing, content delivery, control and other functional modules of the center platform, so that network congestion is reduced, and user access response speed and hit rate are improved. The key technologies of CDNs mainly include content storage and distribution technologies.
The existing CDN network is numerous in nodes after sinking, so that centralized management and control are complex.
Disclosure of Invention
The embodiment of the invention provides a control method and device of a content distribution network and a computer readable storage medium, which are used for solving the problem of complex centralized management and control of a CDN (content delivery network).
In a first aspect, an embodiment of the present invention provides a control method of a content distribution network, applied to a first edge node, including:
acquiring master-slave node information sent by a CDN coordinator;
receiving a content access request;
determining a second edge node according to the content access request and the master-slave node information;
and controlling the second edge node to provide access content according to the content access request.
Wherein said determining a second edge node comprises:
determining a slave edge node according to the master-slave node information;
and acquiring the content list sent by the slave edge node, and determining the second edge node from the slave edge node according to the content list.
Wherein prior to said receiving the content access request, the method further comprises:
sending registration information to the CDN coordinator;
and receiving registration information sent by the second edge node.
Wherein when the first edge node fails, the method further comprises:
and sending registration information to the main edge node redetermined by the CDN coordinator.
In a second aspect, an embodiment of the present invention provides a control method of a content distribution network, applied to a second edge node, including:
access content is provided in accordance with control of the first edge node.
Wherein the method further comprises:
and sending a content list to the first edge node, wherein the first edge node selects the second edge node for control according to the content list.
Wherein the method further comprises:
sending registration information to a CDN coordinator;
and sending registration information to the first edge node.
When the first edge node fails, if the second edge node is a primary edge node, the method further includes:
and receiving the registration information sent by the first edge node.
In a third aspect, an embodiment of the present invention provides a control method of a content delivery network, applied to a CDN coordinator, including:
receiving registration information sent by at least two edge nodes;
determining master-slave node information according to the registration information;
and sending the master-slave node information to the at least two edge nodes, and indicating the slave edge nodes to send registration information to the master edge node.
Wherein when the primary edge node fails, the method further comprises:
redefining a master edge node and a slave edge node;
the re-determined slave edge node is instructed to send registration information to the re-acknowledged master edge node.
In a fourth aspect, an embodiment of the present invention provides a control apparatus of a content distribution network, applied to a first edge node, including: a processor and a transceiver;
the transceiver is used for acquiring master-slave node information sent by the CDN coordinator; receiving a content access request;
the processor is used for determining a second edge node according to the content access request and the master-slave node information; and controlling the second edge node to provide access content according to the content access request.
The processor is further used for determining slave edge nodes according to the master-slave node information; and acquiring the content list sent by the slave edge node, and determining the second edge node from the slave edge node according to the content list.
The transceiver is further configured to send registration information to the CDN coordinator; and receiving registration information sent by the second edge node.
The transceiver is further configured to send registration information to the primary edge node that is redetermined by the CDN coordinator.
In a fifth aspect, an embodiment of the present invention provides a control apparatus of a content distribution network, applied to a second edge node, including: a processor and a transceiver;
the processor is configured to provide access content according to control of the first edge node.
The transceiver is further configured to send a content list to the first edge node, where the first edge node selects the second edge node for control according to the content list.
The transceiver is further configured to send registration information to the CDN coordinator; and sending registration information to the first edge node.
The transceiver is further configured to receive registration information sent by the first edge node.
In a sixth aspect, an embodiment of the present invention provides a control device of a content delivery network, applied to a CDN coordinator, including: a processor and a transceiver;
the transceiver is used for receiving registration information sent by at least two edge nodes;
the processor is used for determining master-slave node information according to the registration information;
the transceiver is further configured to send the master-slave node information to the at least two edge nodes;
the processor is further configured to instruct the slave edge node to send registration information to the master edge node.
Wherein the processor is further configured to, when the master edge node fails, re-determine the master edge node and the slave edge node, and instruct the re-determined slave edge node to send registration information to the re-confirmed master edge node.
In a seventh aspect, an embodiment of the present invention provides a communication device, including: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor is configured to read a program in the memory to implement the steps in the method according to the first aspect; or to implement the steps in the method as described in the second aspect; or to implement the steps in the method as described in the third aspect.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method according to the first aspect; or to implement the steps in the method as described in the second aspect; or to implement the steps in the method as described in the third aspect.
In the embodiment of the invention, any node of the CDN can form the affiliation group, and the node of the CDN is self-organized into the corresponding affiliation group node according to the scene requirement, so that the complexity of centralized management control of the CDN network can be reduced by utilizing the embodiment of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is one of flowcharts of a control method of a content distribution network provided by an embodiment of the present invention;
fig. 2 is a second flowchart of a control method of a content distribution network according to an embodiment of the present invention;
fig. 3 is a third flowchart of a control method of a content distribution network according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a CDN scheduling system of an embodiment of the present invention;
FIG. 5 is a schematic diagram of a CDN node affiliation registration procedure according to an embodiment of the present invention;
FIG. 6 is a flow chart of a CDN slave edge node for user access according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an arbitrary node flexible ad hoc dependency group in accordance with an embodiment of the present invention;
fig. 8 is one of the block diagrams of the control apparatus of the content distribution network provided by the embodiment of the present invention;
fig. 9 is a second block diagram of a control device of a content distribution network according to an embodiment of the present invention;
fig. 10 is a third block diagram of a control device of a content distribution network according to an embodiment of the present invention;
fig. 11 is a block diagram of a communication device according to an embodiment of the present invention;
FIG. 12 is a second block diagram of a communication device according to an embodiment of the present invention;
fig. 13 is a third block diagram of the communication device according to the embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart of a control method of a content distribution network according to an embodiment of the present invention, which is applied to a first edge node. As shown in fig. 1, the method comprises the following steps:
step 101, master-slave node information sent by a CDN coordinator is obtained.
Wherein, the master node information and the slave node information, such as IP (Internet Protocol ) address, etc., can be recorded in the master-slave node information.
Step 102, receiving a content access request.
When there is a content access request, the first edge node may receive the user's content access request. The first edge node serves here as the master edge node.
Step 103, determining a second edge node according to the content access request and the master-slave node information.
Specifically, in this step, a slave edge node may be determined according to the master-slave node information, then a content list sent by the slave edge node may be acquired, and the second edge node may be determined from the slave edge node according to the content list. The second edge node acts here as a slave edge node.
Step 104, the second edge node is controlled to provide access content according to the content access request.
In the embodiment of the invention, any node of the CDN can form the affiliation group, and the node of the CDN is self-organized into the corresponding affiliation group node according to the scene requirement, so that the complexity of centralized management control of the CDN network can be reduced by utilizing the embodiment of the invention.
Based on the above embodiment, to further improve the management efficiency, before step 101, the method may further include: and sending registration information to the CDN coordinator and receiving the registration information sent by the second edge node.
When the first edge node fails, the method further comprises: and sending registration information to the main edge node redetermined by the CDN coordinator.
Referring to fig. 2, fig. 2 is a flowchart of a control method of a content distribution network according to an embodiment of the present invention, which is applied to a second edge node. As shown in fig. 2, the method comprises the following steps:
step 201, providing access content according to control of the first edge node.
For example, when the first edge node determines that the second edge node can provide the access content, the second edge node will be controlled to provide the access content.
In order to improve the control efficiency, the second edge node can also send a content list to the first edge node, wherein the first edge node selects the second edge node to control according to the content list.
In addition, to facilitate the CDN coordinator to control, the second edge node may further send registration information to the CDN coordinator and send registration information to the first edge node.
When the first edge node fails, if the second edge node is a master edge node, the registration information sent by the first edge node may also be received.
In the embodiment of the invention, any node of the CDN can form the affiliation group, and the node of the CDN is self-organized into the corresponding affiliation group node according to the scene requirement, so that the complexity of centralized management control of the CDN network can be reduced by utilizing the embodiment of the invention.
Referring to fig. 3, fig. 3 is a flowchart of a control method of a content delivery network according to an embodiment of the present invention, which is applied to a CDN coordinator. As shown in fig. 3, the method comprises the following steps:
step 301, receiving registration information sent by at least two edge nodes.
And 302, determining master-slave node information according to the registration information.
Step 303, sending the master-slave node information to the at least two edge nodes, and indicating the slave edge nodes to send registration information to the master edge node.
When the primary edge node determined at the beginning fails, the method further comprises: the master and slave edge nodes are redetermined and the redetermined slave edge node is instructed to send registration information to the redetermined master edge node.
In the embodiment of the invention, any node of the CDN can form the affiliation group, and the node of the CDN is self-organized into the corresponding affiliation group node according to the scene requirement, so that the complexity of centralized management control of the CDN network can be reduced by utilizing the embodiment of the invention.
As shown in fig. 4, the CDN scheduling system according to the embodiment of the present invention may include: CDN edge nodes (illustrated including edge node a, edge node 1, edge node 2), CDN global scheduling systems, CDN coordinators, and the like. In this system, the negotiation information includes node registration information, node affiliation, and the like. The negotiation process is controlled by the CDN global scheduling system, and the registration information table is generated by the CDN coordinator. The CDN scheduling process mainly comprises the following steps:
step 401, the edge node a, the edge node 1, and the edge node 2 respectively send relevant registration information to the CDN coordinator.
Step 402, the CDN coordinator determines a master-slave relationship according to the policy, and issues node master-slave relationship information to the edge node a, the edge node 1, and the edge node 2.
Step 403, if the edge node 1 is subordinate to the edge node a and the edge node 2 is subordinate to the edge node a after the judgment, the edge nodes 1 and 2 register with the edge node a. The edge node a serves as a master edge node, and performs scheduling management on the slave edge nodes 1 and 2.
Meanwhile, the edge nodes 1 and 2 report the content list, the load state and the like of the edge nodes to the edge node A in real time, and receive the scheduling management information of the edge node A.
Step 404, the CDN global scheduling system receives a content access request from the user 1. The CDN returns the IP address of edge node a to user 1 according to the request. And then, the edge node A determines that the edge node 1 is a slave edge node according to the acquired information, and can provide access content, and returns the IP address of the edge node 1 to the user 1, so as to control the edge node 1 to provide the access content to the user 1.
When edge node a fails, the CDN coordinator may elevate edge node 1 or edge node 2 as the master edge node according to a policy.
Wherein the registration information is shown in table 1:
TABLE 1
Attribute definition Registration information table description
Node_ID Node ID, globally unique
Node_IP Node IP
Position Master-slave information, master or slave
Content list Table of contents including url and hot spot threshold
Node load Real-time load information of node itself
Location Regional labels, facilitating coordinator judgment
The master-slave relationship information of the nodes is shown in table 2:
TABLE 2
Attribute definition Master-slave information table description
Location Regional labels, facilitating coordinator judgment
Master Main node IP
Slave Slave node IP1, slave node IP2, slave node IP3 …
Master_status Master node state
Slave_status Slave node state
Location_nearby Adjacent areas
As shown in fig. 5, the CDN node affiliation registration procedure is described. The edge node registers with the CDN coordinator and sends registration information. And the CDN coordinator issues master-slave information of the nodes to each edge node according to the strategy, sends an instruction indicating the slave edge node to register with the master edge node, and maintains the master-slave node relation. When the master edge node fails, the CDN coordinator selects one slave edge node to be lifted to the master edge node according to the strategy, and issues other slave edge nodes to instruct the other slave edge nodes to register with the redetermined master edge node, and maintains a master-slave relationship.
And a CDN node coordination module can be arranged in the edge node and used for negotiating node registration information, node master-slave information and the like. The edge node registers with the CDN coordinator and obtains master-slave information issued by the CDN coordinator. If a certain edge node is a master edge node, receiving registration information of other slave edge nodes and performing scheduling management on the slave edge nodes. And if the node is a slave edge node, registering with the master edge node according to master-slave information and receiving management scheduling.
As shown in fig. 6, the flow of the user accessing the CDN from the edge node is provided. When the user 1 has an access request, the CDN global scheduling system returns the IP address of the edge node 1 according to the request content. The edge node 1 acts as a master edge node, receives access requests from users and, depending on the state of the managed slave edge nodes, dispatches to the corresponding slave edge node, here assumed to be slave edge node 2. The edge node 2 reports its own content list, load status, etc. to the edge node 1 as a slave edge node in real time, and receives scheduling management information of the edge node 1. Thereafter, access content is provided from the edge node 2 to the user.
A schematic diagram of an arbitrary node flexible ad hoc dependency group is shown in fig. 7. Under the control of the whole network coordinator and the dispatching system, any several edge nodes of the whole network can flexibly form a large node according to strategies. If the dispatching cost of the edge nodes 1, 6 and 7 is lower, the dispatching cost information can be reported to the CDN coordinator, and the CDN coordinator forms a low-cost subordinate relation according to the set dispatching cost strategy and issues the corresponding edge nodes. Other strategies such as position, load, time delay and the like can form a large node in the mode, and the elasticity of resources in the large node can be realized.
From the above, the embodiment of the invention provides an end-to-end realizable scheme, which can realize that the edge nodes are automatically integrated into the CDN network, a plurality of edge nodes automatically form an area node, and the edge nodes are expanded and contracted as required and flexibly allocated with node subordination relations between adjacent areas.
As shown in fig. 8, a control device of a content distribution network according to an embodiment of the present invention is applied to a first edge node, and includes: a processor 801 and a transceiver 802;
the transceiver 802 is configured to obtain master-slave node information sent by the CDN coordinator; receiving a content access request;
the processor 801 is configured to determine a second edge node according to the content access request and the master-slave node information; and controlling the second edge node to provide access content according to the content access request.
Optionally, the processor 801 is further configured to determine a slave edge node according to the master-slave node information; and acquiring the content list sent by the slave edge node, and determining the second edge node from the slave edge node according to the content list.
Optionally, the transceiver 802 is further configured to send registration information to the CDN coordinator; and receiving registration information sent by the second edge node.
Optionally, the transceiver 802 is further configured to send registration information to the master edge node redetermined by the CDN coordinator.
The working principle of the device according to the embodiment of the invention can be referred to the description of the embodiment of the method.
In the embodiment of the invention, any node of the CDN can form the affiliation group, and the node of the CDN is self-organized into the corresponding affiliation group node according to the scene requirement, so that the complexity of centralized management control of the CDN network can be reduced by utilizing the embodiment of the invention.
As shown in fig. 9, a control device of a content distribution network according to an embodiment of the present invention is applied to a second edge node, and includes: a processor 901 and a transceiver 902; the processor 901 is configured to provide access content according to control of the first edge node.
Optionally, the transceiver 902 is further configured to send a content list to the first edge node, where the first edge node selects the second edge node for controlling according to the content list.
Optionally, the transceiver 902 is further configured to send registration information to a CDN coordinator; and sending registration information to the first edge node.
Optionally, the transceiver 902 is further configured to receive registration information sent by the first edge node.
The working principle of the device according to the embodiment of the invention can be referred to the description of the embodiment of the method.
In the embodiment of the invention, any node of the CDN can form the affiliation group, and the node of the CDN is self-organized into the corresponding affiliation group node according to the scene requirement, so that the complexity of centralized management control of the CDN network can be reduced by utilizing the embodiment of the invention.
As shown in fig. 10, a control device of a content delivery network according to an embodiment of the present invention is applied to a CDN coordinator, and includes: a processor 1001 and a transceiver 1002;
the transceiver 1002 is configured to receive registration information sent by at least two edge nodes;
the processor 1001 is configured to determine master-slave node information according to the registration information;
the transceiver 1002 is further configured to send the master-slave node information to the at least two edge nodes;
the processor 1001 is further configured to instruct the slave edge node to send registration information to the master edge node.
Optionally, the processor 1001 is further configured to, when the master edge node fails, redefine the master edge node and the slave edge node, and instruct the redetermined slave edge node to send registration information to the redetermined master edge node.
The working principle of the device according to the embodiment of the invention can be referred to the description of the embodiment of the method.
In the embodiment of the invention, any node of the CDN can form the affiliation group, and the node of the CDN is self-organized into the corresponding affiliation group node according to the scene requirement, so that the complexity of centralized management control of the CDN network can be reduced by utilizing the embodiment of the invention.
As shown in fig. 11, the communication device of the embodiment of the present invention includes: the processor 1100, configured to read the program in the memory 1120, performs the following procedures:
acquiring master-slave node information sent by a CDN coordinator; receiving a content access request; determining a second edge node according to the content access request and the master-slave node information; and controlling the second edge node to provide access content according to the content access request.
A transceiver 1110 for receiving and transmitting data under the control of the processor 1100.
Wherein in fig. 11, a bus architecture may comprise any number of interconnected buses and bridges, and in particular one or more processors represented by processor 1100 and various circuits of memory represented by memory 1120, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The transceiver 1110 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 1100 is responsible for managing the bus architecture and general processing, and the memory 1120 may store data used by the processor 1100 in performing operations.
The processor 1100 is responsible for managing the bus architecture and general processing, and the memory 1120 may store data used by the processor 1100 in performing operations.
The processor 1100 is further configured to read the computer program, and perform the following steps:
determining a slave edge node according to the master-slave node information;
and acquiring the content list sent by the slave edge node, and determining the second edge node from the slave edge node according to the content list.
The processor 1100 is further configured to read the computer program, and perform the following steps:
sending registration information to the CDN coordinator;
and receiving registration information sent by the second edge node.
The processor 1100 is further configured to read the computer program, and perform the following steps:
and sending registration information to the main edge node redetermined by the CDN coordinator.
As shown in fig. 12, the communication device of the embodiment of the present invention includes: processor 1200 for reading the program in memory 1220, performs the following process: access content is provided in accordance with control of the first edge node.
A transceiver 1210 for receiving and transmitting data under the control of the processor 1200.
Wherein in fig. 12, a bus architecture may comprise any number of interconnected buses and bridges, and in particular, one or more processors represented by processor 1200 and various circuits of memory represented by memory 1220, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The transceiver 1210 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 1200 is responsible for managing the bus architecture and general processing, and the memory 1220 may store data used by the processor 1200 in performing operations.
The processor 1200 is responsible for managing the bus architecture and general processing, and the memory 1220 may store data used by the processor 1200 in performing operations.
The processor 1200 is further configured to read the computer program, and perform the following steps:
and sending a content list to the first edge node, wherein the first edge node selects the second edge node for control according to the content list.
The processor 1200 is further configured to read the computer program, and perform the following steps:
sending registration information to a CDN coordinator;
and sending registration information to the first edge node.
The processor 1200 is further configured to read the computer program, and perform the following steps:
and receiving the registration information sent by the first edge node.
As shown in fig. 13, the communication device of the embodiment of the present invention includes: processor 1300, for reading the program in memory 1320, performs the following procedure:
receiving registration information sent by at least two edge nodes; determining master-slave node information according to the registration information; and sending the master-slave node information to the at least two edge nodes, and indicating the slave edge nodes to send registration information to the master edge node.
A transceiver 1310 for receiving and transmitting data under the control of the processor 1300.
Where in FIG. 13, a bus architecture may comprise any number of interconnected buses and bridges, with various circuits of the one or more processors, specifically represented by processor 1300, and the memory, represented by memory 1320, being linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The transceiver 1310 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 1300 is responsible for managing the bus architecture and general processing, and the memory 1320 may store data used by the processor 1300 in performing operations.
The processor 1300 is responsible for managing the bus architecture and general processing, and the memory 1320 may store data used by the processor 1300 in performing operations.
The processor 1300 is further configured to read the computer program, and perform the following steps:
redefining a master edge node and a slave edge node;
the re-determined slave edge node is instructed to send registration information to the re-acknowledged master edge node.
Furthermore, a computer-readable storage medium of an embodiment of the present invention stores a computer program executable by a processor to implement the steps of:
acquiring master-slave node information sent by a CDN coordinator;
receiving a content access request;
determining a second edge node according to the content access request and the master-slave node information;
and controlling the second edge node to provide access content according to the content access request.
Wherein said determining a second edge node comprises:
determining a slave edge node according to the master-slave node information;
and acquiring the content list sent by the slave edge node, and determining the second edge node from the slave edge node according to the content list.
Wherein prior to said receiving the content access request, the method further comprises:
sending registration information to the CDN coordinator;
and receiving registration information sent by the second edge node.
Wherein when the first edge node fails, the method further comprises:
and sending registration information to the main edge node redetermined by the CDN coordinator.
Furthermore, a computer-readable storage medium of an embodiment of the present invention stores a computer program executable by a processor to implement the steps of:
access content is provided in accordance with control of the first edge node.
Wherein the method further comprises:
and sending a content list to the first edge node, wherein the first edge node selects the second edge node for control according to the content list.
Wherein the method further comprises:
sending registration information to a CDN coordinator;
and sending registration information to the first edge node.
When the first edge node fails, if the second edge node is a primary edge node, the method further includes:
and receiving the registration information sent by the first edge node.
Furthermore, a computer-readable storage medium of an embodiment of the present invention stores a computer program executable by a processor to implement the steps of:
receiving registration information sent by at least two edge nodes;
determining master-slave node information according to the registration information;
and sending the master-slave node information to the at least two edge nodes, and indicating the slave edge nodes to send registration information to the master edge node.
Wherein when the primary edge node fails, the method further comprises:
redefining a master edge node and a slave edge node;
the re-determined slave edge node is instructed to send registration information to the re-acknowledged master edge node.
In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform part of the steps of the transceiving method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (22)

1. A method for controlling a content distribution network, applied to a first edge node, comprising:
acquiring master-slave node information sent by a CDN coordinator of a content delivery network;
receiving a content access request;
determining a second edge node according to the content access request and the master-slave node information;
and controlling the second edge node to provide access content according to the content access request.
2. The method of claim 1, wherein the determining the second edge node comprises:
determining a slave edge node according to the master-slave node information;
and acquiring the content list sent by the slave edge node, and determining the second edge node from the slave edge node according to the content list.
3. The method of claim 2, wherein prior to said receiving a content access request, the method further comprises:
sending registration information to the CDN coordinator;
and receiving registration information sent by the second edge node.
4. The method of claim 1, wherein when the first edge node fails, the method further comprises:
and sending registration information to the main edge node redetermined by the CDN coordinator.
5. A method for controlling a content distribution network, applied to a second edge node, comprising:
providing access content according to control of the first edge node;
the second edge node is a slave edge node of the first edge node, and the second edge node is determined by the first edge node according to a content access request and master-slave node information acquired from a CDN coordinator.
6. The method of claim 5, wherein the method further comprises:
and sending a content list to the first edge node, wherein the first edge node selects the second edge node for control according to the content list.
7. The method of claim 5, wherein the method further comprises:
sending registration information to a CDN coordinator;
and sending registration information to the first edge node.
8. The method of claim 5, wherein when the first edge node fails, if the second edge node is a primary edge node, the method further comprises:
and receiving the registration information sent by the first edge node.
9. A control method of a content delivery network, applied to a CDN coordinator, comprising:
receiving registration information sent by at least two edge nodes;
determining master-slave node information according to the registration information;
and sending the master-slave node information to the at least two edge nodes, and indicating the slave edge nodes to send registration information to the master edge node.
10. The method of claim 9, wherein when the primary edge node fails, the method further comprises:
redefining a master edge node and a slave edge node;
the re-determined slave edge node is instructed to send registration information to the re-acknowledged master edge node.
11. A control device of a content distribution network, applied to a first edge node, comprising: a processor and a transceiver;
the transceiver is used for acquiring master-slave node information sent by the CDN coordinator; receiving a content access request;
the processor is used for determining a second edge node according to the content access request and the master-slave node information; and controlling the second edge node to provide access content according to the content access request.
12. The apparatus of claim 11, wherein the processor is further configured to determine a slave edge node based on the master-slave node information; and acquiring the content list sent by the slave edge node, and determining the second edge node from the slave edge node according to the content list.
13. The apparatus of claim 12, wherein the transceiver is further configured to send registration information to the CDN coordinator; and receiving registration information sent by the second edge node.
14. The apparatus of claim 11, wherein the transceiver is further configured to send registration information to a master edge node that is redetermined by the CDN coordinator.
15. A control device of a content distribution network, applied to a second edge node, comprising: a processor and a transceiver;
the processor is used for providing access content according to the control of the first edge node;
the second edge node is a slave edge node of the first edge node, and the second edge node is determined by the first edge node according to a content access request and master-slave node information acquired from a CDN coordinator.
16. The apparatus of claim 15, wherein the transceiver is further configured to send a content list to the first edge node, wherein the first edge node selects the second edge node for control based on the content list.
17. The apparatus of claim 15, wherein the transceiver is further configured to send registration information to a CDN coordinator; and sending registration information to the first edge node.
18. The apparatus of claim 15, wherein the transceiver is further configured to receive registration information sent by the first edge node.
19. A control device of a content delivery network, applied to a CDN coordinator, comprising: a processor and a transceiver;
the transceiver is used for receiving registration information sent by at least two edge nodes;
the processor is used for determining master-slave node information according to the registration information;
the transceiver is further configured to send the master-slave node information to the at least two edge nodes;
the processor is further configured to instruct the slave edge node to send registration information to the master edge node.
20. The apparatus of claim 19, wherein the processor is further configured to re-determine the master edge node and the slave edge node when the master edge node fails, and to instruct the re-determined slave edge node to send registration information to the re-confirmed master edge node.
21. A communication device, comprising: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; it is characterized in that the method comprises the steps of,
the processor for reading a program in a memory to implement the steps in the method of any one of claims 1 to 4; or to carry out the steps of the method according to any one of claims 5 to 8; or to carry out the steps of the method according to any one of claims 9 to 10.
22. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 4; or to carry out the steps of the method according to any one of claims 5 to 8; or to carry out the steps of the method according to any one of claims 9 to 10.
CN201910112730.3A 2019-02-13 2019-02-13 Control method and device for content distribution network and computer readable storage medium Active CN111565207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910112730.3A CN111565207B (en) 2019-02-13 2019-02-13 Control method and device for content distribution network and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910112730.3A CN111565207B (en) 2019-02-13 2019-02-13 Control method and device for content distribution network and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111565207A CN111565207A (en) 2020-08-21
CN111565207B true CN111565207B (en) 2023-05-09

Family

ID=72072869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910112730.3A Active CN111565207B (en) 2019-02-13 2019-02-13 Control method and device for content distribution network and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111565207B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151512A (en) * 2018-09-12 2019-01-04 中国联合网络通信集团有限公司 The method and device of content is obtained in CDN network
EP3424198A1 (en) * 2016-03-01 2019-01-09 Telefonaktiebolaget LM Ericsson (publ) Content distribution and delivery optimization in a content delivery network (cdn)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860720B (en) * 2009-04-10 2015-05-20 中兴通讯股份有限公司 Content positioning method and content distribution network node
CN108111623A (en) * 2017-12-29 2018-06-01 北京奇虎科技有限公司 A kind of communication means and device based on content distributing network CDN

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3424198A1 (en) * 2016-03-01 2019-01-09 Telefonaktiebolaget LM Ericsson (publ) Content distribution and delivery optimization in a content delivery network (cdn)
CN109151512A (en) * 2018-09-12 2019-01-04 中国联合网络通信集团有限公司 The method and device of content is obtained in CDN network

Also Published As

Publication number Publication date
CN111565207A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN103581299B (en) Service scheduling method, apparatus and system
CN105472023B (en) A kind of method and device of direct distance input and output
KR20130010690A (en) Transmission device and receiving device and operation method thereof
CN104168140B (en) VTEP abnormal conditions processing method and processing devices
CN101147380A (en) Method and apparatus for efficiently expanding a P2P network
JP7345645B2 (en) A system that provides accurate communication delay guarantees for request responses to distributed services.
CN104348798A (en) Network assigning method and device, scheduling server, and system
CN101989923B (en) Method and system for registering computer integrated manufacturing (CIM) agency to management agency and management system
CN114039798B (en) Data transmission method and device and electronic equipment
US20190372825A1 (en) Communication apparatus, communication method, and recording medium
CN102868770A (en) Method, equipment and system for distributing interface
CN104113602A (en) Object name based Internet of Things device access management system and method
CN101237400A (en) Migration method for network additive storage service and network additional storage node
CN114285695B (en) Communication method, device, apparatus, system and storage medium
CN110365508A (en) The method and network function of virtual network function instantiation virtualize composer
US10992635B2 (en) Establishing connection between different overlay networks using edge application gateway
CN112770370B (en) Method and device for intelligent equipment to access network and intelligent equipment
CN103188144A (en) System and method for achieving distributed gateway intercommunication
CN111565207B (en) Control method and device for content distribution network and computer readable storage medium
CN103560937A (en) Data accessing method and entry server
CN109788075B (en) Private network system, data acquisition method and edge server
CN117041179A (en) Method, device and storage medium for opening computing power network
CN106506176B (en) A kind of tactful and charging regulation generation method and system
CN103870471A (en) Inquiring system, method and device of second-degree friends
CN112104680A (en) Method, device and equipment for determining edge application and storage medium

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