Broadband network interruption determination method, terminal equipment and medium

By collecting the boot time and PPPOE duration of the broadband network terminal, we can determine whether there is an interruption in the broadband network, which solves the problem of inaccurate judgment of broadband service network interruptions in the prior art, and improves the accuracy of the judgment.

CN115842715BActive Publication Date: 2025-03-04CHINA MOBILE COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110957690.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-19
Publication Date
2025-03-04
Estimated Expiration
2041-08-19

AI Technical Summary

Technical Problem

In the prior art, the judgment of network interruptions of home broadband services is inaccurate, which is easy to misjudgment that users are shutting down their control network equipment or power outages at home, etc., as network interruptions.

Method used

By timely collecting the boot time of the broadband network network terminal and the duration of the point-to-point communication protocol PPPOE based on the Ethernet, the expected accumulated PPPOE is determined based on the sampling interval and the initial PPPOE duration, and the actual accumulated PPPOE is determined based on the collected PPPOE duration, and then determining whether the broadband network is interrupted.

Benefits of technology

This method can accurately identify the network interruption of home broadband service due to network failure, avoid misjudgment, and improve the accuracy of interrupt determination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115842715B_ABST
    Figure CN115842715B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for determining the interruption of a broadband network, a terminal device and a computer-readable storage medium, the method comprising: regularly collecting the startup time of a broadband network networking terminal and the duration of a point-to-point communication protocol PPPOE based on Ethernet; determining the expected PPPOE cumulative duration according to the sampling interval and the initial PPPOE duration; determining the actual PPPOE cumulative duration according to the collected PPPOE duration; and determining whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration. The present invention aims to improve the accuracy of determining the interruption of a home broadband service network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a broadband network interruption determination method, terminal equipment and a computer-readable storage medium. Background Art

[0002] Home broadband service is a wired network that enables users to log on to the Internet through laptops, tablet computers and / or Internet TV at home and use services such as web browsing, video browsing, and Internet TV browsing.

[0003] In the related art, when it is necessary to determine whether a home broadband service network is interrupted, the alarm of the OLT (optical line terminal) device is generally used to determine whether the home broadband service network is interrupted. When the OLT device finds that the optical signal is lost, an alarm is triggered. This causes the OLT device to detect the loss of the optical signal when the user shuts down the networking device that controls the home broadband service network or there is a power outage at home, thereby triggering an alarm. This causes the above situation to be misjudged as a home broadband service network interruption. Therefore, the determination scheme for the home broadband service network interruption recorded in the related art has the defect of inaccurate determination of the home broadband service network interruption.

