DHCP retry method of electronic whiteboard equipment

By dynamically adjusting the DHCP retry interval according to the transmission network data, the problem of poor network adaptability of electronic whiteboard equipment in obtaining IP addresses in complex network environments is solved, and a more efficient IP address acquisition process is achieved.

CN118764466APending Publication Date: 2024-10-11GUANGZHOU LANGO ELECTRONICS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411152278.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

When existing electronic whiteboard equipment uses DHCP for IP address allocation, the retry interval is fixed or a simple exponential backoff algorithm is used, which makes it difficult to effectively cope with complex network environments, resulting in poor network adaptability for obtaining IP addresses.

Method used

By obtaining the transmission network data during the initial reply time and confirmation reply time, the current transmission coefficient score is generated, and the retry interval is dynamically adjusted so that the retry time of DHCP Discover and DHCP Request messages can be adaptive according to the network transmission conditions.

Benefits of technology

Effectively cope with complex network environments, improve the network adaptability of electronic whiteboards when obtaining IP addresses, and avoid resource waste and failure probability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764466A_ABST
    Figure CN118764466A_ABST
Patent Text Reader

Abstract

The invention discloses a DHCP (Dynamic Host Configuration Protocol) retry method of electronic whiteboard equipment, relates to the technical field of electronic whiteboards, and solves the problems that the retry interval time set by the existing electronic whiteboard equipment is mostly fixed, or a simple exponential back-off algorithm is adopted to adjust the retry interval, so that the complex network environment is difficult to effectively cope with, and the retry time is difficult to adjust. And the network adaptability of acquiring the IP address by the electronic whiteboard is poor. Acquiring transmission network data in the initial reply time; generating a current transmission coefficient score according to the transmission network data; generating initial retry time according to the current transmission coefficient score; when the initial retry time is up, retry is carried out; acquiring transmission network data in the confirmation reply time, and generating a current transmission coefficient score according to the transmission network data; generating confirmation retry time according to the current transmission coefficient score; when the retry time is confirmed to be up, retry is carried out; the complex network environment can be effectively handled in the process of obtaining the address of the electronic whiteboard.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic whiteboards, and relates to electronic whiteboard technology, and specifically to a DHCP retry method for an electronic whiteboard device. Background Art

[0002] When existing electronic whiteboard devices use DHCP (Dynamic Host Configuration Protocol) to allocate IP addresses, they usually set a certain number of retry limits to prevent the device from falling into a continuous retry state when the network configuration is unstable or the DHCP server fails, affecting the normal use of the device. If the device fails to successfully obtain an IP address within the preset number of retries, the electronic whiteboard device will stop retrying and may enter a state where it cannot connect to the Internet, which will affect teaching or other activities that rely on the network environment.

[0003] The retry intervals set for existing electronic whiteboard devices are mostly fixed, or a simple exponential backoff algorithm is used to adjust the retry interval, which makes it difficult to effectively cope with complex network environments. At the same time, when the network conditions continue to be poor, premature retries may waste system resources and fail to increase the probability of successfully obtaining an IP address; this in turn leads to poor network adaptability for the electronic whiteboard to obtain an IP address. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems existing in the prior art; to this end, the present application proposes a DHCP retry method for an electronic whiteboard device, which is used to solve the technical problem that the retry interval time set for existing electronic whiteboard devices is mostly fixed, or a simple exponential backoff algorithm is used to adjust the retry interval, which makes it difficult to effectively cope with complex network environments, resulting in poor network adaptability of the electronic whiteboard in obtaining an IP address.

[0005] To achieve the above object, the first aspect of the present application provides a DHCP retry method for an electronic whiteboard device, comprising the following steps:

[0006] Step 1: Get the network interface of the electronic whiteboard device;

[0007] Step 2: Use the network interface to broadcast the DHCP Discover message;

[0008] Step 3: Determine whether the electronic whiteboard device receives the DHCP Offer message within the initial response time corresponding to the current recording period; if yes, proceed to step 5; if no, obtain the transmission network data within the initial response time, and proceed to step 4; the initial response time is predicted based on the historical transmission network data;

[0009] Step 4: Generate a current transmission coefficient score according to the transmission network data, and generate an initial retry time according to the current transmission coefficient score; when the initial retry time arrives, jump to step 2;

[0010] Step 5: Use the network interface to broadcast the DHCP Request message;

[0011] Step 6: Determine whether the electronic whiteboard device receives a DHCP ACK message within the confirmation response time corresponding to the current recording period; if yes, proceed to step 8 and set the number of repetitions to zero; if no, increase the number of repetitions by one and obtain the transmission network data within the confirmation response time, and proceed to step 7; the confirmation response time is predicted based on the historical transmission network data;

[0012] Step 7: Get the number of repetitions and determine whether the number of repetitions is greater than the number threshold; if yes, jump to step 2; if no, generate the current transmission coefficient score according to the transmission network data; generate the confirmation retry time according to the current transmission coefficient score; when the confirmation retry time arrives, jump to step 5;

[0013] Step 8: Extract and use the IP address in the DHCP ACK message, and perform network configuration according to the received DHCP ACK message.

[0014] The present application obtains the transmission network data within the initial response time; generates the current transmission coefficient score according to the transmission network data; generates the initial retry time according to the current transmission coefficient score; broadcasts the next DHCP Discover message according to the retry time; at the same time, generates the current transmission coefficient score according to the transmission network data within the confirmation response time; generates the confirmation retry time according to the transmission coefficient score; broadcasts the next DHCP Request message according to the confirmation retry time; generates the initial retry time and the confirmation retry time according to the transmission network data; that is, generates the next rebroadcast time interval according to the current network transmission situation, so that the retry time interval can be adaptive according to the network transmission situation; so that in the process of obtaining the IP address of the electronic whiteboard, it is possible to effectively cope with complex network environments.

[0015] Preferably, the initial response time is predicted based on historical transmission network data, including:

[0016] Historical network data is obtained, a predicted transmission coefficient score corresponding to each recording period is generated based on the historical network data, and an initial response time corresponding to each recording period is generated based on the predicted transmission coefficient score.

[0017] Preferably, the confirmation response time is predicted based on historical transmission network data, including:

[0018] Obtain historical network data, generate a predicted transmission coefficient score corresponding to each recording period based on the historical network data, and generate a confirmation response time corresponding to each recording period based on the predicted transmission coefficient score.

[0019] Preferably, generating a predicted transmission coefficient score based on historical network data includes:

[0020] Extracting several recording periods from several historical network data, as well as the period traffic data and period network data corresponding to each recording period;

[0021] Generate a flow factor corresponding to the flow data of each time period according to the flow data of each time period; generate a predicted flow factor according to the flow factor corresponding to the flow data of each time period;

[0022] Generate congestion factors and risk factors corresponding to the network data of each time period according to the network data of each time period; generate predicted congestion factors according to the congestion factors of the network data of each time period; generate predicted risk factors according to the risk factors corresponding to the network data of each time period;

[0023] A predicted transmission coefficient score is generated based on the predicted traffic factor, the predicted congestion factor, and the predicted risk factor.

[0024] Preferably, generating a flow factor corresponding to the flow data of each time period according to the flow data of each time period includes:

[0025] Extract the average bandwidth usage rate BS and the data volume SJk corresponding to each transmission data packet in the traffic data of the time period; k is the number of the transmission data packet in the traffic data of the corresponding time period;

