Power distribution industry Ethernet data transmission method and system and storage medium
By constructing a distributed hash routing table and dynamically updating the hash values of high-traffic nodes, the problem of node routing memory and link load imbalance in the power distribution data network is solved, and efficient and reliable data transmission on the power distribution industrial Ethernet are achieved. characteristics, improving the communication performance of the power communication network.
Patent Information
- Application Number
- CN202410752612.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-08-23
AI Technical Summary
After the existing power distribution data network is faced with the access of new energy power generation systems, energy storage, electric vehicles and other terminals, business traffic surges, resulting in unbalanced node routing memory overhead and transmission link load imbalance, and significant communication transmission performance decline, and traditional industrial Ethernet routing planning solutions have low reliability, poor accuracy, and low transmission efficiency.
By obtaining the parameter information and node business data of the target power distribution industrial Ethernet network, a distributed hash routing table is constructed, the hash value of high-traffic nodes is calculated, the routing table is dynamically updated to achieve node load balancing, and an efficient transmission path is constructed to ensure Real-time and reliable data transmission.
It achieves high efficiency and reliability of distribution industrial Ethernet data transmission, avoids the problems of node processing capacity overload and link load overload, and improves the communication transmission performance of the entire power communication network.
Smart Images

Figure CN118540262A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electrical automation, and in particular relates to a power distribution industrial Ethernet data transmission method, system and storage medium. Background Art
[0002] With the development of economy and technology and the improvement of people's living standards, electricity has become an indispensable secondary energy source in people's production and life, bringing endless convenience to people's production and life. Therefore, ensuring the stable and reliable supply of electricity has become one of the most important tasks of the power system.
[0003] At present, the traditional distribution data network has problems such as single network topology, complex dynamic management and low reliability in actual operation. As more and more new energy power generation systems are integrated into the power grid, and terminals such as energy storage and electric vehicles are connected to the power system on a large scale, the types and number of distribution data network services are increasing, bringing more and more technical challenges to the distribution data network.
[0004] In order to realize real-time perception and dynamic control of the power grid, frequent coordination and feedback are required between the business terminals and the business master stations. This brings pressure of unbalanced data transmission to the communication nodes and communication links related to the distribution data network, and also leads to imbalanced data node routing memory overhead or unbalanced transmission link load due to a surge in business traffic on some nodes or links. In this case, the power data communication network will be overloaded with processing capacity of some nodes or overloaded with link load, and the communication transmission performance of the entire power communication network will be significantly reduced.
[0005] Existing power distribution data networks mostly use industrial Ethernet networking technology, and the power distribution industrial Ethernet data network transmission routing planning scheme mainly constructs the business transmission path from the perspective of delay or packet loss rate indicators. However, this type of scheme does have the problems of low reliability and poor accuracy, and may cause low routing query efficiency due to too many routing table entries of some nodes in the network, thereby reducing the transmission efficiency of the entire power distribution industrial Ethernet. Summary of the invention
[0006] One of the purposes of the present invention is to provide a power distribution industrial Ethernet data transmission method with high reliability and efficiency.
[0007] A second object of the present invention is to provide a system for implementing the power distribution industrial Ethernet data transmission method.
[0008] A third object of the present invention is to provide a storage medium on which a computer program is stored; when the computer program is executed by a processor, the power distribution industrial Ethernet data transmission method is implemented.
[0009] The power distribution industrial Ethernet data transmission method provided by the present invention comprises the following steps:
[0010] S1. Obtain parameter information of the target power distribution industrial Ethernet;
[0011] S2. Obtain node business data information of the target power distribution industrial Ethernet in real time and determine high-traffic nodes;
[0012] S3. Based on the acquired data information, a distributed hash routing table of the target power distribution industrial Ethernet service routing node is constructed;
[0013] S4. According to the hash routing table obtained in step S3, the hash value of the high-traffic node is calculated based on the minimum node load balancing degree;
[0014] S5. Update the distributed hash routing table according to the hash value obtained in step S4;
[0015] S6. According to the updated distributed hash routing table obtained in step S5, a transmission path is constructed to realize data transmission of the power distribution industrial Ethernet.
[0016] The power distribution industrial Ethernet data transmission method further comprises the following steps:
[0017] S7. Repeat steps S1 to S6 in real time to complete the real-time and continuous transmission of power distribution industrial Ethernet data.
[0018] The step S1 of obtaining the parameter information of the target power distribution industrial Ethernet specifically includes the following steps:
[0019] Get the parameter information of the target power distribution industrial Ethernet: the total number of network nodes is N, the network identifier c(i) of the i-th node node(i) in the network, and the access identifier d(i) of the node storage file of the i-th node node(i) in the network; i ranges from 1 to N.
[0020] The step S2 of acquiring the node service data information of the target power distribution industrial Ethernet in real time and determining the high-traffic nodes specifically includes the following steps:
[0021] Obtain the node business data information of the target power distribution industrial Ethernet in real time: the current cycle is represented as No.w; count the business flow of each node in the current cycle, and define the high-flow node g(k). The high-flow node set composed of high-flow nodes is represented as GSet, and the value of k ranges from 1 to K, K is the total number of high-flow nodes and K<N / 3;
[0022] The high traffic node is defined as follows: if the business traffic number of the i-th node node(i) in the current cycle is greater than the set value, the i-th node node(i) is defined as a high traffic node; the set value is x times the average value of the business traffic number of all nodes in the current cycle, and x is the set parameter.
[0023] According to the acquired data information, the distributed hash routing table of the service routing node of the target power distribution industrial Ethernet is constructed in step S3, which specifically includes the following steps:
[0024] For each node, the corresponding network identifier and access identifier are used as input parameters of the hash function to calculate the hash value of the node itself;
[0025] The hash virtual ring construction algorithm is used to complete the hash virtual ring position mapping;
[0026] With the node hash value as the operation parameter, the distributed hash routing table of the service routing node of the power distribution industrial Ethernet is constructed by adopting the point-to-point routing method.
[0027] According to the hash routing table obtained in step S3, step S4 calculates the hash value of the high-traffic node based on the minimum node load balancing degree, and specifically includes the following steps:
[0028] According to the hash routing table obtained in step S3, the first several nodes and the last several nodes of the high traffic node are obtained to construct a set;
[0029] The business flow balance of high-flow nodes is calculated based on the business flow number and expected value of the business flow number of each node in the constructed set;
[0030] Select the hash value of the high-traffic node and update the node business traffic in the constructed set;
[0031] Finally, taking the business traffic balance as the objective function, the hash value of the high-traffic node is calculated.
[0032] The step S4 specifically comprises the following steps:
[0033] For each high-traffic node g(k) in the high-traffic node set GSet, obtain the predecessor node set of the high-traffic node g(k) and the set of successor nodes Predecessor node set The number of elements of Successor node set The number of elements of
[0034] Set the high traffic node g(k) and the predecessor node set and the set of successor nodes Composing a local hash value calculation node set The value of z is
[0035] Get the business flow number corresponding to each node in the local hash value calculation node set QSet:
[0036]
[0037] Calculate the service traffic balance σ of high traffic node g(k) k for in for The mathematical expectation of
[0038] For all feasible hash values of high-traffic node g(k) on the hash ring, update the service traffic of all nodes in the set QSet according to the selected feasible hash value;
[0039] σ k Minimize the objective function and use the optimization method to calculate σ k The hash value of the high-traffic node g(k) corresponding to the minimum value
[0040] Step S5, according to the hash value obtained in step S4, updates the distributed hash routing table, specifically including the following steps:
[0041] For each high-traffic node g(k) in the high-traffic node set GSet, the hash value For the operation parameters, the distributed hash routing table of the node is updated using the point-to-point routing method;
[0042] For each node in the local hash value calculation node set QSet, the node's own distributed hash routing table is updated according to the updated distributed hash routing table.
[0043] Step S6, according to the updated distributed hash routing table obtained in step S5, constructs a transmission path to realize data transmission of the power distribution industrial Ethernet, specifically comprising the following steps:
[0044] Obtain the starting node p and the ending node q of the transmission service of the power distribution industrial Ethernet service terminal in the current cycle;
[0045] According to the current distributed hash routing table, the transmission path from node p to node q is searched and established, and the data transmission of the power distribution industrial Ethernet in the current cycle is realized by using the established transmission path.
[0046] The present invention also provides a system for implementing the power distribution industrial Ethernet data transmission method, comprising a data acquisition module, a node determination module, a routing table construction module, a hash value calculation module, a routing table update module, a data transmission module and a repetition module; the data acquisition module, the node determination module, the routing table construction module, the hash value calculation module, the routing table update module and the data transmission module are connected in series in sequence; the input end of the repetition module is connected to the output end of the data transmission module, and the output end of the repetition module is connected to the input end of the data acquisition module; the data acquisition module is used to acquire parameter information of the target power distribution industrial Ethernet and upload the data to the node determination module; the node determination module is used to acquire node business data information of the target power distribution industrial Ethernet in real time according to the received data information, determine high-flow nodes, and upload the data to the routing table construction module; the routing table construction module is used to construct the target power distribution industrial Ethernet according to the received data information The distributed hash routing table of the service routing node of the standard power distribution industrial Ethernet is used to upload the data to the hash value calculation module; the hash value calculation module is used to calculate the hash value of the high-traffic node according to the received data information and the obtained hash routing table, with the minimum node load balancing degree as the criterion, and upload the data to the routing table update module; the routing table update module is used to update the distributed hash routing table according to the received data information and the hash value, and upload the data to the data transmission module; the data transmission module is used to construct a transmission path according to the received data information and the updated distributed hash routing table to realize data transmission of the power distribution industrial Ethernet; the repetition module is used to control the repetitive work of the data acquisition module, the node determination module, the routing table construction module, the hash value calculation module, the routing table update module and the data transmission module to complete the real-time and continuous transmission of the power distribution industrial Ethernet data.
[0047] The present invention also provides a storage medium on which a computer program is stored; when the computer program is executed by a processor, the power distribution industrial Ethernet data transmission method is implemented.
[0048] The power distribution industrial Ethernet data transmission method, system and storage medium disclosed in the present invention propose a power distribution industrial Ethernet service terminal data transmission method with balanced optimization of node routing table entries, construct a hash virtual ring according to the identification network, obtain node service traffic, dynamically update the high-traffic node hash value according to the local hash value calculation node load balancing minimum criterion, update the distributed hash routing table of the nodes related to the local hash value calculation node set, and construct a transmission path to transmit data according to the updated distributed hash routing table; therefore, the present invention can not only realize the transmission of power distribution industrial Ethernet data, but also has higher reliability and higher efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 The figure is a schematic diagram of the method flow of the present invention.
[0050] Figure 2 A schematic diagram of the network topology of the power distribution industrial Ethernet according to the method embodiment of the present invention.
[0051] Figure 3 A schematic diagram of hash virtual ring position mapping according to an embodiment of the method of the present invention.
[0052] Figure 4 A schematic diagram of updating the position of a hash virtual ring according to an embodiment of the method of the present invention.
[0053] Figure 5 Schematic diagram of the functional modules of the system of the present invention. DETAILED DESCRIPTION
[0054] like Figure 1 The method flow chart of the method of the present invention is shown as follows: The power distribution industrial Ethernet data transmission method disclosed by the present invention comprises the following steps:
[0055] S1. Obtain parameter information of the target power distribution industrial Ethernet; specifically includes the following steps:
[0056] Obtain parameter information of the target power distribution industrial Ethernet: the total number of network nodes is N, the network identifier c(i) of the i-th node node(i) in the network, and the access identifier d(i) of the node storage file of the i-th node node(i) in the network; i ranges from 1 to N;
[0057] S2. Obtain the node business data information of the target power distribution industrial Ethernet in real time and determine the high-traffic nodes; specifically, the steps include:
[0058] Obtain the node business data information of the target power distribution industrial Ethernet in real time: the current cycle is represented as No.w; count the business flow of each node in the current cycle, and define the high-flow node g(k). The high-flow node set composed of high-flow nodes is represented as GSet, and the value of k ranges from 1 to K, K is the total number of high-flow nodes and K<N / 3;
[0059] The high traffic node is defined as follows: if the service traffic number of the ith node node(i) in the current cycle is greater than a set value, the ith node node(i) is defined as a high traffic node; the set value is x times the average value of the service traffic number of all nodes in the current cycle, where x is a set parameter;
[0060] S3. Based on the acquired data information, a distributed hash routing table of the service routing node of the target power distribution industrial Ethernet is constructed; specifically comprising the following steps:
[0061] For each node, the corresponding network identifier and access identifier are used as input parameters of the hash function to calculate the hash value of the node itself;
[0062] The hash virtual ring construction algorithm is used to complete the hash virtual ring position mapping;
[0063] Using the node hash value as the operation parameter, a distributed hash routing table of the service routing node of the power distribution industrial Ethernet is constructed by using the point-to-point routing method;
[0064] S4. According to the hash routing table obtained in step S3, the hash value of the high-traffic node is calculated based on the minimum node load balancing degree; specifically, the steps include:
[0065] According to the hash routing table obtained in step S3, the first several nodes and the last several nodes of the high traffic node are obtained to construct a set;
[0066] The business flow balance of high-flow nodes is calculated based on the business flow number and expected value of the business flow number of each node in the constructed set;
[0067] Select the hash value of the high-traffic node and update the node business traffic in the constructed set;
[0068] Finally, the business traffic balance is used as the objective function to calculate the hash value of the high traffic node;
[0069] When implementing it, you can take the following steps:
[0070] For each high-traffic node g(k) in the high-traffic node set GSet, obtain the predecessor node set of the high-traffic node g(k) and the set of successor nodes Predecessor node set The number of elements of Successor node set The number of elements of
[0071] Set the high traffic node g(k) and the predecessor node set and the set of successor nodes Composing a local hash value calculation node set The value of z is 1 to Z k ,
[0072] Get the business flow number M corresponding to each node in the local hash value calculation node set QSet k q (z);
[0073] Calculate the service traffic balance σ of high traffic node g(k) k for in for The mathematical expectation of
[0074] For all feasible hash values of high-traffic node g(k) on the hash ring, update the service traffic of all nodes in the set QSet according to the selected feasible hash value;
[0075] σ k Minimize the objective function and use the optimization method to calculate σ k The hash value of the high-traffic node g(k) corresponding to the minimum value
[0076] S5. Update the distributed hash routing table according to the hash value obtained in step S4; specifically comprising the following steps:
[0077] For each high-traffic node g(k) in the high-traffic node set GSet, the hash value For the operation parameters, the distributed hash routing table of the node is updated using the point-to-point routing method;
[0078] For each node in the local hash value calculation node set QSet, the node's own distributed hash routing table is updated according to the updated distributed hash routing table;
[0079] S6. According to the updated distributed hash routing table obtained in step S5, a transmission path is constructed to realize data transmission of the power distribution industrial Ethernet; specifically comprising the following steps:
[0080] Obtain the starting node p and the ending node q of the transmission service of the power distribution industrial Ethernet service terminal in the current cycle;
[0081] According to the current distributed hash routing table, find and establish a transmission path from node p to node q, and use the established transmission path to realize data transmission of the power distribution industrial Ethernet in the current cycle;
[0082] S7. Repeat steps S1 to S6 in real time to complete the real-time and continuous transmission of power distribution industrial Ethernet data.
[0083] The method of the present invention is further described below in conjunction with an embodiment:
[0084] The application scenarios of this embodiment are as follows Figure 2 As shown, the electric power communication distribution network includes 6 network nodes (node ①, node ②, node ③, node ④, node ⑤, node ⑥), there are several link segments between each network node, and business data is transmitted in a direction on each link segment.
[0085] First, the power distribution industrial Ethernet network is constructed according to the identification network architecture. Assume that the total number of network nodes is N = 6, and the current cycle is No.w = 1. The network identification of each node node(i) (i = 1, 2, ..., 6) in the current cycle and the access identification c(i) and d(i) of the node storage file are shown in Table 1.
[0086] Table 1 Schematic diagram of the network identification of each node and the access identification of the node storage file in the current cycle
[0087]
[0088] Count the business traffic of each node in the current cycle, and define the high-traffic node as node node(3) when the node traffic is greater than x=1.5 times the average traffic. The total number of nodes in the high-traffic node set is K=1, and the high-traffic node set is represented by GSet={node(3)};
[0089] Then, for each node node(i), c(i) and d(i) are used as the input parameters of the hash function (i.e., the hash function), and the hash values of the node and the file are calculated. The results are shown in Table 2:
[0090] Table 2 Schematic diagram of the hash values of each node and file in the current cycle
[0091]
[0092] A hash virtual ring construction algorithm (the present embodiment uses the chord algorithm) is used and the hash virtual ring position mapping is completed based on the chord algorithm, such as Figure 3 As shown; the node hash value is used as the operation parameter, and a point-to-point routing method (this embodiment uses the RIP routing method) is used to construct a distributed hash routing table for the power distribution industrial Ethernet service routing node The hash routing table of node(2), node(3) and node(4) is shown in Table 3:
[0093] Table 3 Distributed hash routing table in the current period
[0094]
[0095] Next, for the only high-traffic node g(1)=node(3) in the high-traffic node set GSet, the corresponding predecessor node set and the set of successor nodes The corresponding number of nodes is and The local hash value calculation node set QSet = {q1(z)} = {node(2), node(3), node(4)} (z = 1, 2, 3), the number of elements in the identification set QSet is Z1 = 3; the number of business flows corresponding to each node q1(z) in the set QSet is As shown in Table 4:
[0096] Table 4 Schematic diagram of the number of business flows of nodes in the local hash value calculation node set
[0097] Z 1 2 3 <![CDATA[q1(z)]]> node(2) node(3) node(4) <![CDATA[M1 q (from)]]> 3 5 2
[0098] According to the formula Calculate the service traffic balance of high traffic node g(1)=node(3)σ1=1.633, where yes Mathematical expectation; for all feasible hash values of high-traffic node g(1) = node(3) on the hash ring, update the service traffic of all nodes in the set QSet according to the selected feasible hash value As shown in Table 5:
[0099] Table 5 Schematic diagram of business traffic after feasible hash value update
[0100]
[0101] Taking the minimum σ1 as the optimization objective function, the optimization method (particle swarm optimization method is used in this embodiment) is used to calculate the hash value of the high-traffic node g(1)=node(3) corresponding to the minimum σ1 value.
[0102]
[0103] Then, for the only high-traffic node g(1)=node(3) in the high-traffic node set GSet, use the best hash value The distributed hash routing table of the node is updated by using the point-to-point routing method (RIP routing method is used in this embodiment) as the operation parameter. For each node q1(z) in the local hash value calculation node set QSet, according to the updated Synchronously update its own distributed hash routing table. The updated hash routing table is shown in Table 6. The hash virtual ring position is as follows: Figure 4 As shown;
[0104] Table 6 Updated hash routing table
[0105]
[0106] Finally, the starting node ID and ending node ID of the transmission service of the power distribution industrial Ethernet service terminal T in the current cycle are identified as p=1 and q=6 respectively, and the transmission paths of p and q are established according to the updated distributed hash routing table. The service data transmission of the power distribution industrial Ethernet service terminal T is realized by the constructed transmission path; the current cycle is updated and the next cycle is entered.
[0107] like Figure 5 The functional module schematic diagram of the system of the present invention is shown as follows: the system disclosed in the present invention for realizing the power distribution industrial Ethernet data transmission method comprises a data acquisition module, a node determination module, a routing table construction module, a hash value calculation module, a routing table update module, a data transmission module and a repetition module; the data acquisition module, the node determination module, the routing table construction module, the hash value calculation module, the routing table update module and the data transmission module are connected in series in sequence; the input end of the repetition module is connected to the output end of the data transmission module, and the output end of the repetition module is connected to the input end of the data acquisition module; the data acquisition module is used to acquire the parameter information of the target power distribution industrial Ethernet and upload the data to the node determination module; the node determination module is used to acquire the node business data information of the target power distribution industrial Ethernet in real time according to the received data information, and determine the high-traffic nodes, and upload the data to the routing table construction module; the routing table construction module is used to acquire the high-traffic nodes according to the received data information. Data information, builds a distributed hash routing table of the business routing node of the target power distribution industrial Ethernet, and uploads the data to the hash value calculation module; the hash value calculation module is used to calculate the hash value of the high-traffic node based on the received data information and the obtained hash routing table, with the minimum node load balancing as the criterion, and upload the data to the routing table update module; the routing table update module is used to update the distributed hash routing table based on the received data information and the hash value, and upload the data to the data transmission module; the data transmission module is used to build a transmission path based on the received data information and the updated distributed hash routing table to realize data transmission of the power distribution industrial Ethernet; the repetition module is used to control the repetitive work of the data acquisition module, the node determination module, the routing table construction module, the hash value calculation module, the routing table update module and the data transmission module to complete the real-time and continuous transmission of the power distribution industrial Ethernet data.
[0108] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0109] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0112] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0113] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A power distribution industrial Ethernet data transmission method, comprising the following steps: S1. Obtain parameter information of the target power distribution industrial Ethernet; S2. Obtain node business data information of the target power distribution industrial Ethernet in real time and determine high-traffic nodes; S3. Based on the acquired data information, a distributed hash routing table of the target power distribution industrial Ethernet service routing node is constructed; S4. According to the hash routing table obtained in step S3, the hash value of the high-traffic node is calculated based on the minimum node load balancing degree; S5. Update the distributed hash routing table according to the hash value obtained in step S4; S6. According to the updated distributed hash routing table obtained in step S5, a transmission path is constructed to realize data transmission of the power distribution industrial Ethernet.
2. The power distribution industrial Ethernet data transmission method according to claim 1, Features The power distribution industrial Ethernet data transmission method further comprises the following steps: S7. Repeat steps S1 to S6 in real time to complete the real-time and continuous transmission of power distribution industrial Ethernet data.
3. The power distribution industrial Ethernet data transmission method according to claim 1, Features The step S1 of obtaining the parameter information of the target power distribution industrial Ethernet specifically includes the following steps: Obtain parameter information of the target power distribution industrial Ethernet: the total number of network nodes is N, the network identifier c(i) of the i-th node node(i) in the network, and the access identifier d(i) of the node storage file of the i-th node node(i) in the network; i ranges from 1 to N; The step S2 of acquiring the node service data information of the target power distribution industrial Ethernet in real time and determining the high-traffic nodes specifically includes the following steps: Obtain the node business data information of the target power distribution industrial Ethernet in real time: the current cycle is represented as No.w; count the business flow of each node in the current cycle, and define the high-flow node g(k). The high-flow node set composed of high-flow nodes is represented as GSet, and the value of k ranges from 1 to K, K is the total number of high-flow nodes and K<N / 3; The high traffic node is defined as follows: if the business traffic number of the i-th node node(i) in the current cycle is greater than the set value, the i-th node node(i) is defined as a high traffic node; the set value is x times the average value of the business traffic number of all nodes in the current cycle, and x is the set parameter.
4. The power distribution industrial Ethernet data transmission method according to claim 3, Features According to the acquired data information, the distributed hash routing table of the service routing node of the target power distribution industrial Ethernet is constructed in step S3, which specifically includes the following steps: For each node, the corresponding network identifier and access identifier are used as input parameters of the hash function to calculate the hash value of the node itself; The hash virtual ring construction algorithm is used to complete the hash virtual ring position mapping; Taking the node hash value as the operation parameter, the distributed hash routing table of the service routing node of the power distribution industrial Ethernet is constructed by adopting the point-to-point routing method.
5. The power distribution industrial Ethernet data transmission method according to claim 4, Features According to the hash routing table obtained in step S3, step S4 calculates the hash value of the high-traffic node based on the minimum node load balancing degree, and specifically includes the following steps: According to the hash routing table obtained in step S3, the first several nodes and the last several nodes of the high traffic node are obtained to construct a set; The business flow balance of high-flow nodes is calculated based on the business flow number and expected value of the business flow number of each node in the constructed set; Select the hash value of the high-traffic node and update the node business traffic in the constructed set; Finally, taking the business traffic balance as the objective function, the hash value of the high-traffic node is calculated.
6. The power distribution industrial Ethernet data transmission method according to claim 5, Features The step S4 specifically comprises the following steps: For each high-traffic node g(k) in the high-traffic node set GSet, obtain the predecessor node set of the high-traffic node g(k) and the set of successor nodes Predecessor node set The number of elements of Successor node set The number of elements of Set the high traffic node g(k) and the predecessor node set and the set of successor nodes The local hash value calculation node set QSet is The value of z is 1 to Z k , Get the business flow number corresponding to each node in the local hash value calculation node set QSet: Calculate the service traffic balance σ of high traffic node g(k) k for in for The mathematical expectation of For all feasible hash values of high-traffic node g(k) on the hash ring, update the service traffic of all nodes in the set QSet according to the selected feasible hash value; σ k Minimize the objective function and use the optimization method to calculate σ k The hash value of the high-traffic node g(k) corresponding to the minimum value 7. The power distribution industrial Ethernet data transmission method according to claim 6, Features Step S5, in accordance with the hash value obtained in step S4, updates the distributed hash routing table, specifically comprising the following steps: For each high-traffic node g(k) in the high-traffic node set GSet, the hash value For the operation parameters, the distributed hash routing table of the node is updated using the point-to-point routing method; For each node in the local hash value calculation node set QSet, the node's own distributed hash routing table is updated according to the updated distributed hash routing table.
8. The power distribution industrial Ethernet data transmission method according to claim 7, Features Step S6, according to the updated distributed hash routing table obtained in step S5, constructs a transmission path to realize data transmission of the power distribution industrial Ethernet, specifically comprising the following steps: Obtain the starting node p and the ending node q of the transmission service of the power distribution industrial Ethernet service terminal in the current cycle; According to the current distributed hash routing table, the transmission path from node p to node q is searched and established, and the data transmission of the power distribution industrial Ethernet in the current cycle is realized by using the established transmission path.
9. A system for implementing the power distribution industrial Ethernet data transmission method according to any one of claims 1 to 8, Features It includes a data acquisition module, a node determination module, a routing table construction module, a hash value calculation module, a routing table update module, a data transmission module and a repetition module; the data acquisition module, the node determination module, the routing table construction module, the hash value calculation module, the routing table update module and the data transmission module are connected in series in sequence; the input end of the repetition module is connected to the output end of the data transmission module, and the output end of the repetition module is connected to the input end of the data acquisition module; the data acquisition module is used to obtain parameter information of the target power distribution industrial Ethernet and upload the data to the node determination module; The node determination module is used to obtain the node business data information of the target power distribution industrial Ethernet in real time according to the received data information, determine the high-traffic nodes, and upload the data to the routing table construction module; the routing table construction module is used to construct the distributed hash routing table of the business routing node of the target power distribution industrial Ethernet according to the received data information, and upload the data to the hash value calculation module; The hash value calculation module is used to calculate the hash value of the high-traffic node according to the received data information and the obtained hash routing table, taking the minimum node load balancing degree as the criterion, and upload the data to the routing table update module; The routing table update module is used to update the distributed hash routing table according to the received data information and the hash value, and upload the data to the data transmission module; The data transmission module is used to build a transmission path based on the received data information and the updated distributed hash routing table to realize data transmission of the power distribution industrial Ethernet; the repetition module is used to control the repetitive work of the data acquisition module, the node determination module, the routing table construction module, the hash value calculation module, the routing table update module and the data transmission module to complete the real-time and continuous transmission of the power distribution industrial Ethernet data.
10. A storage medium having a computer program stored thereon; when the computer program is executed by a processor, the power distribution industrial Ethernet data transmission method according to any one of claims 1 to 8 is implemented.
