POE switch network management method based on Ethernet cable data transmission

By classifying the ports of POE switches and establishing a traffic analysis model, a preliminary transmission solution is formed, which solves the problem that data transmission cannot take into account the importance of data in the event of port failure of POE switches, and achieves the goal of efficient data transmission and minimizes impact under power limitations.

CN119652687BActive Publication Date: 2025-04-15SHENZHEN HISOURCE DEV OF SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510180107.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-04-15
Estimated Expiration
2045-02-19

AI Technical Summary

Technical Problem

When a POE switch fails, data transmission cannot take into account the importance of data and has a great impact on the original data transmission of alternative transmission ports.

Method used

By classifying the ports of the POE switch, establishing a port traffic analysis model, forming and calculating the traffic impact coefficient of the preparatory transmission plan, using redundant ports for data transmission, and prioritizing data importance during transmission, while reducing the impact on the original data transmission of the target normal port.

Benefits of technology

Under power limitation, redundant ports can be used to effectively transmit data, priority is given to transmit important data, and the impact on the original data transmission of the target normal port can be minimized, ensuring the effectiveness and impact of the transmission scheme are minimized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119652687B_ABST
    Figure CN119652687B_ABST
Patent Text Reader

Abstract

The present invention discloses a POE switch network management method based on Ethernet cable data transmission, which relates to the technical field of switches, including: obtaining redundant ports and non-redundant ports; forming a repair plan for abnormal ports; when the total data volume of the abnormal port does not exceed the upper limit of the total flow, the target redundant port is used to transmit data of the abnormal port, otherwise, characteristic flow is obtained; the target normal port is obtained; a port flow analysis model is established to obtain a first analysis result and a second analysis result; the flow influence coefficient of the preliminary transmission plan is calculated; and the preliminary transmission plan with the smallest flow influence coefficient is selected as the target transmission plan. By establishing a port flow analysis model, forming and calculating the flow influence coefficient of the preliminary transmission plan, more important data is transmitted first, and it can be ensured that the adopted transmission plan has as little influence on the original data transmission of the target normal port as possible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of switches, and in particular to a POE switch network management method based on Ethernet cable data transmission. Background Art

[0002] In today's digital age, the performance and manageability of network infrastructure are critical to ensuring the continuity and efficiency of business operations. As a device that integrates power and data transmission functions, POE Ethernet switches play an increasingly important role in network construction.

[0003] During the use of a POE switch, when a port fails, although alternative data transmission can be performed through other ports and sufficient time can be gained for maintenance, insufficient consideration is given to data redistribution and transmission, resulting in the data transmission during maintenance not taking into account the importance of the data. At the same time, it has a greater impact on the original data transmission of the alternative transmission port. Summary of the invention

[0004] In order to solve the above technical problems, a POE switch network management method based on Ethernet cable data transmission is provided. This technical solution solves the problems raised in the above background technology.

[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0006] A POE switch network management method based on Ethernet cable data transmission includes:

[0007] Based on the power supply upper limit of the POE switch, at least one port of the POE switch is classified to obtain a redundant port and a non-redundant port, wherein the redundant port is a standby port for data transmission;

[0008] When the transmission is normal, the data flow is distributed to at least one non-redundant port of the POE switch using a uniform load method;

[0009] Performing fault detection on at least one non-redundant port of the POE switch, treating the non-redundant port with a fault as an abnormal port, and treating the non-redundant port without a fault as a normal port;

[0010] Based on big data, a repair plan is formed for the abnormal port, the repair time of the repair plan is estimated, and the repair time of the repair plan is evenly divided to obtain at least one time node;

[0011] Based on the power supply upper limit of the POE switch, at least one target redundant port is selected from the redundant ports, and a total flow upper limit of the at least one target redundant port is obtained;

[0012] A judgment is made at a time node. When the total data volume of the abnormal port does not exceed the upper limit of the total flow rate, the target redundant port is used to transmit data of the abnormal port. Otherwise, the total data volume of the abnormal port is subtracted from the upper limit of the total flow rate to obtain the characteristic flow rate.

[0013] Obtain a normal port with redundant space for transmitting traffic at a time node as the target normal port;

