CN106911594B - Method for improving communication efficiency of mesh network application - Google Patents

Method for improving communication efficiency of mesh network application Download PDF

Info

Publication number
CN106911594B
CN106911594B CN201710081526.0A CN201710081526A CN106911594B CN 106911594 B CN106911594 B CN 106911594B CN 201710081526 A CN201710081526 A CN 201710081526A CN 106911594 B CN106911594 B CN 106911594B
Authority
CN
China
Prior art keywords
tasks
cac
concentrator
network
acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710081526.0A
Other languages
Chinese (zh)
Other versions
CN106911594A (en
Inventor
魏明林
张国成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Huayun Information Technology Co Ltd
Original Assignee
Zhejiang Huayun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Huayun Information Technology Co Ltd filed Critical Zhejiang Huayun Information Technology Co Ltd
Priority to CN201710081526.0A priority Critical patent/CN106911594B/en
Publication of CN106911594A publication Critical patent/CN106911594A/en
Application granted granted Critical
Publication of CN106911594B publication Critical patent/CN106911594B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/622Queue service order
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Abstract

A method for improving the communication efficiency of mesh network application relates to an electric power centralized meter reading method. In the mesh network, a common communication process is that a central node starts to a certain point in the network, and the next communication process is carried out after the point responds or overtime, so that the processing speed is low. The invention comprises the following steps: 1) when the concentrator has a plurality of acquisition tasks, the plurality of acquisition tasks are issued to the CAC at one time; 2) after the CAC receives the tasks, the tasks are cached in the CAC; 3) CAC screens the caching tasks, selects a plurality of tasks irrelevant to the route and sends the tasks to a collector; there are multiple tasks running concurrently in the network. According to the technical scheme, only the central node software algorithm is subjected to relevant optimization and a plurality of tasks are processed in parallel on the premise of not changing the existing slave node software, so that the network communication efficiency is greatly improved.

Description

