A relay protection management system and method for a public auxiliary workshop

Through the combination of fault coefficient calculation and address mapping module, the network resource allocation of the relay protection system is dynamically adjusted, which solves the problem of diversity and variability of transmission data, improves the stability and efficiency of the network, and reduces the maintenance complexity.

CN117834583BActive Publication Date: 2024-08-30NANJING ZSPLAT TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311686633.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2024-08-30
Estimated Expiration
2043-12-08

AI Technical Summary

Technical Problem

In the relay protection system of the public auxiliary workshop, the diversity and variability of transmitted data make it difficult for network resource allocation to meet the stability and computing resource occupation problems. The existing technology can easily cause network problems when adjusting the token bucket parameters of the IP address. Stability decreases and computing resource usage increases.

Method used

By constructing a fault coefficient calculation formula, we monitor the fault conditions of relay protection equipment, increase the collection frequency of high-fault frequency equipment, and establish the corresponding relationship between public network IP addresses and private network IP addresses through the address mapping module to achieve dynamic network resources. Adjustments to improve network flexibility and efficiency.

Benefits of technology

Effectively adapt to the diversity and variability of transmitted data, improve network stability and reliability, reduce network maintenance complexity, and avoid stability degradation and computing resource occupation caused by network resource modification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117834583B
    Figure CN117834583B
Patent Text Reader

Abstract

The present invention discloses a relay protection management system and method for a public auxiliary workshop, which solves the problems encountered in the field of relay protection management, such as the need to allocate resources for the network transmission of the relay protection system due to the diversity and variability of the data transmitted by the relay protection system, and the need to avoid the decrease in network stability and the occupation of computing resources when modifying the network resources when allocating network resources. An address mapping module is used to establish a mapping relationship between a public network IP address and a private network IP address of a public auxiliary workshop, and the appropriate allocation of network resources is achieved through a fault coefficient calculation strategy and a query strategy. The relay protection management system and method for a public auxiliary workshop disclosed by the present invention can solve the problems of network resource allocation and stability, and improve the performance and efficiency of the relay protection system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of relay protection, and in particular to a relay protection management system and method for a public auxiliary workshop. Background Art

[0002] Public auxiliary workshops are public auxiliary workshops that industrial enterprises use to provide water, electricity, gas, cooling, and heat for direct production activities. Public auxiliary workshops are an important part of industrial production, including various equipment such as electricity, HVAC, and water treatment. Due to the large variety of equipment and large system differences, data collection and processing are difficult, and fault warnings are not timely, which affects the stable operation of the workshop.

[0003] Among them, the power distribution workshop in the public auxiliary workshop is responsible for the power distribution and management of the entire factory or industrial area. Its main function is to ensure the stable power supply of all electrical equipment, workshops and production lines in the factory, as well as to control the power and maintain the power distribution system. In order to effectively manage the relay protection of the public auxiliary workshop, a corresponding relay protection management system will be set up for the public auxiliary workshop. In addition, the relay protection system generally adopts the form of a WEB terminal, and the manager can access the WEB terminal through the public network to query and manage the equipment in the power distribution workshop. At the same time, a local area network (private network) is set up inside the workshop to collect the equipment parameters in the workshop. After the local area network (private network) is set up internally to collect the equipment parameters in the workshop, the public network can be accessed through address mapping. Therefore, the power distribution workshop in the public auxiliary workshop adopts two network levels: one is a local area network (private network), which is used for the connection and data collection of internal equipment; the other is a system accessed through the WEB terminal, which can be remotely monitored and managed through the public network.

[0004] The relay protection management system involves various types of data transmission and communication, which leads to the diversity of network resource requirements and requires appropriate resource allocation, which is mainly reflected in two aspects:

[0005] 1. Real-time data transmission: The relay protection management system needs to transmit monitoring data in real time, including various real-time measurement data such as current, voltage, frequency, etc. These data need to be transmitted at high speed and low latency according to the actual situation to ensure accuracy and real-time performance. Therefore, sufficient bandwidth and network resources need to be allocated to support real-time data transmission;

[0006] 2. Remote access and monitoring: The relay protection management system may need to support remote access and monitoring so that operators can view equipment status, make operational adjustments, troubleshoot, etc. from a remote location. This requires reliable network connectivity and resource allocation to ensure smooth remote access and monitoring.