[0014] Establish a port traffic analysis model, use the port traffic analysis model to analyze the traffic type of the characteristic traffic at the time node to obtain a first analysis result, and analyze the traffic type of the target normal port at the time node to obtain a second analysis result;

[0015] Form at least one preliminary transmission scheme, and calculate a flow impact coefficient of the preliminary transmission scheme based on the first analysis result and the second analysis result;

[0016] Select the backup transmission plan with the smallest traffic impact coefficient as the target transmission plan;

[0017] The target redundant port is used to transmit data to the abnormal port, and the characteristic traffic is distributed to the target normal port according to the target transmission plan.

[0018] Preferably, classifying at least one port of the POE switch to obtain redundant ports and non-redundant ports comprises the following steps:

[0019] Based on big data, the upper limit of power consumption of a single port is obtained, and the ratio of the power consumption of the normal operation of the POE switch to the upper limit of power supply is obtained as the normal ratio;

[0020] The normal power supply is obtained by multiplying the normal ratio by the upper limit of the POE switch.

[0021] The normal power supply is divided by the upper limit of power consumption of a single port to get the allowed number of ports;

[0022] Randomly select ports whose number is equal to the allowed number of ports from at least one port as non-redundant ports, and use the remaining ports as redundant ports.

[0023] Preferably, forming a repair plan for the abnormal port and estimating the maintenance time of the repair plan comprises the following steps:

[0024] Extracting features of the fault of the abnormal port to obtain at least one fault feature;

[0025] Based on big data, at least one maintenance plan for the repaired fault containing the fault characteristics is obtained, and the intersection of at least one maintenance plan is taken to obtain a local plan for the fault characteristics;

[0026] Taking the union of local solutions of at least one fault feature to obtain a repair solution;

[0027] Obtain the time consumed by the maintenance plan, divide the number of steps in the local plan by the number of steps in the maintenance plan, and obtain the time proportion;

[0028] Use the time comprehensive formula to calculate the maintenance time of the local solution, and add up the maintenance time of the local solution to get the maintenance time of the repair solution;

[0029] The time synthesis formula is as follows: ,

[0030] Where B is the maintenance time of the local solution, n is the total number of at least one maintenance solution, and i is the subscript. is the time consumed by the i-th maintenance plan, is the time proportion of the local solution in the i-th maintenance solution.

[0031] Preferably, the step of selecting at least one target redundant port from the redundant ports based on the power supply upper limit of the POE switch comprises the following steps:

[0032] Obtain the minimum power consumption of a single abnormal port, and subtract the minimum power consumption of a single abnormal port from the upper limit of power consumption of a single port to obtain the available power.

[0033] Use the number formula to calculate the number of target redundant ports as the characteristic number;

[0034] Randomly select redundant ports whose number is equal to the number of features as target redundant ports;

[0035] The number formula is as follows: ,

[0036] Among them, A is the number of features, a is the adjustable power, b is the total number of abnormal ports, c is the power supply upper limit of the POE switch, e is the regular power supply, and d is the power consumption upper limit of a single port.

[0037] Preferably, the establishing of the port traffic analysis model comprises the following steps:

[0038] Obtain the traffic to be analyzed, obtain the damage recovery ratio of data in the traffic to be analyzed, summarize the data with a damage recovery ratio less than a preset value, and obtain key part data, wherein the damage recovery ratio is the ratio of the recovered part after the data is damaged to the original data;

[0039] Evenly divide the key part of data to obtain at least one part of data;

[0040] Based on the attributes of partial data, partial data are classified and partial data with the same classification are merged into data features;

[0041] Obtain at least one data application scenario of the data feature, obtain the data value of the data feature in the data application scenario, and obtain the allowable delay of the data feature in the data application scenario;

[0042] Taking an average of at least one data value of the data feature to obtain an average data value, and taking an average of at least one allowable delay of the data feature to obtain an average allowable delay;

[0043] Use the flow analysis formula to calculate the flow coefficient of the flow to be analyzed;

[0044] The flow analysis formula is as follows: ,

[0045] Where C is the flow coefficient of the flow to be analyzed, j is the subscript, and m is the total number of data features. is the average value of the data of the jth data feature, is the average allowed delay of the jth data feature.

