CN107864228B - Connection establishment method and system in content distribution network - Google Patents

Connection establishment method and system in content distribution network Download PDF

Info

Publication number
CN107864228B
CN107864228B CN201711407294.XA CN201711407294A CN107864228B CN 107864228 B CN107864228 B CN 107864228B CN 201711407294 A CN201711407294 A CN 201711407294A CN 107864228 B CN107864228 B CN 107864228B
Authority
CN
China
Prior art keywords
source
node
path
edge node
information
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
CN201711407294.XA
Other languages
Chinese (zh)
Other versions
CN107864228A (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201711407294.XA priority Critical patent/CN107864228B/en
Publication of CN107864228A publication Critical patent/CN107864228A/en
Application granted granted Critical
Publication of CN107864228B publication Critical patent/CN107864228B/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/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a system for establishing connection in a content distribution network, wherein the method comprises the following steps: downloading source returning path information from a computing center by an edge node, wherein the source returning path information is obtained by computing according to detection information fed back by each node by the computing center; the edge node receives an access request sent by a client, and determines a source returning path for transmitting the access request based on the access request and the source returning path information; when the edge node fails to establish connection with the adjacent node in the back source path, the edge node reselects the back source path according to the back source path information; the edge node attempts to establish a connection with a neighboring node in the re-selected back-to-source path. According to the technical scheme, the efficiency of data transmission between the client and the source station server can be improved.

Description

Connection establishment method and system in content distribution network
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and a system for establishing a connection in a content distribution network.
Background
Currently, in order to improve the efficiency of data transmission between a client and a server, the client and a source station server may be connected through a Content Delivery Network (CDN). Therefore, when the client initiates an access request to the source station server, the access request can be sent to the nearby edge node, then the optimal source returning path between the edge node and the source station server is obtained through path planning, and then data transmission can be carried out through the optimal source returning path.
At present, due to the influence of weak network environments such as operator access policy limitation, node bandwidth limitation, public network route convergence, and software and hardware resource faults of nodes themselves, various problems such as serious node packet loss, error code, timeout, RTT (Round-Trip Time) fluctuation and the like may occur in a CDN, so that the existing CDN has the following defects: if a node in the back-to-source path fails, it may cause the data to repeatedly attempt retransmission in the back-to-source path, thereby slowing down the user's request.
Disclosure of Invention
The application aims to provide a connection establishment method and a connection establishment system in a content distribution network, which can improve the data transmission efficiency between a client of a user and a source station server.
To achieve the above object, an aspect of the present application provides a connection establishment method in a content distribution network, where the method includes: downloading source returning path information from a computing center by an edge node, wherein the source returning path information is obtained by computing according to detection information fed back by each node by the computing center; the edge node receives an access request sent by a client, and determines a source returning path for transmitting the access request based on the access request and the source returning path information; when the edge node fails to establish connection with the adjacent node in the back source path, the edge node reselects the back source path according to the back source path information; the edge node attempts to establish a connection with a neighboring node in the re-selected back-to-source path.
In order to achieve the above object, another aspect of the present application further provides a connection establishment system in a content distribution network, the system including: client, edge node and computational center, wherein: the computing center is used for computing the back-source path information associated with the edge node according to the detection information fed back by each node in the content distribution network; the client is used for sending an access request to the edge node; the edge node is used for downloading the back source path information from the computing center; receiving an access request sent by the client, and determining a source returning path for transmitting the access request based on the access request and the source returning path information; when the edge node fails to establish connection with the adjacent node in the back-to-source path, the edge node is further configured to reselect the back-to-source path according to the back-to-source path information, and attempt to establish connection with the adjacent node in the reselected back-to-source path.
As can be seen from the above, according to the technical scheme provided by the application, the edge node may obtain the source return path information from the computing center, where the source return path information may include information of source return paths between the edge node and a plurality of different source station servers. Therefore, after the edge node receives the access request sent by the client, the optimal return path can be selected according to the source station server pointed by the access request. After determining the optimal back-source path, the edge node may attempt to establish a connection with a neighboring node in the back-source path. If the connection is failed to be established, the edge node can directly reselect another back-source path instead of repeatedly trying to establish the connection in the original back-source path. Therefore, the time consumed by repeatedly trying to establish the connection in the original back-source path can be saved, and the connection establishment efficiency is improved. In addition, after the connection is established between each node in the reselected back-to-source path, data transmission can be carried out through the reselected back-to-source path. When a data transmission fault occurs between nodes, the node which finds the fault can inform the edge node, so that the edge node can reselect a source returning path containing the same source returning node again and carry out data transmission according to the reselected source returning path. Therefore, the technical scheme provided by the application can save the time consumed by repeatedly trying to establish the connection in the original source returning path and save the time for trying to retransmit data in the original source returning path, so that the transmission efficiency of data between the client of the user and the source station server can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a connection establishment method in a content distribution network according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a first interaction of a content distribution network according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a neighboring node establishing a connection with a target node according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a second interaction with a content distribution network according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a connection establishment system in a content distribution network according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer terminal in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example one
Referring to fig. 1 and 2, the present application provides a connection establishment method in a content distribution network, including the following steps.
S1: and downloading source return path information from the computing center by the edge node, wherein the source return path information is obtained by computing according to the detection information fed back by each node by the computing center.
In this embodiment, the nodes in the CDN may be divided into edge nodes, transit nodes, and back-to-source nodes. The edge node may be a node performing data interaction with a client of a user, the back-to-source node may be a node connected to a source station server, and the transit node may be a node located between the edge node and the back-to-source node in a back-to-source path. In addition, "connection" in the connection establishment method in the content distribution network according to the present embodiment may include operations such as handshaking and communication between the nodes described above. The communication may be an action of receiving or sending a data packet.
In this embodiment, each node may send a probe packet to another adjacent node, so as to probe parameters affecting the network transmission speed and quality, such as the transmission delay and the packet loss rate, between the node and the other node. The parameters detected by the probe data packet can be used as probe information to be uploaded to the computing center. After the detection information corresponding to each node is collected, the computing center can compute a source return path from the edge node to the source station node. Then, a plurality of back source paths from the same edge node to the same source station server may be sequenced according to parameters such as total transmission delay/average transmission delay or total packet loss rate/average packet loss rate corresponding to the back source paths.
In this embodiment, the edge node may download the back-source path information associated with itself from the computing center in advance. And the back source path which is associated with the edge node and can represent the back source path information comprises the edge node. The source return path information downloaded by the edge node may include information of source return paths from the edge node to different source station servers. For example, the source return path information may include information of 5 source return paths. Where 3 back-to-source paths are from the edge node to source site server a and 2 additional back-to-source paths may be from the edge node to source site server B.
S3: and the edge node receives an access request sent by a client, and determines a source returning path for transmitting the access request based on the access request and the source returning path information.
In this embodiment, when a client initiates an access request to a source station server, the access request may reach a nearby edge node. The access request may include the IP address of the source station server, so that the edge node may determine the target source station server to which the access request is directed according to the IP address of the source station server included in the access request. Then, the edge node may extract information of a source return path to the target source station server from the downloaded source return path information. The extracted information of the back-source paths may represent a plurality of back-source paths, and the back-source paths are used as candidate back-source paths for the edge nodes to select. In order to improve the transmission efficiency of data, the edge node may use an optimal back-source path of the candidate back-source paths as a back-source path for transmitting the access request. Wherein the optimal back-source path may be the top-ranked path of the candidate back-source paths. The optimal back source path usually has the minimum transmission delay or the minimum packet loss rate. Of course, in an actual application scenario, the computing center may also sequence the source return paths based on other parameters that affect the transmission quality and speed, and the present application is not limited to sequencing the source return paths only according to the transmission delay and the packet loss rate.
S5: and when the edge node fails to establish connection with the adjacent node in the source return path, the edge node reselects the source return path according to the source return path information.
In this embodiment, after determining the back-to-source path, the nodes in the back-to-source path may sequentially establish a connection. In particular, the edge node may establish a connection with an adjacent node in the back-source path. The adjacent node may be a node adjacent to the edge node in front and back or left and right. When the edge node fails to establish a connection with an adjacent node in the back-to-source path, the edge node may discard the current back-to-source path and reselect the back-to-source path according to the back-to-source path information. When the back-source path is reselected, the edge node may remove the current back-source path from the candidate back-source paths extracted in step S3, and use an optimal back-source path of the remaining candidate back-source paths as the reselected back-source path. Of course, in an actual application scenario, the optimal back-source path in the remaining candidate back-source paths may also include a node with a previous connection failure, and then after the current back-source path is removed from the candidate back-source paths extracted in step S3, the back-source path including the node with the previous connection failure may be further removed from the remaining candidate back-source paths, and then the optimal back-source path is selected from the final remaining candidate back-source paths as the re-selected back-source path.
S7: the edge node attempts to establish a connection with a neighboring node in the re-selected back-to-source path.
In this embodiment, after reselecting the back-to-source path, the edge node may attempt to establish a connection with a neighboring node in the reselected back-to-source path. Similarly, if the connection cannot be established, the edge node may reselect back to the source path again until the connection can be established normally.
In this embodiment, in order to avoid that the edge node reselects back to the source path indefinitely, when the number of times the edge node attempts to establish the connection reaches a specified number of times threshold or the time length of the attempt to establish the connection reaches a specified time length threshold, information representing connection failure may be fed back to the client through the edge node, so as to end the access request of this time. Wherein the specified number of times threshold and the specified duration threshold may be constants set in advance.
In one embodiment, when the edge node successfully establishes a connection with a neighboring node, the edge node may transmit a packet to the neighboring node. Specifically, the edge node may encapsulate the access request and the information of the reselected back-to-source path into a request packet, and send the request packet to the neighboring node. The information of the reselected back-to-source path may include information of each node in the back-to-source path and a sequence number of each node in the back-to-source path. In an actual application scenario, the information of the access request and the information of the source return path may be respectively encapsulated into two data packets, and each data packet may be associated with a corresponding data packet type. Thus, by identifying the type of the data packet, the data packet of the access request and the data packet of the source return path information can be distinguished.
In this embodiment, after the neighboring node receives the request packet sent by the edge node, the data packet including the information of the reselected back-to-source path may be screened out by identifying the type of the data packet. In this way, the neighboring node can extract information of the reselected back-to-source path. From this information, the neighboring node can thus learn the next target node that needs to establish a connection. At this point, the neighboring node may attempt to establish a connection with the target node. Referring to fig. 3, if the connection is successfully established, the neighboring node may continue to send the request packet sent from the edge node to the target node, so that the target node continues to establish a connection with the next node, and thus continues to transmit the request packet. If the connection between the adjacent node and the target node fails to be established, the adjacent node can feed back failure information to the edge node. The failure information may be, for example, an error code characterizing the failure to establish the connection. In this way, the edge node may discard the current back-to-source path in response to the failure information, and reselect back-to-source path again according to the back-to-source path information. After reselecting the back-source path, the edge node may attempt to establish a connection with an adjacent node in the back-source path reselected again, and if the connection is successfully established, the edge node may send a request packet according to the above procedure.
Similarly, if the number of times of attempting to establish the connection by the edge node reaches a specified number of times threshold or the duration of attempting to establish the connection reaches a specified duration threshold, the edge node may feed back information representing connection failure to the client, so as to end the access request of this time.
In this embodiment, after all the adjacent nodes in the reselected back-to-source path are connected, the back-to-source node connected to the source station server may receive the request packet sent by the previous node. Meanwhile, the connection between the source node and the source station server can be normally established. Referring to fig. 4, at this time, the back-source node may decapsulate the received request packet, so as to extract the access request carried therein. After the access request is extracted, the back-source node may send the access request to the source station server, and feed back a confirmation data packet of an application layer to the edge node to inform the edge node that the source station server has received the access request of the client. At this time, after receiving the acknowledgement packet, the edge node may delete the locally stored access request.
In this embodiment, after receiving the access request, the source station server may send response data for the access request to the back source node. The response data may be, for example, page resources that the client needs to load. After receiving the response data, the back-source node may encapsulate the response data into a response data packet conforming to a transport layer transport protocol, and then feed back the response data packet to the edge node through a back-source path that has been previously established for connection. The response data packet may be sequentially forwarded by each node in the back-source path and then reach the edge node. After receiving the response packet, the edge node may decapsulate the response packet, thereby extracting response data therein. The edge node may provide the response data to the client, and may send an acknowledgement packet to the back-to-source node to inform the back-to-source node that the client has received the response data fed back by the source station server.
In this embodiment, in the process of transmitting the response packet, if the first node and the second node that are adjacent to each other in the back-to-source path and have completed connection establishment cause data transmission failure due to network fluctuation, at this time, the first node or the second node that finds the transmission failure may feed back transmission failure information to the edge node. In order to enable timely and normal retransmission of the response packet, the edge node may select the target return-to-source path again according to the return-to-source path information in response to the transmission failure information. It should be noted that, since the back-source node has already received the response data sent by the source station server at this time, in order to ensure normal transmission of the response data, the re-selected target back-source path and the previous back-source path should have the same back-source node. After the target back-to-source path is selected, a connection may be established between adjacent nodes, and after the connection is established, data transmission may be performed again through the target back-to-source path.
In this embodiment, when the session between the client and the source station server is ended, the edge node may receive a disconnection instruction sent by the client or the back-to-source node may receive a disconnection instruction sent by the source station server. In response to the received disconnection indication, the edge node or the back-source node may send a session end indication to other nodes in the current back-source path, so that the other nodes may disconnect from the adjacent node, and the session may end.
Example two
Referring to fig. 5, the present application further provides a connection establishment system in a content distribution network, the system including: client, edge node and computational center, wherein:
the computing center is used for computing the back-source path information associated with the edge node according to the detection information fed back by each node in the content distribution network;
the client is used for sending an access request to the edge node;
the edge node is used for downloading the back source path information from the computing center; receiving an access request sent by the client, and determining a source returning path for transmitting the access request based on the access request and the source returning path information;
when the edge node fails to establish connection with the adjacent node in the back-to-source path, the edge node is further configured to reselect the back-to-source path according to the back-to-source path information, and attempt to establish connection with the adjacent node in the reselected back-to-source path.
In this embodiment, when the edge node successfully establishes a connection with an adjacent node in the reselected back-to-source path, the edge node is further configured to encapsulate the access request and the information of the reselected back-to-source path into a request packet, and send the request packet to the adjacent node.
In this embodiment, the neighboring node is configured to extract the information of the reselected back-to-source path from the request packet, and determine a next target node that needs to establish a connection based on the information of the reselected back-to-source path;
if the connection between the adjacent node and the target node fails to be established, the adjacent node is also used for feeding back failure information to the edge node;
correspondingly, the edge node is further configured to reselect a source return path according to the source return path information in response to the failure information, and attempt to establish a connection with an adjacent node in the reselected source return path.
In this embodiment, the system further includes a source station server and a source returning node connected to the source station server, where the source station server and the source returning node are both located on the reselected source returning path;
after connection is established between adjacent nodes in the reselected back-to-source path, the back-to-source node is used for extracting the access request from a request data packet after receiving the request data packet sent by the previous node; and sending the access request to the source station server, and feeding back a confirmation data packet to the edge node, so that the edge node deletes the locally stored access request after receiving the confirmation data packet.
In this embodiment, in the process of transmitting data, if data transmission between a first node and a second node adjacent to the first node in the reselected back-to-source path fails, the edge node is further configured to receive transmission failure information fed back by the first node or the second node; responding to the transmission failure information, and selecting a target source returning path according to the source returning path information; wherein the target back-source path and the reselected back-source path have the same back-source node;
and after connection is established between adjacent nodes in the target source return path, data transmission is carried out again through the target source return path.
Referring to fig. 6, in the present application, the technical solution in the above embodiment can be applied to the computer terminal 10 shown in fig. 6. The computer terminal 10 may include one or more (only one shown) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 6 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
The memory 104 may be used to store software programs and modules of application software, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for embodiments of the system, reference may be made to the introduction of embodiments of the method described above in contrast to the explanation.
As can be seen from the above, according to the technical scheme provided by the application, the edge node may obtain the source return path information from the computing center, where the source return path information may include information of source return paths between the edge node and a plurality of different source station servers. Therefore, after the edge node receives the access request sent by the client, the optimal return path can be selected according to the source station server pointed by the access request. After determining the optimal back-source path, the edge node may attempt to establish a connection with a neighboring node in the back-source path. If the connection is failed to be established, the edge node can directly reselect another back-source path instead of repeatedly trying to establish the connection in the original back-source path. Therefore, the time consumed by repeatedly trying to establish the connection in the original back-source path can be saved, and the connection establishment efficiency is improved. In addition, after the connection is established between each node in the reselected back-to-source path, data transmission can be carried out through the reselected back-to-source path. When a data transmission fault occurs between nodes, the node which finds the fault can inform the edge node, so that the edge node can reselect a source returning path containing the same source returning node again and carry out data transmission according to the reselected source returning path. Therefore, the technical scheme provided by the application can save the time consumed by repeatedly trying to establish the connection in the original source returning path and save the time for trying to retransmit data in the original source returning path, so that the transmission efficiency of data between the client of the user and the source station server can be improved.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (14)

1. A method for connection establishment in a content distribution network, the method comprising:
downloading source returning path information from a computing center by an edge node, wherein the source returning path information is obtained by computing according to detection information fed back by each node by the computing center;
the edge node receives an access request sent by a client, and determines a source returning path for transmitting the access request based on the access request and the source returning path information;
when the edge node fails to establish connection with the adjacent node in the back source path, the edge node reselects the back source path according to the back source path information;
the edge node attempts to establish a connection with an adjacent node in the reselected back-to-source path;
wherein, for the first node and the second node adjacent to each other in the reselected back-to-source path after connection establishment is completed, in the process of data transmission, if data transmission between the first node and the second node fails, the method further includes:
the first node or the second node feeds back transmission failure information to the edge node;
the edge node responds to the transmission failure information and selects a target source returning path according to the source returning path information; wherein the target back-source path and the reselected back-source path have the same back-source node;
and after connection is established between adjacent nodes in the target source returning path, data transmission is carried out again through the target source returning path.
2. The method of claim 1, wherein determining a back-to-source path for transmitting the access request comprises:
the edge node determines a target source station server pointed by the access request and determines a candidate source returning path according to the source returning path information;
and taking the optimal back-source path in the candidate back-source paths as a back-source path for transmitting the access request.
3. The method of claim 2, wherein the edge node reselecting a back-to-source path based on the back-to-source path information comprises:
and the edge node removes the back-source path used for transmitting the access request from the candidate back-source paths, and takes the optimal back-source path in the remaining candidate back-source paths as the reselected back-source path.
4. The method of claim 1, further comprising:
and if the times of trying to establish the connection of the edge node reach a specified time threshold or the time of trying to establish the connection reaches a specified time threshold, the edge node feeds back information representing connection failure to the client.
5. The method of claim 1, further comprising:
and when the edge node successfully establishes connection with the adjacent node in the reselected back-to-source path, the edge node encapsulates the access request and the information of the reselected back-to-source path into a request data packet and sends the request data packet to the adjacent node.
6. The method of claim 5, further comprising:
the adjacent node extracts the information of the reselected back-to-source path from the request data packet, and determines a next target node needing to establish connection based on the information of the reselected back-to-source path;
if the connection between the adjacent node and the target node fails to be established, the adjacent node feeds back failure information to the edge node;
and the edge node responds to the failure information, reselects the source returning path according to the source returning path information, and tries to establish connection with the adjacent node in the newly reselected source returning path.
7. The method of claim 6, further comprising:
and if the times of trying to establish the connection of the edge node reach a specified time threshold or the time of trying to establish the connection reaches a specified time threshold, the edge node feeds back information representing connection failure to the client.
8. The method of claim 1, wherein after connections are established between adjacent nodes in the reselected back-to-source path, the method further comprises:
after a source returning node connected with a source station server receives a request data packet sent by a previous node, the source returning node extracts the access request from the request data packet;
and the back source node sends the access request to the source station server and feeds back a confirmation data packet to the edge node, so that the edge node deletes the locally stored access request after receiving the confirmation data packet.
9. The method of claim 8, further comprising:
after receiving the access request, the source station server sends response data aiming at the access request to the back source node;
after the source returning node packages the response data into a response data packet, feeding back the response data packet to the edge node through the reselected source returning path;
after receiving the response data packet, the edge node decapsulates the response data packet into the response data;
and the edge node provides the response data to the client and sends a confirmation data packet to the back source node.
10. The method of claim 8, further comprising:
when the session between the client and the source station server is ended, the edge node receives a disconnection instruction sent by the client or the back-to-source node receives a disconnection instruction sent by the source station server;
in response to receiving a disconnect indication, the edge node or the back-to-source node sends an end-of-session indication to other nodes in the re-selected back-to-source path.
11. A connection establishment system in a content distribution network, the system comprising: client, edge node and computational center, wherein:
the computing center is used for computing the back-source path information associated with the edge node according to the detection information fed back by each node in the content distribution network;
the client is used for sending an access request to the edge node;
the edge node is used for downloading the back source path information from the computing center; receiving an access request sent by the client, and determining a source returning path for transmitting the access request based on the access request and the source returning path information;
when the edge node fails to establish connection with the adjacent node in the back source path, the edge node is further used for reselecting the back source path according to the back source path information and trying to establish connection with the adjacent node in the reselected back source path;
for a first node and a second node which are adjacent to each other in the reselected back-to-source path and have completed connection establishment, in a data transmission process, if data transmission between the first node and the second node fails, the edge node is further configured to receive transmission failure information fed back by the first node or the second node; responding to the transmission failure information, and selecting a target source returning path according to the source returning path information; wherein the target back-source path and the reselected back-source path have the same back-source node;
and after connection is established between adjacent nodes in the target source return path, data transmission is carried out again through the target source return path.
12. The system according to claim 11, wherein when the edge node successfully establishes a connection with an adjacent node in the re-selected back-to-source path, the edge node is further configured to encapsulate the access request and the information of the re-selected back-to-source path into a request packet, and send the request packet to the adjacent node.
13. The system according to claim 12, wherein the neighboring node is configured to extract the information of the reselected back-to-source path from the request packet, and determine a next target node that needs to establish a connection based on the information of the reselected back-to-source path;
if the connection between the adjacent node and the target node fails to be established, the adjacent node is also used for feeding back failure information to the edge node;
correspondingly, the edge node is further configured to reselect a source return path according to the source return path information in response to the failure information, and attempt to establish a connection with an adjacent node in the reselected source return path.
14. The system of claim 11, further comprising a source server and a back-source node connected to the source server, wherein the source server and the back-source node are both on the re-selected back-source path;
after connection is established between adjacent nodes in the reselected back-to-source path, the back-to-source node is used for extracting the access request from a request data packet after receiving the request data packet sent by the previous node; and sending the access request to the source station server, and feeding back a confirmation data packet to the edge node, so that the edge node deletes the locally stored access request after receiving the confirmation data packet.
CN201711407294.XA 2017-12-22 2017-12-22 Connection establishment method and system in content distribution network Active CN107864228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711407294.XA CN107864228B (en) 2017-12-22 2017-12-22 Connection establishment method and system in content distribution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711407294.XA CN107864228B (en) 2017-12-22 2017-12-22 Connection establishment method and system in content distribution network

Publications (2)

Publication Number Publication Date
CN107864228A CN107864228A (en) 2018-03-30
CN107864228B true CN107864228B (en) 2020-11-27

Family

ID=61707113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711407294.XA Active CN107864228B (en) 2017-12-22 2017-12-22 Connection establishment method and system in content distribution network

Country Status (1)

Country Link
CN (1) CN107864228B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108429682A (en) * 2018-02-26 2018-08-21 湖南科技学院 A kind of optimization method and system of network transmission link
CN110392020B (en) * 2018-04-18 2021-05-07 网宿科技股份有限公司 Streaming media resource transmission method and system
CN109104309B (en) * 2018-08-01 2021-12-21 网宿科技股份有限公司 Edge server management system and method of CDN (content delivery network)
CN110875941A (en) * 2018-09-03 2020-03-10 阿里巴巴集团控股有限公司 Source station access flow adjusting method and device, electronic device and storage device
CN109450991A (en) * 2018-10-19 2019-03-08 网宿科技股份有限公司 Data transmission acceleration method, relevant device and acceleration system based on mobile application
CN111181849B (en) * 2018-11-09 2022-04-15 北京嘀嘀无限科技发展有限公司 Return source path determining method, determining device, computer equipment and storage medium
CN111628911B (en) * 2020-05-27 2021-10-15 北京金山云网络技术有限公司 CDN back source abnormity testing method and device and terminal equipment
CN113810293B (en) * 2020-06-15 2023-01-20 北京金山云网络技术有限公司 Network preferred agent method, device, electronic equipment, server and storage medium
CN113300955B (en) * 2020-12-16 2023-04-18 阿里巴巴集团控股有限公司 Method, system and equipment for determining paths between nodes in content distribution network
CN113542058B (en) * 2021-06-25 2022-12-09 网宿科技股份有限公司 Data source returning method, server and storage medium
CN114500340B (en) * 2021-12-23 2023-08-04 天翼云科技有限公司 Intelligent scheduling distributed path calculation method and system
CN114448871B (en) * 2021-12-23 2023-11-03 天翼云科技有限公司 Data feedback routing method and system for CDN
CN115277539A (en) * 2022-07-29 2022-11-01 天翼云科技有限公司 Data transmission method, routing cluster and edge node

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192959B (en) * 2006-11-28 2011-04-20 中兴通讯股份有限公司 A recovery method for multicast service connection in automatic switching optical network
CN101207537A (en) * 2006-12-22 2008-06-25 中兴通讯股份有限公司 Method for searching stabilizing path in wireless self-organizing network
CN102075360A (en) * 2011-01-19 2011-05-25 中国人民解放军信息工程大学 Aggregation equivalence class-based network fault distributed processing method
CN105933226A (en) * 2016-04-20 2016-09-07 乐视控股(北京)有限公司 Content distributing method and system
WO2018112877A1 (en) * 2016-12-23 2018-06-28 深圳前海达闼云端智能科技有限公司 Path calculating and access request distributing methods, devices and systems
CN107317879B (en) * 2017-08-02 2019-07-05 网宿科技股份有限公司 A kind of distribution method and system of user's request

Also Published As

Publication number Publication date
CN107864228A (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN107864228B (en) Connection establishment method and system in content distribution network
CN107925629B (en) Method and device for sending data message in IPv6 network
CN110999257B (en) Delivery method selection for delivery of server notifications
CN106612284B (en) Streaming data transmission method and device
US9998298B2 (en) Data transmission method, apparatus, and computer storage medium
CN106961426B (en) Communication method and device of intelligent equipment
WO2017088815A1 (en) Status detection method and wireless network node
CN111786867B (en) Data transmission method and server
GB2519491A (en) Method and system for increasing data flow transmission
CN111988212B (en) Message transmission method and related device
CN112165447A (en) WAF equipment-based network security monitoring method, system and electronic device
CN108429682A (en) A kind of optimization method and system of network transmission link
CN105262836A (en) Information push method of server and push information reception method of client
CN111935108B (en) Cloud data security access control method and device, electronic device and storage medium
US20170171698A1 (en) Near Field Discovery Method, User Equipment, and Storage Medium
US10136375B2 (en) Method for service data management, apparatus, and system
CN111935763A (en) Method and network system for improving data transmission reliability in wireless grid network
CN107222403A (en) A kind of data transmission method, system and electronic equipment
EP3672189B1 (en) Data transmission method, device and system
CN109818901B (en) Method, device and system for determining message header compression mechanism
CN107104892A (en) The method and apparatus of network acceleration
CN105049543A (en) P2P communication system and method crossing asymmetric NAT between intelligent routers
CN108574615B (en) Content transmission method, device and system based on multipath MPTCP
CN113556291B (en) Flow tracking method, device, equipment and computer readable medium
CN114125023B (en) Method and device for determining data connection, storage medium and electronic 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