Wi-SUN communication emergency deduplication fixed weighted QoS management method, medium and terminal

By dividing service data types and packet levels in Wi-SUN communication networks, using weighted fair queues and hash table technology, the problems of service quality adjustment and planning of Wi-SUN communication networks are solved, the acquisition success rate is improved, and the realization of Optimization of communication network.

CN119155733APending Publication Date: 2024-12-17WASION GROUP HLDG
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411388699.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

The existing Wi-SUN communication network cannot effectively adjust and plan service quality, resulting in a low acquisition success rate.

Method used

Using the Wi-SUN communication emergency deduplication fixed weighted QoS management method, a QoS mathematical model is established by dividing the data types and packet levels of smart meter services, and a weighted fair queue traffic scheduling algorithm and hash table deduplication processing are used to ensure different services. Traffic priority and bandwidth allocation.

Benefits of technology

It realizes the best service quality of the Wi-SUN communication network, improves the acquisition success rate of the AMI system, and ensures the optimization of the communication network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119155733A_ABST
    Figure CN119155733A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of smart power grids, and relates to a Wi-SUN communication emergency deduplication fixed weighted QoS management method, a medium and a terminal, and the method comprises the steps: S10, carrying out the classification of the service data type and data packet grade of an intelligent electric meter of an AMI system; s20, establishing a QoS mathematical model of the Wi-SUN communication network of the intelligent electric meter, and obtaining an optimization objective function and a communication bandwidth constraint of the Wi-SUN communication network; s30, according to the Wi-SUN communication network optimization objective function and the communication bandwidth constraint, fairly allocating bandwidths to different flow queues by adopting a weighted fair queue flow scheduling algorithm, and considering the weight of each queue at the same time; and S40, de-duplication of the intelligent electric meter service data Wi-SUN network optimization emergency notification is carried out through the hash table. According to the method, dynamic adjustment and planning of the Wi-SUN network communication service can be effectively carried out according to the size of the service data packet, the data characteristics and the data priority degree of the intelligent electric meter, and optimization of the Wi-SUN communication network is achieved, so that the communication acquisition success rate is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of smart grids, and in particular relates to a Wi-SUN communication emergency deduplication fixed-weighted QoS management method, medium and terminal. Background Art

[0002] Advanced Metering Infrastructure (AMI) is one of the key components of smart grids. It allows two-way communication and data exchange, and establishes efficient connections between power companies and end users. AMI solutions usually include smart meters, communication networks, data management systems, etc. Wi-SUN (Wireless Smart Utility Network) is a wireless communication standard and technology, especially suitable for smart grids, smart cities and the Internet of Things (IoT). The Wi-SUN AMI (Advanced Metering Infrastructure) solution refers to an advanced metering infrastructure solution based on Wi-SUN technology. Since Wi-SUN communication is a lossy communication network, route updates and maintenance are independent of the data transmission process. New routes are only found when the route fails, and routes cannot be updated during data transmission. The network clustering / layer design also leads to low efficiency in forwarding messages between clusters, large network delays, and low communication collection success rates.

[0003] At present, in the process of Wi-SUN communication collection, in order to improve the collection success rate, the gateway or HES system is often used to supplement the collection. There is no QoS (Quality of Service) network management. Various business flows compete for limited resources fairly, first in first out, and use FIFO queues to achieve it. Different business flows cannot be treated differently. With the increasing amount of data (such as load curves) of smart meter services and the increasing types of business data (such as events, alarms, parameters, upgrades, etc.), it is urgent to dynamically adjust and plan the service quality of Wi-SUN communication according to the changes in business data flows. The patent with announcement number CN112087383B provides a method for improving the collection efficiency of the power collection terminal. The power collection terminal reads the daily frozen data of the meter when the routing device is idle, and saves the read daily frozen data into a preset daily frozen file. Once the time stamp of the daily frozen data in the preset daily frozen file is inconsistent, the power collection terminal creates a supplementary reading task again to supplement the daily frozen data of the meter. Then, after reading all the daily frozen data of the meter and the routing device is in an idle state, the integrity of the copied daily frozen data is judged and processed; once the read daily frozen data is complete, the power collection terminal deletes the existing supplementary reading task, switches the routing device status value to an idle state again, and ends the meter data collection work. This patent still improves the collection success rate by supplementary reading, and there is no relevant technical solution for QoS network management.

