CN113923171B - Communication management method based on load identification detection platform - Google Patents
Communication management method based on load identification detection platform Download PDFInfo
- Publication number
- CN113923171B CN113923171B CN202110984921.6A CN202110984921A CN113923171B CN 113923171 B CN113923171 B CN 113923171B CN 202110984921 A CN202110984921 A CN 202110984921A CN 113923171 B CN113923171 B CN 113923171B
- Authority
- CN
- China
- Prior art keywords
- message
- queue
- reply
- sending
- transmission
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 48
- 238000001514 detection method Methods 0.000 title claims abstract description 14
- 238000007726 management method Methods 0.000 title claims abstract description 9
- 230000005540 biological transmission Effects 0.000 claims abstract description 52
- 238000012545 processing Methods 0.000 claims abstract description 4
- 230000008014 freezing Effects 0.000 claims description 3
- 238000007710 freezing Methods 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
- H04L47/2433—Allocation of priorities to traffic types
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a communication management method based on a load identification detection platform, and belongs to the technical field of communication. The method comprises the following steps: a: message sending of communication data; a1: classifying the sending messages and sequentially adding the messages in each sending message queue into a total sending queue according to the priority from high to low; a2: and detecting whether the total transmission queue is empty, dequeuing a transmission packet for transmission if the total transmission queue is not empty, and temporarily not processing if the transmission queue is empty, and waiting for a message in the transmission queue for transmission. B: message reply of communication data; b1: classifying the reply message; b2: and replying according to different reply message types. The invention solves the problems that the MCU with which the upper computer communicates can only keep one long link and has limited performance, and improves the communication efficiency of the load identification detection platform.
Description
Technical Field
The invention relates to a communication management method based on a load identification detection platform, and belongs to the technical field of communication.
Background
The non-invasive load identification technology is a technology for analyzing the detailed use condition of household appliances in a user through user port voltage and current data, so that basic data is provided for bidirectional interaction of power users such as demand response, intelligent electricity utilization, energy comprehensive service and the like. Compared with an invasive subentry metering mode, the method has the advantages of small investment, strong practicability and wide application prospect. At present, the domestic user sensing equipment taking the non-intervention load identification technology as the core mainly comprises a non-intervention load identification terminal, a multifunctional load identification table, intelligent idle load identification and other product forms. Urban and rural resident interaction demonstration projects taking non-intervention load identification terminals and multifunctional electric meters as main forms are applied to trial points or developed on a large scale in a plurality of provinces and cities in China.
Numerous scholars and research institutions in China have successfully developed the technology in a commercialized manner through research in the last ten years, rely on Jiangsu 863 key special project "urban users and power grid supply and demand friendly interactive system", develop the installation application of non-user terminals in Suzhou and Changzhou areas, and implement the resident demand response demonstration project with the greatest user's regulation in the world. Under the influence of Jiangsu test point effect, other provinces and cities in China are gradually starting to test points of non-invasive technology.
The digital testing system platform of the non-intervention load sensing module directly sends a recording waveform file (meeting the requirements of a Comtrade standard format defined by IEEE and comprising voltage and current information) of the operation of an electric appliance to a corresponding receiving interface of the load sensing module in a digital quantity mode, and independently detects the load sensing module in a mode of collecting a load sensing result.
Based on the load identification detection platform generated under the above scene, the digitized electricity information is transmitted to the MCU development board in the form of a network port mainly through detection software, then the MCU development board is transmitted to a designated identification module through a serial port, and the feedback of the identification module is collected through the MCU and is transmitted to the detection software.
Since MCUs have limited performance (about 5 ms/packet) and only one TCP connection can be maintained, the detection software should control the communication rate with each MCU (about 5 ms/packet) and only establish one TCP long connection, communication with the same MCU can always only use this connection, thus limiting the performance of the overall system.
Disclosure of Invention
The invention aims to overcome the problems in the prior art and provide a communication management method based on a load identification detection platform, which greatly improves the reliability and communication efficiency of the communication of the load identification detection platform.
In order to solve the above problems, the communication management method based on the load identification detection platform of the present invention comprises the following steps:
a: message sending of communication data;
a1: classifying the sending messages and sequentially adding the messages in each sending message queue into a total sending queue according to the priority from high to low;
a2: and detecting whether the total transmission queue is empty, dequeuing a transmission packet for transmission if the total transmission queue is not empty, and temporarily not processing if the transmission queue is empty, and waiting for a message in the transmission queue for transmission.
B: message reply of communication data;
b1: classifying the reply message;
b2: and replying according to different reply message types.
Further, the sending message comprises a non-reply message and a reply message, wherein the priority of the non-reply message is higher than that of the reply message;
the reply message comprises a communication message independently communicated with the MCU and a transparent transmission module message, and the priority of the communication message independently communicated with the MCU is higher than that of the transparent transmission module message;
the transparent transmission module message comprises an initialization queue message and a freeze checking type message, and the priority of the initialization queue message is higher than that of the freeze checking type message.
Further, the reply message comprises a corresponding reply message and a message actively reported by the transparent transmission module;
the corresponding reply message has a dequeue flag bit, and the corresponding reply message is added into a receiving message total queue; the dequeue flag bit and the MCU queue, the initialization queue and the inquiry freezing queue which are sent with the reply message jointly control the corresponding types;
adding the corresponding reply message into a received message total queue;
and the transparent transmission module actively reports the message and directly replies the message of the corresponding type.
Further, if the reply message is received or the reply message is not received for more than 5 seconds, the dequeue mark is positioned as dequeue capable, and a dequeue transmission packet is added into the total transmission queue.
Further, the communication data with the same priority is synchronous operation, and the communication data with different priorities is asynchronous operation.
The beneficial effects of the invention are as follows: (1) High concurrency and stability of communication data with different priorities are satisfied
(2) The problem that the MCU with which the upper computer communicates can only keep one long link and has limited performance is solved, so that concurrent execution of MCU communication is realized, and the communication rate of the communication equipment is strictly controlled.
Drawings
FIG. 1 is a flow chart of step A of the present invention;
FIG. 2 is a flow chart of step B of the present invention;
FIG. 3 is a classification diagram of a message sent in the present invention;
FIG. 4 is a flow chart of an embodiment of the present invention.
Detailed Description
The invention will now be described in further detail with reference to the accompanying drawings. The drawings are simplified schematic representations which merely illustrate the basic structure of the invention and therefore show only the structures which are relevant to the invention.
The communication management method based on the load identification detection platform comprises the following steps:
as shown in fig. 1, a: message sending of communication data;
a1: classifying the sending messages and sequentially adding the messages in each sending message queue into a total sending queue according to the priority from high to low;
as shown in fig. 3, the sending message includes a reply-free message and a reply-containing message, where the reply-free message has a higher priority than the reply-containing message;
the reply message comprises a communication message independently communicated with the MCU and a message passing through the transmission module, and the priority of the communication message independently communicated with the MCU is higher than that of the message passing through the transmission module;
the transparent transmission module message comprises an initialization queue message and a freeze checking type message, and the priority of the initialization queue message is higher than that of the freeze checking type message.
A2: and detecting whether the total transmission queue is empty, dequeuing a transmission packet for transmission if the total transmission queue is not empty, and temporarily not processing if the transmission queue is empty, and waiting for a message in the transmission queue for transmission.
As shown in fig. 2, B: message reply of communication data;
b1: classifying the reply message;
the sending message comprises a non-reply message and a reply message, wherein the priority of the non-reply message is higher than that of the reply message;
the reply message comprises a corresponding reply message and a transparent transmission module initiative report message;
b2: and replying according to different reply message types.
The corresponding reply message has a dequeue flag bit, and the corresponding reply message is added into a receiving message total queue; the dequeue flag bit and the MCU queue, the initialization queue and the query freezing queue which are sent with the reply message jointly control the corresponding types;
adding the corresponding reply message into a received message total queue;
the transparent transmission module actively reports the message and directly replies the message of the corresponding type.
If the reply message is received or the reply message is not received for more than 5 seconds, the dequeue mark position is dequeued, and a dequeued transmission packet is added into the total transmission queue.
The communication data with the same priority are synchronous operation, and the communication data with different priorities are asynchronous operation.
As shown in fig. 4, a message without a reply queue is dequeued, a transmission packet is added to a total transmission message queue, then information is sent to an MCU queue, the MCU queue adds a message to the total transmission message queue, then sends information to an initialization queue, if the message in the initialization queue is not empty, the message in the initialization queue is added to the total transmission message queue, and if the initialization queue is empty, the freeze type queue is checked, and then a message is sent to the total transmission message queue.
According to the invention, different types of communication data are classified and managed, communication data with high priority can be communicated preferentially, communication data with next highest priority can be communicated preferentially, and the like; high concurrency and stability of communication data with different priorities are met; the software platform and each communication device have unique connecting channels, and the communication rate between the detection platform and the MCU is strictly controlled; the method greatly improves the communication reliability of the load identification detection platform and the communication efficiency of the load identification platform.
With the above-described preferred embodiments according to the present invention as an illustration, the above-described descriptions can be used by persons skilled in the relevant art to make various changes and modifications without departing from the scope of the technical idea of the present invention. The technical scope of the present invention is not limited to the description, but must be determined according to the scope of claims.
Claims (2)
1. The communication management method based on the load identification detection platform is characterized by comprising the following two steps:
a: message sending of communication data;
a1: classifying the sending messages and sequentially adding the messages in each sending message queue into a total sending queue according to the priority from high to low;
the sending message comprises a non-reply message and a reply message, wherein the priority of the non-reply message is higher than that of the reply message;
the reply message comprises a communication message independently communicated with the MCU and a transparent transmission module message, and the priority of the communication message independently communicated with the MCU is higher than that of the transparent transmission module message;
the transparent transmission module message comprises an initialization queue message and a freeze checking type message, and the priority of the initialization queue message is higher than that of the freeze checking type message;
a2: detecting whether the total transmission queue is empty, dequeuing a transmission packet for transmission if the total transmission queue is not empty, and temporarily not processing if the transmission queue is empty, and waiting for a message in the transmission queue for transmission;
b: message reply of communication data;
b1: classifying the reply message;
the reply message comprises a corresponding reply message and a message actively reported by the transparent transmission module;
b2: replying according to different reply message types;
the corresponding reply message has a dequeue flag bit, and the corresponding reply message is added into a receiving message total queue; the dequeue flag bit and the MCU queue, the initialization queue and the inquiry freezing queue which are sent with the reply message jointly control the corresponding types;
adding the corresponding reply message into a received message total queue;
the transparent transmission module actively reports the message and directly replies the message of the corresponding type;
and if the replied message is received or the replied message is not received for more than 5 seconds, the dequeue mark position is dequeued, and a dequeue sending packet is added into the total sending queue.
2. The communication management method based on the load identification detection platform according to claim 1, wherein: the communication data with the same priority are synchronous operation, and the communication data with different priorities are asynchronous operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110984921.6A CN113923171B (en) | 2021-08-26 | 2021-08-26 | Communication management method based on load identification detection platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110984921.6A CN113923171B (en) | 2021-08-26 | 2021-08-26 | Communication management method based on load identification detection platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113923171A CN113923171A (en) | 2022-01-11 |
CN113923171B true CN113923171B (en) | 2024-02-06 |
Family
ID=79233324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110984921.6A Active CN113923171B (en) | 2021-08-26 | 2021-08-26 | Communication management method based on load identification detection platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113923171B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115902387B (en) * | 2023-02-15 | 2023-06-06 | 北京志翔科技股份有限公司 | Test fixture and test method of load identification module |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913486A (en) * | 2005-08-10 | 2007-02-14 | 中兴通讯股份有限公司 | Method and device for strengthening safety of protocol message |
CN101272349A (en) * | 2008-05-06 | 2008-09-24 | 北京星网锐捷网络技术有限公司 | Priority level analog queue control method and device of quality service |
CN101835102A (en) * | 2010-05-19 | 2010-09-15 | 迈普通信技术股份有限公司 | Queue management method for wireless local area network and wireless access equipment |
CN102195885A (en) * | 2011-05-27 | 2011-09-21 | 成都市华为赛门铁克科技有限公司 | Message processing method and device |
CN105142183A (en) * | 2015-10-09 | 2015-12-09 | 烽火通信科技股份有限公司 | Method and system capable of automatically identifying WIFI data frame and dividing priority |
CN106559354A (en) * | 2015-09-28 | 2017-04-05 | 中兴通讯股份有限公司 | A kind of method and device for preventing CPU packet congestions |
CN109391555A (en) * | 2017-08-08 | 2019-02-26 | 迈普通信技术股份有限公司 | Method for dispatching message, device and communication equipment |
WO2020134441A1 (en) * | 2018-12-29 | 2020-07-02 | 江苏智臻能源科技有限公司 | Testing system and method for resident user electrical load identification module |
CN112014788A (en) * | 2020-11-02 | 2020-12-01 | 江苏智臻能源科技有限公司 | Load identification module detection method based on wave recording file playback |
CN112230095A (en) * | 2020-12-10 | 2021-01-15 | 江苏智臻能源科技有限公司 | Load identification module hardware interface detection equipment and automatic detection method thereof |
CN113162871A (en) * | 2021-04-22 | 2021-07-23 | 成都华微电子科技有限公司 | Data transmission method, data transmission circuit and artificial intelligence chip |
-
2021
- 2021-08-26 CN CN202110984921.6A patent/CN113923171B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913486A (en) * | 2005-08-10 | 2007-02-14 | 中兴通讯股份有限公司 | Method and device for strengthening safety of protocol message |
CN101272349A (en) * | 2008-05-06 | 2008-09-24 | 北京星网锐捷网络技术有限公司 | Priority level analog queue control method and device of quality service |
CN101835102A (en) * | 2010-05-19 | 2010-09-15 | 迈普通信技术股份有限公司 | Queue management method for wireless local area network and wireless access equipment |
CN102195885A (en) * | 2011-05-27 | 2011-09-21 | 成都市华为赛门铁克科技有限公司 | Message processing method and device |
CN106559354A (en) * | 2015-09-28 | 2017-04-05 | 中兴通讯股份有限公司 | A kind of method and device for preventing CPU packet congestions |
CN105142183A (en) * | 2015-10-09 | 2015-12-09 | 烽火通信科技股份有限公司 | Method and system capable of automatically identifying WIFI data frame and dividing priority |
CN109391555A (en) * | 2017-08-08 | 2019-02-26 | 迈普通信技术股份有限公司 | Method for dispatching message, device and communication equipment |
WO2020134441A1 (en) * | 2018-12-29 | 2020-07-02 | 江苏智臻能源科技有限公司 | Testing system and method for resident user electrical load identification module |
CN112014788A (en) * | 2020-11-02 | 2020-12-01 | 江苏智臻能源科技有限公司 | Load identification module detection method based on wave recording file playback |
CN112230095A (en) * | 2020-12-10 | 2021-01-15 | 江苏智臻能源科技有限公司 | Load identification module hardware interface detection equipment and automatic detection method thereof |
CN113162871A (en) * | 2021-04-22 | 2021-07-23 | 成都华微电子科技有限公司 | Data transmission method, data transmission circuit and artificial intelligence chip |
Also Published As
Publication number | Publication date |
---|---|
CN113923171A (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110350528B (en) | Low-voltage distribution area topology automatic identification method | |
CN101277299B (en) | Protocol conversion system and protocol conversion process | |
CN201170925Y (en) | Remote resident centralized meter reading control system | |
CN201600774U (en) | Double-channel automatic meter reading system | |
CN201698576U (en) | Electricity utilization information collecting system and collector | |
CN102064604A (en) | Multifunctional electric energy information concentrator and working method thereof | |
CN113923171B (en) | Communication management method based on load identification detection platform | |
CN104361457A (en) | Information modeling method for production overhaul management of power distribution network and information interactive system and method | |
CN202210344U (en) | Centralized meter reading system based on wireless communication | |
CN110009889A (en) | Holographic perception power information nonredundancy effective transmission technique towards the full direct-current micro-grid of intelligent building | |
CN101566661A (en) | Electricity quality online monitoring system based on transparent transmission technology | |
CN201904652U (en) | Concentrator for power consumption information of users | |
CN114243930A (en) | Circuit breaker monitoring device and monitoring system | |
CN212009322U (en) | Intelligent power utilization management system based on ubiquitous Internet of things | |
CN102970178A (en) | Local communication performance analyzer of low-pressure concentrated meter reading terminal | |
CN203102583U (en) | Intelligent electric energy information monitoring terminal and intelligent electric energy information monitoring system | |
US20220308101A1 (en) | Quasi-real-time data collection system and method for competitive power market | |
CN211454780U (en) | Remote meter reading equipment platform | |
CN201282274Y (en) | Intelligent distribution box for distribution change station region | |
CN107171440B (en) | System for collecting electrical data of switch cabinet by intelligent transformer terminal and collecting method thereof | |
CN113572150A (en) | Non-invasive power load decomposition method | |
CN203012013U (en) | ARM-based multi-user intelligent electric meter | |
CN105866534A (en) | Multi-user intelligent electric meter | |
CN202395934U (en) | Power-expenditure information collecting system based on EPON and wireless self-networking technology | |
CN108629097B (en) | A kind of substation secondary device topology analyzing method |
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 |