[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present invention is to provide a broadband network interruption determination method, terminal equipment and computer-readable storage medium, aiming to improve the accuracy of home broadband service network interruption determination.

[0006] To achieve the above object, the present invention provides a method for determining interruption of a broadband network, the method comprising:

[0007] Regularly collect the startup time of broadband network terminals and the duration of Ethernet-based point-to-point communication protocol PPPOE;

[0008] Determine the expected PPPOE cumulative duration based on the sampling interval and the initial PPPOE duration;

[0009] Determine the actual PPPOE cumulative duration according to the collected PPPOE duration;

[0010] Determine whether the broadband network is interrupted based on the expected PPPOE cumulative duration and the actual PPPOE cumulative duration.

[0011] Optionally, before the step of determining whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration, the method further includes:

[0012] Determine the standard deviation of the PPPOE cumulative duration according to the collected PPPOE duration;

[0013] The step of determining whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration comprises:

[0014] Determine whether the broadband network is interrupted based on the standard deviation, the expected PPPOE cumulative duration and the actual PPPOE cumulative duration.

[0015] Optionally, the step of determining whether the broadband network is interrupted according to the standard deviation, the expected PPPOE cumulative duration, and the actual PPPOE cumulative duration includes:

[0016] Determine the difference between the expected PPPOE cumulative duration and the actual PPPOE cumulative duration;

[0017] When the difference is greater than the standard deviation, it is determined that the broadband network is interrupted.

[0018] Optionally, after the step of determining whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration, the method further includes:

[0019] After determining that a broadband network interruption occurs, obtaining an interruption duration record corresponding to the broadband network within a preset duration, wherein the interruption duration record includes an interruption duration corresponding to each interruption within the preset duration;

[0020] Determine whether the broadband network has frequent interruptions according to the interruption duration record.

[0021] Optionally, after determining that a broadband network interruption occurs, before the step of obtaining an interruption duration record corresponding to the broadband network within a preset duration, wherein the interruption duration record includes an interruption duration corresponding to each interruption within the preset duration, the step further includes:

[0022] When it is determined that the broadband network is interrupted, obtaining a first collection time point corresponding to the last collection before the broadband network is interrupted, a second collection time point corresponding to the first collection after the interruption is restored, and a target PPPOE duration collected during the first collection after the interruption is restored;

[0023] The interruption duration is determined according to the first collection time point, the second collection time point, and the target PPPOE duration.

[0024] Optionally, the interruption duration is recorded as a data sequence with the interruption duration corresponding to each interruption of the broadband network within the preset duration as elements.

[0025] Optionally, the step of determining whether the broadband network has frequent interruptions according to the interruption duration record includes:

[0026] Sequentially read the elements in the data sequence, wherein one element is read from the data sequence each time;

[0027] Determining the mean and standard deviation of the elements read;

[0028] When the average value and the standard deviation meet the preset conditions, the number of interruptions increases by one;

[0029] Detecting whether all elements in the data sequence are acquired;

[0030] If so, determining whether the broadband network has frequent interruptions according to the number of interruptions;

[0031] If not, the step of sequentially reading the elements in the data sequence is performed.

[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal device, which includes a memory, a processor, and a broadband network interruption determination program stored in the memory and executable on the processor, and the broadband network interruption determination program, when executed by the processor, implements the steps of the broadband network interruption determination method as described above.

[0033] In addition, to achieve the above object, the present invention further provides a terminal device, the terminal device comprising:

[0034] The collection module is used to regularly collect the startup time of the broadband network terminal and the duration of the Ethernet-based point-to-point communication protocol PPPOE;

[0035] A determination module, used to determine the expected PPPOE cumulative duration according to the sampling interval and the initial PPPOE duration; and to determine the actual PPPOE cumulative duration according to the collected PPPOE duration;

[0036] The judgment module is used to determine whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration.

[0037] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium, on which a broadband network interruption determination program is stored. When the broadband network interruption determination program is executed by a processor, the steps of the broadband network interruption determination method described above are implemented.

[0038] The embodiment of the present invention proposes a method for determining the interruption of a broadband network, a terminal device, and a computer-readable storage medium, which collects the boot time of the broadband network networking terminal and the duration of the Ethernet-based point-to-point communication protocol PPPOE at regular intervals; determines the expected PPPOE cumulative duration according to the sampling interval and the initial PPPOE duration; determines the actual PPPOE cumulative duration according to the collected PPPOE duration; and determines whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration. This solution determines whether the broadband network is interrupted based on the PPPOE duration, and can accurately identify the interruption of the home broadband service network caused by network failure, and will not misjudge the interruption of the home broadband service network when the user shuts down the networking device controlling the home broadband service network or there is a power outage at home, thereby improving the accuracy of the judgment of the home service network interruption. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;

[0040] Figure 2 It is a flow chart of an embodiment of a method for determining interruption of a broadband network according to the present invention;

[0041] Figure 3 It is a flow chart of another embodiment of the broadband network interruption determination method of the present invention;

[0042] Figure 4 It is a modular schematic diagram of a terminal device involved in the implementation of the present invention.

[0043] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0045] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.

[0046] like Figure 1As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0047] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0048] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a broadband network interruption determination program.

[0049] exist Figure 1 In the terminal shown, the processor 1001 can be used to call the broadband network interruption determination program stored in the memory 1005, and perform the following operations:

[0050] Regularly collect the startup time of broadband network terminals and the duration of Ethernet-based point-to-point communication protocol PPPOE;

[0051] Determine the expected PPPOE cumulative duration based on the sampling interval and the initial PPPOE duration;

[0052] Determine the actual PPPOE cumulative duration according to the collected PPPOE duration;

[0053] Determine whether the broadband network is interrupted based on the expected PPPOE cumulative duration and the actual PPPOE cumulative duration.

[0054] Further, the processor 1001 may also be used to call the broadband network interruption determination program stored in the memory 1005, and perform the following operations:

[0055] Determine the standard deviation of the PPPOE cumulative duration according to the collected PPPOE duration;

[0056] The step of determining whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration comprises:

[0057] Determine whether the broadband network is interrupted based on the standard deviation, the expected PPPOE cumulative duration and the actual PPPOE cumulative duration.

[0058] Further, the processor 1001 may also be used to call the broadband network interruption determination program stored in the memory 1005, and perform the following operations:

[0059] Determine the difference between the expected PPPOE cumulative duration and the actual PPPOE cumulative duration;

[0060] When the difference is greater than the standard deviation, it is determined that the broadband network is interrupted.

[0061] Further, the processor 1001 may also be used to call the broadband network interruption determination program stored in the memory 1005, and perform the following operations:

[0062] After determining that a broadband network interruption occurs, obtaining an interruption duration record corresponding to the broadband network within a preset duration, wherein the interruption duration record includes an interruption duration corresponding to each interruption within the preset duration;

[0063] Determine whether the broadband network has frequent interruptions according to the interruption duration record.

[0064] Further, the processor 1001 may also be used to call the broadband network interruption determination program stored in the memory 1005, and perform the following operations:

[0065] When it is determined that the broadband network is interrupted, obtaining a first collection time point corresponding to the last collection before the broadband network is interrupted, a second collection time point corresponding to the first collection after the interruption is restored, and a target PPPOE duration collected during the first collection after the interruption is restored;

[0066] The interruption duration is determined according to the first collection time point, the second collection time point, and the target PPPOE duration.

[0067] Further, the processor 1001 may also be used to call the broadband network interruption determination program stored in the memory 1005, and perform the following operations:

[0068] Sequentially read the elements in the data sequence, wherein one element is read from the data sequence each time;

[0069] Determining the mean and standard deviation of the elements read;

[0070] When the average value and the standard deviation meet the preset conditions, the number of interruptions increases by one;

[0071] Detecting whether all elements in the data sequence are acquired;

[0072] If so, determining whether the broadband network has frequent interruptions according to the number of interruptions;

[0073] If not, the step of sequentially reading the elements in the data sequence is performed.

[0074] Home broadband service is a wired network that enables users to log on to the Internet through laptops, tablet computers and / or Internet TV at home and use services such as web browsing, video browsing, and Internet TV browsing.

[0075] A home broadband network mainly consists of the following parts:

[0076] Home network: including intelligent gateway, optical network unit (ONU) and Wifi (wireless communication technology) router. User terminals (such as laptops, tablets and / or Internet TVs, etc.) can access the network through Wifi routers, and the WiFi router is connected to the ONU through a network cable. Most ONUs also have built-in WiFi modules, and users can also access the network directly through the ONU without the need for a WiFi router.

[0077] Passive Optical Network (PON) access network: including optical fiber, primary optical cross-connect box, secondary optical cross-connect box, optical line terminal (OLT). Among them, user data is connected to OLT through PON access network.

[0078] Broadband Remote Access Server (BRAS): provides user management and communicates with the AAA server.

[0079] Content network: provides specific services to users.

[0080] There are two main reasons why home broadband networks may be disconnected:

[0081] The first is line reasons: weak light or loss of optical signals in trunk and branch optical fibers due to "municipal construction, human damage, and natural aging";

[0082] The second is the equipment reason: "home router, optical modem, OLT, BRAS, CDN, business platform" power outage, board or port failure.

[0083] In the related art, when it is necessary to determine whether the home broadband service network is interrupted, the alarm of the OLT (optical line terminal) device is generally used to determine whether the home broadband service network is interrupted. The basic principle of the alarm is as follows: the OLT device will regularly monitor the optical signal strength of the PON port and the attached intelligent gateway (ONU). If the optical signal is lost, an alarm is triggered. The interruption alarm triggered by the OLT includes three categories:

[0084] ONU offline alarm: a single ONU is disconnected;

[0085] PON port interruption alarm: A PON port of the OLT fails and causes interruption;

[0086] OLT offline alarm: All PON ports under the OLT are interrupted.

[0087] When the OLT device detects the loss of optical signal, it triggers an alarm. This causes the OLT device to detect the loss of optical signal when the user's networking device controlling the home broadband service network is turned off or there is a power outage at home, thereby triggering an alarm. This causes the above situation to be misjudged as a home broadband service network interruption. Therefore, the determination scheme for home broadband service network interruption recorded in the related art has the defect of inaccurate determination of home broadband service network interruption.