[0026] The flow factor LY of the corresponding time period flow data is calculated by the formula LY=α1×BS+α2×∑(SJk) / (B×ST); wherein k=1, 2,…, Ks; Ks is the total number of transmitted data packets in the time period flow data corresponding to the recording time period numbered s; B is the bandwidth, ST is the recording duration of the recording time period; α1 and α2 are weight coefficients; the specific values ​​are set according to experience.

[0027] Preferably, the selected flow factors corresponding to the flow data in each time period are used to generate the predicted flow factors, including:

[0028] Obtain the time period number corresponding to the traffic data of each time period and the recording cycle number corresponding to each historical network data; divide the traffic factors corresponding to the traffic data of the time period with the same time period number into the same traffic factor prediction group; obtain the recording cycle number of each traffic factor in the traffic factor prediction group and its corresponding historical network data;

[0029] The flow factor prediction curve is obtained by curve fitting through interpolation method with the recording cycle number as the horizontal axis and the flow factor as the vertical axis; the predicted flow factor of the corresponding recording period in the next recording cycle is predicted according to the prediction curve.

[0030] Preferably, generating the congestion factor and risk factor corresponding to the network data of each time period according to the network data of each time period includes:

[0031] Extract the packet loss rate BL, average packet queue length PD, number of retransmitted packets CS and average packet delay time PY in the network data during the period;

[0032] The congestion factor YY of the network data in the corresponding period is calculated by the formula YY=w1×arctan(PD / BD)+w2×arctan(CS)+w3×arctan(PY / BY);

[0033] The risk factor AY of the network data in the corresponding period is calculated by the formula AY=BL; wherein w1, w2 and w3 are weight coefficients, BD is the standard queue length set in advance; BY is the standard delay time set in advance.

[0034] Preferably, generating a predicted congestion factor according to the congestion factors of network data in each time period includes:

[0035] Obtain the time period number corresponding to the network data of each time period and the recording cycle number corresponding to each historical network data; divide the congestion factors corresponding to the network data of the time period with the same time period number into the same congestion factor prediction group; obtain the recording cycle number of each congestion factor and its corresponding historical network data in the congestion factor prediction group;

[0036] The congestion factor prediction curve is obtained by curve fitting through interpolation method with the recording cycle number as the horizontal axis and the congestion factor as the vertical axis; the predicted congestion factor of the corresponding recording time period in the next recording cycle is predicted according to the prediction curve.

[0037] Preferably, generating a predicted risk factor according to the risk factors corresponding to the network data in each time period includes:

[0038] Obtain the time period number corresponding to the network data of each time period and the recording cycle number corresponding to each historical network data; classify the risk factors corresponding to the network data of the time period with the same time period number into the same risk factor prediction group; obtain the recording cycle number of each risk factor in the risk factor prediction group and its corresponding historical network data;

[0039] The risk factor prediction curve is obtained by curve fitting through interpolation method with the recording cycle number as the horizontal axis and the risk factor as the vertical axis; the predicted risk factor of the corresponding recording period in the next recording cycle is predicted according to the prediction curve.

[0040] Preferably, generating a predicted transmission coefficient score according to the predicted flow factor, the predicted congestion factor and the predicted risk factor comprises:

[0041] Obtain the predicted traffic factor YLYs of the traffic data for the time period corresponding to the recording time period numbered s, as well as the predicted congestion factor YYYs and predicted risk factor YAYs of the network data for the time period corresponding to the recording time period numbered s;

[0042] The predicted transmission coefficient score CPs corresponding to the recording period numbered s is calculated by the formula CPs=β1×LCs×YLYs+β2×YCs×YYYs+β3×ACs×YAYs; wherein β1, β2 and β3 are weight coefficients; LCs is the reference coefficient of the traffic factor in the reference data corresponding to the recording period numbered s; YCs is the reference coefficient of the congestion factor in the reference data corresponding to the recording period numbered s; ACs is the reference coefficient of the risk factor in the reference data corresponding to the recording period numbered s.

[0043] Preferably, the reference data is obtained by the following steps:

[0044] Obtain the prediction deviation data corresponding to the recording period numbered s; extract the predicted traffic deviation degree YLPs, the predicted congestion deviation degree YYPs and the predicted safety deviation degree YAPs from the prediction deviation data;

[0045] The flow factor reference coefficient LCs corresponding to the recording period numbered s is calculated by the formula LCs=exp(-q×YLPs / (YLPs+YYPs+YAPs));

[0046] The congestion factor reference coefficient YCs corresponding to the recording period numbered s is calculated by the formula YCs=exp(-q×YYPs / (YLPs+YYPs+YAPs));

[0047] The risk factor reference coefficient ACs corresponding to the recording period numbered s is calculated by the formula ACs=exp(-q×YAPs / (YLPs+YYPs+YAPs));

[0048] Integrate the traffic factor reference coefficient, congestion factor reference coefficient and risk factor reference coefficient into reference data.

[0049] Preferably, the prediction deviation data is obtained by the following steps:

[0050] Obtain the predicted flow factor LYs, predicted congestion factor YYs and predicted risk factor AYs corresponding to the recording period numbered s in the previous recording cycle; as well as the actual flow factor LSs, actual congestion factor YSs and actual risk factor ASs;

[0051] The predicted flow deviation YLPs corresponding to the recording period numbered s is calculated by the formula YLPs=|LYs-LSs| / LSs;

[0052] The predicted flow deviation YYPs corresponding to the recording period numbered s is calculated by the formula YYPs=|YYs-YSs| / YSs;

[0053] The predicted flow deviation YAPs corresponding to the recording period numbered s is calculated by the formula YAPs=|AYs-ASs| / ASs.

[0054] This application sets the reference coefficient corresponding to each factor by the difference between the predicted traffic factor, predicted congestion factor and predicted risk factor of the previous time period and the actual traffic factor, actual congestion factor and actual risk factor of the corresponding time period; and adjusts the proportion of each transmission item corresponding to the predicted transmission coefficient score according to the difference between the real data and the predicted data, so as to make the predicted transmission coefficient score more accurate.

[0055] Preferably, generating a current transmission coefficient score according to the transmission network data includes:

[0056] Extracting time period traffic data and time period network data from current transmission network data;

[0057] Extract the average bandwidth utilization rate BS and the average bandwidth utilization rate BS in the traffic data of the time period; calculate the traffic factor LY of the traffic data of the corresponding time period by the formula LY=α1×BS+α2×∑(SJk) / (B×ST); k is the number of the transmission data packet in the traffic data of the corresponding time period; k=1, 2, ..., K; K is the total number of transmission data packets in the traffic data of the time period;

[0058] Extract the packet loss rate BL, average packet queue length PD, number of retransmitted packets CS and average packet delay PY in the network data of the time period; calculate the congestion factor YY of the network data of the corresponding time period by the formula YY=w1×arctan(PD / BD)+w2×arctan(CS)+w3×arctan(PY / BY); calculate the risk factor AY of the network data of the corresponding time period by the formula AY=BL; wherein w1, w2 and w3 are weight coefficients, BD is the standard queue length set in advance; BY is the standard delay time set in advance;

[0059] The current transmission coefficient score CP is calculated by the formula CP=β1×LY+β2×YY+β3×AY; wherein β1, β2 and β3 are weight coefficients.

[0060] Preferably, generating the initial response time corresponding to each recording period according to the predicted transmission coefficient score includes:

[0061] Obtain the predicted transmission coefficient CPs corresponding to each recording period;

