Parallel meter reading management method for multi-link networking
Through the parallel meter reading management method for multi-link networking, the virtual channel management module is used to abstract and optimize channel allocation, the problem that traditional intelligent acquisition terminals cannot effectively utilize multiple communication media is solved, and the meter reading efficiency and success rate are improved. And improves the flexibility and reliability of the network.
Patent Information
- Application Number
- CN202411191842.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-24
AI Technical Summary
Traditional intelligent acquisition terminals cannot fully utilize the capabilities of multiple communication media, resulting in low efficiency and success rate of power meter data retrieval.
Adopting a parallel meter reading management method for multi-link networking, multiple data communication links are abstracted into virtual channels through the virtual channel management module, and the optimized channels are allocated for meter reading tasks, and weight allocation is used for communication success rate and delay. Select the channel according to the best choice.
It improves the efficiency and success rate of meter reading, increases network bandwidth and reliability, and improves the node's defect removal capabilities and flexibility.
Smart Images

Figure CN119181229A_ABST
Abstract
Description
Technical Field
[0001] The present invention is applied to the technical field of power grid intelligent data collection terminals, and specifically is a parallel meter reading management method oriented to multi-link networking. Background Art
[0002] With the continuous development of the global smart power communication network in recent years, various traditional and emerging communication technologies have been widely used in various usage scenarios, including power line carrier, optical fiber, RS485, CAN, mobile communication technology, WIFI and other wired and wireless communication technologies.
[0003] The traditional intelligent data collection terminal reading method can no longer fully and effectively utilize the capabilities of different communication media to quickly read back meter data. Summary of the invention
[0004] The purpose of the present invention is to provide a parallel meter reading management method for multi-link networking for data collection of concentrators and electric meters. The method makes full use of link layer capabilities to improve meter reading efficiency and meter reading success rate.
[0005] The technical solution of the present invention is:
[0006] The present invention provides a parallel meter reading management method for multi-link networking, the method comprising the following steps:
[0007] Step 1: The sub-node, i.e., the electric meter, sends a networking request to the root node, i.e., the concentrator. After confirmation by the root node, a sub-node file is generated;
[0008] Step 2: The virtual channel management module of the concentrator abstracts multiple data communication links into multiple virtual channels;
[0009] Step 3: When executing the meter reading task, the virtual channel management module allocates the channel, and the meter reading task management module of the concentrator creates the meter reading task and reads the meter data.
[0010] Furthermore, in step 1, multiple data communication links are abstracted into multiple virtual channels as follows:
[0011] The virtual channel management module strips away the unique attributes of each data communication link and abstracts the common attributes;
[0012] Each data communication link is abstracted into at least one virtual channel according to its common attribute type, and the virtual channel management module manages the enabling state, communication state, communication success rate, resource application and resource release of each virtual channel.
[0013] Furthermore, the RS485 data communication link is mapped to 1 virtual channel; the narrowband carrier data communication link is mapped to 1 virtual channel; the broadband carrier data communication link is mapped to 5-15 virtual channels; and the TCP network data communication link is mapped to 10 virtual channels.
[0014] Furthermore, step 3 is specifically as follows:
[0015] Execute meter reading tasks, traverse all meters in the meter management module, and apply for available channels from the virtual channel management module for each meter;
[0016] For any electric meter, traverse all virtual channels. If there are multiple candidate channels, select the best one; otherwise, skip it temporarily;
[0017] After the channel application is successful, a reading sub-thread is created to perform reading asynchronously, and a channel is immediately applied for the next meter.
[0018] Furthermore, the best selection is as follows:
[0019] When allocating channels, the virtual channel management module allocates weights to the priority of channel selection based on the data frame communication success rate and delay in each virtual channel to update the channel selection result.
[0020] Furthermore, based on the data frame communication success rate and delay in each virtual channel, the priority of channel selection is weighted to update the channel selection result as follows:
[0021] Count the data frame communication success rates of the candidate channels, arrange them from high to low, and assign weights to the sorted data in descending order according to the weights;
[0022] Count the delays of the candidate channels, sort them from low to high, and assign weights to the sorted data in descending order;
[0023] The weight of each candidate channel is updated, and the candidate channels are rearranged from high to low according to the weight.
[0024] Furthermore, after the meter reading is completed, the corresponding virtual channel is released and the state is switched to idle for subsequent meters to reapply.
[0025] A concentrator used in a parallel meter reading management method for multi-link networking includes:
[0026] A virtual channel management module is used to abstract multiple data communication links into multiple virtual channels and manage the creation, application and resource release of virtual channels;
[0027] The meter management module is used to manage all meters under the concentrator and supports meters networked with multiple channel types;
[0028] A network management module is used to manage the manual or ad hoc networking of the sub-nodes of each data communication link, i.e., the electricity meter;
[0029] The meter reading task management module is used to manage the creation, operation, and stop of meter reading tasks in the concentrator and the storage of meter reading data.
[0030] Furthermore, RS485, Ethernet and WIFI meters are randomly assigned random subnet IP addresses when leaving the factory, and the concentrator has a fixed address. When networking, the meter sends its own information to the concentrator, and the concentrator assigns a fixed IP address. Subsequent communications are performed according to the fixed IP address;
[0031] PLC meters are networked in the traditional way.
[0032] Beneficial effects of the present invention:
[0033] The parallel meter reading management method for multi-link networking of the present invention fully utilizes the link layer capability to communicate with the electric meter with multi-link communication capability, and the concentrator preferentially selects the channel with strong communication capability and high success rate for communication.
[0034] The present invention utilizes the technology of constructing a communication network using multiple communication links, distributes data to different links for parallel transmission, increases the bandwidth and reliability of the network, improves the flexibility of network deployment, and improves the node fault elimination capability.
[0035] Other features and advantages of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.
[0037] Figure 1 A schematic diagram of the application implementation state of the present invention is shown.
[0038] Figure 2 The flowchart of the meter reading task of the present invention applying for a channel from the virtual channel management module is shown. DETAILED DESCRIPTION
[0039] The preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0040] Example 1
[0041] A concentrator used in a parallel meter reading management method for multi-link networking includes:
[0042] A virtual channel management module is used to abstract multiple data communication links into multiple virtual channels and manage the creation, application and resource release of virtual channels;
[0043] The meter management module is used to manage all meters under the concentrator and supports meters networked with multiple channel types;
[0044] A network management module is used to manage the manual or ad hoc networking of the sub-nodes of each data communication link, i.e., the electricity meter;
[0045] The meter reading task management module is used to manage the creation, operation, and stop of meter reading tasks in the concentrator and the storage of meter reading data.
[0046] In one example, RS485, Ethernet, and WIFI meters are all randomly assigned random subnet IP addresses when leaving the factory, and the concentrator has a fixed address. When networking, the meter sends its own information to the concentrator, and the concentrator assigns a fixed IP address. Subsequent communications are performed according to the fixed IP address.
[0047] PLC meters are networked in the traditional way.
[0048] Example 2
[0049] Reference Figure 1 and Figure 2 , a parallel meter reading management method for multi-link networking, comprising the following steps:
[0050] Step 1: Abstract different links into multiple virtual channels; strip off the unique attributes of the communication links and abstract the common characteristics of all communication links.
[0051] Step 2: All virtual channels are managed uniformly in the virtual channel management module. After the virtual channel object is instantiated, it is placed in the virtual channel management module. The virtual channel management module manages the virtual channel's enable status, communication status, communication success rate, resource application, resource release, etc.
[0052] Step 3: The concentrator acts as the root node of the entire network. The sub-nodes on different links send networking requests to the root node. After the root node confirms, it generates a sub-node profile.
[0053] Step 4: The meter management module manages the meter in a unified manner according to the communication mode. The meter management module of the concentrator manages all the connected meters. The meter management module manages the communication address, communication mode, network status, communication success rate, etc. of the meter.
[0054] Step 5: The meter reading task applies for a suitable channel from the virtual channel management module according to the type of meter and reads the meter data.
[0055] Step 6: According to the communication success rate and delay of the data frames in the channel, the priority of the channel selection is weighted or reduced to affect the channel selection in step 5.
[0056] In this embodiment, a technology of constructing a communication network using multiple communication links is adopted, and the link layer capabilities are fully utilized to improve the meter reading efficiency and meter reading success rate.
[0057] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.
Claims
1. A parallel meter reading management method for multi-link networking, characterized in that: The method has the following steps: Step 1: The sub-node, i.e., the electric meter, sends a networking request to the root node, i.e., the concentrator. After confirmation by the root node, a sub-node file is generated; Step 2: The virtual channel management module of the concentrator abstracts multiple data communication links into multiple virtual channels; Step 3: When executing the meter reading task, the virtual channel management module allocates the channel, and the meter reading task management module of the concentrator creates the meter reading task and reads the meter data.
2. The parallel meter reading management method for multi-link networking according to claim 1 is characterized in that In step 1, multiple data communication links are abstracted into multiple virtual channels as follows: The virtual channel management module strips away the unique attributes of each data communication link and abstracts the common attributes; Each data communication link is abstracted into at least one virtual channel according to its common attribute type, and the virtual channel management module manages the enabling state, communication state, communication success rate, resource application and resource release of each virtual channel.
3. The parallel meter reading management method for multi-link networking according to claim 2 is characterized in that The RS485 data communication link is mapped to 1 virtual channel; the narrowband carrier data communication link is mapped to 1 virtual channel; the broadband carrier data communication link is mapped to 5-15 virtual channels; and the TCP network data communication link is mapped to 10 virtual channels.
4. The parallel meter reading management method for multi-link networking according to claim 1 is characterized in that Step 3 is as follows: Execute meter reading tasks, traverse all meters in the meter management module, and apply for available channels from the virtual channel management module for each meter; For any electric meter, traverse all virtual channels, and if there are multiple candidate channels, select the best one; Otherwise, skip it for now; After the channel application is successful, a reading sub-thread is created to perform reading asynchronously, and a channel is immediately applied for the next meter.
5. The parallel meter reading management method for multi-link networking according to claim 4 is characterized in that The specific selections are: When allocating channels, the virtual channel management module allocates weights to the priority of channel selection based on the data frame communication success rate and delay in each virtual channel to update the channel selection result.
6. The parallel meter reading management method for multi-link networking according to claim 5 is characterized in that Based on the data frame communication success rate and delay in each virtual channel, the priority of channel selection is weighted to update the channel selection result as follows: Count the data frame communication success rates of the candidate channels, arrange them from high to low, and assign weights to the sorted data in descending order according to the weights; Count the delays of the candidate channels, sort them from low to high, and assign weights to the sorted data in descending order; The weight of each candidate channel is updated, and the candidate channels are rearranged from high to low according to the weight.
7. The parallel meter reading management method for multi-link networking according to claim 2 is characterized in that After the meter reading is completed, the corresponding virtual channel is released and the status is switched to idle for subsequent meters to reapply.
8. A concentrator used in the parallel meter reading management method for multi-link networking as claimed in any one of claims 1 to 7, characterized in that include: A virtual channel management module is used to abstract multiple data communication links into multiple virtual channels and manage the creation, application and resource release of virtual channels; The meter management module is used to manage all meters under the concentrator and supports meters networked with multiple channel types; A network management module is used to manage the manual or ad hoc networking of the sub-nodes of each data communication link, i.e., the electricity meter; The meter reading task management module is used to manage the creation, operation, and stop of meter reading tasks in the concentrator and the storage of meter reading data.
9. The concentrator according to claim 8, characterized in that: RS485, Ethernet and WIFI meters are randomly assigned random subnet IP addresses when leaving the factory, and the concentrator has a fixed address. When networking, the meter sends its own information to the concentrator, and the concentrator assigns a fixed IP address. Subsequent communications are performed according to the fixed IP address. PLC meters are networked in the traditional way.
Citation Information
Patent Citations
Multichannel centralized meter reading system and working method thereof
CN107393287A
Multimeter reading system
CN107657797A
Multi-task concurrent meter reading method, device and system of intelligent meter reading system
CN109769016A
Parallel meter reading method, device and equipment and computer readable storage medium
CN115134389A
Task allocation method and device, concentrator, meter reading system and readable storage medium
CN118214964A