[0088] Based on the defects of the above-mentioned prior art, the present invention proposes a method for determining whether a broadband network interruption occurs, which determines whether a broadband network interruption occurs by collecting the power-on time of the broadband network networking terminal and the duration of the Ethernet-based point-to-point communication protocol PPPOE, thereby accurately identifying the interruption of the home broadband service network caused by network failure, and will not misjudge the interruption of the home broadband service network when the user shuts down the networking equipment controlling the home broadband service network or there is a power outage at home, thereby improving the accuracy of the determination of the home service network interruption.

[0089] The broadband network interruption determination method proposed by the present invention is further explained below through exemplary implementation schemes.

[0090] In an exemplary embodiment, please refer to Figure 2 , Figure 2 1 is a flow chart of an embodiment of a method for determining interruption of a broadband network according to the present invention, wherein the method for determining interruption of a broadband network comprises the following steps:

[0091] Step S10, regularly collecting the boot time of the broadband network terminal and the duration of the Ethernet-based point-to-point communication protocol PPPOE;

[0092] Step S20, determining the expected PPPOE cumulative duration according to the sampling interval and the initial PPPOE duration;

[0093] Step S30, determining the actual PPPOE cumulative duration according to the collected PPPOE duration;

[0094] Step S40, determining whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration.

[0095] In this embodiment, the power-on time and PPPOE duration of the broadband network networking terminal can be collected regularly by deploying a soft probe on the broadband network networking terminal, wherein the soft probe is a software that can be deployed on the broadband network networking terminal, and the soft probe can monitor, collect and record data on the broadband network networking terminal at a certain sampling interval (sampling period). Optionally, the soft probe can be deployed on the intelligent gateway, and the soft probe can collect the power-on time and PPPOE duration of the intelligent gateway every 10 minutes of the sampling interval. It should be noted that in addition to the power-on time and the duration of PPPOE, the soft probe can also collect the device ID (Identity document, identity number) of the intelligent gateway and the sampling time of the current sampling. The soft probe can save the collected power-on time, PPPOE duration, device ID and sampling time in the form of data collection records. The above data collected by the soft probe can be obtained by reading the data collection record of the soft probe. Of course, in other embodiments, the broadband network networking terminal may also be other broadband network networking devices besides the smart gateway, that is, the soft probe may also be deployed in other broadband network networking terminals, and the sampling interval of the soft probe's regular collection may also be set according to actual needs, which is not limited in this embodiment.

[0096] Since the soft probe collects data every 10 minutes (600 seconds), if the broadband network is not interrupted, the PPPOE duration field will continue to increase, and the increase is 600. If the user restarts the broadband network terminal (such as a smart gateway), the power-on time field will be reset. Therefore, by determining whether the broadband network is interrupted by the PPPOE duration, the situation where the power-on time changes can be eliminated, that is, the situation where the broadband network terminal is restarted can be eliminated, avoiding the situation where the broadband network terminal is restarted as a broadband network interruption, thereby improving the accuracy of the determination of broadband network interruption.

[0097] After collecting the startup time of the broadband network terminal and the duration of PPPOE, the expected PPPOE cumulative duration is determined based on the sampling interval and the initial PPPOE duration, and the actual PPPOE cumulative duration is determined based on the collected PPPOE duration. Specifically, based on the "dynamic sliding window" method:

[0098] Step 1: Read a soft probe acquisition record:

[0099] R(i)={sn(i),t sample (i),t boot (i),t pppoe (i)}

[0100] Among them, sn(i) is the i-th record, t sample (i) is the sampling time corresponding to the i-th sampling, t boot (i) is the startup time corresponding to the i-th sampling, t pppoe (i) is the duration of PPPOE corresponding to the i-th sampling. The window width n can be set to 1. The window width is expressed by the number of samples. pppoe (i) As the start time of the window t s ; You can use t s As the initial PPPOE duration.

[0101] Step 2: Read the next soft probe acquisition record:

[0102] R(i+1)={sn(i+1),t sample (i+1),t boot (i+1),t pppoe (i+1)}

[0103] Determine the startup time t corresponding to this collection record boot (i+1) Compared with the startup time t of the previous collection record boot (i) Whether there is a change. If there is a change, it means that the user has restarted the broadband network terminal, then jump to step 1. If there is no change, then jump to step 3.

