CN113923171A - Communication management method based on load identification detection platform - Google Patents

Communication management method based on load identification detection platform Download PDF

Info

Publication number
CN113923171A
CN113923171A CN202110984921.6A CN202110984921A CN113923171A CN 113923171 A CN113923171 A CN 113923171A CN 202110984921 A CN202110984921 A CN 202110984921A CN 113923171 A CN113923171 A CN 113923171A
Authority
CN
China
Prior art keywords
message
queue
sending
reply
communication
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.)
Granted
Application number
CN202110984921.6A
Other languages
Chinese (zh)
Other versions
CN113923171B (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.)
Jiangsu Zhizhen Energy Technology Co ltd
Original Assignee
Jiangsu Zhizhen Energy 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 Jiangsu Zhizhen Energy Technology Co ltd filed Critical Jiangsu Zhizhen Energy Technology Co ltd
Priority to CN202110984921.6A priority Critical patent/CN113923171B/en
Publication of CN113923171A publication Critical patent/CN113923171A/en
Application granted granted Critical
Publication of CN113923171B publication Critical patent/CN113923171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (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: sending communication data messages; a1: classifying the sent messages and adding the messages in each sent message queue into a total sent queue according to the priority from high to low in sequence according to the priority; a2: and detecting whether the total sending queue is empty, dequeuing a sending packet for sending if the total sending queue is not empty, temporarily not processing if the sending queue is empty, and sending after waiting for a message in the sending queue. 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 which is communicated with the upper computer can only keep one long link and the performance is limited, and improves the communication efficiency of the load identification and detection platform.

Description

Communication management method based on load identification detection platform
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 detailed use conditions of household appliances in a user through user port voltage and current data, so that basic data are provided for power user bidirectional interaction such as demand response, intelligent power 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, domestic user perception equipment taking non-intrusive load identification technology as a core mainly comprises a non-intrusive load identification terminal, a multifunctional load identification table, a load identification intelligent air switch and other product forms. Urban and rural resident interactive demonstration projects taking a non-intrusive load identification terminal and a multifunctional electric meter as main forms are already applied to trial-run or developed on a large scale in a plurality of provinces and cities in China.
After research of nearly ten years, numerous scholars and research institutions in China successfully apply and develop the technology into products, and by relying on the key special item 'urban user and power grid supply and demand friendly interactive system' of Jiangsu 863, installation and application of non-home-entry terminals are carried out in Suzhou and Hezhou areas, and the resident demand response demonstration project with the largest user scale in the world is implemented. Under the influence of the test point effect of Jiangsu, other provinces and cities in China are beginning to test non-invasive technologies.
The digital test system platform of the non-intrusive load sensing module directly sends a recorded waveform file (meeting the requirement of the Commride standard format defined by IEEE and containing voltage and current information) of the running of an electric appliance to a receiving interface corresponding to 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 scenes, digitized power utilization information is transmitted to the MCU development board in a network port mode mainly through detection software, then the MCU development board sends the digitized power utilization information to the designated identification module through a serial port, the MCU collects feedback of the identification module and forwards the feedback to the detection software.
Since the MCU has limited performance (about 5 ms/packet) and can only maintain one TCP connection, the detection software should control the communication rate (about 5 ms/packet) with each MCU and only establish one TCP long connection, and communication with the same MCU can only use this connection all the time, thus limiting the performance of the whole 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 and detection platform, so that the communication reliability and the communication efficiency of the load identification and detection platform are greatly improved.
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: sending communication data messages;
a1: classifying the sent messages and adding the messages in each sent message queue into a total sent queue according to the priority from high to low in sequence according to the priority;
a2: and detecting whether the total sending queue is empty, dequeuing a sending packet for sending if the total sending queue is not empty, temporarily not processing if the sending queue is empty, and sending after waiting for a message in the sending queue.
B: message reply of communication data;
b1: classifying the reply message;
b2: and replying according to different reply message types.
Further, the sending message includes a non-reply message and a reply message, and the priority of the non-reply message is higher than that of the reply message;
the reply message comprises an individual MCU communication message and a transparent transmission module message, and the priority of the individual MCU communication message is higher than that of the transparent transmission module message;
the transparent transmission module message comprises an initialization queue message and a freezing type checking message, and the priority of the initialization queue message is higher than that of the freezing type checking message.
Furthermore, the reply message comprises a corresponding reply message and a message actively reported by the transparent transmission module;
the corresponding reply message has a dequeuing flag bit and is added into a received message main queue; the dequeue flag bit controls the corresponding type together with an MCU queue, an initialization queue and a query freeze queue which are sent with reply messages;
adding the corresponding reply message into a receiving message master 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 within more than 5 seconds, the dequeue flag is set to be dequeuable, and a dequeue sending packet is added into the total sending queue.
Further, the communication data of the same priority is synchronous operation, and the communication data of different priorities is asynchronous operation.
The invention has the beneficial effects that: (1) high concurrency and stability of communication data with different priorities are satisfied
(2) The problem that an MCU (microprogrammed control unit) communicated with an upper computer can only keep one long link and is limited in performance is solved, so that the concurrent execution of MCU communication is realized, and the communication rate of 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 transmitted message in the present invention;
FIG. 4 is a flow chart of an embodiment of the present invention.
Detailed Description
The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic views illustrating only the basic structure of the present invention in a schematic manner, and thus show only the constitution related to the present invention.
The communication management method based on the load identification detection platform comprises the following steps:
as shown in fig. 1, a: sending communication data messages;
a1: classifying the sent messages and adding the messages in each sent message queue into a total sent queue according to the priority from high to low in sequence according to the priority;
as shown in fig. 3, the sending messages include a non-reply message and a reply message, and the priority of the non-reply message is higher than that of the reply message;
the reply message comprises an individual MCU communication message and a transparent transmission module message, and the priority of the individual MCU communication message is higher than that of the transparent transmission module message;
the message of the transparent transmission module comprises an initialized queue message and a freezing type message, and the priority of the initialized queue message is higher than that of the freezing type message.
A2: and detecting whether the total sending queue is empty, dequeuing a sending packet for sending if the total sending queue is not empty, temporarily not processing if the sending queue is empty, and sending after waiting for a message in the sending queue.
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, and 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 message actively reported by the transparent transmission module;
b2: and replying according to different reply message types.
The corresponding reply message has a dequeue flag bit and is added into a received message main queue; the dequeue flag bit controls the corresponding type together with the MCU queue, the initialization queue and the query freeze queue which are sent with the reply message;
adding the corresponding reply message into a receiving message master queue;
and 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 within more than 5 seconds, setting the dequeue flag position as dequeuable, and dequeuing a sending packet to be added into the total sending queue.
The communication data of the same priority is synchronous operation, and the communication data of different priorities is asynchronous operation.
As shown in fig. 4, after a packet is dequeued from the reply-free queue and a packet is added to the total packet transmission queue, the packet is transmitted to the MCU queue, and after a packet is added to the total packet transmission queue, the MCU queue transmits a packet to the initialization queue.
The invention carries out classification management on different types of communication data, communication data with high priority can be communicated preferentially, communication data with second highest priority can be communicated firstly in a second best mode, and the like; high concurrency and stability of communication data of different priorities are met; the software platform and each communication device have a unique connecting channel, and the communication rate between the detection platform and the MCU is strictly controlled; the method greatly improves the reliability of the communication of the load identification and detection platform and also greatly improves the communication efficiency of the load identification and detection platform.
In light of the foregoing description of the preferred embodiment of the present invention, many modifications and variations will be apparent to those skilled in the art without departing from the spirit and scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.

Claims (5)

1. A communication management method based on a load identification detection platform is characterized by comprising the following two steps:
a: sending communication data messages;
a1: classifying the sent messages and adding the messages in each sent message queue into a total sent queue according to the priority from high to low in sequence according to the priority;
a2: detecting whether the total sending queue is empty, dequeuing a sending packet for sending if the total sending queue is not empty, temporarily not processing if the sending queue is empty, and sending after a message is in the sending queue;
b: message reply of communication data;
b1: classifying the reply message;
b2: and replying according to different reply message types.
2. The communication management method based on load recognition detection platform as claimed in claim 1,
the sending message comprises a non-reply message and a reply message, and the priority of the non-reply message is higher than that of the reply message;
the reply message comprises an individual MCU communication message and a transparent transmission module message, and the priority of the individual MCU communication message is higher than that of the transparent transmission module message;
the transparent transmission module message comprises an initialization queue message and a freezing type checking message, and the priority of the initialization queue message is higher than that of the freezing type checking message.
3. The communication management method based on the load recognition detection platform as claimed in claim 2, wherein: the replied message comprises a corresponding reply message and a message actively reported by a transparent transmission module;
the corresponding reply message has a dequeuing flag bit and is added into a received message main queue; the dequeue flag bit controls the corresponding type together with an MCU queue, an initialization queue and a query freeze queue which are sent with reply messages;
adding the corresponding reply message into a receiving message master queue;
and the transparent transmission module actively reports the message and directly replies the message of the corresponding type.
4. The communication management method based on the load recognition detection platform as claimed in claim 3, wherein: and if the reply message is received or the reply message is not received within more than 5 seconds, setting the dequeuing flag position as dequeuable, and dequeuing a sending packet and adding the dequeued sending packet into the total sending queue.
5. The communication management method based on the load recognition detection platform as claimed in claim 1, wherein: the communication data of the same priority is synchronous operation, and the communication data of different priorities is asynchronous operation.
CN202110984921.6A 2021-08-26 2021-08-26 Communication management method based on load identification detection platform Active CN113923171B (en)

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 true CN113923171A (en) 2022-01-11
CN113923171B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115902387A (en) * 2023-02-15 2023-04-04 北京志翔科技股份有限公司 Test tool and test method for load identification module

Citations (11)

* Cited by examiner, † Cited by third party
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

Patent Citations (11)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115902387A (en) * 2023-02-15 2023-04-04 北京志翔科技股份有限公司 Test tool and test method for load identification module

Also Published As

Publication number Publication date
CN113923171B (en) 2024-02-06

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
CN113923171B (en) Communication management method based on load identification detection platform
CN103107825A (en) Bluetooth adapter, system and method of realizing mobile terminal controlling operation terminal
CN101924667A (en) Modem anomaly detecting and power-off restarting control method based on serial port
CN202210344U (en) Centralized meter reading system based on wireless communication
CN101753584A (en) Method for improving rapid message processing speed of intelligent transformer substation under VxWorks system
CN110009889A (en) Holographic perception power information nonredundancy effective transmission technique towards the full direct-current micro-grid of intelligent building
CN103024023B (en) Digital Reading Room network audit method
CN202231347U (en) Monitoring system of intelligent GIS (geographic information system) interval monitoring device
CN109949564A (en) A kind of power information acquisition system
CN101566661A (en) Electricity quality online monitoring system based on transparent transmission technology
CN102891683A (en) Method and device for compressing data frames of substation
CN203102583U (en) Intelligent electric energy information monitoring terminal and intelligent electric energy information monitoring system
CN209640702U (en) A kind of tidal data recovering Transmission system based on edge calculations
CN113572150A (en) Non-invasive power load decomposition method
CN110011867A (en) A kind of comprehensive simplified process method of intelligent domestic energy information
CN107171440B (en) System for collecting electrical data of switch cabinet by intelligent transformer terminal and collecting method thereof
CN202818613U (en) Short message payment reminding device for power consumer
CN203012013U (en) ARM-based multi-user intelligent electric meter
CN207380505U (en) Home energy source management controls smart host
CN111815932A (en) Block chain-based electricity consumption information acquisition method and device
CN102412974A (en) Office desktop intelligent power supply system and system and method for managing office energy
CN218938794U (en) Household electricity monitoring and management system based on intelligent television
CN113746086B (en) Non-invasive demand response system and 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