[0007] Due to the diversity of data types transmitted by the relay protection management system, including real-time data transmission, event notification alarms and remote access, network resources need to be properly allocated.

[0008] When implementing network resource allocation for relay protection management system, the following aspects need to be considered:

[0009] 1. Bandwidth management and optimization: Ensure that the data transmission and communication needs of the relay protection management system are met by managing and optimizing the network bandwidth. This can include implementing mechanisms such as bandwidth limitation, quality of service (QoS) policies and flow control to ensure priority and quality service for important data and communications.

[0010] 2. Network configuration and optimization: Perform network configuration and optimization to ensure that the connection and communication between the relay protection management system and the relay protection equipment are stable and reliable. This can include configuring appropriate IP routing, network address translation (NAT) rules, and firewall policies to support the required data transmission.

[0011] 3. IP address allocation and management: Rationally allocate and manage IP addresses to ensure that relay protection equipment and management systems can correctly use and access IP resources. This can be done through dynamic IP address allocation using a Dynamic Host Configuration Protocol (DHCP) server, or using static IP address allocation to allocate fixed IP addresses.

[0012] Among the ways of allocating network resources in relay protection management systems, allocating appropriate bandwidth to IP addresses is one of the most common ways. Usually, methods such as Token Bucket Algorithm, Leaky Bucket Algorithm, Fair Queuing, and Weighted Fair Queuing are used to allocate corresponding bandwidth to IP addresses to ensure smooth transmission of network resources. Among them, the Token Bucket Algorithm has always been one of the commonly used algorithms, which mainly includes the following steps:

[0013] I 01S01: Determine restriction parameters: Determine the token bucket restriction parameters for each IP address, such as token generation rate (tokens per second), token bucket capacity (maximum tokens), and maximum concurrent limit (maximum concurrent tokens).

[0014] I 01S02: Create a token bucket data structure: Create a token bucket data structure for each IP address to manage the generation and use of tokens. The token bucket data structure usually contains related attributes such as the number of tokens, generation rate, token bucket capacity, and last generation time;

[0015] I 01S03: Generate tokens: Generate new tokens for the token bucket of each IP address periodically (such as every second) according to the token generation rate, and update the token quantity into the corresponding data structure.

[0016] I 01S04: Access request processing: When an access request is received from a specific IP address, first check whether there are enough tokens available in the token bucket. If there are enough tokens, access is allowed and the corresponding number of tokens is subtracted from the token bucket. If there are not enough tokens, access is denied or delayed as needed.

[0017] There are two important parameters in the token bucket algorithm: bucket size and token filling rate. However, it is difficult to dynamically adjust these two important parameters of the IP address during the operation of the relay protection management system: when adjusting the token bucket of the IP address, it is necessary to ensure that no data inconsistency or conflict occurs during the update of the token bucket configuration, so it is necessary to implement appropriate synchronization and locking mechanisms to avoid data confusion or race conditions caused by modifying the token bucket at the same time.

[0018] For example, the Chinese patent with publication number CN115940420A discloses a hierarchical relay protection system: the wide area protection network includes multiple station area protection networks, switches, wide area protection systems, wide area Internet of Things gateways and wide area cloud platforms. The wide area protection system and the wide area Internet of Things gateway are connected to the protocol converter of the station area protection network through switches, and the wide area Internet of Things gateway is connected to the wide area cloud platform through wireless communication. The wide area cloud platform and the station area cloud platform can communicate with each other. The present invention has the characteristics of small amount of information transmitted, simple configuration, and small amount of engineering transformation. The invention establishes a multi-level protection network, but after the network is established, it cannot be dynamically adjusted according to the actual operating conditions, and cannot adapt to the diversity and variability requirements of data transmission of the relay protection system.

[0019] For example, a Chinese patent with publication number CN108650192B discloses a flow control method based on a token bucket optimization algorithm, the method comprising: establishing a token pool; setting the token bucket size; data packet information analysis; analyzing all data packets passing through the gateway, and constructing a basic vector by analyzing the source address, destination address, source port, destination port and protocol type of the data packet; performing flow control based on the token bucket optimization algorithm; using a single rate three-color mark to process the data packets passing through according to the generated basic vector, and detecting and controlling the flow in real time; when a data packet with n bytes passes through the token bucket, n tokens are consumed from the token bucket, and data packets are received, and these data packets are allowed to pass, discarded or not processed according to the network congestion situation; and the steps S1 to S4 are repeatedly executed until a signal to release the flow control is received. The invention can quickly and accurately control the flow in real time. However, it is necessary to continuously calculate the demand for the token bucket on the basis of establishing the binding relationship between the token bucket and the network address, and to update the parameters of the token bucket, which reduces the stability of the network and occupies computing resources.