[0104] Step 3: If the boot time corresponding to this collection record is t boot (i+1) Compared with the startup time t of the previous collection record boot (i) If no change occurs, the window width is expanded by 1, that is, n=n+1, and the expected PPPOE cumulative duration is determined according to the sampling interval and the initial PPPOE duration. The expected PPPOE cumulative duration T p (n):

[0105] T p(n) = n*t s +0.5*n*(n-1)*p

[0106] Where p is the sampling interval of the soft probe, which can be selected as 600 seconds, and t s is the initial PPPOE duration; the actual PPPOE cumulative duration is determined according to the collected PPPOE duration, the actual PPPOE cumulative duration T(n):

[0107]

[0108] Step 4: After obtaining the expected PPPOE cumulative duration and the actual PPPOE cumulative duration, determine whether the broadband network is interrupted based on the expected PPPOE cumulative duration and the actual PPPOE cumulative duration. Specifically, determine the standard deviation of the PPPOE cumulative duration based on the collected PPPOE duration, the standard deviation of the PPPOE cumulative duration Std(n):

[0109] Std(n)=std(tpppoe(1),tpppoe(2),...,tpppoe(n))

[0110] Determine whether a broadband network interruption occurs based on the standard deviation, the expected PPPOE cumulative duration, and the actual PPPOE cumulative duration.

[0111] Step 5: After obtaining the standard deviation of the PPPOE cumulative duration, determine the difference Tp(n)-T(n) between the expected PPPOE cumulative duration and the actual PPPOE cumulative duration, and determine whether the broadband network is interrupted based on the difference Tp(n)-T(n) and the standard deviation of the PPPOE cumulative duration. Specifically, if the difference Tp(n)-T(n) is greater than Std(n), it means that the broadband network is interrupted; if the difference Tp(n)-T(n) is not greater than Std(n), it means that the broadband network is not interrupted.

[0112] Repeat the process from step 1 to step 5 to determine whether the interruption network is interrupted.

[0113] In the technical solution provided by this embodiment, the boot time of the broadband network networking terminal and the duration of the Ethernet-based point-to-point communication protocol PPPOE are collected at regular intervals; the expected PPPOE cumulative duration is determined according to the sampling interval and the initial PPPOE duration; the actual PPPOE cumulative duration is determined according to the collected PPPOE duration; and whether the broadband network is interrupted is determined according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration. This solution determines whether the broadband network is interrupted based on the PPPOE duration, and can accurately identify the interruption of the home broadband service network caused by network failure, without misjudging the interruption of the home broadband service network when the user shuts down the networking equipment that controls the home broadband service network or there is a power outage at home. In addition, the soft probe is at the end of the user-side communication link, close to the user side, and the identified interruption is more real and reliable, which improves the accuracy of the judgment of the home broadband service network interruption.

[0114] Based on the above embodiment, in another exemplary embodiment, please refer to Figure 3 , Figure 3 2 is a flow chart of another embodiment of the broadband network interruption determination method of the present invention, after step S40, further comprising:

[0115] Step S50, when it is determined that the broadband network is interrupted, obtaining a first collection time point corresponding to the last collection before the broadband network is interrupted, a second collection time point corresponding to the first collection after the interruption is restored, and a target PPPOE duration collected during the first collection after the interruption is restored;

[0116] Step S60, determining the interruption duration according to the first collection time point, the second collection time point and the target PPPOE duration;

[0117] Step S70, after determining that the broadband network is interrupted, obtaining an interruption duration record corresponding to the broadband network within a preset duration, wherein the interruption duration record includes an interruption duration corresponding to each interruption within the preset duration;

[0118] Step S80: determining whether the broadband network has frequent interruptions according to the interruption duration record.

[0119] When it is determined that the broadband network is interrupted, the first acquisition time point t corresponding to the last acquisition before the broadband network is interrupted can be obtained. sample (i) The second acquisition time point t corresponding to the first acquisition after interruption recovery sample (i+1), and the target PPPOE duration t collected during the first collection after the interruption is restored pppoe (i+1), according to the first acquisition time point tsample (i) Second collection time point t sample (i+1) and target PPPOE duration t pppoe (i+1) Determine the time t when the interruption occurs cut and the interruption duration t dur , where the interruption time t cut :

[0120] t cut =t sample (i+1)

[0121] Interruption duration t dur :

[0122] t dur =t cut -t sample (i)-t pppoe (i+1)