[0046] Preferably, the analyzing the traffic type of the characteristic traffic at the time node to obtain the first analysis result comprises the following steps:

[0047] Evenly divide the characteristic flow at the time node into at least one characteristic local block;

[0048] The characteristic local block is used as the flow input port flow analysis model to be analyzed, and the output flow coefficient is used as the characteristic coefficient;

[0049] The characteristic local blocks are paired with the characteristic coefficients and summarized to obtain the first analysis result.

[0050] Preferably, the step of analyzing the traffic type of the target normal port at the time node to obtain the second analysis result comprises the following steps:

[0051] Evenly divide the traffic data transmitted by the target normal port at the time node into at least one regular local block;

[0052] The conventional local block is used as the flow input port flow analysis model for the flow to be analyzed, and the output flow coefficient is used as the conventional coefficient;

[0053] The conventional local blocks are paired with the conventional coefficients and summarized to obtain the second analysis result.

[0054] Preferably, the forming of at least one preliminary transmission scheme comprises the following steps:

[0055] Randomly assigning at least one characteristic local block to a target normal port under a flow restriction condition, wherein the flow restriction condition is: a total flow rate transmitted by the target normal port to which the characteristic local block is assigned is less than a transmission upper limit of the target normal port;

[0056] Each allocation method of at least one characteristic local block forms a preliminary transmission scheme, and the transmission order of data in the preliminary transmission scheme is: in the target normal port, when the characteristic coefficient of the characteristic local block is greater than the regular coefficient of the regular local block, the characteristic local block is transmitted before the regular local block, otherwise, the characteristic local block is transmitted after the regular local block, and the regular local blocks are transmitted in the original order.

[0057] Preferably, the calculation of the flow impact coefficient of the preliminary transmission scheme comprises the following steps:

[0058] In the preliminary transmission scheme, the total amount of characteristic local blocks transmitted before a single regular local block in the target normal port is obtained as the delayed data amount of the regular local block;

[0059] Obtain the transmission time of unit data, use the flow impact formula to calculate the impact coefficient of the target normal port, accumulate the impact coefficients of the target normal port, and obtain the flow impact coefficient of the preliminary transmission solution;

[0060] The flow impact formula is as follows: ,

[0061] Where D is the influence coefficient of the target normal port, k is the subscript, and q is the total number of regular local blocks in the target normal port. is the delayed data amount of the kth regular local block in the target normal port, is the regular coefficient of the kth regular local block in the target normal port, and x is the transmission time of unit data.

[0062] Compared with the prior art, the present invention has the following beneficial effects:

[0063] By classifying at least one port of the POE switch, establishing a port traffic analysis model, forming and calculating the traffic impact coefficient of the backup transmission plan, under power constraints, when the total traffic upper limit of the target redundant port is insufficient, the target normal port can be used for supplementary transmission. During transmission, the importance of the data is taken into consideration, and more important data is transmitted first. At the same time, the impact on the original data transmission of the target normal port is also taken into consideration, and the backup transmission plan with the smallest traffic impact coefficient is used for transmission. In this way, it can be ensured that the adopted transmission plan has as little impact on the original data transmission of the target normal port as possible. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1It is a flow chart of a POE switch network management method based on Ethernet cable data transmission of the present invention;

[0065] Figure 2 A schematic diagram of a process of classifying at least one port of a POE switch to obtain redundant ports and non-redundant ports according to the present invention;

[0066] Figure 3 A schematic diagram of a process for forming a repair plan for an abnormal port and estimating the maintenance time of the repair plan according to the present invention;

[0067] Figure 4 A schematic diagram of a process of selecting at least one target redundant port from redundant ports based on the power supply upper limit of a POE switch of the present invention;

[0068] Figure 5 A schematic diagram of a process for establishing a port traffic analysis model according to the present invention;

[0069] Figure 6 A schematic diagram of a flow chart of analyzing the flow type of characteristic flow at a time node to obtain a first analysis result according to the present invention;

[0070] Figure 7 A schematic diagram of a flow chart of analyzing the traffic type of a target normal port at a time node to obtain a second analysis result according to the present invention;

[0071] Figure 8 A schematic diagram of a process of forming at least one preliminary transmission scheme of the present invention;