[0062] The initial response time CDs of the corresponding recording period is calculated by the formula CDs=BDS+γ1×CPs×KTS1; wherein BDS is the standard response time, KTS1 is the adjustable response time one, γ1 is the adjustment coefficient, and 0<γ1<1.

[0063] Preferably, generating the initial retry time according to the current transmission coefficient score comprises the following steps:

[0064] Step 1: Obtain the current transmission coefficient score and use the current transmission coefficient score as the detection coefficient score;

[0065] Step 2: Determine whether the detection coefficient score is greater than the set transmission coefficient threshold; if yes, proceed to step 3; if no, proceed to step 4;

[0066] Step 3: Generate a detection interval time according to the detection coefficient score. When the detection interval time arrives, obtain the transmission network data within the detection interval time, and generate a transmission coefficient score according to the transmission network data; use the transmission coefficient score as the detection coefficient score; and proceed to step 2;

[0067] Step 4: Calculate the initial retry time CCS by the formula CCS=ZCS+ω1×JCP×KTS2; where ZCS is the shortest retry time; JCP is the detection coefficient score; KTS2 is the adjustable response time 2; ω1 is the adjustment coefficient; and 0<ω1<1.

[0068] Preferably, the step five comprises the following steps:

[0069] Step 1: Get the number of received DHCP Offer messages;

[0070] Step 2: Determine whether the number of received DHCP Offer messages is greater than one; if yes, generate a DHCP Request message according to the first received DHCP Offer message; if no, generate a DHCPRequest message according to the received DHCP Offer message;

[0071] Step 3: Use the network interface to broadcast the DHCP Request message.

[0072] Preferably, generating the confirmation response time corresponding to each recording period according to the predicted transmission coefficient score includes:

[0073] Get the predicted transmission coefficient score CPs corresponding to the current recording period;

[0074] The confirmation response time QDs is calculated by the formula QDs=BDS+γ2×CPs×KTS1; wherein BDS is the standard response time, KTS1 is the adjustable response time one; γ2 is the adjustment coefficient, and γ1<γ2<1.

[0075] Preferably, generating the confirmation retry time according to the current transmission coefficient score comprises the following steps:

[0076] Step 1: Obtain the current transmission coefficient score and use the current transmission coefficient score as the detection coefficient score;

[0077] Step 2: Determine whether the detection coefficient score is greater than the set transmission coefficient threshold; if yes, proceed to step 3; if no, proceed to step 4;

[0078] Step 3: Generate a detection interval time according to the detection coefficient score. When the detection interval time arrives, obtain the transmission network data within the detection interval time, and generate a transmission coefficient score according to the transmission network data; use the transmission coefficient score as the detection coefficient score; and proceed to step 2;

[0079] Step 4: Calculate the confirmation retry time QCS by the formula QCS=ZCS+ω2×JCP×KTS2; where ZCS is the shortest retry time; JCP is the detection coefficient score; KTS2 is the adjustable response time 2; ω2 is the adjustment coefficient; and ω1<ω2<1.

[0080] Preferably, generating the detection interval time according to the detection coefficient score includes:

[0081] Get the detection score coefficient JCP; calculate the detection interval JCJ by the formula JCJ=BCJ-ω3×exp(-JCP)×KTJ, where BCJ is the set maximum interval time; KTJ is the set adjustable interval time; ω3 is the proportional coefficient, and 0<ω3<1.

[0082] Compared with the prior art, the beneficial effects of this application are:

[0083] 1. The present application obtains the transmission network data within the initial response time; generates the current transmission coefficient score according to the transmission network data; generates the initial retry time according to the current transmission coefficient score; broadcasts the next DHCP Discover message according to the retry time; at the same time, generates the current transmission coefficient score according to the transmission network data within the confirmation response time; generates the confirmation retry time according to the transmission coefficient score; broadcasts the next DHCP Request message according to the confirmation retry time; generates the initial retry time and the confirmation retry time according to the transmission network data; that is, generates the next rebroadcast time interval according to the current network transmission situation, so that the retry time interval can be adaptive according to the network transmission situation; so that in the process of obtaining the IP address of the electronic whiteboard, it can effectively cope with the complex network environment.

[0084] 2. This application sets the reference coefficient corresponding to each factor by the difference between the predicted traffic factor, predicted congestion factor and predicted risk factor of the previous time period and the actual traffic factor, actual congestion factor and actual risk factor of the corresponding time period; and adjusts the proportion of each transmission item corresponding to the predicted transmission coefficient score according to the difference between the real data and the predicted data, so as to make the predicted transmission coefficient score more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0086] Figure 1 A schematic diagram of the method steps of this application;

[0087] Figure 2 A schematic diagram is generated for the initial retry time in this application. DETAILED DESCRIPTION

[0088] The technical solution of the present application will be described clearly and completely below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0089] See also Figure 1 The first aspect of the present application provides a DHCP retry method for an electronic whiteboard device, comprising the following steps:

[0090] Step 1: Get the network interface of the electronic whiteboard device;

[0091] Step 2: Use the network interface to broadcast the DHCP Discover message;

[0092] Step 3: Determine whether the electronic whiteboard device receives the DHCP Offer message within the initial response time corresponding to the current recording period; if yes, proceed to step 5; if no, obtain the transmission network data within the initial response time, and proceed to step 4; the initial response time is predicted based on the historical transmission network data;

[0093] The initial response time in step 3 is the response waiting time for the network conditions in each time period generated according to the predicted transmission score coefficient of each time period; if the electronic whiteboard does not receive the DHCP Offer message within the initial response time, it is necessary to broadcast the DHCP Discover message again; the transmission network data is the time period flow data and time period network data corresponding to the initial response time; the time period flow data includes the average bandwidth usage rate and the data volume corresponding to each transmission data packet in the corresponding recording time period; the time period network data includes the data packet loss rate, average data packet queue length, number of retransmitted data packets and average data packet delay time in the corresponding recording time period;

[0094] Step 4: Generate a current transmission coefficient score according to the transmission network data, and generate an initial retry time according to the current transmission coefficient score; when the initial retry time arrives, jump to step 2;

[0095] The initial retry time in step 4 is the time from now to rebroadcast the DHCP Discover message.

[0096] Step 5: Use the network interface to broadcast the DHCP Request message;

[0097] Step 6: Determine whether the electronic whiteboard device receives a DHCP ACK message within the confirmation response time corresponding to the current recording period; if yes, proceed to step 8 and set the number of repetitions to zero; if no, increase the number of repetitions by one and obtain the transmission network data within the confirmation response time, and proceed to step 7; the confirmation response time is predicted based on the historical transmission network data;

[0098] The confirmation reply time in step six is ​​the reply waiting time for the network conditions in each time period generated according to the predicted transmission score coefficients in each recording time period; it is essentially the same as the initial waiting time.

[0099] Step 7: Get the number of repetitions and determine whether the number of repetitions is greater than the number threshold; if yes, jump to step 2; if no, generate the current transmission coefficient score according to the transmission network data; generate the confirmation retry time according to the current transmission coefficient score; when the confirmation retry time arrives, jump to step 5;

[0100] In step 7, the retry time is the time from now to rebroadcast the DHCP Request message; the number threshold is the set number of retries; if the electronic whiteboard does not receive a DHCPACK message within the set number of retries, it returns to step 2; rebroadcasts the DHCP Discover message; and rematches the DHCP device.

