A remote data interaction method and system for a network switch

By monitoring the network switches storage and forwarding, analyzing the data interaction coefficient, dividing the switches into different types, and formulating corresponding interaction strategies, the problem that network switches cannot be automatically adjusted when network traffic changes in the existing technology is solved, and the problem of network switches being improved Data interaction efficiency and policy objectivity.

CN119030940BActive Publication Date: 2025-02-18GUANGZHOU ZHIZHIAN INTELLIGENT TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411162505.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2025-02-18
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

Existing remote data interaction methods of network switches cannot be automatically dynamically adjusted. When network traffic changes, it is easy to cause network congestion or waste of resources, and the interaction strategy lacks objectivity, resulting in inefficiency in data interaction.

Method used

By performing storage monitoring and forwarding monitoring of the target switch, the storage and forwarding monitoring data and the second data interaction coefficient are obtained, and these data are analyzed to divide the switch into the first type or the second type of network switch, and corresponding interaction strategies are formulated according to the type of switch. .

Benefits of technology

Automatic dynamic adjustment of network data interaction is realized, network data interaction efficiency is improved, and the objectivity and scientificity of interaction strategies are improved through various data monitoring and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030940B_ABST
    Figure CN119030940B_ABST
Patent Text Reader

Abstract

The invention discloses a remote data interaction method and system for a network switch, relates to the field of data interaction, solves the problem of low interaction efficiency of the remote data interaction method, comprises step S1: performing storage monitoring and forwarding monitoring on a target switch to obtain storage forwarding monitoring data; step S2: performing interaction node monitoring on the target switch to obtain a second data interaction coefficient; step S3: a data analysis module divides the target switch into a first type of network switch or a second type of network switch by analyzing the storage forwarding monitoring data and the second data interaction coefficient to obtain switch work classification data; step S4: formulating an interaction strategy for the target switch according to the switch work classification data. The invention can improve the remote data interaction efficiency of the network switch and the scientificity and objectivity of the interaction method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of data interaction, relates to switch technology, and specifically is a network switch remote data interaction method and system. Background Art

[0002] The existing network switch remote data interaction method has the following defects:

[0003] 1. The existing remote data interaction method of network switches cannot automatically adjust dynamically when network traffic changes, which easily causes network congestion or waste of resources;

[0004] 2. Existing remote data interaction methods for network switches often rely on staff to set interaction strategies based on predicted data of switch operating conditions, which results in a lack of objectivity in the interaction strategies and low data interaction efficiency.

[0005] To this end, we propose a remote data interaction method and system for a network switch. Summary of the invention

[0006] In view of the deficiencies in the prior art, the present invention aims to provide a remote data interaction method and system for a network switch. The present invention is based on performing storage monitoring and forwarding monitoring on a target switch to obtain storage forwarding monitoring data, performing interactive node monitoring on the target switch to obtain a second data interaction coefficient, and a data analysis module divides the target switch into a first type of network switch or a second type of network switch by analyzing the storage forwarding monitoring data and the second data interaction coefficient, obtains switch work classification data, and formulates an interactive strategy for the target switch according to the switch work classification data;

[0007] In order to achieve the above object, the present invention adopts the following technical solution: A network switch remote data interaction method comprises the following specific steps:

[0008] Step S1: respectively obtain the monitored average forwarding data volume, the forwarding data stability coefficient, the monitored average storage data volume and the storage data stability coefficient, calculate the first data interaction coefficient, obtain the monitored transmission data volume, and define the first data interaction coefficient and the monitored transmission data volume as storage and forwarding monitoring data;

[0009] Step S2: respectively obtaining the node connection stability coefficient and the average number of network node interactions, and calculating a second data interaction coefficient;

[0010] Step S3: by analyzing the storage and forwarding monitoring data and the second data interaction coefficient, a remote interaction control coefficient is obtained, and a remote interaction control coefficient threshold is obtained and compared with the remote interaction control coefficient, and the target switch is classified into a first type of network switch or a second type of network switch according to the comparison result, so as to obtain switch work classification data;

[0011] Step S4: Formulate an interaction strategy for the target switch according to the switch work classification data.

[0012] Furthermore, in step S1, the storage and forwarding monitoring data is obtained, and the specific steps are as follows:

[0013] Step S11: within the time range of interactive detection of the target switch, j different working periods are selected as data interaction monitoring periods of the target switch, and they are named as the first data interaction monitoring period to the jth data interaction monitoring period respectively;

[0014] Step S12: Acquire first storage and forwarding data;