[0004] Therefore, how to adjust and plan the service quality of the Wi-SUN communication network to achieve the best service quality of the Wi-SUN communication network and improve the acquisition success rate of the AMI system is an urgent problem to be solved by personnel in this technical field. Summary of the invention

[0005] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a Wi-SUN communication emergency deduplication fixed weighted QoS management method to solve the problem in the prior art that the Wi-SUN communication network cannot guarantee the service quality of various services, resulting in a low collection success rate of the AMI system; in addition, the present invention also provides a Wi-SUN communication emergency deduplication fixed weighted QoS management medium and terminal.

[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0007] In a first aspect, the present invention provides a Wi-SUN communication emergency deduplication fixed weighted QoS management method, comprising the following steps:

[0008] S10, classifying the data types and data packet levels of the AMI system smart meter services;

[0009] S20, establishing a QoS mathematical model for the Wi-SUN communication network of smart meters, and obtaining an optimization objective function and communication bandwidth constraint for the Wi-SUN communication network;

[0010] S30, according to the Wi-SUN communication network optimization objective function and communication bandwidth constraints, adopt a weighted fair queue traffic scheduling algorithm to fairly allocate bandwidth to different traffic queues while considering the weight of each queue;

[0011] S40, deduplication of smart meter service data Wi-SUN network optimization emergency notification is performed through a hash table.

[0012] Furthermore, in step S10, the AMI system smart meter service data type includes instantaneous quantity register data stream, load curve data stream, daily settlement curve data stream, monthly settlement curve data stream, meter event curve data stream, parameter configuration data stream, meter alarm data stream, registration and power-off reporting data stream, firmware upgrade data stream, security certificate and key issuance data stream.

[0013] Furthermore, the data packet level division in step S10 is specifically as follows: the registration and power-off reporting data flow has a priority of L1, the parameter configuration data flow, security certificate and key issuance data flow has a priority of L2, the load curve data flow, daily settlement curve data flow, and monthly settlement curve data flow have a priority of L3, the meter event curve data flow and meter alarm data flow have a priority of L4, and the firmware upgrade data flow has a priority of L5.

[0014] Furthermore, in step S20, the Wi-SUN communication network QoS mathematical model is represented by the following objective function:

[0015] in, is the size of the ith packet, is the transmission delay of the ith data packet, T is the total transmission time, and is the weight used to balance throughput and latency.

[0016] Furthermore, in step S20, the data flow rate transmitted in each time slice of the communication channel is less than or equal to the maximum bandwidth B, which is calculated as follows:

[0017] in, is the bandwidth required by data packet i, B is the total available bandwidth in the current time slice, is a binary variable that determines whether data packet i is sent. When it is 1, it means that data packet i is selected to be sent. When it is 0, it means that data packet i is not selected to be sent.

[0018] Furthermore, the specific steps of step S30 are as follows:

[0019] S301, initialize the queue, create 5 traffic queues for storing service data packets of different priorities according to the Wi-SUN communication bandwidth constraint and the level of the AMI system intelligent service data flow, and assign a weight to each traffic queue ;

[0020] S302, using the traffic type field in the IPv6 protocol header to classify and label smart meter service data flows of different response levels;

[0021] S303, when a service data packet arrives, first determine the queue Ni (i=1, 2, 3, 4, 5) to which the packet belongs according to the traffic category field in the IPv6 protocol header, and then determine whether the queue Ni is empty. If the queue Ni is empty, the start time of the data packet Set to the current time, otherwise, the start time of the packet Set to the completion time of the previous data packet ;

[0022] S304: After the service data packet is determined to belong to queue Ni, the completion time of the i-th data packet in the queue is calculated as follows:

[0023] in, is the length of the data packet, where j=1, 2, 3, 4, 5;

[0024] S305. In each Wi-SUN communication time slice, the weighted fair queue traffic scheduling algorithm selects a data packet with the minimum completion time from all queues for transmission. After transmission is completed, the queue information is updated to prepare for scheduling the next data packet.

[0025] Furthermore, in step S301, the priority of the response is determined according to the data packet of the meter, and the traffic queue weight is determined. The values ​​are defined as follows:

[0026] Traffic queue weight of traffic queue number N1 The value is 35, the traffic queue weight of traffic queue number N2 The value is 25, the traffic queue weight of traffic queue number N3 The value is 20, the traffic queue weight of traffic queue number N4 The value is 15, the traffic queue weight of traffic queue number N5 The value is 5; in the step S302, the IPv6 communication category field of the traffic queue number N1 is defined as 00000001, the IPv6 communication category field of the traffic queue number N2 is defined as 00000010, the IPv6 communication category field of the traffic queue number N3 is defined as 00000100, the IPv6 communication category field of the traffic queue number N4 is defined as 00001000, and the IPv6 communication category field of the traffic queue number N5 is defined as 00010000.

[0027] Furthermore, the specific steps of step S40 are as follows:

[0028] S401. Define a hash table at the Wi-SUN gateway, use the hash table to store processed emergency service data flow reports, and use a unique identifier for each emergency service data flow as a key of the hash table;

[0029] S402, when receiving a new service data packet, the Wi-SUN gateway first checks whether it is an emergency service data flow report. If it is an emergency service data flow report, check whether the same emergency service data flow already exists in the hash table. If the same emergency service data flow already exists in the hash table, discard the notification emergency service data flow, that is, do not add it to the queue for transmission. Otherwise, add the notification to the hash table and add it to the queue normally for processing;

[0030] S403: The Wi-SUN gateway periodically clears the emergency service data flow in the hash table.

[0031] In a second aspect, the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program implements the above method when executed by a processor.

[0032] In a third aspect, the present invention further provides an electronic terminal, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes the method as described above.

[0033] Compared with the prior art, the Wi-SUN communication emergency deduplication fixed weighted QoS management method, medium and terminal provided by the present invention have at least the following beneficial effects:

[0034] The prior art lacks adjustment and planning of the service quality of the Wi-SUN communication network, resulting in poor service quality of the Wi-SUN communication network and a low collection success rate of the AMI system. The present invention has a simple process and convenient operation, and can effectively dynamically adjust and plan the Wi-SUN network communication service according to the business data packet size, data characteristics, data priority level, and data duplication characteristics of the smart meter, thereby optimizing the Wi-SUN communication network. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the scheme of the present invention, a brief introduction is given below to the figures required for use in the description of the embodiments. Obviously, the figures described below are some embodiments of the present invention. For ordinary technicians in this field, other figures can be obtained based on these figures without paying any creative work.

[0036] Figure 1 A flowchart of a Wi-SUN communication emergency deduplication fixed-weighted QoS management method provided by an embodiment of the present invention;

[0037] Figure 2 The IPv6 protocol header definition and traffic category field division of a Wi-SUN communication emergency deduplication fixed weighted QoS management method provided by an embodiment of the present invention are as shown in the following figure;

[0038] Figure 3 A unique identification definition and hash table composition diagram of a smart meter emergency service data flow for a Wi-SUN communication emergency deduplication fixed-weighted QoS management method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0039] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0040] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0041] The present invention provides a Wi-SUN communication emergency deduplication fixed weighted QoS management method, which is applied in the Wi-SUN communication collection process. The Wi-SUN communication emergency deduplication fixed weighted QoS management method includes the following steps:

[0042] S10, classifying the data types and data packet levels of the AMI system smart meter services;

[0043] S20, establishing a QoS mathematical model for the Wi-SUN communication network of smart meters, and obtaining an optimization objective function and communication bandwidth constraint for the Wi-SUN communication network;

[0044] S30, according to the Wi-SUN communication network optimization objective function and communication bandwidth constraints, adopt a weighted fair queue traffic scheduling algorithm to fairly allocate bandwidth to different traffic queues while considering the weight of each queue;

[0045] S40, deduplication of smart meter service data Wi-SUN network optimization emergency notification is performed through a hash table.

[0046] The present invention can effectively dynamically adjust and plan Wi-SUN network communication services according to the business data packet size, data characteristics, and data priority of the smart meter, thereby optimizing the Wi-SUN communication network to ensure the communication collection success rate.