[0101] Step 8: Extract and use the IP address in the DHCP ACK message, and perform network configuration according to the received DHCP ACK message.

[0102] This embodiment obtains the transmission network data within the initial response time; generates the current transmission coefficient score according to the transmission network data; generates the initial retry time according to the current transmission coefficient score; broadcasts the next DHCP Discover message according to the retry time; at the same time, generates the current transmission coefficient score according to the transmission network data within the confirmation response time; generates the confirmation retry time according to the transmission coefficient score; broadcasts the next DHCPRequest message according to the confirmation retry time; generates the initial retry time and the confirmation retry time according to the transmission network data; that is, generates the next rebroadcast time interval according to the current network transmission situation, so that the retry time interval can be adaptive according to the network transmission situation; so that in the process of obtaining the IP address of the electronic whiteboard, it is possible to effectively cope with complex network environments.

[0103] Initial response time is predicted based on historical transport network data, including:

[0104] Historical network data is obtained, a predicted transmission coefficient score corresponding to each recording period is generated based on the historical network data, and an initial response time corresponding to each recording period is generated based on the predicted transmission coefficient score.

[0105] The confirmation response time is predicted based on historical transmission network data, including:

[0106] Obtain historical network data, generate a predicted transmission coefficient score corresponding to each recording period based on the historical network data, and generate a confirmation response time corresponding to each recording period based on the predicted transmission coefficient score.

[0107] Generate a predicted transmission coefficient score based on historical network data, including: extracting several record time periods in the historical network data, and the time period traffic data and time period network data corresponding to each record time period; generating a traffic factor corresponding to the traffic data for each time period based on the time period traffic data; generating a predicted traffic factor based on the traffic factor corresponding to the traffic data for each time period; generating a congestion factor and a risk factor corresponding to the network data for each time period based on the time period network data; generating a predicted congestion factor based on the congestion factor of the network data for each time period; generating a predicted risk factor based on the risk factor corresponding to the network data for each time period; and generating a predicted transmission coefficient score based on the predicted traffic factor, the predicted congestion factor and the predicted risk factor.

[0108] Historical network data includes several recording time periods, as well as the time period traffic data and time period network data corresponding to each recording time period; the time period traffic data includes the average bandwidth utilization rate and the data volume corresponding to each transmission data packet in the corresponding recording time period; the time period network data includes the data packet loss rate, average data packet queue length, number of retransmitted data packets and average data packet delay time in the corresponding recording time period; the transmission network data has the same data type as the historical network data, and also includes time period traffic data and time period network data; the only difference is that the transmission network data is the time period traffic data and time period network data corresponding to the initial response time; the predicted transmission coefficient score is the score for predicting network congestion within a certain period of time in the future based on historical network data; the larger the score, the more congested the network in the corresponding time period; the less suitable it is for signal transmission; the current transmission coefficient score is the score for network congestion generated based on the transmission network data.

[0109] Generating a flow factor corresponding to each period of flow data according to the period of flow data, including: extracting an average bandwidth usage rate BS and a data volume SJk corresponding to each transmission data packet in the period of flow data; k is the number of the transmission data packet in the corresponding period of flow data;

[0110] The flow factor LY of the corresponding time period flow data is calculated by the formula LY=α1×BS+α2×∑(SJk) / (B×ST); wherein k=1, 2,…, Ks; Ks is the total number of transmitted data packets in the time period flow data corresponding to the recording time period numbered s; B is the bandwidth, ST is the recording duration of the recording time period; α1 and α2 are weight coefficients; the specific values ​​are set according to experience.

[0111] In this embodiment, the flow factor corresponding to each recording time period is calculated by the above formula; the flow factor can represent the size of the network traffic during the recording time; the larger the flow factor, the larger the value of the network traffic; when the average bandwidth usage rate corresponding to each recording time period is larger, the corresponding traffic is larger; the more data packets are transmitted during the recording period, the larger the data volume of each transmitted data packet, and the larger the corresponding traffic; the larger the corresponding flow factor is; otherwise, it is smaller; the network traffic situation of the corresponding time period is represented by the flow factor, which is convenient for subsequent calculations.

[0112] The average bandwidth usage rate is obtained by testing the bandwidth usage rate multiple times in each recording period and taking the average value.

[0113] Generate a predicted traffic factor according to the traffic factors corresponding to the traffic data of each time period, including: obtaining the time period number corresponding to the traffic data of each time period and the recording period number corresponding to each historical network data; dividing the traffic factors corresponding to the traffic data of the time period with the same time period number into the same traffic factor prediction group; obtaining each traffic factor in the traffic factor prediction group and the recording period number of the corresponding historical network data;

[0114] The flow factor prediction curve is obtained by curve fitting with the recording cycle number as the horizontal axis and the flow factor as the vertical axis through interpolation method; the predicted flow factor of the corresponding recording period in the next recording cycle is predicted according to the prediction curve. The flow factor of the next corresponding recording period is predicted based on the change of the flow factor in each recording period; it can be understood that the recording period selected for prediction should be close to the current prediction time, such as data within the 40 recording periods before the current one.

[0115] The recording period number is the number of each historical network data, and each historical network data includes the period flow data and period network data of each recording period in a recording period; if the duration of the recording period is set to 1 hour and the duration of the recording period is set to 1 day, there are 24 recording periods in a recording period; each recording period has its corresponding number, such as the period number 1 from 0 o'clock to 1 o'clock; the period number 2 from 1 o'clock to 2 o'clock; the above is just an example, and the specific recording period and recording period need to be set according to experience; the duration corresponding to the recording period in the specific implementation is generally set within minutes, such as 5 minutes, 30 seconds and the like; the recording period also has its corresponding recording period number, and the number of the recording period is smaller as the distance from the current time is farther; the division method of the recording period in each recording period is the same, and the numbering method of the recording period is the same; so that there are recording periods with the same period number in each recording period; it is convenient to count the changes in the flow factor in each same time period; and then it is convenient to predict the flow factor of the unreached recording period in the ongoing recording period, and predict the flow factor of each recording period in the next unreached recording period.

[0116] Alternatively, the flow factors of each recording period are predicted by another method, specifically including: obtaining the flow factors of the same recording period as the current recording period; taking the average value of each flow factor as the predicted flow factor of the corresponding recording period; specifically, when the current recording period is the first recording period on Monday, obtaining the flow factors of the first recording period corresponding to each Monday, and taking the average value of these flow factors as the predicted flow factor of the first recording period on Monday; thereby, the predicted flow factors corresponding to each recording period from Monday to Sunday can be obtained.

[0117] Generate congestion factors and risk factors corresponding to network data of each time period according to network data of each time period, including: extracting packet loss rate BL, average packet queue length PD, number of retransmitted packets CS and average packet delay time PY in network data of each time period; packet loss rate is the probability of packet loss in the process of transmitting data packets, which is obtained by the ratio of the total number of lost data packets to the total number of transmitted data packets; average packet queue length is the length of each data packet queue during detection, if multiple detections are performed, the average value of multiple times is taken, or the closer the detection time is to the current time, the greater the weight is set, and the weighted sum of multiple detection results is obtained; the number of retransmitted packets is the number of data packets retransmitted in the corresponding time period; the average packet delay time is the average value of the delay time of each data packet;

[0118] The congestion factor YY of the network data in the corresponding period is calculated by the formula YY=w1×arctan(PD / BD)+w2×arctan(CS)+w3×arctan(PY / BY); wherein w1, w2 and w3 are weight coefficients, BD is the standard queue length set in advance; BY is the standard delay time set in advance;