[0015] Step S13: respectively acquiring the storage-forwarding data corresponding to the second data interaction monitoring period to the j-th data interaction monitoring period, and obtaining the second storage-forwarding data to the j-th storage-forwarding data;

[0016] Step S14: Obtaining the forwarding data stability coefficient;

[0017] Step S15: Obtaining the storage data stability coefficient;

[0018] Step S16: obtaining a first data interaction coefficient by calculating the average forwarded data volume, the forwarded data stability coefficient, the average stored data volume, and the stored data stability coefficient;

[0019] Calculating the first data interaction coefficient;

[0020] Step S17: summing the monitored average forwarding data volume and the monitored average storage data volume to obtain the monitored transmission data volume corresponding to the target switch;

[0021] Step S18: defining the first data interaction coefficient and the monitoring transmission data volume as storage and forwarding monitoring data.

[0022] Furthermore, the step S12 further includes the following specific steps:

[0023] Step S121: performing store-and-forward monitoring on a target switch in a first data interaction monitoring period to obtain first store-and-forward data;

[0024] Step S122: respectively obtaining the cumulative amount of data forwarded by the target switch in the first data interaction monitoring period to obtain a first forwarded data amount;

[0025] Step S123: respectively obtaining the cumulative amount of data stored by the target switch during the first data interaction monitoring period to obtain a first stored data amount;

[0026] Step S124: define the first forwarded data amount and the first stored data amount as first stored forwarded data.

[0027] Furthermore, the step S14 further includes the following specific steps:

[0028] Step S141: acquiring the first forwarding data volume to the jth forwarding data volume respectively according to the first stored forwarding data to the jth stored forwarding data, calculating the average value of the first forwarding data volume to the jth forwarding data volume, and obtaining the monitored average forwarding data volume;

[0029] Step S142: Calculate the monitored average forwarding data volume and the first forwarding data volume to the jth forwarding data volume to obtain a forwarding data stability coefficient;

[0030] The stability coefficient of forwarding data is calculated.

[0031] Furthermore, the step S15 further includes the following specific steps:

[0032] Step S151: acquiring the first storage data volume to the jth storage data volume respectively according to the first storage forwarding data to the jth storage forwarding data, calculating the average value of the first storage data volume to the jth storage data volume, and obtaining the monitored average storage data volume;

[0033] Step S152: obtaining a storage data stability coefficient by calculating the monitored average storage data volume and the first storage data volume to the jth storage data volume;

[0034] Calculate the stability coefficient of stored data.

[0035] Furthermore, in step S2, the second data interaction coefficient is obtained, and the specific steps are as follows:

[0036] Step S21: within the time range of performing interaction detection on the target switch, m interaction monitoring time points are selected respectively, and they are named as the first interaction monitoring time point to the mth interaction monitoring time point respectively;

[0037] Step S22: respectively obtaining the number of network nodes interacted with by the target switch from the first interaction monitoring time point to the mth interaction monitoring time point, and obtaining the first interaction node number to the mth interaction node number;

[0038] Step S23: Calculate the average of the first interactive node number and the mth interactive node number to obtain the average network node interactive number;

[0039] Step S24: Calculate the node connection stability coefficient by using the average number of network node interactions, the first number of interaction nodes, and the mth number of interaction nodes;

[0040] Calculate the node connection stability coefficient;

[0041] Step S25: Calculate the product of the node connection stability coefficient and the average number of network node interactions to obtain a second data interaction coefficient.

[0042] Furthermore, in step S3, the switch operation classification data is obtained, and the specific steps are as follows:

[0043] Step S31: acquiring storage-forwarding monitoring data, and acquiring a first data interaction coefficient and a monitoring transmission data volume according to the storage-forwarding monitoring data;

[0044] Step S32: obtaining a second data interaction coefficient;

[0045] Step S33: obtaining a remote interaction control coefficient corresponding to the target switch by calculating the first data interaction coefficient, the second data interaction coefficient and the monitored transmission data volume;

[0046] Calculate the remote interactive control coefficient;

[0047] Step S34: obtaining a remote interaction control coefficient threshold, performing numerical comparison between the remote interaction control coefficient and the remote interaction control coefficient threshold, classifying the target switch into a first type network switch or a second type network switch according to the comparison result, and obtaining switch operation classification data.

[0048] Furthermore, the step S34 further includes the following specific steps:

[0049] Step S341: respectively obtaining a first data interaction coefficient threshold, a second data interaction coefficient threshold, and a monitoring transmission data volume threshold;

[0050] Step S342: Calculate the first data interaction coefficient threshold, the second data interaction coefficient threshold, and the monitoring transmission data volume threshold to obtain a remote interaction control coefficient threshold corresponding to the target switch;

[0051] Step S343: when the remote interactive control coefficient is greater than or equal to the remote interactive control coefficient threshold, classifying the target switch as a first type network switch;

[0052] Step S344: when the remote interaction control coefficient is less than the remote interaction control coefficient threshold, the target switch is classified as a second type network switch.

[0053] Furthermore, the step S4 further includes the following specific steps:

[0054] Step S41: Obtaining switch operation classification data;

[0055] Step S42: when the target switch is a first type network switch, interactively controlling the target switch by means of software defined networking;

[0056] Step S43: When the target switch is a second type network switch, interactive control is performed on the target switch by means of a routing protocol.

[0057] A network switch remote data interaction system, applicable to a network switch remote data interaction method according to any one of claims 1 to 9, characterized in that the specific working process of each module of the remote data interaction system is as follows:

[0058] Storage and forwarding module: used to perform storage monitoring and forwarding monitoring on the target switch to obtain storage and forwarding monitoring data;

[0059] Interaction connection module: used for monitoring the interaction nodes of the target switch to obtain the second data interaction coefficient;

[0060] Data analysis module: used to classify the target switch into a first type network switch or a second type network switch by analyzing the storage and forwarding monitoring data and the second data interaction coefficient, and obtain switch work classification data;

[0061] Data interaction module: used to formulate interaction strategies for target switches based on switch work classification data.

[0062] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0063] 1. The present invention divides the target switch into a first type network switch or a second type network switch by analyzing the storage and forwarding monitoring data and the second data interaction coefficient, and adopts different data interaction strategies for different types of network switches, which can effectively improve the interaction efficiency of network data.

[0064] 2. The present invention monitors the network switch by acquiring various data such as the average forwarding data volume, the forwarding data stability coefficient, the average storage data volume and the storage data stability coefficient, and formulates an interaction strategy based on the monitoring results, which can effectively improve the objectivity and scientificity of the data interaction method. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.

[0066] Figure 1 It is a diagram of the implementation steps of the present invention;

[0067] Figure 2 is the overall system block diagram of the present invention;

[0068] Figure 3 This is a schematic diagram of the software-defined network layering in the present invention. DETAILED DESCRIPTION

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

[0070] Embodiment 1

[0071] See also Figure 1 The present invention provides a technical solution: a network switch remote data interaction method, comprising the following specific steps:

[0072] Step S1: Perform storage monitoring and forwarding monitoring on the target switch to obtain storage and forwarding monitoring data;

[0073] Step S11: within the time range of interactive detection of the target switch, j different working periods are selected as data interaction monitoring periods of the target switch, and they are named as the first data interaction monitoring period to the jth data interaction monitoring period respectively;

[0074] Step S12: Acquire first storage and forwarding data;

[0075] The step S12 further includes the following specific steps:

[0076] Step S121: performing store-and-forward monitoring on a target switch in a first data interaction monitoring period to obtain first store-and-forward data;

[0077] Step S122: respectively obtaining the cumulative amount of data forwarded by the target switch in the first data interaction monitoring period to obtain a first forwarded data amount;

[0078] Step S123: respectively obtaining the cumulative amount of data stored by the target switch during the first data interaction monitoring period to obtain a first stored data amount;

[0079] Step S124: defining the first forwarded data amount and the first stored data amount as first stored forwarded data;

[0080] Step S13: respectively acquiring the storage-forwarding data corresponding to the second data interaction monitoring period to the j-th data interaction monitoring period, and obtaining the second storage-forwarding data to the j-th storage-forwarding data;

[0081] Step S14: Obtaining the forwarding data stability coefficient;

[0082] The step S14 further includes the following specific steps:

[0083] Step S141: acquiring the first forwarding data volume to the jth forwarding data volume respectively according to the first stored forwarding data to the jth stored forwarding data, calculating the average value of the first forwarding data volume to the jth forwarding data volume, and obtaining the monitored average forwarding data volume;

[0084] Step S142: Calculate the monitored average forwarding data volume and the first forwarding data volume to the jth forwarding data volume to obtain a forwarding data stability coefficient;

[0085] Calculate the forwarding data stability coefficient. The specific formula is as follows:

[0086]