[0047] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0048] The present invention provides a Wi-SUN communication emergency deduplication fixed weighted QoS management method, which is applied in the Wi-SUN communication collection process, combined with Figures 1 to 3 In this embodiment, the Wi-SUN communication emergency deduplication fixed weighted QoS management method includes the following steps:

[0049] S10, classifying the data types and data packet levels of the AMI system smart meter services;

[0050] Specifically, the AMI system collects and interacts with smart meter business data types including instantaneous quantity register data stream, load curve data stream, daily settlement curve data stream, monthly settlement curve data stream, meter event curve data stream, parameter configuration data stream, meter alarm data stream, registration and power-off reporting data stream, firmware upgrade data stream, and security certificate and key issuance data stream.

[0051] Furthermore, in this embodiment, the size of the instantaneous quantity register data stream is 100 to 200 bytes, the data packet is small, and the importance and timeliness are high; the size of the load curve data stream is 2000 to 3000 bytes, the data packet is very large, the generation cycle is short, and the importance and timeliness are high; the size of the daily settlement curve data stream is 2000 to 3000 bytes, the data packet is very large, one is generated every day, and the importance and timeliness are high; the size of the monthly settlement curve data stream is 3000 to 4000 bytes, the data packet is very large, one is generated every month, and the importance and timeliness are high; the data stream of the meter event curve is 0 to 2000 bytes, the data packet changes unpredictably, and the generation frequency is not constant. Fixed, with medium importance and timeliness requirements; the parameter configuration data flow size is 100-200 bytes, the data packet is small, and the importance and timeliness requirements are high; the meter alarm data flow size is 100-200 bytes, the data packet is small, and the importance and timeliness requirements are medium; the registration and power-off reporting data flow size is 100-200 bytes, the data packet is small, the data has repetitive characteristics, and the importance and timeliness requirements are high; the firmware upgrade data flow size is 100K-300K bytes, the data packet is very large, the duration is long, and the timeliness requirements are low; the security certificate and key issuance data flow size is 150-250 bytes, the data packet is medium, and the importance and timeliness requirements are high.

[0052] Furthermore, in this embodiment, in order to manage the data flow in the Wi-SUN communication network and optimize the service quality of the entire communication network, the service data packets of the smart meter can be divided into response priority levels, as follows:

[0053] The registration and power-off reporting data streams have priority L1, and the data has repetitive characteristics and requires an immediate response; the parameter configuration data stream, security certificate and key issuance data stream have priority L2, the data volume is determined and small, the initiation frequency is random, and an immediate response is required after initiation; the load curve data stream, daily settlement curve data stream, and monthly settlement curve data stream have priority L3, the data volume is determined and relatively large with a high load; the meter event curve data stream and meter alarm data stream have priority L4, the data volume is uncertain and changes dynamically with the power grid environment; the firmware upgrade data stream has priority L5, the data packet is very large, the initiation frequency is random, the duration after initiation is long, and the timeliness requirement is low.

[0054] S20, establishing a QoS mathematical model for the Wi-SUN communication network of smart meters, and obtaining an optimization objective function and communication bandwidth constraint for the Wi-SUN communication network;

[0055] Specifically, in this embodiment, the power AMI Wi-SUN communication network optimization objective function is constructed as follows:

[0056] In order to reasonably arrange the sending order of service data packets on the Wi-SUN communication data link according to the limited bandwidth, realize the optimization of the QoS of the Wi-SUN communication link, and maximize the QoS of the Wi-SUN communication link, an objective function can be defined. According to the data type and priority of the smart meter service data, the higher the priority of the data packet, the greater the Wi-SUN network delay weight is required in actual use. The following objective function can be used to represent the Wi-SUN communication network QoS mathematical model:

[0057] in, is the size of the ith packet, is the transmission delay of the ith data packet, T is the total transmission time, and is a weight used to balance throughput and latency. In the process of collecting smart meter service data, the optimization process of Wi-SUN communication link service quality is to use the above objective function according to the priority of service data so that the service data flow with high priority can obtain as much network bandwidth utilization as possible.

[0058] Wi-SUN communication network optimizes communication bandwidth constraint rules:

[0059] The bandwidth available in each time slice of Wi-SUN communication is limited. The data flow transmitted in each time slice of the communication channel should be less than or equal to the maximum bandwidth B (50kbps, 100kbps, ... 1Mbps). The specific calculation is as follows:

[0060] in, is the bandwidth required by packet i, B is the total available bandwidth in the current time slice (50kbps, 100kbps, ... 1Mbps), is a binary variable that determines whether data packet i is sent. When it is 1, it means that data packet i is selected to be sent. When it is 0, it means that data packet i is not selected to be sent.

[0061] S30, according to the Wi-SUN communication network optimization objective function and communication bandwidth constraints, adopt a weighted fair queue traffic scheduling algorithm to fairly allocate bandwidth to different traffic queues while considering the weight of each queue;

[0062] Specifically, in this embodiment, according to the Wi-SUN communication network optimization objective function and communication bandwidth constraints, a weighted fair queue (WFQ) traffic scheduling algorithm is adopted to fairly allocate bandwidth to different traffic queues, while considering the weight of each queue to ensure that high-priority traffic obtains more bandwidth, while low-priority traffic can still obtain reasonable bandwidth allocation.

[0063] Furthermore, in this embodiment, the specific steps of step S30 are as follows:

[0064] S301, initialize the queue, and create five traffic queues (smart meter business data flow response levels L1, L2, L3, L4, L5) for storing business data packets of five different priorities according to the bandwidth constraint of the Wi-SUN communication link and the level of the smart meter business data flow response collected by the AMI system. A weight is assigned to each traffic queue, and the weight value determines the allocation ratio of the queue in the total bandwidth.

[0065] Specifically, in step S301, the priority of the response is determined according to the data packet of the meter, and the traffic queue weight is The values ​​are defined as follows:

[0066] Traffic queue weight of traffic queue number N1 The value is 35, the traffic queue weight of traffic queue number N2 The value is 25, the traffic queue weight of traffic queue number N3 The value is 20, the traffic queue weight of traffic queue number N4 The value is 15, the traffic queue weight of traffic queue number N5 The value is 5; If the value needs to be modified, it can be done by the administrator with corresponding authority in the HES system. Modification of the value.

[0067] S302, Wi-SUN FAN network communication is an end-to-end communication based on IPv6, and the traffic type (Traffic Class) field in the IPv6 protocol header is used to classify and label the smart meter service data flows of different response levels;

[0068] Specifically, the IPv6 protocol header definition and traffic class field division are as follows: Figure 2 As shown, the Traffic Class field is 8 bits, indicating the packet type or priority of the IPv6 data packet.

[0069] Furthermore, in this embodiment, according to the above-mentioned business data flow classification, the traffic class field definition in the specific IPv6 protocol header and the corresponding traffic queue mapping are as follows:

[0070] The IPv6 communication category field of traffic queue number N1 is defined as 00000001, the IPv6 communication category field of traffic queue number N2 is defined as 00000010, the IPv6 communication category field of traffic queue number N3 is defined as 00000100, the IPv6 communication category field of traffic queue number N4 is defined as 00001000, and the IPv6 communication category field of traffic queue number N5 is defined as 00010000.

[0071] S303, when a service data packet arrives, first determine the queue Ni (i=1, 2, 3, 4, 5) to which the packet belongs according to the Traffic Class field in the IPv6 protocol header, and then determine whether the queue Ni is empty. If the queue Ni is empty, the start time of the data packet Set to the current time, otherwise, the start time of the packet Set to the completion time of the previous data packet ;

[0072] S304: After the service data packet is determined to belong to queue Ni, the completion time of the i-th data packet in the queue is calculated as follows:

[0073] in, is the length of the data packet, where j=1, 2, 3, 4, 5;

[0074] S305. In each Wi-SUN communication time slice, the weighted fair queue traffic scheduling algorithm selects a data packet with the minimum completion time from all queues for transmission. After transmission is completed, the queue information is updated to prepare for scheduling the next data packet.

[0075] S40, deduplication of smart meter service data Wi-SUN network optimization emergency notification is performed through a hash table.

[0076] Specifically, in the present embodiment, in the electric power AMI system, repeated reporting of business flow data often occurs. For example, when the smart meter registers the HES system, it is reported repeatedly, the power quality data is pushed repeatedly, and the smart meter electricity theft alarm is pushed repeatedly. These reported business data flows are often very important, and the requirements for timely data are very high, and the urgency is high. However, there are often repeated and useless pushes and reports, which lead to network communication congestion and reduce the performance of the entire communication network. In order to solve the problem of repeated and useless reporting of business flow data, which leads to network communication congestion, a hash table emergency deduplication method is proposed.