[0123] After obtaining the occurrence time and duration of the broadband network interruption, the occurrence time and duration of the interruption are saved to record the interruption duration corresponding to the broadband network. Whether the broadband network interruptions occur frequently can be determined by recording the interruption duration of the broadband network.

[0124] Specifically, obtain the interruption duration record corresponding to the broadband network within the preset duration, wherein the interruption duration record includes the interruption duration corresponding to each interruption within the preset duration, and the interruption duration record is a data sequence with the interruption duration corresponding to each interruption of the broadband network within the preset duration as an element, and the interruption duration record can be recorded as D={d 1 ,d 2 ,d 3 ……d i}, the number of interruption behaviors k=0; the preset duration can be selected as one day, that is, the interruption duration record corresponding to the broadband network within one day can be obtained. Of course, in other embodiments, the preset duration can also be determined according to actual needs, and this embodiment does not limit this.

[0125] After obtaining the interruption duration record corresponding to the broadband network within the preset duration, the elements in the data sequence are read sequentially, wherein one element is read from the data sequence each time, and the average value and standard deviation of the read element are determined. When the average value and the standard deviation meet the preset conditions, the number of interruptions is increased by one, and it is detected whether all the elements in the data sequence are obtained. If so, it is determined whether the broadband network has frequent interruptions based on the number of interruptions; if not, the step of sequentially reading the elements in the data sequence is executed.

[0126] Specifically, the sliding window width n can be set to 1, and an array A is defined. Array A is first set to empty, and an element in the interruption duration record D is sequentially read to A. If the last element is read, exit, and the number of interruption behaviors is recorded as k. The mean avg(A) and standard deviation std(A) of array A are calculated. If avg(A) is less than the first preset threshold and std(A) is less than the second preset threshold, the sliding window width n=n+1, and an element in D is continuously sequentially read to A until all elements in D are read. After the last element in D is read, if n is greater than the third preset threshold, k=k+1. When n is greater than the third preset threshold, it indicates that a continuous interruption phenomenon has occurred in the broadband network; otherwise, a continuous interruption phenomenon has not occurred in the broadband network. Among them, the first preset threshold can be selected as 15, the second preset threshold can be selected as 5, and the third preset threshold can be selected as 3. Of course, in other embodiments, the first preset threshold, the second preset threshold and the third preset threshold can be set according to actual needs, and this embodiment does not limit this.

[0127] In the technical solution provided by this embodiment, when determining that a broadband network is interrupted, by obtaining the first acquisition time point corresponding to the last acquisition before the broadband network is interrupted, the second acquisition time point corresponding to the first acquisition after the interruption is restored, and the target PPPOE duration collected at the first acquisition after the interruption is restored, the interruption duration is determined according to the first acquisition time point, the second acquisition time point, and the target PPPOE duration, and the interruption duration record corresponding to the broadband network within the preset duration is obtained, and whether the broadband network is frequently interrupted is determined according to the interruption duration record. This solution can accurately determine whether the broadband network is frequently interrupted through the interruption duration record of the broadband network, and has high practicality.

[0128] In addition, an embodiment of the present invention further proposes a terminal device, which includes: a memory, a processor, and a broadband network interruption determination program stored in the memory and executable on the processor, wherein the broadband network interruption determination program, when executed by the processor, implements the steps of the broadband network interruption determination method described in the above embodiments.

[0129] In addition, please refer to Figure 4 The embodiment of the present invention further provides a terminal device 100, wherein the terminal device 100 includes:

[0130] The collection module 101 is used to regularly collect the boot time of the broadband network terminal and the duration of the Ethernet-based point-to-point communication protocol PPPOE;

[0131] The determination module 102 is used to determine the expected PPPOE cumulative duration according to the sampling interval and the initial PPPOE duration; and determine the actual PPPOE cumulative duration according to the collected PPPOE duration;

[0132] The judgment module 103 is used to determine whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration.

[0133] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a broadband network interruption determination program is stored. When the broadband network interruption determination program is executed by a processor, the steps of the broadband network interruption determination method described in the above embodiments are implemented.

[0134] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0135] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0136] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.