[0119] This embodiment calculates the congestion factor in the corresponding time period through the above formula; when the average data packet queue length is longer, or the number of retransmitted data packets is greater, or the average data packet delay time is longer, it means that the transmission environment in the corresponding time is more congested; the corresponding congestion factor is greater.

[0120] The risk factor AY of the network data in the corresponding period is calculated by the formula AY=BL. In this embodiment, the risk factor is represented by the data packet loss rate. When the data packet loss rate is higher, it means that the probability of data packet loss during transmission is greater, and the corresponding transmission risk is higher, that is, the risk factor is greater.

[0121] Generate a predicted congestion factor based on the congestion factor of network data in each period, including:

[0122] Obtain the time period number corresponding to the network data of each time period and the recording cycle number corresponding to each historical network data; divide the congestion factors corresponding to the network data of the time period with the same time period number into the same congestion factor prediction group; obtain the recording cycle number of each congestion factor and its corresponding historical network data in the congestion factor prediction group;

[0123] The congestion factor prediction curve is obtained by curve fitting through interpolation method with the recording cycle number as the horizontal axis and the congestion factor as the vertical axis; the predicted congestion factor of the corresponding recording time period in the next recording cycle is predicted according to the prediction curve.

[0124] Alternatively, the congestion factor of each recording period is predicted by another method, specifically including: obtaining the congestion factor of the recording period that is the same as the current recording period; taking the average value of each congestion factor as the predicted congestion factor of the corresponding recording period; specifically, when the current recording period is the first recording period on Monday, the congestion factor of the first recording period corresponding to each Monday is obtained, and the average value of these congestion factors is taken as the predicted congestion factor of the first recording period on Monday; thereby, the predicted congestion factor corresponding to each recording period from Monday to Sunday can be obtained.

[0125] Generate predicted risk factors based on the risk factors corresponding to the network data in each period, including:

[0126] Obtain the time period number corresponding to the network data of each time period and the recording cycle number corresponding to each historical network data; classify the risk factors corresponding to the network data of the time period with the same time period number into the same risk factor prediction group; obtain the recording cycle number of each risk factor in the risk factor prediction group and its corresponding historical network data;

[0127] The risk factor prediction curve is obtained by curve fitting with the recording cycle number as the horizontal axis and the risk factor as the vertical axis through interpolation method; the predicted risk factor of the corresponding recording period in the next recording cycle is predicted according to the prediction curve. The method of obtaining the predicted congestion factor and the predicted risk factor is similar to that of the predicted traffic factor.

[0128] Alternatively, the risk factors of each recording period are predicted by another method, specifically including: obtaining the risk factors of the recording period that is the same as the current recording period; taking the average value of each risk factor as the predicted risk factor of the corresponding recording period; specifically, when the current recording period is the first recording period on Monday, obtaining the risk factors of the first recording period corresponding to each Monday, and taking the average value of these congestion factors as the predicted risk factor of the first recording period on Monday; thereby, the predicted risk factors corresponding to each recording period from Monday to Sunday can be obtained.

[0129] Generate a predicted transmission coefficient score according to the predicted flow factor, the predicted congestion factor and the predicted risk factor, including: obtaining a predicted flow factor YLYs of the flow data of the time period corresponding to the recording time period numbered s, and a predicted congestion factor YYYs and a predicted risk factor YAYs of the network data of the time period corresponding to the recording time period numbered s;

[0130] The predicted transmission coefficient score CPs corresponding to the recording period numbered s is calculated by the formula CPs=β1×LCs×YLYs+β2×YCs×YYYs+β3×ACs×YAYs; wherein β1, β2 and β3 are weight coefficients; LCs is the reference coefficient of the traffic factor in the reference data corresponding to the recording period numbered s; YCs is the reference coefficient of the congestion factor in the reference data corresponding to the recording period numbered s; ACs is the reference coefficient of the risk factor in the reference data corresponding to the recording period numbered s.

[0131] The present application calculates the predicted transmission coefficient score through the above formula. The smaller the predicted transmission coefficient score is, the less congestion the network transmission is and the smaller the transmission risk is; the more suitable it is for data packet transmission; and the shorter the time it takes for the data packet transmission to arrive.

[0132] The reference data is obtained by the following steps: obtaining the prediction deviation data corresponding to the recording period numbered s; extracting the predicted traffic deviation degree YLPs, the predicted congestion deviation degree YYPs and the predicted safety deviation degree YAPs from the prediction deviation data;

[0133] The flow factor reference coefficient LCs corresponding to the recording period numbered s is calculated by the formula LCs=exp(-q×YLPs / (YLPs+YYPs+YAPs));

[0134] The congestion factor reference coefficient YCs corresponding to the recording period numbered s is calculated by the formula YCs=exp(-q×YYPs / (YLPs+YYPs+YAPs));

[0135] The risk factor reference coefficient ACs corresponding to the recording period numbered s is calculated by the formula ACs=exp(-q×YAPs / (YLPs+YYPs+YAPs));

[0136] Integrate the traffic factor reference coefficient, congestion factor reference coefficient and risk factor reference coefficient into reference data.

[0137] The prediction deviation data is obtained by the following steps: obtaining the predicted flow factor LYs, predicted congestion factor YYs and predicted risk factor AYs corresponding to the recording period numbered s in the previous recording cycle; and the actual flow factor LSs, actual congestion factor YSs and actual risk factor ASs;

[0138] The predicted flow deviation YLPs corresponding to the recording period numbered s is calculated by the formula YLPs=|LYs-LSs| / LSs;

[0139] The predicted flow deviation YYPs corresponding to the recording period numbered s is calculated by the formula YYPs=|YYs-YSs| / YSs;

[0140] The predicted flow deviation YAPs corresponding to the recording period numbered s is calculated by the formula YAPs=|AYs-ASs| / ASs.

[0141] This embodiment sets the reference coefficient corresponding to each factor by the difference between the predicted traffic factor, predicted congestion factor and predicted risk factor of the previous time period and the actual traffic factor, actual congestion factor and actual risk factor of the corresponding time period; according to the difference between the real data and the predicted data, the proportion of each transmission item corresponding to the predicted transmission coefficient score is adjusted accordingly to make the predicted transmission coefficient score more accurate.

[0142] Generating a current transmission coefficient score according to the transmission network data includes: extracting the time period flow data and the time period network data in the current transmission network data; extracting the average bandwidth utilization rate BS and the average bandwidth utilization rate BS in the time period flow data; calculating the flow factor LY of the corresponding time period flow data by the formula LY=α1×BS+α2×∑(SJk) / (B×ST); k is the number of the transmission data packet in the corresponding time period flow data; k=1, 2, ..., K; K is the total number of transmission data packets in the time period flow data;

[0143] Extract the packet loss rate BL, average packet queue length PD, number of retransmitted packets CS and average packet delay PY in the network data of the time period; calculate the congestion factor YY of the network data of the corresponding time period by the formula YY=w1×arctan(PD / BD)+w2×arctan(CS)+w3×arctan(PY / BY); calculate the risk factor AY of the network data of the corresponding time period by the formula AY=BL; wherein w1, w2 and w3 are weight coefficients, BD is the standard queue length set in advance; BY is the standard delay time set in advance;

[0144] The current transmission coefficient score CP is calculated by the formula CP=β1×LY+β2×YY+β3×AY; wherein β1, β2 and β3 are weight coefficients.