[0077] Furthermore, in this embodiment, the specific steps of step S40 are as follows:

[0078] S401. Define a hash table at the Wi-SUN gateway, use the hash table to store processed emergency service data flow reports, and use a unique identifier for each emergency service data flow as a key of the hash table;

[0079] Specifically, the types of emergency service data flows of smart meters include power quality alarm data flows, meter registration data flows and meter electricity theft data flows. The data packet size of the power quality alarm data flow is expected to be 100 to 200 bytes, the data packet size of the meter registration data flow is expected to be 50 to 100 bytes, and the data packet size of the meter electricity theft data flow is expected to be 50 to 100 bytes.

[0080] The key calculation of the hash table uniquely identifying the emergency service data flow = (the size of the emergency service data flow packet) % (the total size of all service data flow packets).

[0081] The specific unique identification definition and hash table composition of the smart meter emergency service data flow are as follows: Figure 3 shown.

[0082] S402, when receiving a new service data packet, the Wi-SUN gateway first checks whether it is an emergency service data flow report. If it is an emergency service data flow report, check whether the same emergency service data flow already exists in the hash table. If the same emergency service data flow already exists in the hash table, discard the notification emergency service data flow, that is, do not add it to the queue for transmission. Otherwise, add the notification to the hash table and add it to the queue normally for processing;

[0083] S403: The Wi-SUN gateway periodically clears the emergency service data flow in the hash table.

[0084] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any one of the methods in the present embodiment is implemented.

[0085] An embodiment of the present invention further provides an electronic terminal, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes any one of the methods in this embodiment.

[0086] The computer-readable storage medium in this embodiment can be understood by ordinary technicians in this field: all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

[0087] The electronic terminal provided in this embodiment includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run computer programs so that the electronic terminal executes each step of the above method.

[0088] Compared with the prior art, the Wi-SUN communication emergency deduplication fixed weighted QoS management method, medium and terminal described in the above embodiments lack the adjustment and planning of the service quality of the Wi-SUN communication network, resulting in poor service quality of the Wi-SUN communication network and low collection success rate of the AMI system. The present invention has a simple process and convenient operation, and can effectively dynamically adjust and plan the Wi-SUN network communication service according to the business data packet size, data characteristics, data priority level and data duplication characteristics of the smart meter, so as to achieve the optimization of the Wi-SUN communication network.

[0089] Obviously, the embodiments described above are only preferred embodiments of the present invention, rather than all embodiments. The preferred embodiments of the present invention are shown in the accompanying drawings, but they do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific embodiments, or to perform equivalent replacements for some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of the present invention, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the present invention.

Claims

1. A Wi-SUN communication emergency deduplication fixed weighted QoS management method, It is characterized in that The following steps are involved: S10, classifying the data types and data packet levels of the AMI system smart meter services; S20, establishing a QoS mathematical model for the Wi-SUN communication network of smart meters, and obtaining an optimization objective function and communication bandwidth constraint for the Wi-SUN communication network; S30, according to the Wi-SUN communication network optimization objective function and communication bandwidth constraints, adopt a weighted fair queue traffic scheduling algorithm to fairly allocate bandwidth to different traffic queues while considering the weight of each queue; S40, deduplication of smart meter service data Wi-SUN network optimization emergency notification is performed through a hash table.

2. A Wi-SUN communication emergency deduplication fixed weighted QoS management method according to claim 1, It is characterized in that In step S10, the AMI system smart meter service data type includes instantaneous quantity register data stream, load curve data stream, daily settlement curve data stream, monthly settlement curve data stream, meter event curve data stream, parameter configuration data stream, meter alarm data stream, registration and power-off reporting data stream, firmware upgrade data stream, security certificate and key issuance data stream.

3. A Wi-SUN communication emergency deduplication fixed weighted QoS management method according to claim 2, It is characterized in that The data packet level division in step S10 is specifically as follows: the registration and power-off reporting data flow has a priority of L1, the parameter configuration data flow, security certificate and key issuance data flow has a priority of L2, the load curve data flow, daily settlement curve data flow, and monthly settlement curve data flow have a priority of L3, the meter event curve data flow and meter alarm data flow have a priority of L4, and the firmware upgrade data flow has a priority of L5.