[0072] Fig. 9 The figure is a flow chart of calculating the flow impact coefficient of the preliminary transmission scheme according to the present invention. DETAILED DESCRIPTION

[0073] 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.

[0074] Reference Figure 1 As shown, a POE switch network management method based on Ethernet cable data transmission includes:

[0075] Based on the power supply upper limit of the POE switch, at least one port of the POE switch is classified to obtain a redundant port and a non-redundant port, wherein the redundant port is a standby port for data transmission;

[0076] When the transmission is normal, the data flow is distributed to at least one non-redundant port of the POE switch using a uniform load method;

[0077] Performing fault detection on at least one non-redundant port of the POE switch, treating the non-redundant port with a fault as an abnormal port, and treating the non-redundant port without a fault as a normal port;

[0078] Based on big data, a repair plan is formed for the abnormal port, the repair time of the repair plan is estimated, and the repair time of the repair plan is evenly divided to obtain at least one time node;

[0079] Based on the power supply upper limit of the POE switch, at least one target redundant port is selected from the redundant ports, and a total flow upper limit of the at least one target redundant port is obtained;

[0080] A judgment is made at a time node. When the total data volume of the abnormal port does not exceed the upper limit of the total flow rate, the target redundant port is used to transmit data of the abnormal port. Otherwise, the total data volume of the abnormal port is subtracted from the upper limit of the total flow rate to obtain the characteristic flow rate.

[0081] Obtain a normal port with redundant space for transmitting traffic at a time node as the target normal port;

[0082] Establish a port traffic analysis model, use the port traffic analysis model to analyze the traffic type of the characteristic traffic at the time node to obtain a first analysis result, and analyze the traffic type of the target normal port at the time node to obtain a second analysis result;

[0083] Form at least one preliminary transmission scheme, and calculate a flow impact coefficient of the preliminary transmission scheme based on the first analysis result and the second analysis result;

[0084] Select the backup transmission plan with the smallest traffic impact coefficient as the target transmission plan;

[0085] The target redundant port is used to transmit data to the abnormal port, and the characteristic traffic is distributed to the target normal port according to the target transmission plan.

[0086] When setting up a POE switch, due to its own power limitations and the need to reserve some ports as replacement ports in case of failure, the ports can be divided into redundant ports and non-redundant ports. Redundant ports are backup ports for data transmission, and non-redundant ports are ports for transmission when the POE switch is normal. Generally speaking, in order to extend the life of the POE switch, not all ports of the POE switch are used for transmission. Therefore, only some of them are selected as non-redundant ports for transmission. As a result, its operating power is within a controllable range and can work for a long time. However, when the port data transmission is abnormal, the redundant port needs to be called for transmission replacement. However, since the abnormal port needs to be repeatedly detected during maintenance to determine whether it has been repaired, the abnormal port cannot be completely closed. Therefore, the abnormal port will have the lowest power consumption. Therefore, under the power supply upper limit of the POE switch, the total flow upper limit of the target redundant port used for transmission replacement may not be as large as the total data volume of the abnormal port. Therefore, for the excess part, it is necessary to perform supplementary transmission on the target normal port;

[0087] Here, the target redundant port is used to transmit data of the abnormal port, and the transmission order is to transfer the data to the target redundant port according to the order of data transmission in the abnormal port.

[0088] Reference Figure 2 As shown, classifying at least one port of a POE switch to obtain redundant ports and non-redundant ports includes the following steps:

[0089] Based on big data, the upper limit of power consumption of a single port is obtained, and the ratio of the power consumption of the normal operation of the POE switch to the upper limit of power supply is obtained as the normal ratio;

[0090] The normal power supply is obtained by multiplying the normal ratio by the upper limit of the POE switch.

[0091] The normal power supply is divided by the upper limit of power consumption of a single port to get the allowed number of ports;

[0092] Randomly select ports whose number is equal to the allowed number of ports from at least one port as non-redundant ports, and use the remaining ports as redundant ports.

[0093] The number of non-redundant ports is set according to the power consumption of the normal operation of the POE switch, so that when all non-redundant ports are running, the power of the POE switch will not be too high, thereby ensuring its service life.

[0094] Reference Figure 3 As shown, a repair plan is formed for the abnormal port, and the estimated maintenance time of the repair plan includes the following steps:

[0095] Extracting features of the fault of the abnormal port to obtain at least one fault feature;

[0096] Based on big data, at least one maintenance plan for the repaired fault containing the fault characteristics is obtained, and the intersection of at least one maintenance plan is taken to obtain a local plan for the fault characteristics;

[0097] Taking the union of local solutions of at least one fault feature to obtain a repair solution;

[0098] Obtain the time consumed by the maintenance plan, divide the number of steps in the local plan by the number of steps in the maintenance plan, and obtain the time proportion;

[0099] Use the time comprehensive formula to calculate the maintenance time of the local solution, and add up the maintenance time of the local solution to get the maintenance time of the repair solution;

[0100] The time synthesis formula is as follows: ,

[0101] Where B is the maintenance time of the local solution, n is the total number of at least one maintenance solution, and i is the subscript. is the time consumed by the i-th maintenance plan, is the time proportion of the local solution in the i-th maintenance solution.

[0102] The repair plan is used to repair the fault of the abnormal port. When adjusting the transmission during the repair, it is necessary to perform sampling at different time points within the repair time of the repair plan and perform different transmission adjustments at different time points. Because the data in the port will change with time, in order to ensure the rationality of the alternative plan, different transmission adjustments need to be performed at different time points.

[0103] Reference Figure 4 As shown, based on the power supply upper limit of the POE switch, selecting at least one target redundant port from the redundant ports includes the following steps:

[0104] Obtain the minimum power consumption of a single abnormal port, and subtract the minimum power consumption of a single abnormal port from the upper limit of power consumption of a single port to obtain the available power.

[0105] Use the number formula to calculate the number of target redundant ports as the characteristic number;

[0106] Randomly select redundant ports whose number is equal to the number of features as target redundant ports;

[0107] The number formula is as follows: ,

[0108] Among them, A is the number of features, a is the adjustable power, b is the total number of abnormal ports, c is the power supply upper limit of the POE switch, e is the regular power supply, and d is the power consumption upper limit of a single port.

[0109] When performing target redundant ports, the power consumption of all ports involved in transmission is set according to the power supply upper limit of the POE switch. Since the maintenance time will not be too long, using a larger power to ensure data transmission will not have a significant impact on the life of the POE switch.

[0110] In the formula, ab is the power released after the power of the abnormal port is reduced, and ce is the power not used by the POE switch. Therefore, the power of both can be used to power the redundant ports, and the number of target redundant ports can be calculated.

[0111] Reference Figure 5 As shown, establishing a port traffic analysis model includes the following steps:

[0112] Obtain the traffic to be analyzed, obtain the damage recovery ratio of data in the traffic to be analyzed, summarize the data with a damage recovery ratio less than a preset value, and obtain key part data, wherein the damage recovery ratio is the ratio of the recovered part after the data is damaged to the original data;

[0113] Evenly divide the key part of data to obtain at least one part of data;

[0114] Based on the attributes of partial data, partial data are classified and partial data with the same classification are merged into data features;

[0115] Obtain at least one data application scenario of the data feature, obtain the data value of the data feature in the data application scenario, and obtain the allowable delay of the data feature in the data application scenario;

[0116] Taking an average of at least one data value of the data feature to obtain an average data value, and taking an average of at least one allowable delay of the data feature to obtain an average allowable delay;

[0117] Use the flow analysis formula to calculate the flow coefficient of the flow to be analyzed;

[0118] The flow analysis formula is as follows: ,

[0119] Where C is the flow coefficient of the flow to be analyzed, j is the subscript, and m is the total number of data features. is the average value of the data of the jth data feature, is the average allowed delay of the jth data feature.

[0120] The damage recovery ratio is mainly used to estimate the recoverability of data. When the recovery ratio is small, it means that the data recoverability is small. Therefore, it is critical data and must be transmitted. However, when the recovery ratio is large, it can be recovered by data recovery even without transmission. Therefore, only the critical data is analyzed during traffic analysis.