[0145] The current transmission coefficient score is obtained by weighted summation of the traffic factor, congestion factor and risk factor in the current transmission network data; the smaller the current transmission coefficient score, the less congestion in the network transmission and the smaller the transmission risk; the more suitable it is for data packet transmission; the more suitable it is for message sending.

[0146] The initial response time corresponding to each recording period is generated based on the predicted transmission coefficient score, including:

[0147] Obtain the predicted transmission coefficient CPs corresponding to each recording period;

[0148] The initial response time CDs of the corresponding recording period is calculated by the formula CDs=BDS+γ1×CPs×KTS1; wherein BDS is the standard response time, KTS1 is the adjustable response time one, γ1 is the adjustment coefficient, and 0<γ1<1.

[0149] This embodiment calculates the initial waiting time through the above formula. When the predicted transmission coefficient score is smaller, it means that the network transmission congestion is smaller and the transmission risk is smaller; it is more suitable for data packet transmission; the time taken for the data packet transmission to arrive is shorter; and the corresponding initial waiting time is set shorter.

[0150] See also Figure 2, generating the initial retry time according to the current transmission coefficient score, comprising the following steps:

[0151] Step 1: Obtain the current transmission coefficient score and use the current transmission coefficient score as the detection coefficient score;

[0152] Step 2: Determine whether the detection coefficient score is greater than the set transmission coefficient threshold; if yes, proceed to step 3; if no, proceed to step 4;

[0153] Step 3: Generate a detection interval time according to the detection coefficient score. When the detection interval time arrives, obtain the transmission network data within the detection interval time, and generate a transmission coefficient score according to the transmission network data; use the transmission coefficient score as the detection coefficient score; and proceed to step 2;

[0154] Step 4: Calculate the initial retry time CCS by the formula CCS=ZCS+ω1×JCP×KTS2; where ZCS is the shortest retry time; JCP is the detection coefficient score; KTS2 is the adjustable response time 2; ω1 is the adjustment coefficient; and 0<ω1<1.

[0155] This embodiment obtains the initial retry duration through the above steps; when the current transmission coefficient score is greater than the set transmission coefficient threshold, that is, the detection coefficient score is greater than the set transmission coefficient threshold; it means that the network is too congested at this time, the probability of transmission data packet loss is high, and it is not suitable for data packet transmission; when the detection coefficient score is less than or equal to the set transmission coefficient threshold, it means that the network is not congested, the probability of transmission data packet loss is low; it is suitable for data packet transmission; it is suitable for message sending; and the smaller the detection coefficient score, the more suitable it is for data packet transmission, so the smaller the detection coefficient score, the smaller the corresponding retry interval, that is, the smaller the initial retry duration.

[0156] Step five includes the following steps:

[0157] Step 1: Get the number of received DHCP Offer messages;

[0158] Step 2: Determine whether the number of received DHCP Offer messages is greater than one; if yes, generate a DHCP Request message according to the first received DHCP Offer message; if no, generate a DHCPRequest message according to the received DHCP Offer message;

[0159] Step 3: Use the network interface to broadcast the DHCP Request message.

[0160] In this embodiment, when multiple DHCP Offer messages are received, the DHCP device corresponding to the first received DHCP Offer message is selected as the target DHCP device and a corresponding DHCP Request message is generated; because the DHCP Offer message is received first, it indicates that the distance between the corresponding DHCP devices is short and the transmission network is less congested, which is more suitable for subsequent data packet transmission.

[0161] Generate the confirmation response time corresponding to each recording period based on the predicted transmission coefficient score, including:

[0162] Get the predicted transmission coefficient score CPs corresponding to the current recording period;

[0163] The confirmation response time QDs is calculated by the formula QDs=BDS+γ2×CPs×KTS1; wherein BDS is the standard response time, KTS1 is the adjustable response time one; γ2 is the adjustment coefficient, and γ1<γ2<1.

[0164] This embodiment calculates the confirmation waiting time through the above formula. When the predicted transmission coefficient score is smaller, it means that the network transmission congestion is smaller and the transmission risk is smaller; it is more suitable for data packet transmission; the time taken for the arrival of the data packet transmission is shorter; the corresponding confirmation waiting time is set shorter; since the reply message of the corresponding DHCP device has been received before, it means that the corresponding DHCP device can be communicated with, but the transmission of the data packet may be delayed due to problems such as network congestion; therefore, the corresponding acceptable confirmation waiting time is longer than the initial waiting time; that is, γ1<γ2.

[0165] Generating the confirmation retry time according to the current transmission coefficient score includes the following steps:

[0166] Step 1: Obtain the current transmission coefficient score and use the current transmission coefficient score as the detection coefficient score;

[0167] Step 2: Determine whether the detection coefficient score is greater than the set transmission coefficient threshold; if yes, proceed to step 3; if no, proceed to step 4;

[0168] Step 3: Generate a detection interval time according to the detection coefficient score. When the detection interval time arrives, obtain the transmission network data within the detection interval time, and generate a transmission coefficient score according to the transmission network data; use the transmission coefficient score as the detection coefficient score; and proceed to step 2;

[0169] Step 4: Calculate the confirmation retry time QCS by the formula QCS=ZCS+ω2×JCP×KTS2; where ZCS is the shortest retry time; JCP is the detection coefficient score; KTS2 is the adjustable response time 2; ω2 is the adjustment coefficient; and ω1<ω2<1.

[0170] This embodiment obtains the confirmation retry duration through the above steps; when the current transmission coefficient score is greater than the set transmission coefficient threshold, that is, the detection coefficient score is greater than the set transmission coefficient threshold; it indicates that the network is too congested at this time, the probability of transmission data packet loss is high, and it is not suitable for data packet transmission; when the detection coefficient score is less than or equal to the set transmission coefficient threshold, it indicates that the network is not congested, the probability of transmission data packet loss is low; it is suitable for data packet transmission; it is suitable for message sending; and the smaller the detection coefficient score, the more suitable it is for data packet transmission, so the smaller the detection coefficient score, the smaller the corresponding retry interval, that is, the smaller the confirmation retry duration; since the reply message of the corresponding DHCP device has been received before, it indicates that communication with the corresponding DHCP device is possible, but the transmission of data packets may be delayed due to problems such as network congestion; therefore, the corresponding acceptable confirmation retry time is longer than the initial retry time; that is, ω1<ω2.

[0171] Preferably, generating the detection interval time according to the detection coefficient score includes:

[0172] Get the detection score coefficient JCP; calculate the detection interval JCJ by the formula JCJ=BCJ-ω3×exp(-JCP)×KTJ, where BCJ is the set maximum interval time; KTJ is the set adjustable interval time; ω3 is the proportional coefficient, and 0<ω3<1.

[0173] In this embodiment, the detection interval is calculated by the above formula. Since the congestion of the transmission network generally does not change rapidly, the more congested the transmission network is, the longer the detection interval is set, and the smoother the transmission network is, the shorter the detection interval is set.

[0174] Part of the data in the above formula is calculated by removing the dimension and taking its numerical value. The formula is a formula closest to the actual situation obtained by software simulation of a large amount of collected data; the preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained through simulation of a large amount of data.

[0175] How this application works:

[0176] The present application obtains the transmission network data within the initial response time; generates the current transmission coefficient score according to the transmission network data; generates the initial retry time according to the current transmission coefficient score; broadcasts the next DHCP Discover message according to the retry time; at the same time, generates the current transmission coefficient score according to the transmission network data within the confirmation response time; generates the confirmation retry time according to the transmission coefficient score; broadcasts the next DHCP Request message according to the confirmation retry time; generates the initial retry time and the confirmation retry time according to the transmission network data; that is, generates the next rebroadcast time interval according to the current network transmission situation, so that the retry time interval can be adaptive according to the network transmission situation; so that in the process of obtaining the IP address of the electronic whiteboard, it is possible to effectively cope with complex network environments.

[0177] The above embodiments are only used to illustrate the technical method of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the preferred embodiments, a person of ordinary skill in the art should understand that the technical method of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present application.

Claims

1. A DHCP retry method for an electronic whiteboard device, characterized in that: The following steps are involved: Step 1: Get the network interface of the electronic whiteboard device; Step 2: Use the network interface to broadcast the DHCP Discover message; Step 3: Determine whether the electronic whiteboard device receives a DHCPOffer message within the initial response time corresponding to the current recording period; If yes, proceed to step 5; If no, obtain the transmission network data within the initial response time, and then proceed to step 4; the initial response time is predicted based on the historical transmission network data; Step 4: generating a current transmission coefficient score according to the transmission network data, and generating an initial retry time according to the current transmission coefficient score; When the initial retry time arrives, jump to step 2; Step 5: Use the network interface to broadcast the DHCP Request message; Step 6: Determine whether the electronic whiteboard device receives a DHCPACK message within the confirmation response time corresponding to the current recording period; if yes, proceed to step 8, and set the number of repetitions to zero; if no, increase the number of repetitions by one, and obtain the transmission network data within the confirmation response time, and proceed to step 7; the confirmation response time is predicted based on the historical transmission network data; Step 7: Get the number of repetitions and determine whether the number of repetitions is greater than the number threshold; If yes, jump to step 2; if no, generate the current transmission coefficient score according to the transmission network data; generate the confirmation retry time according to the current transmission coefficient score; When the confirmed retry time arrives, jump to step 5; Step 8: Extract and use the IP address in the DHCP ACK message, and perform network configuration according to the received DHCP ACK message.

2. The DHCP retry method of an electronic whiteboard device according to claim 1, characterized in that: The initial response time is predicted based on historical transmission network data, including: Historical network data is obtained, a predicted transmission coefficient score corresponding to each recording period is generated based on the historical network data, and an initial response time corresponding to each recording period is generated based on the predicted transmission coefficient score.

3. The DHCP retry method of an electronic whiteboard device according to claim 1, characterized in that: The confirmation response time is predicted based on historical transmission network data, including: Obtain historical network data, generate a predicted transmission coefficient score corresponding to each recording period based on the historical network data, and generate a confirmation response time corresponding to each recording period based on the predicted transmission coefficient score.

4. A DHCP retry method for an electronic whiteboard device according to claim 2 or 3, characterized in that: The generating of a predicted transmission coefficient score according to historical network data includes: Extracting several recording time periods from the historical network data, as well as the time period traffic data and time period network data corresponding to each recording time period; Generate a flow factor corresponding to the flow data of each time period according to the flow data of each time period; generate a predicted flow factor according to the flow factor corresponding to the flow data of each time period; Generate congestion factors and risk factors corresponding to the network data of each time period according to the network data of each time period; generate predicted congestion factors according to the congestion factors of the network data of each time period; generate predicted risk factors according to the risk factors corresponding to the network data of each time period; A predicted transmission coefficient score is generated based on the predicted traffic factor, the predicted congestion factor, and the predicted risk factor.

5. The DHCP retry method of an electronic whiteboard device according to claim 4, characterized in that: The generating of the flow factor corresponding to the flow data of each time period according to the flow data of each time period includes: Extract the average bandwidth usage rate BS and the data volume SJk corresponding to each transmission data packet in the traffic data of the time period; k is the number of the transmission data packet in the traffic data of the corresponding time period; The flow factor LY of the corresponding time period flow data is calculated by the formula LY=α1×BS+α2×∑(SJk) / (B×ST); wherein k=1, 2,…, Ks; Ks is the total number of transmitted data packets in the time period flow data corresponding to the recording time period numbered s; B is the bandwidth, ST is the recording duration of the recording time period; α1 and α2 are weight coefficients; the specific values ​​are set according to experience.

6. The DHCP retry method of an electronic whiteboard device according to claim 5, characterized in that: The selected traffic factors corresponding to the traffic data in each period are used to generate predicted traffic factors, including: Obtain the time period number corresponding to the traffic data of each time period and the recording cycle number corresponding to each historical network data; divide the traffic factors corresponding to the traffic data of the time period with the same time period number into the same traffic factor prediction group; obtain the recording cycle number of each traffic factor in the traffic factor prediction group and its corresponding historical network data; The flow factor prediction curve is obtained by curve fitting through interpolation method with the recording cycle number as the horizontal axis and the flow factor as the vertical axis; the predicted flow factor of the corresponding recording period in the next recording cycle is predicted according to the prediction curve.

7. The DHCP retry method of an electronic whiteboard device according to claim 4, characterized in that: The generating of the congestion factor and risk factor corresponding to the network data of each time period according to the network data of each time period includes: Extract the packet loss rate BL, average packet queue length PD, number of retransmitted packets CS and average packet delay time PY in the network data during the period; The congestion factor YY of the network data in the corresponding period is calculated by the formula YY=w1×arctan(PD / BD)+w2×arctan(CS)+w3×arctan(PY / BY); The risk factor AY of the network data in the corresponding period is calculated by the formula AY=BL; wherein w1, w2 and w3 are weight coefficients, BD is the standard queue length set in advance; BY is the standard delay time set in advance.

8. The DHCP retry method of an electronic whiteboard device according to claim 7, characterized in that: The generating of the predicted congestion factor according to the congestion factors of the network data in each time period includes: Obtain the time period number corresponding to the network data of each time period and the recording cycle number corresponding to each historical network data; divide the congestion factors corresponding to the network data of the time period with the same time period number into the same congestion factor prediction group; obtain the recording cycle number of each congestion factor and its corresponding historical network data in the congestion factor prediction group; The congestion factor prediction curve is obtained by curve fitting through interpolation method with the recording cycle number as the horizontal axis and the congestion factor as the vertical axis; the predicted congestion factor of the corresponding recording time period in the next recording cycle is predicted according to the prediction curve.

9. The DHCP retry method of an electronic whiteboard device according to claim 7, characterized in that: The generating of the predicted risk factors according to the risk factors corresponding to the network data in each time period includes: Obtain the time period number corresponding to the network data of each time period and the recording cycle number corresponding to each historical network data; classify the risk factors corresponding to the network data of the time period with the same time period number into the same risk factor prediction group; obtain the recording cycle number of each risk factor in the risk factor prediction group and its corresponding historical network data; The risk factor prediction curve is obtained by curve fitting through interpolation method with the recording cycle number as the horizontal axis and the risk factor as the vertical axis; the predicted risk factor of the corresponding recording period in the next recording cycle is predicted according to the prediction curve.