[0087] Among them, Zfw is the forwarding data stability coefficient, Zs1 to Zsj are the first forwarding data volume to the jth forwarding data volume respectively, Zsp is the monitored average forwarding data volume, and j is the quantity value corresponding to the data interaction monitoring period;

[0088] Step S15: Obtaining the storage data stability coefficient;

[0089] The step S15 further includes the following specific steps:

[0090] Step S151: acquiring the first storage data volume to the jth storage data volume respectively according to the first storage forwarding data to the jth storage forwarding data, calculating the average value of the first storage data volume to the jth storage data volume, and obtaining the monitored average storage data volume;

[0091] Step S152: obtaining a storage data stability coefficient by calculating the monitored average storage data volume and the first storage data volume to the jth storage data volume;

[0092] Calculate the storage data stability coefficient. The specific formula is as follows:

[0093]

[0094] Wherein, Cfw is the storage data stability coefficient, Cs1 to Csj are the first storage data volume to the jth storage data volume respectively, Csp is the monitored average storage data volume, and j is the quantity value corresponding to the data interaction monitoring period;

[0095] Step S16: obtaining a first data interaction coefficient by calculating the average forwarded data volume, the forwarded data stability coefficient, the average stored data volume, and the stored data stability coefficient;

[0096] The first data interaction coefficient is calculated, and the specific formula configuration is as follows:

[0097] Hx1=Zsp×Zfw+Cfw×Csp;

[0098] Among them, Hx1 is the first data interaction coefficient, Zfw is the forwarding data stability coefficient, Zsp is the monitored average forwarding data volume, Cfw is the storage data stability coefficient, and Csp is the monitored average storage data volume;

[0099] Step S17: summing the monitored average forwarding data volume and the monitored average storage data volume to obtain the monitored transmission data volume corresponding to the target switch;

[0100] Step S18: defining the first data interaction coefficient and the monitoring transmission data volume as storage and forwarding monitoring data;

[0101] Step S2: monitoring the interaction nodes of the target switch to obtain a second data interaction coefficient;

[0102] Step S21: within the time range of performing interaction detection on the target switch, m interaction monitoring time points are selected respectively, and they are named as the first interaction monitoring time point to the mth interaction monitoring time point respectively;

[0103] Step S22: respectively obtaining the number of network nodes interacted with by the target switch from the first interaction monitoring time point to the mth interaction monitoring time point, and obtaining the first interaction node number to the mth interaction node number;

[0104] Step S23: Calculate the average of the first interactive node number and the mth interactive node number to obtain the average network node interactive number;

[0105] Step S24: Calculate the node connection stability coefficient by using the average number of network node interactions, the first number of interaction nodes, and the mth number of interaction nodes;

[0106] Calculate the node connection stability coefficient, the specific formula configuration is as follows:

[0107]

[0108] Among them, Jwx is the node connection stability coefficient, Jd1 to Jdm are the number of the first interaction nodes and the number of the mth interaction nodes respectively, Jdp is the average number of network node interactions, and m is the number value corresponding to the interaction monitoring time point;

[0109] Step S25: Calculate the product of the node connection stability coefficient and the average number of network node interactions to obtain a second data interaction coefficient;

[0110] Step S3: by analyzing the storage and forwarding monitoring data and the second data interaction coefficient, a remote interaction control coefficient is obtained, and a remote interaction control coefficient threshold is obtained and compared with the remote interaction control coefficient, and the target switch is classified into a first type of network switch or a second type of network switch according to the comparison result, so as to obtain switch work classification data;

[0111] Step S31: acquiring storage-forwarding monitoring data, and acquiring a first data interaction coefficient and a monitoring transmission data volume according to the storage-forwarding monitoring data;

[0112] Step S32: obtaining a second data interaction coefficient;

[0113] Step S33: obtaining a remote interaction control coefficient corresponding to the target switch by calculating the first data interaction coefficient, the second data interaction coefficient and the monitored transmission data volume;

[0114] The remote interactive control coefficient is calculated, and the specific formula configuration is as follows:

[0115] Yjx=Jcl×(Hx1+Hx2);

[0116] Among them, Yjx is the remote interactive control coefficient, Jc l is the amount of monitored transmission data, Hx1 is the first data interactive coefficient, and Hx2 is the second data interactive coefficient;

[0117] Step S34: obtaining a remote interactive control coefficient threshold, comparing the remote interactive control coefficient with the remote interactive control coefficient threshold, and classifying the target switch as a first type network switch or a second type network switch according to the comparison result, to obtain switch work classification data;

[0118] The step S34 further includes the following specific steps:

[0119] Step S341: respectively obtaining a first data interaction coefficient threshold, a second data interaction coefficient threshold, and a monitoring transmission data volume threshold;

[0120] Step S342: Calculate the first data interaction coefficient threshold, the second data interaction coefficient threshold, and the monitoring transmission data volume threshold to obtain a remote interaction control coefficient threshold corresponding to the target switch;

[0121] The remote interactive control coefficient threshold is calculated, and the specific formula configuration is as follows:

[0122] Yjxy=Jcly×(Hxy1+Hxy2);

[0123] Wherein, Yjx is the remote interaction control coefficient threshold, Jc l is the monitoring transmission data volume threshold, Hx1 is the first data interaction coefficient threshold, and Hx2 is the second data interaction coefficient threshold;

[0124] Step S343: when the remote interactive control coefficient is greater than or equal to the remote interactive control coefficient threshold, classifying the target switch as a first type network switch;

[0125] Step S344: when the remote interaction control coefficient is less than the remote interaction control coefficient threshold, classifying the target switch as a second type network switch;

[0126] Step S4: formulating an interaction strategy for the target switch according to the switch work classification data;

[0127] Step S41: Obtaining switch operation classification data;

[0128] Step S42: when the target switch is a first type network switch, interactively controlling the target switch by means of software defined networking;

[0129] Step S43: When the target switch is a second type network switch, interactive control is performed on the target switch by means of a routing protocol.

[0130] In this application, if corresponding calculation formulas appear, the above calculation formulas are all dimensionless and take their numerical calculations. The weight coefficients, proportional coefficients and other coefficients in the formulas are set to a result value obtained by quantifying each parameter. The size of the weight coefficient and the proportional coefficient can be determined as long as it does not affect the proportional relationship between the parameter and the result value.

[0131] Embodiment 2

[0132] See also Figure 2 , based on another concept of the same invention, a network switch remote data interaction system is now proposed, including a storage and forwarding module, an interactive connection module, a data analysis module, a data interaction module and a server, wherein the storage and forwarding module, the interactive connection module, the data analysis module and the data interaction module are respectively connected to the server, and the server controls the storage and forwarding module, the interactive connection module, the data analysis module and the data interaction module respectively;

[0133] The storage and forwarding module performs storage monitoring and forwarding monitoring on the target switch to obtain storage and forwarding monitoring data;

[0134] Within the time range of interactive detection of the target switch, j different working periods are selected as data interaction monitoring periods of the target switch, and they are named the first data interaction monitoring period to the jth data interaction monitoring period respectively;

[0135] It should be noted here that:

[0136] In this application, j referred to herein is the quantity value corresponding to the data interaction monitoring period, and j is an integer greater than 0;

[0137] The working hours selected here include but are not limited to night, morning and morning;

[0138] Performing storage and forwarding monitoring on the target switch in the first data interaction monitoring period to obtain first storage and forwarding data;

[0139] Obtaining respectively the cumulative amount of data forwarded by the target switch in the first data interaction monitoring period to obtain a first forwarded data amount;

[0140] Obtaining respectively the amount of data accumulated and stored by the target switch in the first data interaction monitoring period, and obtaining a first amount of stored data;

[0141] defining the first forwarded data amount and the first stored data amount as first stored forwarded data;

[0142] Respectively acquiring the storage and forwarding data corresponding to the second data interaction monitoring period to the j-th data interaction monitoring period, and obtaining the second storage and forwarding data to the j-th storage and forwarding data;

[0143] Obtaining first forwarding data volumes to j-th forwarding data volumes respectively according to the first stored forwarding data to the j-th stored forwarding data, calculating an average value of the first forwarding data volumes to the j-th forwarding data volumes, and obtaining a monitored average forwarding data volume;

[0144] The forwarding data stability coefficient is obtained by calculating the average forwarding data volume and the first forwarding data volume to the jth forwarding data volume;

[0145] Calculate the forwarding data stability coefficient. The specific formula is as follows:

[0146]

[0147] Among them, Zfw is the forwarding data stability coefficient, Zs1 to Zsj are the first forwarding data volume to the jth forwarding data volume respectively, Zsp is the monitored average forwarding data volume, and j is the quantity value corresponding to the data interaction monitoring period;

[0148] Obtaining first to j-th storage data amounts respectively according to the first storage forwarding data to the j-th storage forwarding data, calculating an average value of the first to j-th storage data amounts, and obtaining a monitored average storage data amount;

[0149] The average amount of stored data and the first amount of stored data to the jth amount of stored data are monitored and calculated to obtain a storage data stability coefficient;