[0020] It can be seen that the following problems will be encountered in the field of relay protection management:

[0021] 1. The relay protection system has high requirements for the stability of data transmission. Due to the diversity and variability of data transmitted by the relay protection system, it is necessary to allocate resources for the network transmission of the relay protection system;

[0022] 2. When allocating network resources, it is necessary to avoid the decrease in network stability and the occupation of computing resources caused by modifying network resources. Summary of the invention

[0023] The purpose of the present invention is to provide a relay protection management system and method for a public auxiliary workshop, so as to solve the problems encountered in the field of relay protection of public auxiliary workshops raised in the above background technology, such as the diversity and variability of data transmitted by the relay protection system, the need to allocate resources for the network transmission of the relay protection system, and the need to avoid the decrease in network stability and occupation of computing resources when modifying the network resources when allocating network resources.

[0024] To achieve the above purpose, the general idea of ​​the present invention is: by constructing a fault coefficient calculation formula, the fault occurrence of each relay protection device in the public auxiliary workshop is monitored. The relay protection device with a high frequency of fault occurrence is monitored in particular: the acquisition frequency of the relay protection device is increased, and more network resources are allocated to the network that manages the relay protection device. By means of address mapping, a corresponding relationship between the public network IP address and the private network IP address is established to realize dynamic adjustment of network resources and improve the flexibility and efficiency of the network.

[0025] The present invention provides a relay protection management system for a public auxiliary workshop, which is characterized by comprising a collection module, a calculation module, and an address mapping module: wherein,

[0026] Acquisition module: used to collect electrical signals from relay protection equipment and transmit them to the calculation module;

[0027] Calculation module: used to calculate the fault coefficient of the relay protection device according to the electrical signal transmitted by the acquisition module through the fault coefficient calculation strategy, and transmit the private network IP address of the relay protection device and the fault coefficient to the address mapping module;

[0028] Address mapping module: used to map the private IP address of the relay protection device to the corresponding public IP address according to the private IP address and fault coefficient of the relay protection device transmitted by the calculation module.

[0029] Furthermore, the failure coefficient calculation strategy includes the following specific steps:

[0030] S1: within a fixed number of sampling cycles, the electrical signal transmitted by the acquisition module is divided into a control side electrical signal and a controlled side electrical signal according to the acquisition position;

[0031] S2: Count the number of cycles with control-side faults within a fixed number of acquisition cycles, recorded as Z1;

[0032] S3: Count the number of cycles with controlled side faults within a fixed number of acquisition cycles, recorded as Z2;

[0033] S4: Calculate the failure coefficient of the relay protection equipment. The calculation formula is:

[0034] Z0=u·Z1+v·Z2

[0035] Among them, Z0 is the fault coefficient of the relay protection equipment, u is the weighted coefficient of the control side fault, which is a constant value, and v is the weighted coefficient of the controlled side fault, which is a constant value.

[0036] Furthermore, the method for determining the control side fault and the controlled side fault specifically comprises the following steps:

[0037] D01S01: Calculate the waveform similarity λ(I,J) between the control side electrical signal and the controlled side electrical signal:

[0038]

[0039] Where I is the sampling set of the control side electrical signal, which is actually the sampling set of the current value, J is the sampling set of the controlled side electrical signal, which is actually the sampling set of the current value, λ(I,J) is the waveform similarity between I and J, T is the total number of sampling time intervals within the sampling period, α1, β1, α2, β2 are correction coefficients, which are fixed values, and α1+β1=1, α2+β2=1, I t It is expressed as the control side current value at the tth time interval, J t It is expressed as the current value of the controlled side at the tth time interval, is the empirical average value of the control side current, is a fixed value, is the empirical average value of the current value on the controlled side, which is a constant value;

[0040] D01S02: Determine whether λ(I,J) is greater than the control side fault criterion K A , where K A is a fixed value, a constant set by the staff. If it is greater than K A , it indicates that a control side fault occurs;

[0041] D01S03: Determine whether λ(I,J) is less than the fault criterion K on the controlled side B , where K B is a fixed value, a constant set by the staff. If it is less than K B , it indicates that a fault has occurred on the controlled side, otherwise it is determined that there is no fault on the controlled side.