10. The DHCP retry method of an electronic whiteboard device according to claim 4, characterized in that: The generating of the predicted transmission coefficient score according to the predicted traffic factor, the predicted congestion factor and the predicted risk factor includes: Obtain the predicted traffic factor YLYs of the traffic data for the time period corresponding to the recording time period numbered s, as well as the predicted congestion factor YYYs and predicted risk factor YAYs of the network data for the time period corresponding to the recording time period numbered s; The predicted transmission coefficient score CPs corresponding to the recording period numbered s is calculated by the formula CPs=β1×LCs×YLYs+β2×YCs×YYYs+β3×ACs×YAYs; wherein β1, β2 and β3 are weight coefficients; LCs is the reference coefficient of the traffic factor in the reference data corresponding to the recording period numbered s; YCs is the reference coefficient of the congestion factor in the reference data corresponding to the recording period numbered s; ACs is the reference coefficient of the risk factor in the reference data corresponding to the recording period numbered s.

11. A DHCP retry method for an electronic whiteboard device according to claim 10, characterized in that: The reference data is obtained by the following steps: Obtain the prediction deviation data corresponding to the recording period numbered s; extract the predicted traffic deviation degree YLPs, the predicted congestion deviation degree YYPs and the predicted safety deviation degree YAPs from the prediction deviation data; The flow factor reference coefficient LCs corresponding to the recording period numbered s is calculated by the formula LCs=exp(-q×YLPs / (YLPs+YYPs+YAPs)); The congestion factor reference coefficient YCs corresponding to the recording period numbered s is calculated by the formula YCs=exp(-q×YYPs / (YLPs+YYPs+YAPs)); The risk factor reference coefficient ACs corresponding to the recording period numbered s is calculated by the formula ACs=exp(-q×YAPs / (YLPs+YYPs+YAPs)); Integrate the traffic factor reference coefficient, congestion factor reference coefficient and risk factor reference coefficient into reference data.

12. A DHCP retry method for an electronic whiteboard device according to claim 11, characterized in that: The prediction deviation data is obtained by the following steps: Obtain the predicted traffic factor LYs, predicted congestion factor YYs and predicted risk factor AYs corresponding to the recording period numbered s in the previous recording cycle; and actual traffic factors LSs, actual congestion factors YSs, and actual risk factors ASs; The predicted flow deviation YLPs corresponding to the recording period numbered s is calculated by the formula YLPs=|LYs-LSs| / LSs; The predicted flow deviation YYPs corresponding to the recording period numbered s is calculated by the formula YYPs=|YYs-YSs| / YSs; The predicted flow deviation YAPs corresponding to the recording period numbered s is calculated by the formula YAPs=|AYs-ASs| / ASs.

13. The DHCP retry method of an electronic whiteboard device according to claim 1, characterized in that: Generating the current transmission coefficient score according to the transmission network data includes: Extracting time period traffic data and time period network data from current transmission network data; Extract the average bandwidth utilization rate BS and the average bandwidth utilization rate BS in the traffic data of the time period; calculate the traffic factor LY of the traffic data of the corresponding time period by the formula LY=α1×BS+α2×∑(SJk) / (B×ST); k is the number of the transmission data packet in the traffic data of the corresponding time period; k=1, 2, ..., K; K is the total number of transmission data packets in the traffic data of the time period; Extract the packet loss rate BL, average packet queue length PD, number of retransmitted packets CS and average packet delay PY in the network data of the time period; calculate the congestion factor YY of the network data of the corresponding time period by the formula YY=w1×arctan(PD / BD)+w2×arctan(CS)+w3×arctan(PY / BY); calculate the risk factor AY of the network data of the corresponding time period by the formula AY=BL; wherein w1, w2 and w3 are weight coefficients, BD is the standard queue length set in advance; BY is the standard delay time set in advance; The current transmission coefficient score CP is calculated by the formula CP = β1×LY+β2×YY+β3×AY; wherein β1, β2 and β3 are weight coefficients.

14. The DHCP retry method of an electronic whiteboard device according to claim 2, characterized in that: The generating of the initial response time corresponding to each recording period according to the predicted transmission coefficient score includes: Obtain the predicted transmission coefficient CPs corresponding to each recording period; The initial response time CDs of the corresponding recording period is calculated by the formula CDs=BDS+γ1×CPs×KTS1; wherein BDS is the standard response time, KTS1 is the adjustable response time one, γ1 is the adjustment coefficient, and 0<γ1<1.

15. The DHCP retry method of an electronic whiteboard device according to claim 1, characterized in that: Generating the initial retry time according to the current transmission coefficient score includes the following steps: Step 1: Obtain the current transmission coefficient score and use the current transmission coefficient score as the detection coefficient score; Step 2: Determine whether the detection coefficient score is greater than the set transmission coefficient threshold; if yes, proceed to step 3; if no, proceed to step 4; Step 3: Generate a detection interval time according to the detection coefficient score. When the detection interval time arrives, obtain the transmission network data within the detection interval time, and generate a transmission coefficient score according to the transmission network data; use the transmission coefficient score as the detection coefficient score; and proceed to step 2; Step 4: Calculate the initial retry time CCS by the formula CCS=ZCS+ω1×JCP×KTS2; where ZCS is the shortest retry time; JCP is the detection coefficient score; KTS2 is the adjustable response time 2; ω1 is the adjustment coefficient; and 0<ω1<1.

16. The DHCP retry method of an electronic whiteboard device according to claim 1, characterized in that: The step five comprises the following steps: Step 1: Get the number of received DHCP Offer messages; Step 2: Determine whether the number of received DHCP Offer messages is greater than one; if yes, generate a DHCP Request message according to the first received DHCP Offer message; if no, generate a DHCP Request message according to the received DHCP Offer message; Step 3: Use the network interface to broadcast the DHCP Request message.

17. The DHCP retry method of an electronic whiteboard device according to claim 3, characterized in that: The step of generating the confirmation response time corresponding to each recording period according to the predicted transmission coefficient score includes: Get the predicted transmission coefficient score CPs corresponding to the current recording period; The confirmation response time QDs is calculated by the formula QDs=BDS+γ2×CPs×KTS1; wherein BDS is the standard response time, KTS1 is the adjustable response time one; γ2 is the adjustment coefficient, and γ1<γ2<1.

18. The DHCP retry method of an electronic whiteboard device according to claim 1, characterized in that: Generating the confirmation retry time according to the current transmission coefficient score includes the following steps: Step 1: Obtain the current transmission coefficient score and use the current transmission coefficient score as the detection coefficient score; Step 2: Determine whether the detection coefficient score is greater than the set transmission coefficient threshold; if yes, proceed to step 3; if no, proceed to step 4; Step 3: Generate a detection interval time according to the detection coefficient score. When the detection interval time arrives, obtain the transmission network data within the detection interval time, and generate a transmission coefficient score according to the transmission network data; use the transmission coefficient score as the detection coefficient score; and proceed to step 2; Step 4: Calculate the confirmation retry time QCS by the formula QCS=ZCS+ω2×JCP×KTS2; where ZCS is the shortest retry time; JCP is the detection coefficient score; KTS2 is the adjustable response time 2; ω2 is the adjustment coefficient; and ω1<ω2<1.

19. A DHCP retry method for an electronic whiteboard device according to claim 15 or 18, characterized in that: The step of generating the detection interval time according to the detection coefficient score includes: Get the detection score coefficient JCP; calculate the detection interval JCJ by the formula JCJ=BCJ-ω3×exp(-JCP)×KTJ, where BCJ is the set maximum interval time; KTJ is the set adjustable interval time; ω3 is the proportional coefficient, and 0<ω3<1.

Citation Information

Cited By

  • Method, device and system for carrying out trust degree evaluation on side end equipment node

    CN119155126A