[0150] Calculate the storage data stability coefficient. The specific formula is as follows:

[0151]

[0152] Wherein, Cfw is the storage data stability coefficient, Cs1 to Csj are the first storage data volume to the jth storage data volume respectively, Csp is the monitored average storage data volume, and j is the quantity value corresponding to the data interaction monitoring period;

[0153] The first data interaction coefficient is obtained by calculating the average forwarding data volume, the forwarding data stability coefficient, the average storage data volume and the storage data stability coefficient;

[0154] The first data interaction coefficient is calculated, and the specific formula configuration is as follows:

[0155] Hx1=Zsp×Zfw+Cfw×Csp;

[0156] Among them, Hx1 is the first data interaction coefficient, Zfw is the forwarding data stability coefficient, Zsp is the monitored average forwarding data volume, Cfw is the storage data stability coefficient, and Csp is the monitored average storage data volume;

[0157] The monitored average forwarding data volume and the monitored average storage data volume are summed to obtain the monitored transmission data volume corresponding to the target switch;

[0158] The first data interaction coefficient and the monitoring transmission data volume are defined as storage and forwarding monitoring data;

[0159] The storage and forwarding module acquires the storage and forwarding monitoring data and transmits it to the data analysis module;

[0160] The interactive connection module monitors the interactive nodes of the target switch to obtain a second data interactive coefficient;

[0161] Within the time range of interactive detection of the target switch, m interactive monitoring time points are selected respectively, and they are named the first interactive monitoring time point to the mth interactive monitoring time point respectively;

[0162] It should be noted here that:

[0163] The m involved here specifically refers to the quantity value corresponding to the selected interactive monitoring time point, and m is an integer greater than 0;

[0164] Respectively obtain the number of network nodes interacted by the target switch from the first interaction monitoring time point to the mth interaction monitoring time point, and obtain the first interaction node number to the mth interaction node number;

[0165] It should be noted here that:

[0166] In this application, the network nodes involved are specifically network devices connected to network switches, including but not limited to hubs, switches, and routers;

[0167] Calculate the average of the first number of interactive nodes and the mth number of interactive nodes to obtain the average number of network node interactions;

[0168] The node connection stability coefficient is obtained by calculating the average number of network node interactions, the number of first interaction nodes, and the number of mth interaction nodes;

[0169] Calculate the node connection stability coefficient, the specific formula configuration is as follows:

[0170]

[0171] Among them, Jwx is the node connection stability coefficient, Jd1 to Jdm are the number of the first interaction nodes and the number of the mth interaction nodes respectively, Jdp is the average number of network node interactions, and m is the number value corresponding to the interaction monitoring time point;

[0172] Calculate the product of the node connection stability coefficient and the average number of network node interactions to obtain a second data interaction coefficient;

[0173] The interactive connection module acquires the second data interactive coefficient and transmits it to the data analysis module;

[0174] The data analysis module obtains the remote interaction control coefficient by analyzing the storage and forwarding monitoring data and the second data interaction coefficient, obtains the remote interaction control coefficient threshold and compares the remote interaction control coefficient numerically, and classifies the target switch into the first type network switch or the second type network switch according to the comparison result, thereby obtaining the switch working classification data;

[0175] Acquire storage-forwarding monitoring data, and acquire a first data interaction coefficient and a monitoring transmission data volume according to the storage-forwarding monitoring data;

[0176] Obtaining a second data interaction coefficient;

[0177] The first data interaction coefficient, the second data interaction coefficient and the monitored transmission data volume are calculated to obtain a remote interaction control coefficient corresponding to the target switch;

[0178] The remote interactive control coefficient is calculated, and the specific formula configuration is as follows:

[0179] Yjx=Jcl×(Hx1+Hx2);

[0180] Among them, Yjx is the remote interactive control coefficient, Jc l is the amount of monitored transmission data, Hx1 is the first data interactive coefficient, and Hx2 is the second data interactive coefficient;

[0181] Obtaining a remote interactive control coefficient threshold, comparing the remote interactive control coefficient with the remote interactive control coefficient threshold, and classifying the target switch as a first type network switch or a second type network switch according to the comparison result, to obtain switch work classification data;

[0182] The details are as follows:

[0183] Respectively obtaining a first data interaction coefficient threshold, a second data interaction coefficient threshold, and a monitoring transmission data volume threshold;

[0184] The first data interaction coefficient threshold, the second data interaction coefficient threshold and the monitoring transmission data volume threshold are calculated to obtain a remote interaction control coefficient threshold corresponding to the target switch;

