CN111953555A - Link detection method, CPE (customer premises equipment) and storage medium - Google Patents

Link detection method, CPE (customer premises equipment) and storage medium Download PDF

Info

Publication number
CN111953555A
CN111953555A CN202010606778.2A CN202010606778A CN111953555A CN 111953555 A CN111953555 A CN 111953555A CN 202010606778 A CN202010606778 A CN 202010606778A CN 111953555 A CN111953555 A CN 111953555A
Authority
CN
China
Prior art keywords
tcp
cpe
link
flow table
sequence number
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.)
Pending
Application number
CN202010606778.2A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202010606778.2A priority Critical patent/CN111953555A/en
Publication of CN111953555A publication Critical patent/CN111953555A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Abstract

The invention discloses a link detection method, a CPE and a computer readable storage medium, wherein in the method, a TCP flow table is required to be constructed at a CPE sending end in the end-to-end data transmission process through the CPE and TCP application flow detection is carried out according to the TCP flow table; further, when a TCP retransmission message is detected, link packet loss information is set for the current TCP application stream and the corresponding bearer link.

Description

Link detection method, CPE (customer premises equipment) and storage medium
Technical Field
The invention relates to the technical field of software defined wide area networks (SD-WAN), in particular to a link detection method, CPE and a computer readable storage medium.
Background
In the SD-WAN scenario, link loss detection end-to-end is usually required to detect the link loss situation. The existing link detection scheme is divided into two parts: one part is a data collection module on the CPE and is responsible for collecting the packet receiving and sending conditions of each tunnel on the CPE; the other part is a centralized computing module on the central controller, which is responsible for analyzing and processing the data reported by each CPE and finally forming the computing result of the link, and returning the result to the corresponding CPE.
The existing link detection scheme has the following obvious defects: 1) if more items need to be detected, the central control node acquires, calculates and issues more data, and the pressure of the central controller is increased; 2) the packet loss check is not timely.
Disclosure of Invention
In order to solve the above problems of the existing link detection schemes, embodiments of the present invention creatively provide a link detection method, a CPE, and a computer-readable storage medium.
According to a first aspect of the present invention, there is provided a link detection method applied to a CPE, the method including: constructing a TCP flow table at a CPE sending end in the end-to-end data transmission process through the CPE; detecting the TCP application flow according to the TCP flow table; and when TCP retransmission messages are detected, setting link packet loss information for the current TCP application stream and the corresponding bearing link.
According to an embodiment of the present invention, a TCP flow table is constructed at a sending end of a CPE, including: and constructing a TCP flow table at a CPE sending end according to a mode of recording a TCP sending sequence number by a ring queue.
According to an embodiment of the present invention, the TCP application flow detection according to the TCP flow table includes: checking whether the recorded TCP sending sequence number has duplication; if the recorded TCP sending sequence number is checked to be repeated, a TCP retransmission message is detected.
According to an embodiment of the present invention, after setting link packet loss information for a current TCP application flow and a corresponding bearer link, the method further includes performing packet loss repair in at least one of the following ways: carrying out intelligent routing again on all the traffic data on the bearing link; copying and retransmitting the TCP message; and correcting the TCP message abnormity.
According to a second aspect of the present invention, there is also provided a CPE comprising: the establishing module is used for establishing a TCP flow table at a CPE sending end in the end-to-end data transmission process through the CPE; the detection module is used for detecting the TCP application flow according to the TCP flow table; and the setting module is used for setting link packet loss information for the current TCP application flow and the corresponding bearing link when the TCP retransmission message is detected.
According to an embodiment of the present invention, the building module is specifically configured to build a TCP flow table at a sending end of a CPE in a manner that a TCP sending sequence number is recorded in a ring queue.
According to an embodiment of the present invention, the detection module is specifically configured to check whether there is a duplicate in the recorded TCP sending sequence number; if the recorded TCP sending sequence number is checked to be repeated, a TCP retransmission message is detected.
According to an embodiment of the present invention, the CPE further comprises: the repair module is specifically configured to repair lost packets by at least one of the following methods: carrying out intelligent routing again on all the traffic data on the bearing link; copying and retransmitting the TCP message; and correcting the TCP message abnormity.
According to an embodiment of the present invention, the CPE is a physical CPE or a virtual CPE.
According to a third aspect of the present invention, there is also provided a computer-readable storage medium comprising a set of computer-executable instructions which, when executed, are operable to perform any of the above-described link detection methods.
In the method, a TCP flow table needs to be established at a CPE sending end in the end-to-end data transmission process through the CPE, and TCP application flow detection is carried out according to the TCP flow table; further, when a TCP retransmission message is detected, link packet loss information is set for the current TCP application stream and the corresponding bearer link. Therefore, the embodiment of the invention can carry out side link packet loss only locally at the CPE, has simple detection and calculation process and reduces the pressure of the central controller; moreover, by using the characteristics of retransmission messages of the TCP protocol, more detection resources are not needed, and packet loss detection can be performed in time on the basis of saving bandwidth, so that the reliability and timeliness of link detection are effectively ensured.
It is to be understood that the teachings of the present invention need not achieve all of the above-described benefits, but rather that specific embodiments may achieve specific technical results, and that other embodiments of the present invention may achieve benefits not mentioned above.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1 shows a network architecture diagram of a related art link detection scheme;
FIG. 2 is a schematic diagram of a network architecture illustrating a link detection scheme according to an embodiment of the present invention;
fig. 3 is a first schematic flow chart illustrating an implementation flow of a link detection method according to an embodiment of the present invention;
fig. 4 shows a schematic flow chart of implementing the link detection method according to the embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a third implementation flow of the link detection method according to the embodiment of the present invention;
fig. 6 shows a flowchart of a fourth implementation of the link detection method according to the embodiment of the present invention;
fig. 7 is a schematic diagram showing a structure of a CPE according to an embodiment of the present invention.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given only to enable those skilled in the art to better understand and to implement the present invention, and do not limit the scope of the present invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
Fig. 1 shows a network architecture diagram of a related art link detection scheme; fig. 2 is a schematic diagram of a network architecture of a link detection scheme according to an embodiment of the present invention.
Referring to fig. 1, the related art link detection scheme mainly includes two parts, one part is a data collection module on the CPE and is responsible for collecting the packet receiving and sending conditions of each tunnel on the CPE; the other part is a centralized computing module on a controller (namely, a central controller) and is responsible for analyzing and processing data reported by each CPE and finally forming a computing result of a link, and issuing the computing result to the corresponding CPE.
When a large number of items need to be detected, the existing link detection scheme requires huge computing resources to be consumed by the whole SD-WAN network, and a central control node acquires a large number of computing issued data, so that the pressure of a central controller is increased, and the available link bandwidth is influenced; and, the flow is from beginning to lose the packet, until controller detect and issue packet loss result to each CPE, depend on periodic reporting cycle of link, if this cycle is very short, the whole control node calculation pressure is very big, also occupy the bandwidth of link additionally, if dispose long, then lose packet to check in time too, very lagging.
In order to effectively solve the problems of the existing link detection scheme, the invention provides a new link detection scheme, which is characterized in that a TCP flow table is directly established at a CPE sending end, and packet loss detection is carried out in a mode of carrying out TCP retransmission message detection according to the TCP flow table by utilizing the characteristics of TCP retransmission messages. Therefore, the link packet loss condition can be detected only locally at each CPE, the calculation is simple, and the controller pressure is greatly reduced; and by utilizing the characteristic of TCP retransmission message, more detection resources are not required to be additionally added, and packet loss detection is timely realized on the basis of saving bandwidth, so that the reliability and timeliness of link detection are effectively ensured.
Fig. 3 is a first schematic flow chart illustrating an implementation of the link detection method according to the embodiment of the present invention.
Referring to fig. 3, an embodiment of the present invention provides a link detection method, applied to a CPE, where the method includes: operation 301, constructing a TCP flow table at a CPE sending end in an end-to-end data transmission process performed by a CPE; operation 302, performing TCP application flow probing according to the TCP flow table; in operation 303, when a TCP retransmission packet is detected, link packet loss information is set for the current TCP application stream and the corresponding bearer link.
The CPE may be a physical CPE or a virtual CPE. The virtual CPE is a program module which is realized through software and has the function of the current physical CPE.
In operation 301, in the process of performing end-to-end data transmission through the CPE in an SD-WAN network scenario, a TCP application flow to be detected may be selected at each CPE transmitting end, so a TCP flow table is constructed at the CPE transmitting end. Wherein, the TCP flow table records at least TCP application, bearer link and usage flow.
Specifically, the TCP flow table is constructed at the CPE transmitting end in a manner that the TCP transmission sequence number is recorded in the ring queue.
At operation 302, TCP application flow probing is performed according to the TCP flow table using TCP retransmission packet features. Specifically, whether the recorded TCP sending sequence number is repeated is detected; if the recorded TCP sending sequence number is checked to be repeated, a TCP retransmission message is detected.
In an example, in the end-to-end data transmission process through the CPE, a TCP message is subjected to ring queue recording with a TCP sending sequence number having a TCP window size of 1 to 20; when detecting that the recorded TCP sending sequence number 13 is repeated, detecting that a TCP retransmission message exists.
In operation 303, when a TCP retransmission packet is detected, packet loss detection is performed in time, and link packet loss information is further set for the current TCP application stream and the corresponding bearer link, so as to lay a foundation for performing packet loss correction subsequently.
After operation 303, packet loss repair may be performed in at least one of the following ways: carrying out intelligent routing again on all the traffic data on the bearing link; copying and retransmitting the TCP message; and correcting the TCP message abnormity.
In the method, a TCP flow table needs to be established at a CPE sending end in the end-to-end data transmission process through the CPE, and TCP application flow detection is carried out according to the TCP flow table; further, when a TCP retransmission message is detected, link packet loss information is set for the current TCP application stream and the corresponding bearer link. Therefore, the embodiment of the invention can carry out side link packet loss only locally at the CPE, has simple detection and calculation process and reduces the pressure of the central controller; moreover, by using the characteristics of retransmission messages of the TCP protocol, more detection resources are not needed, and packet loss detection can be performed in time on the basis of saving bandwidth, so that the reliability and timeliness of link detection are effectively ensured.
Fig. 4 shows a flowchart of a second implementation of the link detection method according to the embodiment of the present invention.
Referring to fig. 4, a link detection method according to an embodiment of the present invention is applied to a CPE, and the method includes: operation 401, constructing a TCP flow table at a CPE sending end during an end-to-end data transmission process performed by a CPE; operation 402, performing TCP application flow probing according to the TCP flow table; in operation 403, when a TCP retransmission packet is detected, link packet loss information is set for the current TCP application stream and the corresponding bearer link; operation 404, perform intelligent routing again on all traffic data on the bearer link.
In operation 401, in the process of performing end-to-end data transmission through the CPE in an SD-WAN network scenario, a TCP application flow to be detected may be selected at each CPE transmitting end, so a TCP flow table is constructed at the CPE transmitting end. Wherein, the TCP flow table records at least TCP application, bearer link and usage flow. Specifically, the TCP flow table is constructed at the CPE transmitting end in a manner that the TCP transmission sequence number is recorded in the ring queue.
At operation 402, TCP application flow probing is performed according to the TCP flow table using TCP retransmit message features. Specifically, whether the recorded TCP sending sequence number is repeated is detected; if the recorded TCP sending sequence number is checked to be repeated, a TCP retransmission message is detected.
In an example, in the end-to-end data transmission process through the CPE, a TCP message is subjected to ring queue recording with a TCP sending sequence number having a TCP window size of 1 to 20; when detecting that the recorded TCP sending sequence number 13 is repeated, detecting that a TCP retransmission message exists.
In operation 403, when a TCP retransmission packet is detected, packet loss detection is performed in time, and link packet loss information is further set for the current TCP application stream and the corresponding bearer link, so as to lay a foundation for performing packet loss correction subsequently.
In operation 404, referring to fig. 2, since the CPE end-to-end data transmission link includes a wireless LTE bearer link, an ethernet Internet bearer link, and a data transmission private network MPLS bearer link, after link packet loss information is set for the current TCP application flow and the corresponding bearer link, intelligent routing may be performed again on all traffic data on the bearer link, so that all traffic data on all current bearer links are transmitted through a new bearer link obtained through the intelligent routing, and the set link packet loss information is removed after the TCP retransmission condition is relieved.
In an example, when it is detected that the bearer link corresponding to the TCP retransmission report is a wireless LTE bearer link, all traffic data on the current wireless LTE bearer link may be intelligently routed to the MPLS bearer link or the Internet bearer link again, and specifically, the intelligent routing may be performed according to a preset intelligent routing rule, where the intelligent routing rule may be set arbitrarily according to a network scenario.
Fig. 5 is a schematic diagram illustrating a third implementation flow of the link detection method according to the embodiment of the present invention.
Referring to fig. 5, a link detection method according to an embodiment of the present invention is applied to a CPE, and the method includes: operation 501, constructing a TCP flow table at a CPE sending end during end-to-end data transmission by the CPE; operation 502, performing TCP application flow probing according to the TCP flow table; operation 503, when a TCP retransmission packet is detected, setting link packet loss information for the current TCP application stream and the corresponding bearer link; in operation 504, a duplicate retransmission is performed on the TCP packet.
In operation 501, in the process of performing end-to-end data transmission through the CPE in an SD-WAN network scenario, a TCP application flow to be detected may be selected at each CPE transmitting end, so a TCP flow table is constructed at the CPE transmitting end. Wherein, the TCP flow table records at least TCP application, bearer link and usage flow. Specifically, the TCP flow table is constructed at the CPE transmitting end in a manner that the TCP transmission sequence number is recorded in the ring queue.
At operation 502, TCP application flow probing is performed according to the TCP flow table using TCP retransmission packet features. Specifically, whether the recorded TCP sending sequence number is repeated is detected; if the recorded TCP sending sequence number is checked to be repeated, a TCP retransmission message is detected.
In an example, in the end-to-end data transmission process through the CPE, a TCP sending sequence number with the size of a TCP window being 1-20 is used for carrying out annular queue recording on a TCP message; when detecting that the recorded TCP sending sequence number 13 is repeated, detecting that a TCP retransmission message exists.
In operation 503, when a TCP retransmission packet is detected, packet loss detection is performed in time, and link packet loss information is further set for the current TCP application stream and the corresponding bearer link, so as to lay a foundation for performing packet loss correction subsequently.
In operation 504, since the present invention sets the link packet loss information for the current TCP application stream and the corresponding bearer link when detecting that there is a TCP retransmission packet, the present invention can directly start the packet copy function of the current TCP application stream, and stop the packet copy after the TCP retransmission condition is relieved.
Fig. 6 shows a flowchart of a fourth implementation of the link detection method according to the embodiment of the present invention.
Referring to fig. 6, a link detection method according to an embodiment of the present invention is applied to a CPE, and the method includes: operation 601, constructing a TCP flow table at a CPE sending end in an end-to-end data transmission process performed by a CPE; operation 602, performing TCP application flow probing according to the TCP flow table; operation 603, when a TCP retransmission packet is detected, setting link packet loss information for the current TCP application stream and the corresponding bearer link; in operation 604, TCP packet exception correction is performed.
In operation 601, in the process of performing end-to-end data transmission through the CPE in an SD-WAN network scenario, a TCP application flow to be detected may be selected at each CPE transmitting end, so a TCP flow table is constructed at the CPE transmitting end. Wherein, the TCP flow table records at least TCP application, bearer link and usage flow. Specifically, the TCP flow table is constructed at the CPE transmitting end in a manner that the TCP transmission sequence number is recorded in the ring queue.
At operation 602, TCP application flow probing is performed according to the TCP flow table using TCP retransmission packet features. Specifically, whether the recorded TCP sending sequence number is repeated is detected; if the recorded TCP sending sequence number is checked to be repeated, a TCP retransmission message is detected.
In an example, in the end-to-end data transmission process through the CPE, a TCP sending sequence number with the size of a TCP window being 1-20 is used for carrying out annular queue recording on a TCP message; when detecting that the recorded TCP sending sequence number 13 is repeated, detecting that a TCP retransmission message exists.
In operation 603, when a TCP retransmission packet is detected, packet loss detection is performed in time, and link packet loss information is further set for the current TCP application stream and the corresponding bearer link, so as to lay a foundation for performing packet loss correction subsequently.
In operation 604, since link packet loss information is set for the current TCP application stream and the corresponding bearer link when a TCP retransmission packet is detected, the TCP retransmission packet in the current TCP application stream may be directly corrected for an exception, and the TCP packet transmission of the current TCP application stream is resumed after the TCP retransmission condition is eliminated.
Similarly, based on the above link detection method, an embodiment of the present invention further provides a computer-readable storage medium, where a program is stored, and when the program is executed by a processor, the processor is caused to perform at least the following operation steps: operation 301, constructing a TCP flow table at a CPE sending end in an end-to-end data transmission process performed by a CPE; operation 302, performing TCP application flow probing according to the TCP flow table; in operation 303, when a TCP retransmission packet is detected, link packet loss information is set for the current TCP application stream and the corresponding bearer link.
Further, based on the above-mentioned link detection method, an embodiment of the present invention further provides a CPE, as shown in fig. 7, where the CPE70 includes: a constructing module 701, configured to construct a TCP flow table at a CPE sending end in an end-to-end data transmission process performed by a CPE; a detection module 702, configured to perform TCP application flow detection according to a TCP flow table; the setting module 703 is configured to set link packet loss information for the current TCP application stream and the corresponding bearer link when detecting that there is a TCP retransmission packet.
According to an embodiment of the present invention, the constructing module 701 is specifically configured to construct a TCP flow table at a sending end of a CPE in a manner that a TCP sending sequence number is recorded in a ring queue.
According to an embodiment of the present invention, the detection module 702 is specifically configured to check whether there is a duplicate in the recorded TCP sending sequence number; if the recorded TCP sending sequence number is checked to be repeated, a TCP retransmission message is detected.
According to an embodiment of the invention, as shown in fig. 7, CPE70 further includes: the repairing module 704 is specifically configured to repair the lost packet by at least one of the following methods: carrying out intelligent routing again on all the traffic data on the bearing link; copying and retransmitting the TCP message; and correcting the TCP message abnormity.
According to an embodiment of the invention, CPE70 may be a physical CPE or a virtual CPE. The virtual CPE is a program module which is realized through software and has the function of the current physical CPE.
Here, it should be noted that: the above description of the CPE embodiment is similar to the description of the method embodiments shown in fig. 2 to 6, and has similar beneficial effects to the method embodiments shown in fig. 2 to 6, and therefore, the description is omitted here for brevity. For technical details that are not disclosed in the CPE embodiment of the present invention, please refer to the description of the method embodiments shown in fig. 2 to 6 for understanding, and therefore, for brevity, will not be described again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A link detection method applied to a CPE, the method comprising:
constructing a TCP flow table at a CPE sending end in the end-to-end data transmission process through the CPE;
detecting the TCP application flow according to the TCP flow table;
and when TCP retransmission messages are detected, setting link packet loss information for the current TCP application stream and the corresponding bearing link.
2. The method of claim 1, wherein constructing a TCP flow table at a CPE sending end comprises:
and constructing a TCP flow table at a CPE sending end according to a mode of recording a TCP sending sequence number by a ring queue.
3. The method of claim 2, wherein performing TCP application flow probing according to a TCP flow table comprises:
checking whether the recorded TCP sending sequence number has duplication;
if the recorded TCP sending sequence number is checked to be repeated, a TCP retransmission message is detected.
4. The method according to any one of claims 1 to 3, wherein after setting link packet loss information for the current TCP application flow and the corresponding bearer link, the method further comprises performing packet loss repair by at least one of: carrying out intelligent routing again on all the traffic data on the bearing link; copying and retransmitting the TCP message; and correcting the TCP message abnormity.
5. A CPE, characterized in that the CPE comprises:
the establishing module is used for establishing a TCP flow table at a CPE sending end in the end-to-end data transmission process through the CPE;
the detection module is used for detecting the TCP application flow according to the TCP flow table;
and the setting module is used for setting link packet loss information for the current TCP application flow and the corresponding bearing link when the TCP retransmission message is detected.
6. The CPE according to claim 5,
the building module is specifically configured to build a TCP flow table at a CPE sending end in a manner that a TCP sending sequence number is recorded in a ring queue.
7. The CPE according to claim 6,
the detection module is specifically configured to check whether the recorded TCP sending sequence number is repeated; if the recorded TCP sending sequence number is checked to be repeated, a TCP retransmission message is detected.
8. The CPE according to any of the claims 5 to 7, characterized in that the CPE further comprises:
the repair module is specifically configured to repair lost packets by at least one of the following methods: carrying out intelligent routing again on all the traffic data on the bearing link; copying and retransmitting the TCP message; and correcting the TCP message abnormity.
9. Method according to any of claims 5 to 7, wherein the CPE is a physical CPE or a virtual CPE.
10. A computer-readable storage medium comprising a set of computer-executable instructions that, when executed, perform the link detection method of any one of claims 1 to 4.
CN202010606778.2A 2020-06-29 2020-06-29 Link detection method, CPE (customer premises equipment) and storage medium Pending CN111953555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010606778.2A CN111953555A (en) 2020-06-29 2020-06-29 Link detection method, CPE (customer premises equipment) and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010606778.2A CN111953555A (en) 2020-06-29 2020-06-29 Link detection method, CPE (customer premises equipment) and storage medium