[0042] λ(I,J) reflects the repetition degree of the control side electrical signal and the controlled side electrical signal. λ(I,J) is greater than the control side fault judgment criterion K A When λ(I,J) is less than the fault criterion K on the controlled side, it indicates that the repetition degree of the electrical signal on the controlled side and the electrical signal on the control side is high, and the control effect is not ideal. Therefore, it can be judged that a fault occurs on the control side. B When , it indicates that the repetition degree of the controlled side electrical signal and the control side electrical signal is low, and the response effect of the controlled side is not ideal. Therefore, it can be judged that a fault has occurred on the controlled side. Generally, the control side fault judgment criterion K A The value is 0.8, and the fault criterion K on the controlled side is B The value is -0.8.

[0043] It is worth noting that the setting of α1, β1, α2, and β2 is to eliminate the influence of the sudden change current on the overall judgment. Preferably, α1=0.7, β1=0.3, α2=0.7, and β2=0.3.

[0044] Furthermore, as a preferred condition, the fixed number of sampling cycles is 12, and the time length of each sampling cycle is 10 seconds, and the sampling frequency is 0.5 Hz, that is, 21 groups of data are sampled in each sampling cycle, including 21 controlled side current values ​​and 21 control side current values.

[0045] The present invention discloses a relay protection management method for a public auxiliary workshop, which is implemented by a relay protection management system for the public auxiliary workshop and is characterized in that it comprises the following specific steps:

[0046] STEP 1: Set a corresponding token bucket for the public IP address, and set parameters including token generation rate and token bucket capacity;

[0047] STEP 2: Collect the electrical signals of each relay protection device, and calculate the fault coefficient of each relay protection device according to the electrical signals;

[0048] STEP 3: Map the private IP address of the relay protection device to the corresponding public IP address according to the failure coefficient of each relay protection device.

[0049] Furthermore, the address mapping is realized by establishing a router management program to control the router. By establishing a router management program, the function of automatically changing the address mapping can be realized, so as to automatically adjust the mapping rules according to real-time requirements and network conditions, thereby improving the flexibility and efficiency of the network.

[0050] It is worth noting that the judgment basis for network resource allocation in the present invention is the current parameter, but data transmission includes not only the current parameter, but also the voltage, frequency and other data.

[0051] It is worth noting that the relay protection management system in the present invention collects data through a server with a private network IP address and manages data through a server with a public network IP address.

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

[0053] The present invention has the following beneficial effects:

[0054] 1. Provides a relay protection management system for public auxiliary workshops, which can effectively adapt to the diversity and variability of transmission data and realize resource allocation for network transmission of relay protection systems;

[0055] 2. Through the address mapping module, the corresponding relationship between the public network IP address and the private network IP address can be established to realize the dynamic adjustment of network resources and improve the flexibility and efficiency of the network; through the address mapping method instead of directly changing the token bucket parameters corresponding to the public network address, the stability of the network is increased and the complexity of network maintenance is reduced;

[0056] 3. Through the failure coefficient calculation strategy and query strategy, the mapping rules can be automatically adjusted according to real-time needs and network conditions to improve the stability and reliability of the network;

[0057] 4. By calculating the fault coefficient of the relay protection device and effectively feeding back the fault coefficient to the acquisition module, the electrical parameters of the relay protection device can be adaptively collected according to the operating status of the relay protection device. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0059] Figure 1 It is a schematic diagram of the architecture of the present invention. DETAILED DESCRIPTION

[0060] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0061] See also Figure 1 , the present invention provides several embodiments.

[0062] Embodiment 1

[0063] This embodiment provides a relay protection management system for a public auxiliary workshop, which is characterized by comprising a collection module, a calculation module, and an address mapping module: wherein:

[0064] Acquisition module: used to collect electrical signals from relay protection equipment and transmit them to the calculation module;

[0065] Calculation module: used to calculate the fault coefficient of the relay protection device according to the electrical signal transmitted by the acquisition module through the fault coefficient calculation strategy, and transmit the private network IP address of the relay protection device and the fault coefficient to the address mapping module;

[0066] Address mapping module: used to map the private IP address of the relay protection device to the corresponding public IP address according to the private IP address and fault coefficient of the relay protection device transmitted by the calculation module.