Method for improving communication efficiency of mesh network application
Technical Field
The invention relates to a power centralized meter reading method, in particular to a method for improving the communication efficiency of mesh network application.
Background
In the mesh network, a common communication process is initiated to a certain point in the network by a central node, and the next communication process is carried out after the point responds or times out.
As shown in fig. 1, the meter reading process is as follows: 1. the concentrator issues an acquisition task to the CAC, the CAC collects node data specified by the concentrator through a mesh network, and reports the node data to the concentrator after receiving a response;
2. and (3) after the data is processed by the concentrator, sending an acquisition task to the CAC, and repeating the step (1) until all the acquisition tasks are completed.
This is typically a serial operation, and when there are multiple tasks, there may be situations where it is not possible to complete within a specified time. At present, the service demand of electric power meter reading is higher and higher, the requirement on the communication efficiency of a network is also higher and higher, and meanwhile, in order to keep compatibility with nodes which are already running on site, the communication efficiency needs to be improved on the premise of not changing the network architecture and the protocol urgently.
Disclosure of Invention
The technical problem to be solved and the technical task to be solved by the invention are to perfect and improve the prior technical scheme, and provide a method for improving the application communication efficiency of the mesh network so as to improve the network communication efficiency. Therefore, the invention adopts the following technical scheme.
A method for improving the communication efficiency of mesh network application, the electric power gathers and copies the system including main website, concentrator descending main module, ammeter and ammeter module, concentrator descending main module and ammeter module make up the mesh network, every node in the mesh network will have a route to cac, when the concentrator checks meter, cac will copy and receive the data of the node through this route; the method for improving the communication efficiency of the mesh network application is characterized by comprising the following steps:
1) when the concentrator has a plurality of acquisition tasks, the plurality of acquisition tasks are issued to the CAC at one time;
2) after the CAC receives the tasks, the tasks are cached in the CAC;
3) CAC screens the caching tasks, selects a plurality of tasks irrelevant to the route and sends the tasks to a collector; a plurality of tasks run concurrently in the network;
4) when the tasks in the network are completed, the CAC selects acquisition tasks irrelevant to the routes of the rest tasks from the cache tasks and sends the acquisition tasks to the acquisition device, so that the tasks with set number in the network run in parallel, and then the CAC deletes the finished tasks from the cache of the CAC; if the concentrator has the collection tasks which are not sent to the CAC and the number of the tasks cached in the CAC at present is less than the specified maximum number of the tasks, the collection tasks are immediately sent to the CAC, and the number of the tasks cached in the CAC is ensured.
As a further improvement and supplement to the above technical solutions, the present invention also includes the following additional technical features.
In step 3), 5 tasks irrelevant to the route are selected and sent to the collector; when the tasks in the network are completed, the CAC selects the acquisition tasks irrelevant to the routes of the rest tasks from the cache tasks and sends the acquisition tasks to the acquisition device, 5 tasks in the network are ensured to run in parallel, and then the CAC deletes the finished tasks from the cache of the CAC.
Further, after the CAC receives the tasks issued by the concentrator, whether the number of the cache tasks per se is larger than or equal to the set maximum number of the tasks is judged, if the number of the cache tasks per se is smaller than the set maximum number of the tasks, the CAC caches the acquisition tasks issued by the concentrator, whether the tasks with the set number are executed in the downlink network is judged, and otherwise, whether the tasks with the set number are executed in the downlink network is directly judged.
Further, if the number of the tasks in the downlink network is less than the set number, the CAC screens out tasks irrelevant to the tasks being executed from the cache tasks and sends the tasks to the collector to ensure the number of the network tasks; the CAC then determines the execution status of the task being executed and deletes the completed task in the cache.
Further, when the concentrator has collection tasks, the number of the tasks cached in the CAC is read at regular intervals; when the CAC cache task number is smaller than the set maximum task number, the concentrator issues acquisition tasks to the CAC until the task number in the CAC reaches the set maximum task number or no acquisition tasks exist in the concentrator.
Has the advantages that: according to the technical scheme, only the central node software algorithm is subjected to relevant optimization and a plurality of tasks are processed in parallel on the premise of not changing the existing slave node software, so that the network communication efficiency is greatly improved.
Drawings
Fig. 1 is a flow chart of a prior art method.
Fig. 2 is a working principle diagram of the present invention.
Fig. 3 is a CAC workflow diagram of the present invention.
Fig. 4 is a flow chart of the concentrator operation of the present invention.
FIG. 5 is a schematic diagram of a meter reading system of the present invention.
Detailed Description
The technical scheme of the invention is further explained in detail by combining the drawings in the specification.
The invention comprises the following steps:
1) when the concentrator has a plurality of acquisition tasks, the plurality of acquisition tasks are issued to the CAC at one time;
2) after the CAC receives the tasks, the tasks are cached in the CAC;
3) CAC screens the caching tasks, selects a plurality of tasks irrelevant to the route and sends the tasks to a collector; a plurality of tasks run concurrently in the network;
4) when the tasks in the network are completed, the CAC selects acquisition tasks irrelevant to the routes of the rest tasks from the cache tasks and sends the acquisition tasks to the acquisition device, so that the tasks with set number in the network run in parallel, and then the CAC deletes the finished tasks from the cache of the CAC; if the concentrator has the collection tasks which are not sent to the CAC and the number of the tasks cached in the CAC at present is less than the specified maximum number of the tasks, the collection tasks are immediately sent to the CAC, and the number of the tasks cached in the CAC is ensured.
By optimizing the technical scheme, the meter reading process comprises the following steps:
1. firstly, when a concentrator has a plurality of collection tasks, the collection tasks are sent to a CAC (the maximum task number is temporarily specified to be 100) at one time, the CAC caches the tasks after receiving the tasks, because the collection operation aiming at the same destination address exists in the tasks and the corresponding routes are the same, the CAC screens the tasks according to a certain rule, 5 irrelevant tasks with routes are selected and sent to the collector, in order to reduce the conflict among the tasks to the maximum extent, the 5 tasks are sent one by one according to a certain mechanism, and then the 5 tasks run concurrently in the network. When the tasks in the network are completed, the CAC selects the acquisition tasks irrelevant to the routes of the rest tasks from the cache tasks and sends the acquisition tasks to the acquisition device, 5 tasks in the network are ensured to run in parallel, and then the CAC deletes the finished tasks from the cache of the CAC. Meanwhile, the concentrator makes an appointment with the CAC, if the concentrator has acquisition tasks which are not issued to the CAC and the number of the tasks cached in the CAC at present is less than the specified maximum number of tasks 100, the acquisition tasks are immediately issued to the CAC, and the number of the tasks cached in the CAC is ensured. In the process of screening the tasks, the CAC has the condition that no 5 routes are completely irrelevant to acquire the tasks, the CAC can still execute the tasks according to the regulations, and if the tasks fail, the concentrator can issue the tasks again according to a certain mechanism. The effect under normal conditions is that if more than 100 tasks are not processed, 100 tasks are guaranteed to be processed or being processed in the CAC cache, and 5 tasks are guaranteed to run in parallel in the wireless network.
2. The realization of the asynchronous communication of the network is considered from two aspects of the processing mechanism between the concentrator and the CAC and the processing mechanism between the CAC and the collector.
The method mainly shows a specific implementation process from two aspects of a concentrator and CAC;
as shown in fig. 3: after the CAC receives the tasks issued by the concentrator, whether the number of the cache tasks per se is greater than or equal to the set maximum number of tasks 100 is judged, if the number of the cache tasks per se is less than the set maximum number of tasks, the CAC caches the acquisition tasks issued by the concentrator, whether the tasks with the set number are executed in the downlink network is judged, and otherwise, whether the tasks with the set number are executed in the downlink network is directly judged. If the downlink network is less than 5 tasks being executed, the CAC screens out tasks irrelevant to the tasks being executed from the cache tasks and sends the tasks to the collector to ensure the number of network tasks; the CAC then determines the execution status of the task being executed and deletes the completed task in the cache.
As shown in fig. 4, when the concentrator has an acquisition task, the number of tasks cached in the CAC is read at regular intervals; when the CAC cache task number is smaller than the set maximum task number, the concentrator issues acquisition tasks to the CAC until the task number in the CAC reaches the set maximum task number or no acquisition tasks exist in the concentrator.
As shown in fig. 2, the electric power centralized meter reading system includes a master station, a concentrator downlink main module, an electric meter and an electric meter module, the concentrator downlink main module and the electric meter module form a mesh network, each node in the mesh network has a path to a cac, and the cac can read data of the node through the path when the concentrator reads the electric power; the CAC selects a plurality of tasks with irrelevant routes to be issued to the collector, so that the conflict among the tasks is reduced, and the tasks are processed in parallel, thereby effectively improving the efficiency.
As shown in fig. 5, it is a basic component of a meter reading system, 1 concentrator and n collectors are installed in one cell, and 1 to 32 electric meters can be connected to the lower side of one collector; the dotted line is framed by an acquisition network consisting of a concentrator and an acquisition unit, wherein the concentrator communicates with the acquisition unit through a wireless signal by using a downlink communication module (also called CAC) installed on the concentrator. The CAC is an accessory that constitutes the concentrator and is responsible for downstream communications, i.e., for collecting meter data.
The method for improving the communication efficiency of the mesh network application shown in fig. 2 to 5 is a specific embodiment of the present invention, which already embodies the substantial features and improvements of the present invention, and can make equivalent modifications in shape, structure, etc. according to the practical use requirements, and is within the scope of the present invention.