[0121] When data is transmitted from an abnormal port to a target normal port, it is necessary to compare the importance of the data in the target normal port and the abnormal port to determine their transmission priority. Therefore, a criterion for judging the importance of the data is required. Thus, a port traffic analysis model is constructed. In the port traffic analysis model, the average value of the data is proportional to the importance of the data, and the greater the average allowed delay, the less important the data is. This is because important data usually has high time requirements. Therefore, the average allowed delay is inversely proportional to the importance of the data. Thus, a traffic analysis formula is formed according to this proportional relationship.

[0122] Reference Figure 6 As shown, analyzing the traffic type of the characteristic traffic at the time node to obtain the first analysis result includes the following steps:

[0123] Evenly divide the characteristic flow at the time node into at least one characteristic local block;

[0124] The characteristic local block is used as the flow input port flow analysis model to be analyzed, and the output flow coefficient is used as the characteristic coefficient;

[0125] The characteristic local blocks are paired with the characteristic coefficients and summarized to obtain the first analysis result.

[0126] Since the characteristic traffic contains a lot of data, if it is not segmented, the analysis result will be rough, which will affect the transmission effect. The traffic types of the target normal ports are also similar, so they are all segmented.

[0127] Reference Figure 7 As shown, analyzing the traffic type of the target normal port at the time node to obtain the second analysis result includes the following steps:

[0128] Evenly divide the traffic data transmitted by the target normal port at the time node into at least one regular local block;

[0129] The conventional local block is used as the flow input port flow analysis model for the flow to be analyzed, and the output flow coefficient is used as the conventional coefficient;

[0130] The conventional local blocks are paired with the conventional coefficients and summarized to obtain the second analysis result.

[0131] Reference Figure 8As shown, forming at least one preliminary transmission scheme includes the following steps:

[0132] Randomly assigning at least one characteristic local block to a target normal port under a flow restriction condition, wherein the flow restriction condition is: a total flow rate transmitted by the target normal port to which the characteristic local block is assigned is less than a transmission upper limit of the target normal port;

[0133] Each allocation method of at least one characteristic local block forms a preliminary transmission scheme, and the transmission order of data in the preliminary transmission scheme is: in the target normal port, when the characteristic coefficient of the characteristic local block is greater than the regular coefficient of the regular local block, the characteristic local block is transmitted before the regular local block, otherwise, the characteristic local block is transmitted after the regular local block, and the regular local blocks are transmitted in the original order.

[0134] The transmission of the port is always subject to an upper limit, and is usually consistent. Therefore, when allocating, it is necessary to ensure that the sum of the original transmission data in the target normal port and the allocated characteristic local block does not exceed the transmission upper limit of the target normal port. It is easy to know that in this case, a preliminary transmission plan is formed for each allocation method of the characteristic local block.

[0135] Reference Fig. 9 As shown, calculating the flow impact coefficient of the preliminary transmission scheme includes the following steps:

[0136] In the preliminary transmission scheme, the total amount of characteristic local blocks transmitted before a single regular local block in the target normal port is obtained as the delayed data amount of the regular local block;

[0137] Obtain the transmission time of unit data, use the flow impact formula to calculate the impact coefficient of the target normal port, accumulate the impact coefficients of the target normal port, and obtain the flow impact coefficient of the preliminary transmission solution;

[0138] The flow impact formula is as follows: ,

[0139] Where D is the influence coefficient of the target normal port, k is the subscript, and q is the total number of regular local blocks in the target normal port. is the delayed data amount of the kth regular local block in the target normal port, is the regular coefficient of the kth regular local block in the target normal port, and x is the transmission time of unit data.

[0140] When using the backup transmission scheme for transmission, it is necessary to calculate the impact on the delay of the original data in the target normal port. In the flow impact formula is the delay time of the regular local block. However, depending on the importance of the regular local block, the impact of its delay is also different. Therefore, it is necessary to give a weight to the delay time of the regular local block. The weight is , because according to The acquisition method describes the importance of regular local blocks.

[0141] 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 POE switch network management method based on Ethernet cable data transmission is executed.

[0142] 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).

[0143] In summary, the advantages of the present invention are: by classifying at least one port of the POE switch, establishing a port traffic analysis model, forming and calculating the traffic impact coefficient of the reserve transmission scheme, under power constraints, when the total traffic upper limit of the target redundant port is insufficient, the target normal port can be used for supplementary transmission. During transmission, the importance of the data is taken into consideration, and more important data is transmitted first. At the same time, the impact on the original data transmission of the target normal port is also taken into consideration, and the reserve transmission scheme with the smallest traffic impact coefficient is used for transmission. Therefore, it can be ensured that the adopted transmission scheme has as little impact on the original data transmission of the target normal port as possible.

[0144] 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 POE switch network management method based on Ethernet cable data transmission, characterized in that: include: Based on the power supply upper limit of the POE switch, at least one port of the POE switch is classified to obtain a redundant port and a non-redundant port, wherein the redundant port is a standby port for data transmission; When the transmission is normal, the data flow is distributed to at least one non-redundant port of the POE switch using a uniform load method; Performing fault detection on at least one non-redundant port of the POE switch, treating the non-redundant port with a fault as an abnormal port, and treating the non-redundant port without a fault as a normal port; Based on big data, a repair plan is formed for the abnormal port, the repair time of the repair plan is estimated, and the repair time of the repair plan is evenly divided to obtain at least one time node; Based on the power supply upper limit of the POE switch, at least one target redundant port is selected from the redundant ports, and a total flow upper limit of the at least one target redundant port is obtained; A judgment is made at a time node. When the total data volume of the abnormal port does not exceed the upper limit of the total flow rate, the target redundant port is used to transmit data of the abnormal port. Otherwise, the total data volume of the abnormal port is subtracted from the upper limit of the total flow rate to obtain the characteristic flow rate. Obtain a normal port with redundant space for transmitting traffic at a time node as the target normal port; Establish a port traffic analysis model, use the port traffic analysis model to analyze the traffic type of the characteristic traffic at the time node to obtain a first analysis result, and analyze the traffic type of the target normal port at the time node to obtain a second analysis result; Form at least one preliminary transmission scheme, and calculate a flow impact coefficient of the preliminary transmission scheme based on the first analysis result and the second analysis result; Select the backup transmission plan with the smallest traffic impact coefficient as the target transmission plan; The target redundant port is used to transmit data to the abnormal port, and the characteristic traffic is distributed to the target normal port according to the target transmission plan.

2. The POE switch network management method based on Ethernet cable data transmission according to claim 1 is characterized in that: The classifying at least one port of the POE switch to obtain redundant ports and non-redundant ports comprises the following steps: Based on big data, the power consumption upper limit of a single port is obtained, and the ratio of the power consumption of the normal operation of the POE switch to the power supply upper limit is obtained as the normal ratio; The normal power supply is obtained by multiplying the normal ratio by the upper limit of the POE switch. The normal power supply is divided by the upper limit of power consumption of a single port to get the allowed number of ports; Randomly select ports whose number is equal to the allowed number of ports from at least one port as non-redundant ports, and use the remaining ports as redundant ports.

3. The POE switch network management method based on Ethernet cable data transmission according to claim 2 is characterized in that: The forming of a repair plan for the abnormal port and estimating the maintenance time of the repair plan comprises the following steps: Extracting features of the fault of the abnormal port to obtain at least one fault feature; Based on big data, at least one maintenance plan for the repaired fault containing the fault characteristics is obtained, and the intersection of at least one maintenance plan is taken to obtain a local plan for the fault characteristics; Taking the union of local solutions of at least one fault feature to obtain a repair solution; Obtain the time consumed by the maintenance plan, divide the number of steps in the local plan by the number of steps in the maintenance plan, and obtain the time proportion; Use the time comprehensive formula to calculate the maintenance time of the local solution, and add up the maintenance time of the local solution to get the maintenance time of the repair solution; The time synthesis formula is as follows: , Where B is the maintenance time of the local solution, n is the total number of at least one maintenance solution, and i is the subscript. is the time consumed by the i-th maintenance plan, is the time proportion of the local solution in the i-th maintenance solution.

4. The POE switch network management method based on Ethernet cable data transmission according to claim 3 is characterized in that: The method of selecting at least one target redundant port from the redundant ports based on the power supply upper limit of the POE switch comprises the following steps: Obtain the minimum power consumption of a single abnormal port, and subtract the minimum power consumption of a single abnormal port from the upper limit of power consumption of a single port to obtain the available power. Use the number formula to calculate the number of target redundant ports as the characteristic number; Randomly select redundant ports whose number is equal to the number of features as target redundant ports; The number formula is as follows: , Among them, A is the number of features, a is the adjustable power, b is the total number of abnormal ports, c is the power supply upper limit of the POE switch, e is the regular power supply, and d is the power consumption upper limit of a single port.