Publications (1)

Publication Number Publication Date
CN111953555A true CN111953555A (en) 2020-11-17

Family

ID=73337557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010606778.2A Pending CN111953555A (en) 2020-06-29 2020-06-29 Link detection method, CPE (customer premises equipment) and storage medium

Country Status (1)

Country Link
CN (1) CN111953555A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565008A (en) * 2020-11-26 2021-03-26 深信服科技股份有限公司 Network monitoring method, device and related equipment
CN114697088A (en) * 2022-03-17 2022-07-01 神州绿盟成都科技有限公司 Method and device for determining network attack and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8161516B2 (en) * 2006-06-20 2012-04-17 Arris Group, Inc. Fraud detection in a cable television
CN102868576A (en) * 2012-09-26 2013-01-09 电子科技大学 Method for measuring downlink packet loss rate of access link of broadband network user
CN103874078A (en) * 2014-02-14 2014-06-18 北京邮电大学 Mobile communication access network framework
CN105723657A (en) * 2014-09-26 2016-06-29 华为技术有限公司 Switch, controller, system and link quality detection method
CN106130928A (en) * 2016-06-29 2016-11-16 浪潮集团有限公司 Flow control methods under a kind of SDN and system
CN106656431A (en) * 2015-09-21 2017-05-10 华为技术有限公司 Message transmission method and user equipment
CN106953742A (en) * 2017-02-16 2017-07-14 广州海格通信集团股份有限公司 A kind of wireless isomer network bandwidth safeguard method based on SDN
CN108011834A (en) * 2016-10-28 2018-05-08 华为技术有限公司 The definite method and apparatus of TCP congestion windows
CN110601983A (en) * 2019-10-15 2019-12-20 南京信息职业技术学院 Method and system for forwarding routing without sensing source of protocol
CN111262721A (en) * 2018-11-30 2020-06-09 贵州白山云科技股份有限公司 Virtual intranet acceleration method, system, configuration method, device, equipment and medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8161516B2 (en) * 2006-06-20 2012-04-17 Arris Group, Inc. Fraud detection in a cable television
CN102868576A (en) * 2012-09-26 2013-01-09 电子科技大学 Method for measuring downlink packet loss rate of access link of broadband network user
CN103874078A (en) * 2014-02-14 2014-06-18 北京邮电大学 Mobile communication access network framework
CN105723657A (en) * 2014-09-26 2016-06-29 华为技术有限公司 Switch, controller, system and link quality detection method
CN106656431A (en) * 2015-09-21 2017-05-10 华为技术有限公司 Message transmission method and user equipment
CN106130928A (en) * 2016-06-29 2016-11-16 浪潮集团有限公司 Flow control methods under a kind of SDN and system
CN108011834A (en) * 2016-10-28 2018-05-08 华为技术有限公司 The definite method and apparatus of TCP congestion windows
CN106953742A (en) * 2017-02-16 2017-07-14 广州海格通信集团股份有限公司 A kind of wireless isomer network bandwidth safeguard method based on SDN
CN111262721A (en) * 2018-11-30 2020-06-09 贵州白山云科技股份有限公司 Virtual intranet acceleration method, system, configuration method, device, equipment and medium
CN110601983A (en) * 2019-10-15 2019-12-20 南京信息职业技术学院 Method and system for forwarding routing without sensing source of protocol

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565008A (en) * 2020-11-26 2021-03-26 深信服科技股份有限公司 Network monitoring method, device and related equipment
CN112565008B (en) * 2020-11-26 2022-11-22 深信服科技股份有限公司 Network monitoring method, device and related equipment
CN114697088A (en) * 2022-03-17 2022-07-01 神州绿盟成都科技有限公司 Method and device for determining network attack and electronic equipment
CN114697088B (en) * 2022-03-17 2024-03-15 神州绿盟成都科技有限公司 Method and device for determining network attack and electronic equipment