Claims (2)

1. A method for improving the communication efficiency of mesh network application, the electric power gathers and copies the system including main website, concentrator descending main module, ammeter and ammeter module, concentrator descending main module and ammeter module make up the mesh network, every node in the mesh network will have a route to cac, when the concentrator checks meter, cac will copy and receive the data of the node through this route; the method for improving the communication efficiency of the mesh network application is characterized by comprising the following steps:
1) when the concentrator has a plurality of acquisition tasks, the plurality of acquisition tasks are issued to the CAC at one time;
2) after the CAC receives the tasks, the tasks are cached in the CAC;
3) CAC screens the caching tasks, selects a plurality of tasks irrelevant to the route and sends the tasks to a collector; a plurality of tasks run concurrently in the network;
4) when the tasks in the network are completed, the CAC selects acquisition tasks irrelevant to the routes of the rest tasks from the cache tasks and sends the acquisition tasks to the acquisition device, so that the tasks with set number in the network run in parallel, and then the CAC deletes the finished tasks from the cache of the CAC; if the concentrator has the collection tasks which are not sent to the CAC and the number of the tasks cached in the CAC at present is less than the specified maximum number of the tasks, the collection tasks are immediately sent to the CAC to ensure the number of the tasks cached in the CAC;
after the CAC receives the tasks issued by the concentrator, whether the number of the cache tasks per se is larger than or equal to the set maximum number of the tasks is judged, if the number of the cache tasks per se is smaller than the set maximum number of the tasks, the CAC caches the acquisition tasks issued by the concentrator, and then judges whether the tasks with the set number are executed in the downlink network, otherwise, the CAC directly judges whether the tasks with the set number are executed in the downlink network;
if the downlink network is less than the set number of tasks in execution, the CAC screens out tasks irrelevant to the tasks in execution from the cache tasks and sends the tasks to the collector to ensure the number of network tasks; then CAC judges the executing state of the executing task and deletes the finished task in the cache;
when the concentrator has collection tasks, reading the number of the tasks cached in the CAC at regular intervals; when the CAC cache task number is smaller than the set maximum task number, the concentrator issues acquisition tasks to the CAC until the task number in the CAC reaches the set maximum task number or no acquisition tasks exist in the concentrator.
2. The method according to claim 1, wherein the method for improving the communication efficiency of the mesh network application comprises the following steps: in step 3), 5 tasks irrelevant to the route are selected and sent to the collector; when the tasks in the network are completed, the CAC selects the acquisition tasks irrelevant to the routes of the rest tasks from the cache tasks and sends the acquisition tasks to the acquisition device, 5 tasks in the network are ensured to run in parallel, and then the CAC deletes the finished tasks from the cache of the CAC.
CN201710081526.0A 2017-02-15 2017-02-15 Method for improving communication efficiency of mesh network application Active CN106911594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710081526.0A CN106911594B (en) 2017-02-15 2017-02-15 Method for improving communication efficiency of mesh network application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710081526.0A CN106911594B (en) 2017-02-15 2017-02-15 Method for improving communication efficiency of mesh network application