[0185] The remote interactive control coefficient threshold is calculated, and the specific formula configuration is as follows:

[0186] Yjxy=Jcly×(Hxy1+Hxy2);

[0187] Wherein, Yjx is the remote interaction control coefficient threshold, Jc l is the monitoring transmission data volume threshold, Hx1 is the first data interaction coefficient threshold, and Hx2 is the second data interaction coefficient threshold;

[0188] When the remote interactive control coefficient is greater than or equal to the remote interactive control coefficient threshold, the target switch is classified as a first type of network switch;

[0189] When the remote interactive control coefficient is less than the remote interactive control coefficient threshold, the target switch is classified as a second type of network switch;

[0190] The data analysis module acquires the switch work classification data and transmits it to the data interaction module;

[0191] The data interaction module formulates the interaction strategy for the target switch according to the switch work classification data;

[0192] Obtain switch work classification data;

[0193] When the target switch is a first type network switch, interactively controlling the target switch is performed by means of software defined networking;

[0194] When the target switch is a second type network switch, interactive control is performed on the target switch by means of a routing protocol;

[0195] It should be noted here that:

[0196] Software-defined networks are dynamically managed through a centralized controller, which can adjust network configuration in real time;

[0197] Traditional routing protocols rely on each device to run independently and require manual configuration or waiting for negotiation;

[0198] See also Figure 3 , Software-defined networks provide higher programmability and flexibility and are suitable for complex networks; while traditional routing protocols are suitable for small-scale networks and are still widely used.

[0199] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A remote data interaction method for a network switch, characterized in that: include: Step S1: respectively obtain the monitored average forwarding data volume, the forwarding data stability coefficient, the monitored average storage data volume and the storage data stability coefficient, calculate the first data interaction coefficient, obtain the monitored transmission data volume, and define the first data interaction coefficient and the monitored transmission data volume as storage and forwarding monitoring data; Step S2: respectively obtaining the node connection stability coefficient and the average number of network node interactions, and calculating a second data interaction coefficient; Step S3: by analyzing the storage and forwarding monitoring data and the second data interaction coefficient, a remote interaction control coefficient is obtained, and a remote interaction control coefficient threshold is obtained and compared with the remote interaction control coefficient, and the target switch is classified into a first type of network switch or a second type of network switch according to the comparison result, so as to obtain switch work classification data; Step S4: formulating an interaction strategy for the target switch according to the switch work classification data; In step S1, the storage and forwarding monitoring data is obtained, and the specific steps are as follows: Step S11: within the time range of interactive detection of the target switch, j different working periods are selected as data interaction monitoring periods of the target switch, and they are named as the first data interaction monitoring period to the jth data interaction monitoring period respectively; Step S12: Acquire first storage and forwarding data; Step S13: respectively acquiring the storage-forwarding data corresponding to the second data interaction monitoring period to the j-th data interaction monitoring period, and obtaining the second storage-forwarding data to the j-th storage-forwarding data; Step S14: Obtaining the forwarding data stability coefficient; Step S15: Obtaining the storage data stability coefficient; Step S16: obtaining a first data interaction coefficient by calculating the average forwarded data volume, the forwarded data stability coefficient, the average stored data volume, and the stored data stability coefficient; The first data interaction coefficient is calculated; the specific formula configuration is as follows: Hx1=Zsp×Zfw+Cfw×Csp; Among them, Hx1 is the first data interaction coefficient, Zfw is the forwarding data stability coefficient, Zsp is the monitored average forwarding data volume, Cfw is the storage data stability coefficient, and Csp is the monitored average storage data volume; Step S17: summing the monitored average forwarding data volume and the monitored average storage data volume to obtain the monitored transmission data volume corresponding to the target switch; Step S18: defining the first data interaction coefficient and the monitoring transmission data volume as storage and forwarding monitoring data; The step S12 further includes the following specific steps: Step S121: performing store-and-forward monitoring on a target switch in a first data interaction monitoring period to obtain first store-and-forward data; Step S122: respectively obtaining the cumulative amount of data forwarded by the target switch in the first data interaction monitoring period to obtain a first forwarded data amount; Step S123: respectively obtaining the cumulative amount of data stored by the target switch during the first data interaction monitoring period to obtain a first stored data amount; Step S124: defining the first forwarded data amount and the first stored data amount as first stored forwarded data; The step S14 further includes the following specific steps: Step S141: acquiring the first forwarding data volume to the jth forwarding data volume respectively according to the first stored forwarding data to the jth stored forwarding data, calculating the average value of the first forwarding data volume to the jth forwarding data volume, and obtaining the monitored average forwarding data volume; Step S142: Calculate the monitored average forwarding data volume and the first forwarding data volume to the jth forwarding data volume to obtain a forwarding data stability coefficient; Calculate the stability coefficient of forwarding data; The step S15 further includes the following specific steps: Step S151: acquiring the first storage data volume to the jth storage data volume respectively according to the first storage forwarding data to the jth storage forwarding data, calculating the average value of the first storage data volume to the jth storage data volume, and obtaining the monitored average storage data volume; Step S152: obtaining a storage data stability coefficient by calculating the monitored average storage data volume and the first storage data volume to the jth storage data volume; Calculate the stability coefficient of stored data; In step S3, the switch operation classification data is obtained, and the specific steps are as follows: Step S31: acquiring storage-forwarding monitoring data, and acquiring a first data interaction coefficient and a monitoring transmission data volume according to the storage-forwarding monitoring data; Step S32: obtaining a second data interaction coefficient; Step S33: obtaining a remote interaction control coefficient corresponding to the target switch by calculating the first data interaction coefficient, the second data interaction coefficient and the monitored transmission data volume; Calculate the remote interactive control coefficient; Step S34: obtaining a remote interaction control coefficient threshold, performing numerical comparison between the remote interaction control coefficient and the remote interaction control coefficient threshold, classifying the target switch into a first type network switch or a second type network switch according to the comparison result, and obtaining switch operation classification data.

2. A network switch remote data interaction method according to claim 1, characterized in that: In step S2, the second data interaction coefficient is obtained, and the specific steps are as follows: Step S21: within the time range of performing interaction detection on the target switch, m interaction monitoring time points are selected respectively, and they are named as the first interaction monitoring time point to the mth interaction monitoring time point respectively; Step S22: respectively obtaining the number of network nodes interacted with by the target switch from the first interaction monitoring time point to the mth interaction monitoring time point, and obtaining the first interaction node number to the mth interaction node number; Step S23: Calculate the average of the first interactive node number and the mth interactive node number to obtain the average network node interactive number; Step S24: Calculate the node connection stability coefficient by using the average number of network node interactions, the first number of interaction nodes, and the mth number of interaction nodes; Calculate the node connection stability coefficient; Step S25: Calculate the product of the node connection stability coefficient and the average number of network node interactions to obtain a second data interaction coefficient.

3. A network switch remote data interaction method according to claim 2, characterized in that: The step S34 further includes the following specific steps: Step S341: respectively obtaining a first data interaction coefficient threshold, a second data interaction coefficient threshold, and a monitoring transmission data volume threshold; Step S342: Calculate the first data interaction coefficient threshold, the second data interaction coefficient threshold, and the monitoring transmission data volume threshold to obtain a remote interaction control coefficient threshold corresponding to the target switch; Calculating the remote interaction control coefficient threshold; Step S343: when the remote interactive control coefficient is greater than or equal to the remote interactive control coefficient threshold, classifying the target switch as a first type network switch; Step S344: when the remote interaction control coefficient is less than the remote interaction control coefficient threshold, the target switch is classified as a second type network switch.

4. A network switch remote data interaction method according to claim 1, characterized in that: The step S4 further includes the following specific steps: Step S41: Obtaining switch operation classification data; Step S42: when the target switch is a first type network switch, interactively controlling the target switch by means of software defined networking; Step S43: When the target switch is a second type network switch, interactive control is performed on the target switch by means of a routing protocol.

5. A network switch remote data interaction system, applicable to a network switch remote data interaction method according to any one of claims 1 to 4, characterized in that: The specific working process of each module of the remote data interaction system is as follows: Storage and forwarding module: used to perform storage monitoring and forwarding monitoring on the target switch to obtain storage and forwarding monitoring data; Interaction connection module: used for monitoring the interaction nodes of the target switch to obtain the second data interaction coefficient; Data analysis module: used to classify the target switch into a first type network switch or a second type network switch by analyzing the storage and forwarding monitoring data and the second data interaction coefficient, and obtain switch work classification data; Data interaction module: used to formulate interaction strategies for target switches based on switch work classification data.

Citation Information

Patent Citations

  • Distributed dynamic reputation evaluation method in opportunity network

    CN105578455A

  • Retarder Internet of Things fault early warning method based on multi-interval motion curve sample entropy

    CN111199078A