5. The POE switch network management method based on Ethernet cable data transmission according to claim 4 is characterized in that: The establishment of the port traffic analysis model comprises the following steps: Obtain the traffic to be analyzed, obtain the damage recovery ratio of data in the traffic to be analyzed, summarize the data with a damage recovery ratio less than a preset value, and obtain key part data, wherein the damage recovery ratio is the ratio of the recovered part after the data is damaged to the original data; Evenly divide the key part of data to obtain at least one part of data; Based on the attributes of partial data, partial data are classified and partial data with the same classification are merged into data features; Obtain at least one data application scenario of the data feature, obtain the data value of the data feature in the data application scenario, and obtain the allowable delay of the data feature in the data application scenario; Taking an average of at least one data value of the data feature to obtain an average data value, and taking an average of at least one allowable delay of the data feature to obtain an average allowable delay; Use the flow analysis formula to calculate the flow coefficient of the flow to be analyzed; The flow analysis formula is as follows: , Where C is the flow coefficient of the flow to be analyzed, j is the subscript, and m is the total number of data features. is the average value of the data of the jth data feature, is the average allowed delay of the jth data feature.

6. The POE switch network management method based on Ethernet cable data transmission according to claim 5 is characterized in that: Analyzing the traffic type of the characteristic traffic at the time node to obtain the first analysis result includes the following steps: Evenly divide the characteristic flow at the time node into at least one characteristic local block; The characteristic local block is used as the flow input port flow analysis model to be analyzed, and the output flow coefficient is used as the characteristic coefficient; The characteristic local blocks are paired with the characteristic coefficients and summarized to obtain the first analysis result.

7. The POE switch network management method based on Ethernet cable data transmission according to claim 6 is characterized in that: Analyzing the traffic type of the target normal port at the time node to obtain the second analysis result includes the following steps: Evenly divide the traffic data transmitted by the target normal port at the time node into at least one regular local block; The conventional local block is used as the flow input port flow analysis model for the flow to be analyzed, and the output flow coefficient is used as the conventional coefficient; The conventional local blocks are paired with the conventional coefficients and summarized to obtain the second analysis result.

8. The POE switch network management method based on Ethernet cable data transmission according to claim 7 is characterized in that: The forming of at least one preliminary transmission scheme comprises the following steps: Randomly assigning at least one characteristic local block to a target normal port under a flow restriction condition, wherein the flow restriction condition is: a total flow rate transmitted by the target normal port to which the characteristic local block is assigned is less than a transmission upper limit of the target normal port; Each allocation method of at least one characteristic local block forms a preliminary transmission scheme, and the transmission order of data in the preliminary transmission scheme is: in the target normal port, when the characteristic coefficient of the characteristic local block is greater than the regular coefficient of the regular local block, the characteristic local block is transmitted before the regular local block, otherwise, the characteristic local block is transmitted after the regular local block, and the regular local blocks are transmitted in the original order.

9. The POE switch network management method based on Ethernet cable data transmission according to claim 8, characterized in that: The calculation of the flow impact coefficient of the preliminary transmission scheme comprises the following steps: In the preliminary transmission scheme, the total amount of characteristic local blocks transmitted before a single regular local block in the target normal port is obtained as the delayed data amount of the regular local block; Obtain the transmission time of unit data, use the flow impact formula to calculate the impact coefficient of the target normal port, accumulate the impact coefficients of the target normal port, and obtain the flow impact coefficient of the backup transmission solution; The flow impact formula is as follows: , Where D is the influence coefficient of the target normal port, k is the subscript, and q is the total number of regular local blocks in the target normal port. is the delayed data amount of the kth regular local block in the target normal port, is the regular coefficient of the kth regular local block in the target normal port, and x is the transmission time of unit data.

Citation Information

Patent Citations

  • PoE switch, network camera system and automatic detection method thereof

    CN108390763A

  • Encryption anomaly traffic detection method based on deep contrast learning

    CN116886433A