[0067] Furthermore, the failure coefficient calculation strategy includes the following specific steps:

[0068] S1: Within 12 sampling cycles, the electrical signal transmitted by the acquisition module is divided into the control side electrical signal and the controlled side electrical signal according to the acquisition position;

[0069] S2: Count the number of cycles with control-side faults within 12 acquisition cycles, recorded as Z1;

[0070] S3: Count the number of cycles with faults on the controlled side within 12 acquisition cycles, recorded as Z2;

[0071] S4: Calculate the failure coefficient of the relay protection equipment. The calculation formula is:

[0072] Z0=u·Z1+v·Z2

[0073] Among them, Z0 is the fault coefficient of the relay protection equipment, u is the weighted coefficient of the control side fault, which is a constant value, and v is the weighted coefficient of the controlled side fault, which is a constant value.

[0074] Furthermore, the method for determining the control side fault and the controlled side fault specifically comprises the following steps:

[0075] D01S01: Calculate the waveform similarity λ(I,J) between the control side electrical signal and the controlled side electrical signal:

[0076]

[0077] Where I is the sampling set of the control side electrical signal, which is actually the sampling set of the current value, J is the sampling set of the controlled side electrical signal, which is actually the sampling set of the current value, λ(I,J) is the waveform similarity between I and J, T is the total number of sampling time intervals within the sampling period, α1, β1, α2, β2 are correction coefficients, which are fixed values, and α1+β1=1, α2+β2=1, I t It is expressed as the control side current value at the tth time interval, J t It is expressed as the current value of the controlled side at the tth time interval, is the empirical average value of the control side current, is a fixed value, is the empirical average value of the current value on the controlled side, which is a constant value;

[0078] D01S02: Determine whether λ(I,J) is greater than 0.8. If it is greater than 0.8, it indicates that a control side fault has occurred;

[0079] D01S03: Determine whether λ(I,J) is less than -0.8. If it is less than -0.8, it indicates that a fault has occurred on the controlled side. Otherwise, it is determined that there is no fault on the controlled side.

[0080] Furthermore, the address mapping module includes: a public network IP address storage component, a query component, and an IP mapping component: wherein,

[0081] Public IP address storage component: used to store public IP addresses configured with token buckets;

[0082] Query component: used to query the corresponding public IP address as the public IP address corresponding to the private IP address through the query strategy according to the private IP address and the failure coefficient transmitted by the calculation module, and transmit the private IP address and the public IP address corresponding to the private IP address to the IP mapping component;

[0083] IP mapping component: used to map the private IP address to the corresponding public IP address according to the private IP address transmitted by the query component and the public IP address corresponding to the private IP address. Furthermore, the IP mapping component will adjust the mapping relationship according to the correspondence between the public IP address and the private IP address, specifically:

[0084] When the public IP address and the private IP address are in a one-to-one relationship, the mapping relationship is the mapping relationship of the IP addresses;

[0085] When the public IP address and the private IP address are in a one-to-many relationship, the mapping relationship is a mapping relationship between the subordinate ports of the public IP address and the subordinate ports of the private IP address.

[0086] Furthermore, the calculation module is also used to transmit the calculated fault coefficient of the relay protection device to the acquisition module. The acquisition module queries the corresponding acquisition frequency according to the fault coefficient transmitted by the calculation module and the "Fault Coefficient-Acquisition Frequency Comparison Table", and uses the corresponding acquisition frequency to collect data from the relay protection device, wherein the "Fault Coefficient-Acquisition Frequency Comparison Table" is a table compiled by the staff to record the correspondence between the fault coefficient, relay protection equipment and acquisition frequency.

[0087] Embodiment 2

[0088] This embodiment provides a query strategy, including the following specific steps:

[0089] C01 S01: Sort the private network IP addresses from high to low according to the failure coefficient to obtain a private network IP address sequence;

[0090] C01 S02: Sort the public network IP addresses from high to low according to the token generation rate to obtain a public network IP address sequence;

[0091] C01 S03: According to the sequence number of the private IP in the private IP address sequence, query the public IP address with the same sequence number in the public IP address sequence, which is the public IP address corresponding to the private IP address.

[0092] The specific steps of the above query strategy are mainly implemented when there are sufficient corresponding public IP addresses and private IP addresses.

[0093] Embodiment 3

[0094] This embodiment provides another query strategy, including the following specific steps:

[0095] C02S01: Query the token generation rate corresponding to the private network IP address according to the failure coefficient of the private network IP address and the "Failure Coefficient-Token Generation Rate Comparison Table", wherein the "Failure Coefficient-Token Generation Rate Comparison Table" is a comparison table prepared in advance by the staff, recording the comparison relationship between the failure coefficients of different sections and the corresponding token generation rates;

[0096] C02S02: Use the public IP address of the corresponding token generation rate as the public IP address corresponding to the private IP address.

[0097] The specific steps of the above query strategy are mainly implemented when the number of public IP addresses is less than the number of private IP addresses.

[0098] Embodiment 4

[0099] This embodiment provides a relay protection management method for a public auxiliary workshop, which is characterized by comprising the following specific steps:

[0100] STEP 1: Set a corresponding token bucket for the public IP address, and set parameters including token generation rate and token bucket capacity;

[0101] STEP 2: Collect the electrical signals of each relay protection device, and calculate the fault coefficient of each relay protection device according to the electrical signals;

[0102] STEP 3: Map the private IP address of the relay protection device to the corresponding public IP address according to the failure coefficient of each relay protection device.

[0103] Preferably, when the public auxiliary workshop has three public IP addresses, the token bucket capacity and token generation rate are set for the three public IP addresses as shown in the following table:

[0104] Public IP address number Token bucket capacity Token generation rate 1 100 tokens 100 tokens / second 2 50 tokens 50 tokens / second 3 20 tokens 20 tokens / second

[0105] Furthermore, the address mapping is achieved by establishing a router management program to control the router. Establishing a router management program to achieve automatic change of address mapping generally requires the following steps:

[0106] G01S01: Determine the requirements and functionality of the hypervisor, including the ability to automatically change address mapping rules and the mechanisms to monitor and trigger mapping changes;

[0107] G01S02: Using appropriate programming languages ​​and tools, develop a router management program to communicate with, configure, and control routers;

[0108] G01S03: Interact with a router, specifically: by establishing a way to communicate with the router, such as using the router's API or remote management protocol (such as SNMP);

[0109] G01S04: Establish triggers and trigger events for address mapping changes through programs;

[0110] G01S05: When an event triggers a change in the address mapping relationship, the router will automatically change the mapping relationship between the private IP address and the public IP address according to the rules.

[0111] Embodiment 5

[0112] This embodiment provides a token bucket configuration method for a public IP address, including the following specific steps:

[0113] P01S01: Identify specific IP addresses that need to be restricted;

[0114] P01S02: Determine the upper limit of the transmission rate of the IP address, that is, the amount of data allowed to be transmitted per unit time;

[0115] P01S03: Configure token bucket parameters: mainly including token generation rate and token bucket capacity. The token generation rate should be set not to exceed the upper limit rate, and the token bucket capacity should be selected according to the expected transmission burst situation;

[0116] P01S04: Create a token bucket rule for the IP address in the network device or firewall based on the configured parameters. This rule can be configured based on the device's management interface or a specific policy language (such as iptables).

[0117] Embodiment 6

[0118] This embodiment provides a token bucket configuration method for a port under a public IP address, including the following specific steps:

[0119] P02S01: Determine the specific IP addresses and port numbers that need to be restricted;

[0120] P02S02: Determine the upper limit of the transmission rate of the port under the IP address, that is, the amount of data allowed to be transmitted per unit time;

[0121] P02S03: Configure token bucket parameters: mainly including token generation rate and token bucket capacity. The token generation rate should be set not to exceed the upper limit rate, and the token bucket capacity should be selected according to the expected transmission burst situation;

[0122] P02S04: Create a token bucket rule for the IP address and port in the network device or firewall. This rule can be configured based on the device's management interface or a specific policy language (such as iptables).

Claims

