Power distribution IoT intelligent gateway operation detection method and system based on IoT platform
By implementing intelligent gateway operation detection methods on the Internet of Things platform, establishing an impact model of temperature and response speed, calculating impact weights, comprehensively judging the operating status of the intelligent gateway, and conducting high concurrency testing, the problems of the impact of intelligent gateway data transmission speed and the evaluation of compressive resistance are solved, and more comprehensive detection and more stable operation are achieved.
Patent Information
- Application Number
- CN202410625522.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-05-20
AI Technical Summary
In the prior art, the degree of impact of the operating temperature and response speed of the intelligent gateway on the data transmission speed is not comprehensively considered, and the intelligent gateway's compressive ability to withstand bursts of high concurrent data cannot be effectively evaluated.
The IoT intelligent gateway operation detection method based on the IoT platform is adopted. By obtaining the operating temperature and response speed fluctuations of the smart gateway, an impact model is established, the impact weights of temperature and response speed are calculated, the operation status of the smart gateway is comprehensively judged, and high concurrent data testing is conducted to evaluate the compressive resistance.
Effectively evaluate and judge the impact of the data transmission speed of the intelligent gateway, improve the comprehensiveness of the detection, and ensure the stable operation of the intelligent gateway under high concurrency conditions.
Smart Images

