CN107864228A - Connection method for building up and system in a kind of content distributing network - Google Patents

Connection method for building up and system in a kind of content distributing network Download PDF

Info

Publication number
CN107864228A
CN107864228A CN201711407294.XA CN201711407294A CN107864228A CN 107864228 A CN107864228 A CN 107864228A CN 201711407294 A CN201711407294 A CN 201711407294A CN 107864228 A CN107864228 A CN 107864228A
Authority
CN
China
Prior art keywords
node
source path
information
source
fringe node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711407294.XA
Other languages
Chinese (zh)
Other versions
CN107864228B (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

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

Abstract

The invention discloses the connection method for building up in a kind of content distributing network and system, wherein, methods described includes:Fringe node downloads back source path information from the center of calculating, and described time source path information is calculated by the calculating center according to the detection information of each node feeding back;The fringe node receives the access request that client is sent, and is based on the access request and described time source path information, it is determined that time source path for transmitting the access request;When the fringe node establishes connection failure with the adjacent node in described time source path, the fringe node reselects back source path according to the source path information of returning;The fringe node and the adjacent node returned in source path reselected are attempted to establish connection.The technical scheme that the application provides, it is possible to increase the efficiency of data transfer between client and source station server.

Description

Connection method for building up and system in a kind of content distributing network
Technical field
The present invention relates to Internet technical field, connection method for building up in more particularly to a kind of content distributing network and it is System.
Background technology
Currently, in order to improve the efficiency of transmission of data between client and server, content distributing network can be passed through (Content Delivery Network, CDN) connects client and source station server.So, when client services to source station When device initiates access request, the access request can be sent to fringe node nearby, and then passage path is planned to obtain again Optimal time source path between fringe node and source station server, subsequently it can carry out data to pass through the optimal source path that returns Transmission.
At present, due to being limited by operator's access strategy, node bandwidth limitation, public network routing convergence and node in itself The weak net environment such as software and hardware resources failure influence, it is possible that node packet loss is serious, error code, time-out, RTT in CDN The various problems such as (Round-Trip Time, round-trip delay) fluctuation, so that existing CDN has following defect:If return Node in source path breaks down, and data can be caused to attempt to transmit again in this time source path repeatedly, so as to cause user Request it is slack-off.
The content of the invention
The purpose of the application is in the connection method for building up and system in a kind of content distributing network is provided, it is possible to increase uses The efficiency of transmission of data between the client and source station server at family.
To achieve the above object, on the one hand the application provides the connection method for building up in a kind of content distributing network, described Method includes:Fringe node downloads back source path information from the center of calculating, and described time source path information is by the calculating Central Radical It is calculated according to the detection information of each node feeding back;The fringe node receives the access request that client is sent, and is based on The access request and described time source path information, it is determined that time source path for transmitting the access request;When the side When edge node establishes connection failure with the adjacent node in described time source path, the fringe node is believed according to the source path that returns Breath reselects back source path;The fringe node and the adjacent node returned in source path reselected are attempted to establish connection.
To achieve the above object, system is established in the connection that on the other hand the application is also provided in a kind of content distributing network, The system includes:Client, fringe node and calculating center, wherein:The calculating center is used for according to the content point The detection information of each node feeding back calculates time source path information associated with the fringe node in hairnet network;The client Hold for sending access request to the fringe node;The fringe node is used to download the Hui Yuanlu from the calculating center Footpath information;The access request that the client is sent is received, and is based on the access request and described time source path information, really The fixed time source path for being used to transmit the access request;Wherein, when the fringe node and the adjacent segments in described time source path Point is when establishing connection failure, and the fringe node is additionally operable to reselect back source path according to the source path information of returning, and with The adjacent node returned in source path reselected is attempted to establish connection.
Therefore the technical scheme that the application provides, first fringe node can go out get Hui Yuan from calculating center Routing information, it can include in this time source path information returning source path between fringe node and multiple different source station servers Information.So, can be to be pointed to according to the access request after fringe node receives the access request that client is sent Source station server, select optimal time source path.After optimal time source path is determined, fringe node can be attempted and this time Adjacent node in source path establishes connection.If establish connection failure, then fringe node can directly reselect another Bar returns source path, rather than the foundation connection that made repeated attempts in original time source path.So, can save in original Hui Yuanlu Made repeated attempts in footpath and establish the connection spent time, so as to improve the efficiency that connection is established.In addition, as the Hui Yuan reselected After establishing connection between each node in path, it can be carried out data transmission with the source path that returns reselected by this.When When occurring data transmission failure between node, fringe node can be notified by finding the node of failure, and fringe node is so as to again It is secondary to reselect a time source path for including identical time source node, and data biography is carried out according to the source path that returns reselected It is defeated.Therefore the technical scheme that the application provides, the foundation connection that makes repeated attempts can be saved in original time source path and consumed The time taken, and save and the time for retransmitting data is attempted in original time source path, so as to improve the client of user The efficiency of transmission of data between the server of source station.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the connection method for building up flow chart in content distributing network in the embodiment of the present invention one;
Fig. 2 is the first interaction schematic diagram of content distributing network in the embodiment of the present invention one;
Fig. 3 is the schematic diagram that adjacent node establishes connection with destination node in the embodiment of the present invention one;
Fig. 4 is the second interaction schematic diagram of content distributing network in the embodiment of the present invention one;
Fig. 5 is the structural representation that system is established in connection in the embodiment of the present invention two in content distributing network;
Fig. 6 is the structural representation of Computer terminal of the embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
Fig. 1 and Fig. 2 are referred to, the application provides the connection method for building up in a kind of content distributing network, methods described bag Include following steps.
S1:Fringe node downloads back source path information from the center of calculating, and described time source path information is by the calculating center It is calculated according to the detection information of each node feeding back.
In the present embodiment, the node in CDN can be divided into fringe node, transit node and time source node.Its In, the fringe node can be the node that data interaction is carried out with the client of user, and described time source node can be and source The connected node of site server, the transit node can then be back to be located at the fringe node and the Hui Yuanjie in source path Node between point.In addition, " connection " that connects in method for building up in the content distributing network of present embodiment, can include Shaking hands between above-mentioned node and the action such as communicate.Communication can be reception or the action for sending packet.
In the present embodiment, each node can send probe data packet to adjacent other nodes, be detected with this Propagation delay time and packet loss between other nodes etc. influence the parameter of network transfer speeds and quality.Above by detection number The parameter detected according to bag can be to be uploaded to calculating center as detection information.The calculating center is being collected into each node After corresponding detection information, source path can be returned to calculate from fringe node to source station node.Then can be according to Hui Yuanlu The parameter such as overall transmission delay/mean transit delay corresponding to footpath or total packet loss/average packet loss ratio, to from same edge section Point is ranked up to a plurality of time source path between same source station server.
In the present embodiment, fringe node can download the return source path associated with itself from the center of calculating in advance and believe Breath.Wherein, the fringe node is included in time source path that can be represented back source path information and represent associated with fringe node. What fringe node was downloaded, which returns in source path information, can be included from the fringe node, arrive at returning for different source station servers The information of source path.For example, 5 information for returning source path can be included in described time source path information.Wherein 3 are returned source path It is from the fringe node to source station server A, it can be from the fringe node to source station server B that 2, which are returned source path, in addition.
S3:The fringe node receives the access request that client is sent, and is based on the access request and described time Source path information, it is determined that time source path for transmitting the access request.
In the present embodiment, when client initiates access request to source station server, the access request can reach Fringe node nearby.The IP address of the source station server can be included in the access request, so, fringe node is according to this The IP address of the source station server included in access request, it may thereby determine that the target source station service that the access request is pointed to Device.Then, the fringe node can extract returning for the target source site server from time source path information of download The information of source path.Wherein, the information for returning source path extracted can represent a plurality of time source path, and this plurality of time source path is just Source path is returned as being available for fringe node to carry out the candidate of selection.In order to improve the efficiency of transmission of data, fringe node can incite somebody to action The optimal time source path that the candidate is returned in source path is as time source path for transmitting the access request.Wherein, it is described Optimal time source path can be that candidate goes back in source path most forward path of sorting.The optimal time source path is generally configured with minimum Propagation delay time or the packet loss for possessing minimum.Certainly, in practical application scene, calculating center is also based on other influences The parameter of transmission quality and speed is returned source path to each bar and is ranked up, and the application is not limited to according only to propagation delay time and lost Bag rate carries out back the sequence of source path.
S5:When the fringe node establishes connection failure with the adjacent node in described time source path, the edge section Point reselects back source path according to the source path information of returning.
In the present embodiment, after source path is determined back, node in this time source path can be to establish successively Connection.Specifically, the fringe node can be established with the adjacent node in described time source path and connected.Wherein, it is described adjacent Node can be and a node adjacent or adjacent left and right before and after the fringe node.When the fringe node and described time When adjacent node in source path establishes connection failure, the fringe node can give up current time source path, and according to institute State back source path information and reselect back source path.When reselecting back source path, the fringe node can will be current Return the candidate that is extracted from step S3 of source path and return in source path and remove, and optimal time that remaining candidate is returned in source path Source path returns source path as what is reselected.Certainly, in practical application scene, remaining candidate returns optimal in source path The node of connecting fault may also be had comprising before by returning source path, then be extracted by the current source path that returns from step S3 The candidate gone out is returned in source path remove after, can further return in source path and continue before removal includes from remaining candidate The node of connecting fault be present returns source path, is then returned again from final remaining candidate in source path and selects optimal Hui Yuanlu Footpath, source path is returned as what is reselected.
S7:The fringe node and the adjacent node returned in source path reselected are attempted to establish connection.
In the present embodiment, after time source path has been reselected, the fringe node can be with reselecting The adjacent node returned in source path is attempted to establish connection.Similarly, if connection still can not be established, then fringe node can be again It is secondary to reselect back source path, until connection can be established normally.
In the present embodiment, can be in the edge section in order to avoid fringe node infinitely reselects back source path The number that point attempts to establish connection reaches predetermined number of times threshold value or attempts to establish the duration of connection when reaching specified duration threshold value, The information of connection failure is characterized to the client feedback by the fringe node, so as to terminate this access request.Its In, the predetermined number of times threshold value and the specified duration threshold value can be the constants pre-set.
In one embodiment, when the fringe node is successfully established with adjacent node to be connected, the fringe node Can be with to the adjacent node transmission packet.Specifically, fringe node described can select the access request and again It is request data package that selects, which returns the Information encapsulation of source path, and the request data package is sent to the adjacent node.Its In, the information of each node in this time source path can be included in the information for returning source path reselected, and it is each Node sequence number residing in source path is returned.In practical application scene, the information of access request and time source path can be distinguished Two packets are encapsulated as, each packet can associate corresponding type of data packet.So, the class of identification data bag is passed through Type, can with distinguish the packet of access request and return source path information packet.
In the present embodiment, can be with after the adjacent node receives the request data package that fringe node is sent By way of identification data Packet type, the packet for including the information for returning source path reselected is filtered out.So, it is described Adjacent node can be to extract the information for returning source path reselected.From the information, the adjacent node so as to Next destination node for needing to establish connection can be known.Now, the adjacent node can be attempted and the destination node Establish connection.If referring to Fig. 3, it is successfully established connection, then the request that the adjacent node can be so that fringe node to be sent Packet continues to be sent to the destination node, to cause the destination node continues to establish with next node to connect, and with This continues to transmit request data package.If the adjacent node establishes connection failure with the destination node, then the adjacent segments Point can be with to the fringe node feeding back unsuccessful information.The failure information for example can be to characterize the mistake for establishing connection failure Error code.So, the fringe node can give up current time source path in response to the failure information, and according to described time Source path information reselects back source path again.After source path is reselected back, fringe node can with again again The adjacent node returned in source path of selection is attempted to establish connection, if establishing successful connection, can be sent out according to above-mentioned flow Send request data package.
Similarly, if the number that the fringe node attempts to establish connection reaches predetermined number of times threshold value or attempts the company of foundation When the duration connect reaches specified duration threshold value, the fringe node can characterize the letter of connection failure to the client feedback Breath, to terminate this access request.
In the present embodiment, if after establishing connection between node adjacent in time source path reselected, then The source node that returns being connected with source station server can be to receive the request data package that a upper node is sent.Meanwhile Hui Yuanjie Connection can also be normally established between point and source station server.Referring to Fig. 4, now, returning source node can ask what is received Packet is asked to be decapsulated, so as to extract the access request wherein carried.After the access request is extracted, the Hui Yuan Node can so that the access request is sent to the source station server, and to the fringe node feed back application layer confirmation Packet, to inform that source station server described in the fringe node has been received by the access request of client.Now, the side After edge node receives the confirmation packet, the access request being locally stored can be deleted.
In the present embodiment, can be to described time source node after the source station server receives the access request Send the response data for the access request.The response data for example can be the page money that client needs to load Source.After described time source node receives the response data, the response data can be encapsulated as meeting transport layer transmission association After the response data packet of view, the source path that returns established by having completed connection before feeds back the response to the fringe node Packet.After the response data packet can be forwarded successively by each node in time source path, reach at the fringe node.Institute Fringe node is stated after the response data packet is received, the response data packet can be decapsulated, so as to extract Response data therein.The fringe node can provide the response data to the client, while can be to described time Source node, which is sent, confirms packet, to inform the sound for returning client described in source node and having been received by source station server feedback Answer data.
In the present embodiment, during transmission response packet, if having completed time source path that connection is established In adjacent first node and section point data transmission fails are caused due to network fluctuation, now, find bust this First node or section point can be to the fringe node feedback transmission failure informations.Passed in order to again normal in time Defeated response data packet, the fringe node can be in response to the bust this information, again according to described time source path information Selection target returns source path.It should be noted that the response for having been received by source station server due to now returning source node and sending Data, then in order to ensure the normal transmission of response data, the target reselected returns source path and Hui Yuanlu before Footpath should possess identical and return source node., can be first between adjacent node after it have selected the target and return source path Connection is established, after foundation is connected, data transfer can be re-started to return source path by the target.
In the present embodiment, when this conversation end of client and source station server, the fringe node The connection sent with receiving the client, which disconnects instruction or described time source node, to be sent out with receiving the source station server The connection come disconnects instruction.Instruction is disconnected in response to the connection that receives, and the fringe node or described time source node can be with Conversation end instruction is sent to the current other nodes returned in source path, so, other nodes can be with disconnection and adjacent segments Connection between point, this session is so as to terminating.
Embodiment two
Referring to Fig. 5, system is established in the connection that the application is also provided in a kind of content distributing network, the system includes: Client, fringe node and calculating center, wherein:
The calculating center is used to be calculated according to the detection information of each node feeding back in the content distributing network and institute State the associated time source path information of fringe node;
The client is used to send access request to the fringe node;
The fringe node is used to download described time source path information from the calculating center;The client is received to send Access request, and the access request and described time source path information are based on, it is determined that for transmitting the access request Return source path;
Wherein, when the fringe node establishes connection failure with the adjacent node in described time source path, the edge Node is additionally operable to reselect back source path according to the source path information of returning, and adjacent in time source path with reselecting Node is attempted to establish connection.
In the present embodiment, when the fringe node and the adjacent node success returned in source path reselected When establishing connection, the fringe node is additionally operable to seal the access request and the information for returning source path reselected Fill as request data package, and the request data package is sent to the adjacent node.
In the present embodiment, what the adjacent node was used to reselect described in extraction from the request data package returns The information of source path, and next target section for needing to establish connection is determined based on the information for returning source path reselected Point;
Wherein, if the adjacent node establishes connection failure with the destination node, the adjacent node is additionally operable to institute State fringe node feeding back unsuccessful information;
Correspondingly, the fringe node is additionally operable in response to the failure information, according to described time source path information again Source path is reselected back, and attempts to establish with the adjacent node returned in source path reselected again and connects.
In the present embodiment, the system also includes source station server and the Hui Yuan being connected with the source station server Node, the source station server and described time source node are on time source path reselected;
Wherein, after establishing connection between node adjacent in time source path reselected, the Hui Yuanjie Point is used for after receiving the request data package that a node is sent, and the access request is extracted from the request data package; The access request is sent to the source station server, and to the fringe node feedback acknowledgment packet, it is described to cause After fringe node receives the confirmation packet, the access request being locally stored is deleted.
In the present embodiment, during data are transmitted, if it is described reselect return adjacent the in source path Between one node and section point during data transmission fails, the fringe node is additionally operable to receive the first node or described The bust this information of section point feedback;In response to the bust this information, mesh is selected according to described time source path information Mark back source path;Wherein, the target returns source path and the source path that returns reselected possesses identical time source node;
Wherein, returned in the target between node adjacent in source path after establishing connection, pass through the target Hui Yuan Path re-starts data transfer.
Referring to Fig. 6, in this application, the technical scheme in above-described embodiment can apply to calculating as shown in Figure 6 In machine terminal 10.Terminal 10 can include one or more (one is only shown in figure) (processors 102 of processor 102 Micro-processor MCV or PLD FPGA etc. processing unit can be included but is not limited to), depositing for data storage Reservoir 104 and the transport module 106 for communication function.It will appreciated by the skilled person that the knot shown in Fig. 6 Structure is only to illustrate, and it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal 10, which may also include, compares Fig. 6 Shown in more either less components or there is the configuration different from shown in Fig. 6.
Memory 104 can be used for the software program and module of storage application software, and processor 102 is stored in by operation Software program and module in memory 104, so as to perform various function application and data processing.Memory 104 can wrap Include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or Other non-volatile solid state memories.In some instances, memory 104 can further comprise long-range relative to processor 102 The memory of setting, these remote memories can pass through network connection to terminal 10.The example of above-mentioned network includes But it is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 10 provide.In an example, transmitting device 106 is fitted including a network Orchestration (Network Interface Controller, NIC), its can be connected by base station with other network equipments so as to Internet is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, its For wirelessly being communicated with internet.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Each embodiment in this specification is described by the way of progressive, identical similar between each embodiment Part mutually referring to what each embodiment stressed is the difference with other embodiment.Especially, pin For the embodiment of system, the introduction control for being referred to the embodiment of preceding method is explained.
Therefore the technical scheme that the application provides, first fringe node can go out get Hui Yuan from calculating center Routing information, it can include in this time source path information returning source path between fringe node and multiple different source station servers Information.So, can be to be pointed to according to the access request after fringe node receives the access request that client is sent Source station server, select optimal time source path.After optimal time source path is determined, fringe node can be attempted and this time Adjacent node in source path establishes connection.If establish connection failure, then fringe node can directly reselect another Bar returns source path, rather than the foundation connection that made repeated attempts in original time source path.So, can save in original Hui Yuanlu Made repeated attempts in footpath and establish the connection spent time, so as to improve the efficiency that connection is established.In addition, as the Hui Yuan reselected After establishing connection between each node in path, it can be carried out data transmission with the source path that returns reselected by this.When When occurring data transmission failure between node, fringe node can be notified by finding the node of failure, and fringe node is so as to again It is secondary to reselect a time source path for including identical time source node, and data biography is carried out according to the source path that returns reselected It is defeated.Therefore the technical scheme that the application provides, the foundation connection that makes repeated attempts can be saved in original time source path and consumed The time taken, and save and the time for retransmitting data is attempted in original time source path, so as to improve the client of user The efficiency of transmission of data between the server of source station.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (16)

1. the connection method for building up in a kind of content distributing network, it is characterised in that methods described includes:
Fringe node downloads back source path information from the center of calculating, and described time source path information is by the calculating center according to each The detection information of node feeding back is calculated;
The fringe node receives the access request that client is sent, and based on the access request and described time source path letter Breath, it is determined that time source path for transmitting the access request;
When the fringe node establishes connection failure with the adjacent node in described time source path, the fringe node is according to institute State back source path information and reselect back source path;
The fringe node and the adjacent node returned in source path reselected are attempted to establish connection.
2. according to the method for claim 1, it is characterised in that it is determined that time source path bag for transmitting the access request Include:
The fringe node determines the target source site server that the access request is pointed to, and according to described time source path information, Determine that candidate returns source path;
Using the optimal time source path that the candidate is returned in source path as time source path for transmitting the access request.
3. according to the method for claim 2, it is characterised in that the fringe node returns source path information again according to described Source path is selected back to include:
Time source path for transmitting the access request is returned in source path and removed by the fringe node from the candidate, And return source path using the optimal time source path that remaining candidate is returned in source path as what is reselected.
4. according to the method for claim 1, it is characterised in that methods described also includes:
If the fringe node attempt to establish connection number reach predetermined number of times threshold value or attempt establish connection when be up to During to specified duration threshold value, the fringe node characterizes the information of connection failure to the client feedback.
5. according to the method for claim 1, it is characterised in that methods described also includes:
When the fringe node is successfully established with the adjacent node returned in source path reselected to be connected, the edge The access request and the Information encapsulation for returning source path reselected are request data package by node, and described will be asked Packet is asked to send to the adjacent node.
6. according to the method for claim 5, it is characterised in that methods described also includes:
The adjacent node extracted from the request data package described in the information for returning source path that reselects, and based on described The information for returning source path reselected determines next destination node for needing to establish connection;
If the adjacent node establishes connection failure with the destination node, the adjacent node feeds back to the fringe node to be lost Lose information;
The fringe node reselects back source path in response to the failure information again according to described time source path information, And attempt to establish connection with the adjacent node returned in source path reselected again.
7. according to the method for claim 6, it is characterised in that methods described also includes:
If the fringe node attempt to establish connection number reach predetermined number of times threshold value or attempt establish connection when be up to During to specified duration threshold value, the fringe node characterizes the information of connection failure to the client feedback.
8. according to the method for claim 1, it is characterised in that the adjacent node in time source path reselected Between establish connection after, methods described also includes:
After time source node being connected with source station server receives the request data package that a upper node is sent, described time source node The access request is extracted from the request data package;
Described time source node sends the access request to the source station server, and to the fringe node feedback acknowledgment number According to bag, after causing the fringe node to receive the confirmation packet, the access request being locally stored is deleted.
9. according to the method for claim 8, it is characterised in that methods described also includes:
After the source station server receives the access request, the sound for the access request is sent to described time source node Answer data;
After described time the response data is encapsulated as response data packet by source node, by it is described reselect return source path to The fringe node feeds back the response data packet;
After the fringe node receives the response data packet, the response data packet is descapsulated into the response data;
The fringe node provides the response data to the client, and is sent to described time source node and confirm packet.
10. method according to claim 8 or claim 9, it is characterised in that during data are transmitted, if described select again In time source path selected between adjacent first node and section point during data transmission fails, methods described also includes:
The first node or the section point are to the fringe node feedback transmission failure information;
The fringe node returns source path in response to the bust this information according to described time source path information selection target; Wherein, the target returns source path and the source path that returns reselected possesses identical time source node;
Returned in the target between node adjacent in source path after establishing connection, source path is returned by the target and entered again Row data transfer.
11. according to the method for claim 8, it is characterised in that methods described also includes:
When this conversation end of the client and the source station server, the fringe node receives the client hair The connection come disconnects instruction or described time source node receives the connection that the source station server is sent and disconnect instruction;
Instruction, the fringe node or described time source node are disconnected to time reselected in response to the connection received Other nodes in source path send conversation end instruction.
12. system is established in the connection in a kind of content distributing network, it is characterised in that the system includes:Client, edge section Point and calculating center, wherein:
The calculating center is used to be calculated and the side according to the detection information of each node feeding back in the content distributing network The associated time source path information of edge node;
The client is used to send access request to the fringe node;
The fringe node is used to download described time source path information from the calculating center;Receive the visit that the client is sent Request is asked, and is based on the access request and described time source path information, it is determined that the Hui Yuan for transmitting the access request Path;
Wherein, when the fringe node establishes connection failure with the adjacent node in described time source path, the fringe node It is additionally operable to reselect back source path, and the adjacent node returned in source path with reselecting according to the source path information of returning Attempt to establish connection.
13. system according to claim 12, it is characterised in that when the fringe node and the Hui Yuan reselected When adjacent node in path is successfully established connection, the fringe node is additionally operable to the access request and described selected again It is request data package that selects, which returns the Information encapsulation of source path, and the request data package is sent to the adjacent node.
14. system according to claim 13, it is characterised in that the adjacent node is used for from the request data package Reselected described in extraction return source path information, and based on it is described reselect return source path information determine it is next Need to establish the destination node connected;
Wherein, if the adjacent node establishes connection failure with the destination node, the adjacent node is additionally operable to the side Edge node feeding back failure information;
Correspondingly, the fringe node is additionally operable in response to the failure information, according to described time source path information again again Source path is selected back, and attempts to establish with the adjacent node returned in source path reselected again and connects.
15. system according to claim 12, it is characterised in that the system also include source station server and with it is described What source station server was connected returns source node, and the source station server and described time source node are in the Hui Yuan reselected On path;
Wherein, after establishing connection between node adjacent in time source path reselected, described time source node is used After the request data package that a upper node is sent is received, the access request is extracted from the request data package;By institute Access request is stated to send to the source station server, and to the fringe node feedback acknowledgment packet, to cause the edge After node receives the confirmation packet, the access request being locally stored is deleted.
16. system according to claim 15, it is characterised in that during data are transmitted, if described reselect Return in source path between adjacent first node and section point during data transmission fails, the fringe node is additionally operable to receive The bust this information of the first node or section point feedback;In response to the bust this information, according to institute State back source path information selection target and return source path;Wherein, the target returns source path and time source path reselected Possess identical and return source node;
Wherein, returned in the target between node adjacent in source path after establishing connection, source path is returned by the target Re-start data transfer.
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 true CN107864228A (en) 2018-03-30
CN107864228B 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)

Cited By (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
CN109104309A (en) * 2018-08-01 2018-12-28 网宿科技股份有限公司 The Edge Server management system and method for CDN network
CN109450991A (en) * 2018-10-19 2019-03-08 网宿科技股份有限公司 Data transmission acceleration method, relevant device and acceleration system based on mobile application
CN110392020A (en) * 2018-04-18 2019-10-29 网宿科技股份有限公司 A kind of transmission method and system of streaming media resource
CN110875941A (en) * 2018-09-03 2020-03-10 阿里巴巴集团控股有限公司 Source station access flow adjusting method and device, electronic device and storage device
CN111181849A (en) * 2018-11-09 2020-05-19 北京嘀嘀无限科技发展有限公司 Return source path determining method, determining device, computer equipment and storage medium
CN111628911A (en) * 2020-05-27 2020-09-04 北京金山云网络技术有限公司 CDN back source abnormity testing method and device and terminal equipment
CN113300955A (en) * 2020-12-16 2021-08-24 阿里巴巴集团控股有限公司 Method, system and equipment for determining paths between nodes in content distribution network
CN113542058A (en) * 2021-06-25 2021-10-22 网宿科技股份有限公司 Data source returning method, server and storage medium
CN113810293A (en) * 2020-06-15 2021-12-17 北京金山云网络技术有限公司 Network preferred agent method, device, electronic equipment, server and storage medium
CN114448871A (en) * 2021-12-23 2022-05-06 天翼云科技有限公司 Data feedback routing method and system for CDN
CN114500340A (en) * 2021-12-23 2022-05-13 天翼云科技有限公司 Intelligent scheduling distributed path calculation method and system
CN115277539A (en) * 2022-07-29 2022-11-01 天翼云科技有限公司 Data transmission method, routing cluster and edge node

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192959A (en) * 2006-11-28 2008-06-04 中兴通讯股份有限公司 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
CN106716937A (en) * 2016-12-23 2017-05-24 深圳前海达闼云端智能科技有限公司 A path calculating and access request distributing method, device and system
CN107317879A (en) * 2017-08-02 2017-11-03 网宿科技股份有限公司 The distribution method and system of a kind of user's request

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192959A (en) * 2006-11-28 2008-06-04 中兴通讯股份有限公司 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
CN106716937A (en) * 2016-12-23 2017-05-24 深圳前海达闼云端智能科技有限公司 A path calculating and access request distributing method, device and system
CN107317879A (en) * 2017-08-02 2017-11-03 网宿科技股份有限公司 The distribution method and system of a kind of user's request

Cited By (19)

* 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
CN110392020A (en) * 2018-04-18 2019-10-29 网宿科技股份有限公司 A kind of transmission method and system of streaming media resource
CN109104309B (en) * 2018-08-01 2021-12-21 网宿科技股份有限公司 Edge server management system and method of CDN (content delivery network)
CN109104309A (en) * 2018-08-01 2018-12-28 网宿科技股份有限公司 The Edge Server management system and method for CDN 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
CN111181849A (en) * 2018-11-09 2020-05-19 北京嘀嘀无限科技发展有限公司 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
CN111628911A (en) * 2020-05-27 2020-09-04 北京金山云网络技术有限公司 CDN back source abnormity testing method and device and terminal equipment
CN113810293A (en) * 2020-06-15 2021-12-17 北京金山云网络技术有限公司 Network preferred agent method, device, electronic equipment, server and storage medium
CN113300955A (en) * 2020-12-16 2021-08-24 阿里巴巴集团控股有限公司 Method, system and equipment for determining paths between nodes in content distribution network
CN113542058A (en) * 2021-06-25 2021-10-22 网宿科技股份有限公司 Data source returning method, server and storage medium
CN113542058B (en) * 2021-06-25 2022-12-09 网宿科技股份有限公司 Data source returning method, server and storage medium
CN114448871A (en) * 2021-12-23 2022-05-06 天翼云科技有限公司 Data feedback routing method and system for CDN
CN114500340A (en) * 2021-12-23 2022-05-13 天翼云科技有限公司 Intelligent scheduling distributed path calculation method and system
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

Also Published As

Publication number Publication date
CN107864228B (en) 2020-11-27

Similar Documents

Publication Publication Date Title
CN107864228A (en) Connection method for building up and system in a kind of content distributing network
CN102316589B (en) Method and apparatus for managing the usage of data link resources
CN104023006B (en) Multi-path transmission system and method based on application layer relaying
CN102904930B (en) The dual accelerated method of content and network-linked and system
CN104539531A (en) Data transmission method and device
CN106465161B (en) The method and computer-readable medium of access point and operation access point
CN108429682A (en) A kind of optimization method and system of network transmission link
EP1094640B1 (en) Network system
CN106059832A (en) Method and system for automatically judging Internet-surfing way of WAN (Wide Area Network) port
CN106612284A (en) Streaming data transport method and streaming data transport device
CN108289007A (en) Data pack transmission method and device
CN105939297A (en) TCP message reassembling method and TCP message reassembling device
CN105282803A (en) Communication interface and information transfer method and system based on the same
CN108322836A (en) A kind of method and device of data transmission
CN106254410A (en) Network system and method for establishing data connection
CN106453356A (en) Wireless network bilateral accelerated transmission method and system
CN111510419A (en) Data compression method and base station
CN114024594A (en) Communication method and device of satellite communication system
CN107623923A (en) The processing method and processing device of data, webmaster
CN112448893A (en) Link bandwidth adjusting method, device and storage medium
CN109560900A (en) Data transmission method for uplink and device
CN110048906A (en) A kind of method, system, device and server judging node-node transmission quality
CN107454659A (en) A kind of terminal identification method, system, terminal device and base station
CN102355653B (en) Inter-terminal communication method, control equipment, user equipment, base station and network system
CN106658478B (en) A kind of transmission method of business datum, device, control equipment and communication system

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