1. A relay protection management system for a public auxiliary workshop, characterized in that: It includes acquisition module, calculation module and address mapping module: among which, Acquisition module: used to collect electrical signals from relay protection equipment and transmit them to the calculation module; Calculation module: used to calculate the fault coefficient of the relay protection device according to the electrical signal transmitted by the acquisition module through the fault coefficient calculation strategy, and transmit the private network IP address of the relay protection device and the fault coefficient to the address mapping module; The failure coefficient calculation strategy includes the following specific steps: S1: within a fixed number of sampling cycles, the electrical signal transmitted by the acquisition module is divided into a control side electrical signal and a controlled side electrical signal according to the acquisition position; S2: Count the number of cycles with control-side faults within a fixed number of acquisition cycles, recorded as Z1; Count the number of cycles with controlled-side faults within a fixed number of acquisition cycles, recorded as Z2; The method for determining a control side fault and a controlled side fault specifically includes the following steps: S21: Calculate the waveform similarity λ(I,J) between the control side electrical signal and the controlled side electrical signal: Where I is the sampling set of the control side electrical signal, which is actually the sampling set of the current value, J is the sampling set of the controlled side electrical signal, which is actually the sampling set of the current value, λ(I,J) is the waveform similarity between I and J, T is the total number of sampling time intervals within the sampling period, α1, β1, α2, β2 are correction coefficients, which are fixed values, and α1+β1=1, α2+β2=1, I t It is expressed as the control side current value at the tth time interval, J t It is expressed as the current value of the controlled side in the tth time interval, I is the empirical average value of the current value of the control side, which is a constant value, and J is the empirical average value of the current value of the controlled side, which is a constant value; S22: Determine whether λ(I,J) is greater than the control side fault criterion K A , if it is greater than K A , it indicates that a control side fault occurs, otherwise it is determined that there is no control side fault; S23: Determine whether λ(I,J) is less than the fault criterion K of the controlled side B , if it is less than K B , it indicates that a fault has occurred on the controlled side, otherwise it is determined that there is no fault on the controlled side; S3: Calculate the failure coefficient of the relay protection equipment. The calculation formula is: Z0=u·Z1+v·Z2 Among them, Z0 is the fault coefficient of the relay protection device, u is the weighting coefficient of the control side fault, which is a constant value, and v is the weighting coefficient of the controlled side fault, which is a constant value; Address mapping module: used to map the private IP address of the relay protection device to the corresponding public IP address according to the private IP address and fault coefficient of the relay protection device transmitted by the calculation module.

2. The relay protection management system for the public auxiliary workshop according to claim 1 is characterized in that: The address mapping module includes: a public network IP address storage component, a query component, and an IP mapping component: wherein, Public IP address storage component: used to store public IP addresses configured with token buckets; Query component: used to query the corresponding public IP address as the public IP address corresponding to the private IP address through the query strategy according to the private IP address and the failure coefficient transmitted by the calculation module, and transmit the private IP address and the public IP address corresponding to the private IP address to the IP mapping component; IP mapping component: used to map the private IP address to the corresponding public IP address based on the private IP address transmitted by the query component and the public IP address corresponding to the private IP address.

3. The relay protection management system for the public auxiliary workshop according to claim 2 is characterized in that: The query strategy includes the following specific steps: Sort the private network IP addresses from high to low according to the failure coefficient to obtain a private network IP address sequence; Sort the public IP addresses from high to low according to the token generation rate to obtain a public IP address sequence; According to the sequence number of the private IP in the private IP address sequence, the public IP address with the same sequence number is queried in the public IP address sequence, which is the public IP address corresponding to the private IP address.

4. The relay protection management system for the public auxiliary workshop according to claim 2 is characterized in that: The query strategy is implemented by the following steps: According to the failure coefficient of the private IP address, query the token generation rate corresponding to the private IP address; The public IP address of the corresponding token generation rate is used as the public IP address corresponding to the private IP address.

5. The relay protection management system for the public auxiliary workshop according to claim 3 or 4, characterized in that: The IP mapping component adjusts the mapping relationship according to the correspondence between the public IP address and the private IP address, specifically: When the public IP address and the private IP address are in a one-to-one relationship, the mapping relationship is the mapping relationship of the IP addresses; When the public IP address and the private IP address are in a one-to-many relationship, the mapping relationship is a mapping relationship between the subordinate ports of the public IP address and the subordinate ports of the private IP address.

6. The relay protection management system for the public auxiliary workshop according to claim 5 is characterized in that: The calculation module is also used to transmit the calculated fault coefficient of the relay protection device to the acquisition module. The acquisition module queries the corresponding acquisition frequency according to the fault coefficient transmitted by the calculation module, and uses the corresponding acquisition frequency to collect data from the relay protection device.

Citation Information

Patent Citations

  • A flow control method based on token bucket optimization algorithm

    CN108650192B

  • Hierarchical relay protection system

    CN115940420A

  • Intelligent electric power server applied to intelligent transformer substation protection control system

    CN106253487A