Figure CN118473978B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to an operation detection method and system for a power distribution IoT intelligent gateway based on an IoT platform. Background Art
[0002] Smart home is gaining more and more attention, and smart gateway is the core device that connects various smart devices and realizes intelligent control. Choosing a suitable smart gateway can make your smart home system more stable, efficient and secure.
[0003] The operating status of the smart gateway is mainly related to the stability of the data transmission speed of the smart gateway, and the data transmission speed of the smart gateway is directly affected by the operating temperature and response speed of the smart gateway. However, the prior art lacks comprehensive consideration of the impact of the operating temperature and response speed of the smart gateway on the data transmission speed of the smart gateway. In addition, the ability of the current operating status of the smart gateway to withstand sudden high-concurrency data stress is not taken into consideration. Summary of the invention
[0004] In order to solve the above technical problems, a distribution Internet of Things platform-based intelligent gateway operation detection method and system are provided. The technical solution solves the problem that the operating status of the intelligent gateway proposed in the above background technology is mainly related to the stability of the data transmission speed of the intelligent gateway, and the data transmission speed of the intelligent gateway is directly affected by the working temperature and response speed of the intelligent gateway, but the degree of influence of the working temperature and response speed of the intelligent gateway on the data transmission speed of the intelligent gateway lacks comprehensive consideration. In addition, the problem that the pressure resistance of the current operating status of the intelligent gateway to sudden high-concurrency data is not taken into consideration.
[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:
[0006] The operation detection method of the power distribution IoT intelligent gateway based on the IoT platform includes:
[0007] Acquire at least one standard smart gateway, and obtain a reference operating temperature and a reference response speed fluctuation range of the smart gateway according to the at least one standard smart gateway;
[0008] Acquire at least one intelligent gateway to be tested, detect the intelligent gateway to be tested, and obtain the intelligent gateway operating temperature and response speed fluctuation range of the intelligent gateway to be tested;
[0009] Determine whether the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway is greater than the preset temperature. If so, the operation of the smart gateway to be tested is abnormal. If not, record the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway as the first temperature difference;
[0010] Determine whether the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range is greater than a preset value. If so, the intelligent gateway to be tested operates abnormally. If not, record the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range as the first interval difference;
[0011] Establish a model for the impact of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, and establish a model for the impact of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway;
[0012] According to the model of the impact of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, the temperature impact weight is calculated;
[0013] According to the impact model of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway, the response speed impact weight is calculated;
[0014] When the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway does not exceed the preset temperature and the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range does not exceed the preset value, the first temperature difference and the first interval difference are weighted to obtain a first influencing factor;
[0015] Perform an instantaneous high-concurrency data test on the smart gateway to be tested, and the duration is the preset time;
[0016] After the instantaneous high concurrent data test is completed, the intelligent gateway to be tested is subjected to secondary detection to obtain the secondary operating temperature and response speed secondary fluctuation range of the intelligent gateway to be tested;
[0017] The difference between the secondary working temperature of the smart gateway and the working temperature of the smart gateway is taken as the second temperature difference;
[0018] The difference between the interval length of the secondary fluctuation range of the response speed and the interval length of the fluctuation range of the response speed is taken as the second interval difference;
[0019] Weighting the second temperature difference and the second interval difference to obtain a second influencing factor;
[0020] A detection result of the operating status of the intelligent gateway to be tested is obtained according to the first influencing factor and the second influencing factor.
[0021] Preferably, obtaining the working reference temperature and response speed fluctuation reference range of the intelligent gateway according to at least one standard intelligent gateway comprises the following steps:
[0022] Obtaining an intelligent gateway operating reference temperature of a standard intelligent gateway, and averaging at least one intelligent gateway operating reference temperature to obtain an intelligent gateway operating reference temperature;
[0023] Obtaining a response speed fluctuation reference range of a standard intelligent gateway, and obtaining a left mean value by taking the left endpoint mean value of at least one response speed fluctuation reference range;
[0024] averaging the right endpoints of at least one response speed fluctuation reference range to obtain a right mean;
[0025] The interval formed by the combination of the left mean and the right mean is the response speed fluctuation benchmark range.
[0026] Preferably, the establishment of the model of the influence of the intelligent gateway operating temperature on the intelligent gateway data transmission speed comprises the following steps:
[0027] Obtaining the operating temperature range of the smart gateway, dividing the operating temperature range of the smart gateway at equal intervals, and obtaining at least one temperature point;
[0028] Raise the temperature of the smart gateway to the value at the temperature point, and obtain the change ratio of the data transmission speed of the first smart gateway;
[0029] The value at the temperature point and the change ratio of the data transmission speed of the first intelligent gateway are paired as coordinates, and a first fitting function is obtained by fitting, wherein the independent variable of the first fitting function is temperature.
[0030] Preferably, the establishment of the influence model of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway comprises the following steps:
[0031] Acquire a response speed range, divide the response speed range into equal intervals, and obtain at least one division point;
[0032] Changing the response speed of the intelligent gateway to the value at the split point, and obtaining the change ratio of the data transmission speed of the second intelligent gateway;
[0033] The value at the split point and the change ratio of the data transmission speed of the second intelligent gateway are paired as coordinates, and a second fitting function is obtained by fitting, wherein the independent variable of the second fitting function is the response speed.
[0034] Preferably, the calculation of the temperature influence weight according to the influence model of the intelligent gateway working temperature on the intelligent gateway data transmission speed comprises the following steps:
[0035] Integrating the first fitting function over the operating temperature range of the intelligent gateway to obtain a first integral value;
[0036] The first integral value is divided by the interval length of the operating temperature range of the smart gateway to obtain the temperature impact weight.
[0037] Preferably, the calculation of the response speed influence weight according to the influence model of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway comprises the following steps:
[0038] Integrating the second fitting function over the response speed range to obtain a second integral value;
[0039] The second integral value is divided by the interval length of the response speed range to obtain the response speed influence weight.
[0040] Preferably, the step of weighting the first temperature difference and the first interval difference to obtain the first influencing factor comprises the following steps:
[0041] The result of multiplying the first temperature difference by the temperature influence weight is added to the result of multiplying the first interval difference by the response speed influence weight to obtain the first influence factor.
[0042] Preferably, the step of weighting the second temperature difference and the second interval difference to obtain the second influencing factor comprises the following steps:
[0043] The result of multiplying the second temperature difference by the temperature influence weight is added to the result of multiplying the second interval difference by the response speed influence weight to obtain the second influence factor.
[0044] Preferably, obtaining the detection result of the operating status of the intelligent gateway to be tested according to the first influencing factor and the second influencing factor comprises the following steps:
[0045] Obtain the data transmission speed range when the intelligent gateway is operating normally as the normal data transmission speed range;
[0046] Obtaining an upper threshold and a lower threshold of a normal data transmission speed range as critical values;
[0047] Obtain the fluctuation range of the working temperature and response speed of the intelligent gateway that leads to the critical value condition, and calculate the corresponding first influencing factor based on the fluctuation range as the judgment value;
[0048] The interval formed by the judgment values corresponding to the two critical values is used as the judgment interval;
[0049] When the first influencing factor and the second influencing factor are both within the judgment interval, the operation of the intelligent gateway to be tested is normal; otherwise, the operation of the intelligent gateway to be tested is abnormal.
[0050] The power distribution IoT intelligent gateway operation detection system based on the IoT platform is used to implement the above-mentioned power distribution IoT intelligent gateway operation detection method based on the IoT platform, including:
[0051] A data acquisition module, wherein the data acquisition module obtains a reference working temperature and a reference response speed fluctuation range of the intelligent gateway, obtains a working temperature and a response speed fluctuation range of the intelligent gateway to be tested, and obtains a secondary working temperature and a secondary response speed fluctuation range of the intelligent gateway to be tested;
[0052] A judgment and comparison module, wherein the judgment and comparison module judges whether the difference between the working temperature of the intelligent gateway and the working reference temperature of the intelligent gateway is greater than a preset temperature, and judges whether the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range is greater than a preset value;
[0053] A model building module, wherein the model building module builds a model of the influence of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, and builds a model of the influence of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway;
[0054] A data calculation module calculates the temperature influence weight, calculates the response speed influence weight, obtains the first influence factor, and obtains the second influence factor.
[0055] Compared with the prior art, the present invention has the following beneficial effects:
[0056] By setting up a judgment and comparison module, a model building module and a data calculation module, the temperature influence weight and the response speed influence weight are determined according to the influence of temperature and response speed fluctuations on the data transmission speed of the intelligent gateway, and the first influence factor and the second influence factor are obtained by comprehensively considering the working temperature and response speed of the intelligent gateway. A judgment interval is formed according to the first influence factor and the second influence factor, the operation status of the intelligent gateway is detected, and it is determined whether the intelligent gateway is abnormal. At the same time, the ability of the current operating status of the intelligent gateway to withstand sudden high-concurrency data is taken into consideration in the judgment process, thereby improving the comprehensiveness of the detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 It is a schematic diagram of the operation detection method of the power distribution IoT intelligent gateway based on the IoT platform of the present invention;
[0058] Figure 2 A schematic diagram of a process of obtaining a reference working temperature and a reference response speed fluctuation range of a smart gateway according to at least one standard smart gateway of the present invention;
[0059] Figure 3 A schematic flow chart of a model for establishing the influence of the working temperature of an intelligent gateway on the data transmission speed of the intelligent gateway according to the present invention;
[0060] Figure 4 A schematic flow chart of a model for establishing the influence of the response speed of an intelligent gateway on the data transmission speed of the intelligent gateway according to the present invention;
[0061] Figure 5 A schematic diagram of a flow chart of calculating a temperature influence weight according to a model of the influence of the working temperature of an intelligent gateway on the data transmission speed of an intelligent gateway according to the present invention;
[0062] Figure 6A schematic diagram of a flow chart of calculating a response speed influence weight according to a model of an influence of an intelligent gateway's response speed on an intelligent gateway's data transmission speed according to the present invention;
[0063] Figure 7 The present invention is a schematic flow chart of obtaining a detection result of the operating status of the intelligent gateway to be tested according to the first influencing factor and the second influencing factor. DETAILED DESCRIPTION
[0064] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.
[0065] Reference Figure 1 As shown, the power distribution IoT intelligent gateway operation detection method based on the IoT platform includes:
[0066] Acquire at least one standard smart gateway, and obtain a reference operating temperature and a reference response speed fluctuation range of the smart gateway according to the at least one standard smart gateway;
[0067] Acquire at least one intelligent gateway to be tested, detect the intelligent gateway to be tested, and obtain the intelligent gateway operating temperature and response speed fluctuation range of the intelligent gateway to be tested;
[0068] Determine whether the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway is greater than the preset temperature. If so, the operation of the smart gateway to be tested is abnormal. If not, record the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway as the first temperature difference;
[0069] Determine whether the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range is greater than a preset value. If so, the intelligent gateway to be tested operates abnormally. If not, record the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range as the first interval difference;
[0070] Establish a model for the impact of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, and establish a model for the impact of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway;
[0071] According to the model of the impact of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, the temperature impact weight is calculated;
[0072] According to the impact model of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway, the response speed impact weight is calculated;
[0073] When the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway does not exceed the preset temperature and the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range does not exceed the preset value, the first temperature difference and the first interval difference are weighted to obtain a first influencing factor;
[0074] Perform an instantaneous high-concurrency data test on the smart gateway to be tested, and the duration is the preset time;
[0075] After the instantaneous high concurrent data test is completed, the intelligent gateway to be tested is subjected to secondary detection to obtain the secondary operating temperature and response speed secondary fluctuation range of the intelligent gateway to be tested;
[0076] The difference between the secondary working temperature of the smart gateway and the working temperature of the smart gateway is taken as the second temperature difference;
[0077] The difference between the interval length of the secondary fluctuation range of the response speed and the interval length of the fluctuation range of the response speed is taken as the second interval difference;
[0078] Weighting the second temperature difference and the second interval difference to obtain a second influencing factor;
[0079] A detection result of the operating status of the intelligent gateway to be tested is obtained according to the first influencing factor and the second influencing factor.
[0080] Reference Figure 2 As shown, according to at least one standard smart gateway, obtaining the working reference temperature and response speed fluctuation reference range of the smart gateway includes the following steps:
[0081] Obtaining an intelligent gateway operating reference temperature of a standard intelligent gateway, and averaging at least one intelligent gateway operating reference temperature to obtain an intelligent gateway operating reference temperature;
[0082] Obtaining a response speed fluctuation reference range of a standard intelligent gateway, and obtaining a left mean value by taking the left endpoint mean value of at least one response speed fluctuation reference range;
[0083] averaging the right endpoints of at least one response speed fluctuation reference range to obtain a right mean;
[0084] The interval formed by the combination of the left mean and the right mean is the response speed fluctuation benchmark range;
[0085] The left mean is the left end point of the response speed fluctuation reference range, and the right mean is the right end point of the response speed fluctuation reference range;
[0086] By using the parameter mean of at least one standard intelligent gateway, benchmark data used as a basis for judgment can be obtained.
[0087] Reference Figure 3As shown, establishing a model of the influence of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway includes the following steps:
[0088] Obtaining the operating temperature range of the smart gateway, dividing the operating temperature range of the smart gateway at equal intervals, and obtaining at least one temperature point;
[0089] Raise the temperature of the smart gateway to the value at the temperature point, and obtain the change ratio of the data transmission speed of the first smart gateway;
[0090] The value at the temperature point is paired with the change ratio of the data transmission speed of the first intelligent gateway as coordinates, and a first fitting function is obtained by fitting, wherein the independent variable of the first fitting function is temperature;
[0091] The operating temperature of the originally normally operating smart gateway is changed, and the change ratio of the first smart gateway data transmission speed corresponding to the temperature change is obtained. Thus, through the first fitting function, the influence of changing to any temperature on the data transmission speed of the smart gateway can be predicted.
[0092] Reference Figure 4 As shown, establishing a model of the impact of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway includes the following steps:
[0093] Acquire a response speed range, divide the response speed range into equal intervals, and obtain at least one division point;
[0094] Changing the response speed of the intelligent gateway to the value at the split point, and obtaining the change ratio of the data transmission speed of the second intelligent gateway;
[0095] The value at the split point and the change ratio of the data transmission speed of the second intelligent gateway are paired as coordinates, and a second fitting function is obtained by fitting, wherein the independent variable of the second fitting function is the response speed;
[0096] The response speed of the original normally operating smart gateway is changed, and the change ratio of the second smart gateway data transmission speed corresponding to the response speed change is obtained. Thus, through the second fitting function, the impact of changing to any response speed on the smart gateway data transmission speed can be predicted.
[0097] Reference Figure 5 As shown, according to the influence model of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, calculating the temperature influence weight includes the following steps:
[0098] Integrating the first fitting function over the operating temperature range of the intelligent gateway to obtain a first integral value;
[0099] The first integral value is divided by the interval length of the working temperature range of the smart gateway to obtain the temperature impact weight;
[0100] Reference Figure 6 As shown, according to the impact model of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway, calculating the response speed impact weight includes the following steps:
[0101] Integrating the second fitting function over the response speed range to obtain a second integral value;
[0102] The second integral value is divided by the interval length of the response speed range to obtain the response speed influence weight;
[0103] The first integral value is the overall impact value of the temperature in the working temperature range of the smart gateway on the data transmission speed of the smart gateway. By dividing the first integral value by the interval length of the working temperature range of the smart gateway, the average impact value of the temperature on the data transmission speed of the smart gateway can be obtained;
[0104] The second integral value is the overall impact of the response speed on the data transmission speed of the intelligent gateway within the response speed range. By dividing the second integral value by the interval length of the response speed range, the average impact of the response speed on the data transmission speed of the intelligent gateway can be obtained.
[0105] Therefore, the average impact value of temperature on the data transmission speed of the intelligent gateway can be used as the temperature impact weight, and the average impact value of response speed on the data transmission speed of the intelligent gateway can be used as the response speed impact weight. Then, the temperature impact weight and the response speed impact weight are used as weights. According to the impact of temperature and response speed on the data transmission speed of the intelligent gateway, the measurement data of temperature and response speed can be weighted and integrated.
[0106] Weighting the first temperature difference and the first interval difference to obtain the first influencing factor comprises the following steps:
[0107] The result of multiplying the first temperature difference by the temperature influence weight is added to the result of multiplying the first interval difference by the response speed influence weight to obtain the first influence factor.
[0108] Weighting the second temperature difference and the second interval difference to obtain a second influencing factor comprises the following steps:
[0109] The result of multiplying the second temperature difference by the temperature influence weight is added to the result of multiplying the second interval difference by the response speed influence weight to obtain the second influence factor.
[0110] Reference Figure 7 As shown, obtaining the detection result of the running state of the intelligent gateway to be tested according to the first influencing factor and the second influencing factor includes the following steps:
[0111] Obtain the data transmission speed range when the intelligent gateway is operating normally as the normal data transmission speed range;
[0112] Obtaining an upper threshold and a lower threshold of a normal data transmission speed range as critical values;
[0113] Obtain the fluctuation range of the working temperature and response speed of the intelligent gateway that leads to the critical value condition, and calculate the corresponding first influencing factor based on the fluctuation range as the judgment value;
[0114] The interval formed by the judgment values corresponding to the two critical values is used as the judgment interval;
[0115] When the first influencing factor and the second influencing factor are both within the judgment interval, the operation of the intelligent gateway to be tested is normal; otherwise, the operation of the intelligent gateway to be tested is abnormal;
[0116] The reason why both the first influencing factor and the second influencing factor use the judgment interval for judgment is that the second influencing factor is the factor after the high concurrency test, which represents the operation status of the intelligent gateway after the high concurrency test. Its operating parameters need to be restored to normal levels after the high concurrency test. Therefore, the judgment interval generated by the first influencing factor is used for judgment.
[0117] The power distribution IoT intelligent gateway operation detection system based on the IoT platform is used to implement the above-mentioned power distribution IoT intelligent gateway operation detection method based on the IoT platform, including:
[0118] A data acquisition module, wherein the data acquisition module obtains a reference working temperature and a reference response speed fluctuation range of the intelligent gateway, obtains a working temperature and a response speed fluctuation range of the intelligent gateway to be tested, and obtains a secondary working temperature and a secondary response speed fluctuation range of the intelligent gateway to be tested;
[0119] A judgment and comparison module, wherein the judgment and comparison module judges whether the difference between the working temperature of the intelligent gateway and the working reference temperature of the intelligent gateway is greater than a preset temperature, and judges whether the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range is greater than a preset value;
[0120] A model building module, wherein the model building module builds a model of the influence of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, and builds a model of the influence of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway;
[0121] A data calculation module calculates the temperature influence weight, calculates the response speed influence weight, obtains the first influence factor, and obtains the second influence factor.
[0122] The working process of the above-mentioned power distribution IoT intelligent gateway operation detection system based on the IoT platform is as follows:
[0123] Step 1: obtaining at least one standard intelligent gateway, and according to the at least one standard intelligent gateway, the data acquisition module obtains the intelligent gateway working reference temperature and response speed fluctuation reference range;
[0124] Step 2: Obtain at least one smart gateway to be tested, and detect the smart gateway to be tested, and the data acquisition module obtains the smart gateway operating temperature and response speed fluctuation range of the smart gateway to be tested;
[0125] Step 3: The comparison module determines whether the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway is greater than the preset temperature. If so, the operation of the smart gateway to be tested is abnormal. If not, the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway is recorded as the first temperature difference;
[0126] Step 4: The comparison module determines whether the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range is greater than a preset value. If so, the intelligent gateway to be tested operates abnormally. If not, the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range is recorded as the first interval difference;
[0127] Step 5: The model building module builds a model of the influence of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, and builds a model of the influence of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway;
[0128] Step 6: According to the model of the influence of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, the data calculation module calculates the temperature influence weight;
[0129] Step 7: According to the impact model of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway, the data calculation module calculates the response speed impact weight;
[0130] Step 8: When the difference between the working temperature of the intelligent gateway and the working reference temperature of the intelligent gateway does not exceed the preset temperature and the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range does not exceed the preset value, the data calculation module weights the first temperature difference and the first interval difference to obtain a first influencing factor;
[0131] Step 9: Perform an instantaneous high concurrent data test on the smart gateway to be tested, and the duration is the preset time;
[0132] Step 10: After the instantaneous high concurrent data test is completed, the smart gateway to be tested is subjected to secondary detection, and the data acquisition module obtains the secondary working temperature and response speed secondary fluctuation range of the smart gateway to be tested;
[0133] Step 11: taking the difference between the secondary working temperature of the smart gateway and the working temperature of the smart gateway as the second temperature difference;
[0134] Step 12: taking the difference between the interval length of the secondary fluctuation range of the response speed and the interval length of the fluctuation range of the response speed as the second interval difference;
[0135] Step 13: The data calculation module weights the second temperature difference and the second interval difference to obtain a second influencing factor;
[0136] Step 14: Obtain a detection result of the operating status of the intelligent gateway to be tested according to the first influencing factor and the second influencing factor.
[0137] Furthermore, the present solution also proposes a storage medium on which a computer-readable program is stored. When the computer-readable program is called, the above-mentioned distribution Internet of Things platform-based intelligent gateway operation detection method is executed.
[0138] It is understandable that the storage medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid state drive (SSD).
[0139] In summary, the advantages of the present invention are: by setting a judgment and comparison module, a model building module and a data calculation module, the temperature influence weight and the response speed influence weight are determined according to the influence of temperature and response speed fluctuations on the data transmission speed of the intelligent gateway, and the first influence factor and the second influence factor are obtained by comprehensively considering the working temperature and response speed of the intelligent gateway. A judgment interval is formed according to the first influence factor and the second influence factor, the operation status of the intelligent gateway is detected, and it is determined whether the intelligent gateway is abnormal. At the same time, the pressure resistance of the current operating state of the intelligent gateway to sudden high-concurrency data is taken into consideration in the judgment process, thereby improving the comprehensiveness of the detection.
[0140] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for detecting the operation of a power distribution IoT intelligent gateway based on an IoT platform, characterized in that: include: Acquire at least one standard smart gateway, and obtain a reference operating temperature and a reference response speed fluctuation range of the smart gateway according to the at least one standard smart gateway; Acquire at least one intelligent gateway to be tested, detect the intelligent gateway to be tested, and obtain the intelligent gateway operating temperature and response speed fluctuation range of the intelligent gateway to be tested; Determine whether the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway is greater than the preset temperature. If so, the operation of the smart gateway to be tested is abnormal. If not, record the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway as the first temperature difference; Determine whether the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range is greater than a preset value. If so, the intelligent gateway to be tested operates abnormally. If not, record the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range as the first interval difference; Establish a model for the impact of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, and establish a model for the impact of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway; According to the influence model of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, the temperature influence weight is calculated; According to the impact model of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway, the response speed impact weight is calculated; When the difference between the working temperature of the smart gateway and the working reference temperature of the smart gateway does not exceed the preset temperature and the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range does not exceed the preset value, the first temperature difference and the first interval difference are weighted to obtain a first influencing factor; Perform an instantaneous high-concurrency data test on the smart gateway to be tested, and the duration is the preset time; After the instantaneous high concurrent data test is completed, the intelligent gateway to be tested is subjected to secondary detection to obtain the secondary operating temperature and response speed secondary fluctuation range of the intelligent gateway to be tested; The difference between the secondary working temperature of the smart gateway and the working temperature of the smart gateway is taken as the second temperature difference; The difference between the interval length of the secondary fluctuation range of the response speed and the interval length of the fluctuation range of the response speed is taken as the second interval difference; Weighting the second temperature difference and the second interval difference to obtain a second influencing factor; Obtaining a detection result of the operating state of the intelligent gateway to be tested according to the first influencing factor and the second influencing factor; The establishment of the model of the influence of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway comprises the following steps: Obtaining the operating temperature range of the smart gateway, dividing the operating temperature range of the smart gateway at equal intervals, and obtaining at least one temperature point; Raise the temperature of the smart gateway to the value at the temperature point, and obtain the change ratio of the data transmission speed of the first smart gateway; The value at the temperature point is paired with the change ratio of the data transmission speed of the first intelligent gateway as coordinates, and a first fitting function is obtained by fitting, wherein the independent variable of the first fitting function is temperature; The establishment of the model of the influence of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway comprises the following steps: Acquire a response speed range, divide the response speed range into equal intervals, and obtain at least one division point; Changing the response speed of the intelligent gateway to the value at the split point, and obtaining the change ratio of the data transmission speed of the second intelligent gateway; The value at the split point and the change ratio of the data transmission speed of the second intelligent gateway are paired as coordinates, and a second fitting function is obtained by fitting, wherein the independent variable of the second fitting function is the response speed; The calculation of the temperature influence weight according to the influence model of the intelligent gateway working temperature on the intelligent gateway data transmission speed comprises the following steps: Integrating the first fitting function over the operating temperature range of the intelligent gateway to obtain a first integral value; The first integral value is divided by the interval length of the working temperature range of the smart gateway to obtain the temperature impact weight; The step of calculating the response speed influence weight according to the influence model of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway comprises the following steps: Integrating the second fitting function over the response speed range to obtain a second integral value; The second integral value is divided by the interval length of the response speed range to obtain the response speed influence weight; The step of weighting the first temperature difference and the first interval difference to obtain the first influencing factor comprises the following steps: The result of multiplying the first temperature difference by the temperature influence weight is added to the result of multiplying the first interval difference by the response speed influence weight to obtain a first influence factor; The step of weighting the second temperature difference and the second interval difference to obtain the second influencing factor comprises the following steps: The result of multiplying the second temperature difference by the temperature influence weight is added to the result of multiplying the second interval difference by the response speed influence weight to obtain the second influence factor.
2. The method for detecting the operation of the power distribution IoT intelligent gateway based on the IoT platform according to claim 1 is characterized in that: The step of obtaining the working reference temperature and response speed fluctuation reference range of the intelligent gateway according to at least one standard intelligent gateway comprises the following steps: Obtaining an intelligent gateway operating reference temperature of a standard intelligent gateway, and calculating at least one average of the intelligent gateway operating reference temperatures as the intelligent gateway operating reference temperature; Obtaining a response speed fluctuation reference range of a standard intelligent gateway, and calculating a left endpoint mean of at least one response speed fluctuation reference range as a left mean; Calculate the mean of the right endpoints of at least one response speed fluctuation reference range as the right mean; The interval formed by the combination of the left mean and the right mean is the response speed fluctuation benchmark range.
3. The method for detecting the operation of the power distribution IoT intelligent gateway based on the IoT platform according to claim 2 is characterized in that: The step of obtaining the detection result of the running state of the intelligent gateway to be tested according to the first influencing factor and the second influencing factor comprises the following steps: Obtain the data transmission speed range when the intelligent gateway is operating normally as the normal data transmission speed range; Obtaining an upper threshold and a lower threshold of a normal data transmission speed range as critical values; Obtaining the intelligent gateway operating temperature and response speed fluctuation range that leads to the critical value condition, and when the difference between the intelligent gateway operating temperature and the intelligent gateway operating reference temperature does not exceed the preset temperature and the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range does not exceed the preset value, weightedly calculating the first temperature difference and the first interval difference to obtain a corresponding first influencing factor as a judgment value; The interval formed by the judgment values corresponding to the two critical values is used as the judgment interval; When the first influencing factor and the second influencing factor are both within the judgment interval, the operation of the intelligent gateway to be tested is normal; otherwise, the operation of the intelligent gateway to be tested is abnormal.
4. A power distribution IoT intelligent gateway operation detection system based on an IoT platform, used to implement the power distribution IoT intelligent gateway operation detection method based on an IoT platform as described in any one of claims 1 to 3, characterized in that: include: A data acquisition module, wherein the data acquisition module obtains a reference working temperature and a reference response speed fluctuation range of the intelligent gateway, obtains a working temperature and a response speed fluctuation range of the intelligent gateway to be tested, and obtains a secondary working temperature and a secondary response speed fluctuation range of the intelligent gateway to be tested; A judgment and comparison module, wherein the judgment and comparison module judges whether the difference between the working temperature of the intelligent gateway and the working reference temperature of the intelligent gateway is greater than a preset temperature, and judges whether the difference between the interval length of the response speed fluctuation reference range and the interval length of the response speed fluctuation range is greater than a preset value; A model building module, wherein the model building module builds a model of the influence of the working temperature of the intelligent gateway on the data transmission speed of the intelligent gateway, and builds a model of the influence of the response speed of the intelligent gateway on the data transmission speed of the intelligent gateway; A data calculation module calculates the temperature influence weight, calculates the response speed influence weight, obtains the first influence factor, and obtains the second influence factor.
Citation Information
Patent Citations
Mechanisms to route IOT notifications according to user activity and / or proximity detection
CN105723684A
Power distribution intelligent gateway test system and method
CN115622914A