4. A Wi-SUN communication emergency deduplication fixed weighted QoS management method according to claim 1, It is characterized in that In step S20, the Wi-SUN communication network QoS mathematical model is represented by the following objective function: ; in, is the size of the ith packet, is the transmission delay of the ith data packet, T is the total transmission time, and is the weight used to balance throughput and latency.

5. A Wi-SUN communication emergency deduplication fixed weighted QoS management method according to claim 4, It is characterized in that In step S20, the data flow rate transmitted in each time slice of the communication channel is less than or equal to the maximum bandwidth B, which is calculated as follows: ; in, is the bandwidth required by data packet i, B is the total available bandwidth in the current time slice, is a binary variable that determines whether data packet i is sent. When it is 1, it means that data packet i is selected to be sent. When it is 0, it means that data packet i is not selected to be sent.

6. A Wi-SUN communication emergency deduplication fixed weighted QoS management method according to claim 1, It is characterized in that The specific steps of step S30 are as follows: S301, initialize the queue, create 5 traffic queues for storing service data packets of different priorities according to the Wi-SUN communication bandwidth constraint and the level of the AMI system intelligent service data flow, and assign a weight to each traffic queue ; S302, using the traffic type field in the IPv6 protocol header to classify and label smart meter service data flows of different response levels; S303, when a service data packet arrives, first determine the queue Ni (i=1, 2, 3, 4, 5) to which the packet belongs according to the traffic category field in the IPv6 protocol header, and then determine whether the queue Ni is empty. If the queue Ni is empty, the start time of the data packet Set to the current time, otherwise, the start time of the packet Set to the completion time of the previous data packet ; S304: After the service data packet is determined to belong to queue Ni, the completion time of the i-th data packet in the queue is calculated as follows: ; in, is the length of the data packet, where j=1, 2, 3, 4, 5; S305. In each Wi-SUN communication time slice, the weighted fair queue traffic scheduling algorithm selects a data packet with the minimum completion time from all queues for transmission. After transmission is completed, the queue information is updated to prepare for scheduling the next data packet.

7. A Wi-SUN communication emergency deduplication fixed weighted QoS management method according to claim 6, It is characterized in that In step S301, the priority of the response is determined according to the data packet of the meter, and the traffic queue weight is determined. The values ​​are defined as follows: Traffic queue weight of traffic queue number N1 The value is 35, the traffic queue weight of traffic queue number N2 The value is 25, the traffic queue weight of traffic queue number N3 The value is 20, the traffic queue weight of traffic queue number N4 The value is 15, the traffic queue weight of traffic queue number N5 The value is 5; in the step S302, the IPv6 communication category field of the traffic queue number N1 is defined as 00000001, the IPv6 communication category field of the traffic queue number N2 is defined as 00000010, the IPv6 communication category field of the traffic queue number N3 is defined as 00000100, the IPv6 communication category field of the traffic queue number N4 is defined as 00001000, and the IPv6 communication category field of the traffic queue number N5 is defined as 00010000.

8. A Wi-SUN communication emergency deduplication fixed weighted QoS management method according to claim 1, It is characterized in that The specific steps of step S40 are as follows: S401. Define a hash table at the Wi-SUN gateway, use the hash table to store processed emergency service data flow reports, and use a unique identifier for each emergency service data flow as a key of the hash table; S402, when receiving a new service data packet, the Wi-SUN gateway first checks whether it is an emergency service data flow report. If it is an emergency service data flow report, check whether the same emergency service data flow already exists in the hash table. If the same emergency service data flow already exists in the hash table, discard the notification emergency service data flow, that is, do not add it to the queue for transmission. Otherwise, add the notification to the hash table and add it to the queue normally for processing; S403: The Wi-SUN gateway periodically clears the emergency service data flow in the hash table.

9. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

10. An electronic terminal, It is characterized in that include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes the method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Network awareness method, distributed device, equipment and computer readable storage medium

    CN120416911A

  • Network awareness methods, distributed apparatus, devices, and computer-readable storage media

    CN120416911B