Similar Documents

Publication Publication Date Title
CN104104707B (en) Webpage data update method, terminal, cache server and system
US9515919B2 (en) Method and apparatus for protection switching in packet transport system
JP4340300B2 (en) Transmission apparatus, test method, and transmission apparatus control program
WO2021128977A1 (en) Fault diagnosis method and apparatus
CN104579853A (en) Method for network testing of server cluster system
CN101826989A (en) Method and device for treating fault
US7839796B2 (en) Monitor for multi-protocol label switching (MPLS) networks
CN112311580B (en) Message transmission path determining method, device and system and computer storage medium
CN111953555A (en) Link detection method, CPE (customer premises equipment) and storage medium
CN102143018B (en) Message loop detection method, routing agent equipment and networking system
CN101094121A (en) Method, system and device for detecting Ethernet links among not direct connected devices
CN103078791A (en) Method, device and system for processing operation, administration and maintenance (OAM) message
CN110601919A (en) Loopback detection method and system
CN107547374B (en) Aggregation route processing method and device
WO2019245923A1 (en) Application-aware links
CN103414591A (en) Method and system for fast converging when port failure is recovered
CN112953822A (en) Method, device and system for reducing routing loop
JP5817387B2 (en) Communication apparatus and communication method
WO2021098477A1 (en) Signal degradation processing method, apparatus and system
CN106664217B (en) Methods, systems, and media for identification of candidate problem network entities
CN111130941B (en) Network error detection method and device and computer readable storage medium
CN111130813B (en) Information processing method based on network and electronic equipment
WO2014000509A1 (en) Transmission monitoring method and device
CN105530141A (en) Link state detection method and device
CN113923696A (en) Method and electronic equipment for notifying fault

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201117

RJ01 Rejection of invention patent application after publication