[0137] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for determining interruption of a broadband network, characterized in that: The broadband network interruption determination method comprises: Regularly collect the startup time of broadband network terminals and the duration of Ethernet-based point-to-point communication protocol PPPOE; Determine the expected PPPOE cumulative duration according to the sampling interval and the initial PPPOE duration, wherein the expected PPPOE cumulative duration is determined according to the formula Tp(n)=n*ts+0.5*n*(n-1)*p, where n represents the window width, ts represents the initial PPPOE duration, and p represents the sampling interval; Determine the actual PPPOE cumulative duration according to the collected PPPOE duration, wherein the actual PPPOE cumulative duration is the cumulative value of the PPPOE duration collected each time; Determine whether the broadband network is interrupted based on the expected PPPOE cumulative duration and the actual PPPOE cumulative duration.

2. The broadband network interruption determination method according to claim 1, characterized in that: Before the step of determining whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration, the method further includes: Determine the standard deviation of the PPPOE cumulative duration according to the collected PPPOE duration; The step of determining whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration comprises: Determine whether the broadband network is interrupted based on the standard deviation, the expected PPPOE cumulative duration and the actual PPPOE cumulative duration.

3. The broadband network interruption determination method according to claim 2, characterized in that: The step of determining whether the broadband network is interrupted according to the standard deviation, the expected PPPOE cumulative duration and the actual PPPOE cumulative duration comprises: Determine the difference between the expected PPPOE cumulative duration and the actual PPPOE cumulative duration; When the difference is greater than the standard deviation, it is determined that the broadband network is interrupted.

4. The broadband network interruption determination method according to claim 1, characterized in that: After the step of determining whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration, the method further includes: After determining that the broadband network is interrupted, obtaining an interruption duration record corresponding to the broadband network within a preset duration, wherein the interruption duration record includes an interruption duration corresponding to each interruption within the preset duration; Determine whether the broadband network has frequent interruptions according to the interruption duration record.

5. The broadband network interruption determination method according to claim 4, characterized in that: Before the step of obtaining a record of the duration of the broadband network interruption corresponding to the broadband network within a preset duration after determining that the broadband network interruption occurs, wherein the interruption duration record includes the interruption duration corresponding to each interruption within the preset duration, the step further includes: When it is determined that the broadband network is interrupted, obtaining a first collection time point of the last collection of the PPPOE duration before the broadband network is interrupted, a second collection time point of the first collection of the PPPOE duration after the interruption is recovered, and a target PPPOE duration collected at the first collection after the interruption is recovered; The interruption duration is determined according to the first collection time point, the second collection time point, and the target PPPOE duration.

6. The broadband network interruption determination method according to claim 4, characterized in that: The interruption duration is recorded as a data sequence with the interruption duration corresponding to each interruption of the broadband network within the preset duration as an element.

7. The broadband network interruption determination method according to claim 6, characterized in that: The step of determining whether the broadband network has frequent interruptions according to the interruption duration record comprises: Sequentially read the elements in the data sequence, wherein one element is read from the data sequence each time; Determining the mean and standard deviation of the elements read; When the average value and the standard deviation meet the preset conditions, the number of interruptions increases by one; Detecting whether all elements in the data sequence are acquired; If so, determining whether the broadband network has frequent interruptions according to the number of interruptions; If not, the step of sequentially reading the elements in the data sequence is performed.

8. A terminal device, characterized in that: The terminal device includes: a memory, a processor, and a broadband network interruption determination program stored in the memory and executable on the processor. When the broadband network interruption determination program is executed by the processor, the steps of the broadband network interruption determination method as described in any one of claims 1 to 7 are implemented.

9. A terminal device, characterized in that: The terminal device comprises: The collection module is used to regularly collect the startup time of the broadband network terminal and the duration of the Ethernet-based point-to-point communication protocol PPPOE; A determination module, used to determine the expected PPPOE cumulative duration according to the sampling interval and the initial PPPOE duration; and determine the actual PPPOE cumulative duration according to the collected PPPOE duration, wherein the expected PPPOE cumulative duration is determined according to the formula Tp(n)=n*ts+0.5*n*(n-1)*p, wherein n represents the window width, ts represents the initial PPPOE duration, and p represents the sampling interval, and the actual PPPOE cumulative duration is the accumulated value of the PPPOE duration collected each time; The judgment module is used to determine whether the broadband network is interrupted according to the expected PPPOE cumulative duration and the actual PPPOE cumulative duration.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a broadband network interruption determination program, and when the broadband network interruption determination program is executed by a processor, the steps of the broadband network interruption determination method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for adjusting receiving parameters of optical line termination and optical line termination

    CN106507225A

  • Method, device and system for producing small window at client in broadband data intelligent network

    US20070055750A1