Publications (2)

Publication Number Publication Date
CN106911594A CN106911594A (en) 2017-06-30
CN106911594B true CN106911594B (en) 2020-11-20

Family

ID=59207646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710081526.0A Active CN106911594B (en) 2017-02-15 2017-02-15 Method for improving communication efficiency of mesh network application

Country Status (1)

Country Link
CN (1) CN106911594B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107529195A (en) * 2017-07-05 2017-12-29 国网浙江省电力公司 A kind of asynchronous communication method based on micropower wireless network
CN108880619A (en) * 2018-07-26 2018-11-23 航天亮丽电气有限责任公司 A kind of automatic meter reading method using bandwidth carrier communication module

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514730B (en) * 2012-06-21 2017-02-15 深圳市金正方科技股份有限公司 Power line carrier meter reading method and system
CN103514277B (en) * 2013-09-24 2015-10-21 国家电网公司 The tasks in parallel disposal route of power information acquisition system
FR3016462B1 (en) * 2014-01-10 2016-02-12 Sagemcom Energy & Telecom Sas METHOD FOR ORDERING TASKS IN AN ONLINE CURRENT NETWORK
CN104318750B (en) * 2014-10-20 2017-10-17 华为技术有限公司 A kind of methods, devices and systems of meter reading
CN104599469B (en) * 2014-12-25 2017-09-05 深圳市银河表计股份有限公司 A kind of method and system of power information synchronous acquisition
CN105139629B (en) * 2015-08-21 2019-02-22 光一科技股份有限公司 A method of improving low-voltage power line bandwidth carrier data acquisition efficiency
CN105788226A (en) * 2016-03-17 2016-07-20 长沙瑞斯康通信技术有限公司 Broadband carrier parallel meter reading method and broadband carrier parallel meter reading system

Also Published As

Publication number Publication date
CN106911594A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN102014172B (en) Method for automatically searching electric meter address below collector
CN105868075A (en) System and method for monitoring and analyzing great deal of logs in real time
CN102681904B (en) Data syn-chronization dispatching method and device
CN106911594B (en) Method for improving communication efficiency of mesh network application
CN102402459B (en) Method and device for summarizing performance data of network management system
CN105139629A (en) Method for improving data acquisition efficiency of low voltage power line broadband carrier waves
CN108770017B (en) Dynamic equalization method and system for wireless resources
WO2021103480A1 (en) Method for acquiring user electricity meter load identification data, and hardware device
CN104158699A (en) Data acquisition method based on priority and segmentation
CN107276632B (en) Positioning system and method
CN102970244A (en) Network message processing method of multi-CPU (Central Processing Unit) inter-core load balance
CN110784779A (en) Data acquisition method of electricity consumption information acquisition system
CN112235249B (en) District data minute-level common-frequency acquisition method and system based on II-type concentrator
CN107135088A (en) The method and apparatus that daily record is handled in cloud computing system
CN112235250A (en) Method and system for acquiring data of distribution room in minute-level same frequency
CN103530335B (en) In-stockroom operation method and device of electric power measurement acquisition system
CN114374888A (en) Automatic meter reading method, system and device based on multiple simultaneous multi-meter and multi-data items of HPLC
CN102811152A (en) Method for realizing real-time transaction and data exchange of multiple main bus network communication
CN201657014U (en) Data acquisition card of dual-interface gigabit Ethernet
CN107402874A (en) A kind of storage device performance statistical system and method
CN104601574A (en) Reading method for data acquisition of electric energy meter
CN103607731A (en) Method and device for processing measurement reports
CN103763741A (en) Wireless communication method and system of intelligent parking lot
CN103714060A (en) Interrupt-period historical data processing method and front-end collecting sub system equipment
CN103179285B (en) A kind of acquisition method of CDR file and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant