Internet of things gateway based on ARM architecture and power transmission and transformation wireless networking protocol

文档序号:276822 发布日期:2021-11-19 浏览:34次 中文

阅读说明:本技术 一种基于arm架构和输变电无线组网协议的物联网关 (Internet of things gateway based on ARM architecture and power transmission and transformation wireless networking protocol ) 是由 廖兴旺 于 2021-06-21 设计创作,主要内容包括:本发明公开了一种基于ARM架构和输变电无线组网协议的物联网关,包括:无线数据接收器与ARM处理器,无线数据接收器采用无线组网协议与变电站设备进行无线连接,无线数据接收器与ARM处理器进行通信连接。无线数据接收器,用于接收与无线数据接收器进行连接的各个变电站设备的设备数据报文;ARM处理器用于:对设备数据报文进行报文首部和报文主体的提取;然后根据设备数据报文进行紧急度排序;根据紧急度对报文首部进行协议转换;然后将转换后的报文首部与对应的报文主体进行封装打包;最后传输至网络层。本发明实现了紧急或者重要的设备数据可以得到优先处理的功能,从而提高整体故障处理效率,减少输变网的损失。(The invention discloses an internet of things gateway based on an ARM architecture and a power transmission and transformation wireless networking protocol, which comprises: the wireless data receiver is in wireless connection with the transformer substation equipment by adopting a wireless networking protocol, and the wireless data receiver is in communication connection with the ARM processor. The wireless data receiver is used for receiving the equipment data messages of each transformer substation equipment connected with the wireless data receiver; the ARM processor is used for: extracting a message header and a message body from the equipment data message; then, sorting the urgency degree according to the equipment data message; carrying out protocol conversion on the message header according to the urgency degree; then packaging the converted message header and the corresponding message body; and finally transmitting to a network layer. The invention realizes the function of priority processing of emergency or important equipment data, thereby improving the overall fault processing efficiency and reducing the loss of the transmission and transformation network.)

1. The utility model provides an thing allies oneself with gateway based on ARM architecture and power transmission and transformation wireless networking agreement which characterized in that, the gateway includes: the wireless data receiver is in wireless connection with the transformer substation equipment by adopting a wireless networking protocol, and is in communication connection with the ARM processor; the wireless networking protocol at least comprises an RFID communication protocol, a Zigbee protocol and an NFC protocol;

the wireless data receiver is used for receiving the equipment data messages of the transformer substation equipment connected with the wireless data receiver; wherein, each equipment data message is the same batch of data;

the ARM processor comprises: the device comprises a data extraction module, a data sorting module, a conversion module, a packaging module and a sending module;

the data extraction module is used for respectively acquiring a message header and a message body of the equipment data message;

the data sorting module is used for sorting the urgency degree of the equipment data messages according to the equipment information and the event information in the message main body, wherein the equipment data messages with higher urgency degree are arranged in front of the queue; wherein, the higher the urgency, the faster the corresponding device data message needs to be processed;

the conversion module is used for sequentially carrying out protocol conversion on the equipment messages in the queue;

the encapsulation module is used for splicing the message main body and the converted message header and outputting a network layer transmission message corresponding to the equipment data message;

and the sending module is used for sending the network layer transmission messages to the network layer in sequence from high to low according to the urgency degree.

2. The internet-of-things gateway of claim 1, wherein the data sorting module is specifically configured to:

obtaining the equipment level L, the current state S (i) and the conversion probability P according to the equipment information and the event information in the message bodys(i,j)And conversion event criticality Ns(j)According to the device level L, the current state S (i), the transition probability Ps(i,j)And the conversion event criticality Ns(j)Obtaining the urgency level H of the equipment data messages, and sequencing the equipment data messages according to the urgency level H;

the device level L, the current state S (i), the conversion probability Ps(i,j)The conversion event criticality Ns(j)And the urgency degree H satisfiesWherein J is the number of the transformation event and J > 0, J is the transformation eventTotal number of the equipment levels L is from 1 to 5, and P is more than or equal to 0s(i,j)Less than or equal to 1, the greater the degree of damage of the transformation event, the corresponding degree of damage N of the transformation events(j)The larger and 0 < Ns(j)≤1。

3. The internet gateway of claim 1, wherein the packet header comprises at least: source address, destination address, identification, protocol, identification, header checksum.

4. The internet-of-things gateway of claim 1, wherein the message body at least comprises: device information and event information.

5. The internet-of-things gateway of claim 1, wherein the conversion module is specifically configured to:

reading all information of the message header;

and creating a new message header corresponding to the network layer transmission protocol according to all the information of the message header.

6. The gateway of claim 1, wherein the sending module comprises: a network layer address storage submodule and a transmission submodule;

the network layer address storage submodule is used for storing a network layer address;

and the transmission submodule is used for acquiring the network layer address in the network layer address storage submodule and sending the network layer transmission message to the network layer from high to low in sequence according to the urgency degree.

7. The internet of things gateway of claim 1, wherein the ARM processor further comprises: a protocol identification module;

and the protocol identification module is used for identifying and analyzing the protocol in the message header before the conversion module works, and determining to adopt a protocol conversion mode.

Technical Field

The invention relates to the field of power transmission network management, in particular to an internet of things gateway based on an ARM architecture and a power transmission and transformation wireless networking protocol.

Background

The internet of things is used for further expanding and deepening the internet, particularly the network terminal, and the networking objects are expanded to terminal node equipment such as a plurality of and various sensors and actuators by means of a radio frequency tag technology, a sensing technology, a remote sensing technology, a short-distance communication technology and the like. The technology of the internet of things realizes the integration of human society and a physical system, and realizes the real-time management and control of equipment by automatically identifying, positioning, tracking and monitoring the equipment in real time and triggering corresponding events. The transformer substation utilizes the internet of things technology, constructs a sensor network monitoring network through sensing to the outside, and carries out all-round intelligent monitoring on factors influencing the operation of the transformer substation.

The internet of things gateway serves as an important ring for application of the internet of things in the transformer substation and plays a role in transmitting collected transformer substation equipment information to a network layer. The gateway of the internet of things can translate and convert different wireless networking protocols into transmission protocols corresponding to a network layer. However, the existing internet of things gateway only undertakes the translation transmission function, and cannot distinguish the importance of different device data in the same batch of data, which may cause that the important device data cannot be transmitted preferentially, delay the processing time of the important device data, and cause the overall benefit of the transmission and transformation network system to be reduced.

Disclosure of Invention

In view of some of the above drawbacks in the prior art, the technical problem to be solved by the present invention is to provide an internet of things gateway based on an ARM architecture and a power transmission and transformation wireless networking protocol, which is intended to accelerate the progress of processing events with high importance by sorting and transmitting the importance of device data, thereby improving the efficiency of processing faults.

Therefore, the invention provides an internet of things gateway based on an ARM architecture and a power transmission and transformation wireless networking protocol, and the gateway comprises: the wireless data receiver is in wireless connection with the transformer substation equipment by adopting a wireless networking protocol, and is in communication connection with the ARM processor; the wireless networking protocol at least comprises an RFID communication protocol, a Zigbee protocol and an NFC protocol;

the wireless data receiver is used for receiving the equipment data messages of the transformer substation equipment connected with the wireless data receiver; wherein, each equipment data message is the same batch of data;

the ARM processor comprises: the device comprises a data extraction module, a data sorting module, a conversion module, a packaging module and a sending module;

the data extraction module is used for respectively acquiring a message header and a message body of the equipment data message;

the data sorting module is used for sorting the urgency degree of the equipment data messages according to the equipment information and the event information in the message main body, wherein the equipment data messages with higher urgency degree are arranged in front of the queue; wherein, the higher the urgency, the faster the corresponding device data message needs to be processed;

the conversion module is used for sequentially carrying out protocol conversion on the equipment messages in the queue;

the encapsulation module is used for splicing the message main body and the converted message header and outputting a network layer transmission message corresponding to the equipment data message;

and the sending module is used for sending the network layer transmission messages to the network layer in sequence from high to low according to the urgency degree.

Optionally, the data sorting module is specifically configured to:

obtaining the equipment level L, the current state S (i) and the conversion probability P according to the equipment information and the event information in the message bodys(i,j)And conversion event criticality Ns(j)According to the device level L, the current state S (i), the transition probability Ps(i,j)And the conversion event criticality Ns(j)ObtainingThe urgency degree H of the equipment data messages, and the equipment data messages are sequenced according to the urgency degree H;

the device level L, the current state S (i), the conversion probability Ps(i,j)The degree of risk of the transformation event Ns(j)And the urgency degree H satisfiesWherein J is the number of the conversion events and is more than 0, J is the total number of the conversion events, the equipment level L is from 1 to 5, and P is more than or equal to 0s(i,j)Less than or equal to 1, the greater the degree of damage of the conversion event, the corresponding degree of damage N of the conversion events(j)The larger and 0 < Ns(j)≤1。

Optionally, the packet header at least includes: source address, destination address, identification, protocol, identification, header checksum.

Optionally, the message body at least includes: device information and event information.

Optionally, the conversion module is specifically configured to:

reading all information of the message header;

and creating a new message header corresponding to the network layer transmission protocol according to all the information of the message header.

Optionally, the sending module includes: a network layer address storage submodule and a transmission submodule;

the network layer address storage submodule is used for storing a network layer address;

and the transmission submodule is used for acquiring the network layer address in the network layer address storage submodule and sending the network layer transmission message to the network layer from high to low in sequence according to the urgency degree.

Optionally, the ARM processor further includes: a protocol identification module;

and the protocol identification module is used for identifying and analyzing the protocol in the message header before the conversion module works, and determining to adopt a protocol conversion mode.

The invention has the beneficial effects that: 1. the invention respectively obtains the message header and the message body of the device data message through a data extraction module; and sorting the emergency degree of the equipment data messages by the data sorting module according to the equipment information and the event information in the message main body, wherein the equipment data messages with higher emergency degree are arranged in front of the queue. The invention sequences the device data messages with the emergency degree, and the device data messages with the high emergency degree are preferentially arranged in front of the queue, so that the important and emergency device data can be preferentially converted, packaged, transmitted and processed, the failure processing efficiency of the transmission and transformation network is improved, and the loss of the transmission and transformation network is reduced. 2. The invention carries out protocol conversion on the device messages in the queue in sequence through a conversion module; and splicing the message body and the converted message header through the packaging module, and outputting a network layer transmission message corresponding to the equipment data message. The invention converts the message header into a protocol which can be transmitted in a network layer, and then encapsulates the protocol with the message body, thereby realizing the integral conversion of the message, having simple steps and being difficult to make mistakes. 3. The invention obtains the device level L, the current state S (i) and the conversion probability P according to the device information and the event information in the message bodys(i,j)And conversion event criticality Ns(j)According to the equipment level L, the current state S (i) and the conversion probability Ps(i,j)And conversion event criticality Ns(j)And obtaining the urgency level H of the equipment data messages, and sequencing the equipment data messages according to the urgency level H. The device data message is judged according to the emergency degree by multiple parties, so that the emergency degree is more comprehensive and reliable. In conclusion, the invention extracts, sequences the urgency degree, converts the protocol, packages and transmits the equipment data message, realizes the preferential transmission processing of the equipment data message with high urgency degree, thereby improving the processing efficiency of the network layer to the fault equipment and reducing the loss of the transmission and transformation network.

Drawings

Fig. 1 is a schematic structural diagram of an internet of things gateway based on an ARM architecture and a power transmission and transformation wireless networking protocol according to an embodiment of the present invention;

fig. 2 is a schematic diagram illustrating a working flow of an internet of things gateway based on an ARM architecture and a power transmission and transformation wireless networking protocol according to an embodiment of the present invention;

FIG. 3 is a diagram illustrating a change in event status according to an embodiment of the present invention.

Detailed Description

The invention discloses an internet of things gateway based on an ARM architecture and a power transmission and transformation wireless networking protocol, and technical personnel in the field can appropriately improve technical details for realization by referring to contents in the text. It is expressly intended that all such similar substitutes and modifications which would be obvious to one skilled in the art are deemed to be included in the invention. While the methods and applications of this invention have been described in terms of preferred embodiments, it will be apparent to those of ordinary skill in the art that variations and modifications in the methods and applications described herein, as well as other suitable variations and combinations, may be made to implement and use the techniques of this invention without departing from the spirit and scope of the invention.

The internet of things gateway serves as an important ring for application of the internet of things in the transformer substation and plays a role in transmitting collected transformer substation equipment information to a network layer. The gateway of the internet of things can translate and convert different wireless networking protocols into transmission protocols corresponding to a network layer. However, the existing internet of things gateway only undertakes the translation transmission function, and cannot distinguish the importance of different device data in the same batch of data, which may cause that the important device data cannot be transmitted preferentially, delay the processing time of the important device data, and cause the overall benefit of the transmission and transformation network system to be reduced.

Therefore, an embodiment of the present invention provides an internet of things gateway based on an ARM architecture and a wireless networking protocol for power transmission and transformation, as shown in fig. 1, the gateway includes: the wireless data receiver 101 is in wireless connection with the ARM processor 102, the wireless data receiver 101 is in wireless connection with the substation equipment through a wireless networking protocol, and the wireless data receiver 101 is in communication connection with the ARM processor 102.

The wireless networking protocol at least comprises an RFID communication protocol, a Zigbee protocol and an NFC protocol.

It should be noted that RFID is an abbreviation of Radio Frequency Identification; the Chinese name is radio frequency identification. The principle is that non-contact data communication is carried out between the reader and the tag, so that the aim of identifying the target is fulfilled.

Zigbee is also called Zigbee, which is a wireless network protocol for low-speed short-distance transmission, and the bottom layer is a medium access layer and a physical layer that adopt IEEE 802.15.4 standard specifications. The method is mainly characterized by low speed, low power consumption, low cost, support of a large number of nodes on the network, support of various topologies on the network, low complexity, rapidness, reliability and safety.

NFC is an emerging technology, known as Near Field Communication, in chinese, and devices using NFC technology (e.g., mobile phones) can exchange data in close proximity to each other. In addition to these, wireless networking technologies may also include technologies such as WiFi.

The wireless data receiver 101 is configured to receive device data packets of each substation device connected to the wireless data receiver 101.

Wherein, each equipment data message is the same batch of data.

The equipment in the substation includes at least a transformer, a high-voltage circuit breaker, a disconnector, a bus bar, a lightning arrester, a capacitor, a reactor, and the like. Data includes at least voltage, current, power, state, etc. The receiving module receives the same batch of data according to a preset time period, and can also receive the data all the time.

The ARM processor 102 includes: a data extraction module 103, a data sorting module 104, a conversion module 105, an encapsulation module 106, and a sending module 107.

The data extraction module 103 is configured to obtain a message header and a message body of the device data message respectively.

The method specifically comprises the following steps: the data extraction module 103 identifies the device data packet, and determines a start bit and an end bit of a packet header of the device data packet, thereby respectively obtaining the packet header and a packet body of the device data packet.

Optionally, the packet header at least includes: source address, destination address, identification, protocol, identification, header checksum.

Optionally, the message body at least includes: device information and event information.

It should be noted that, during protocol conversion of data, only the message header is actually processed, and the message header and the message body are separated, so as to avoid misoperation.

The data sorting module 104 is configured to perform urgency sorting on the device data messages according to the device information and the event information in the message body, where the device data messages with higher urgency are arranged in front of the queue; wherein, the higher the urgency, the faster the corresponding device data message needs to be processed.

Optionally, the data sorting module 104 is specifically configured to:

obtaining the equipment level L, the current state S (i) and the conversion probability P according to the equipment information and the event information in the message bodys(i,j)And conversion event criticality Ns(j)According to the equipment level L, the current state S (i), the conversion probability Ps(i,j)And conversion event criticality Ns(j)Obtaining the urgency level H of the equipment data messages, and sequencing the equipment data messages according to the urgency level H;

device level L, current state S (i), conversion probability Ps(i,j)Degree of conversion event hazard Ns(j)And degree of urgency H is satisfiedWherein J is the number of the conversion events and J is more than 0, J is the total number of the conversion events, the equipment level L is from 1 to 5, and P is more than or equal to 0s(i,j)Less than or equal to 1, the larger the damage degree of the conversion event, the corresponding damage degree N of the conversion events(j)The larger and 0 < Ns(j)≤1。

It should be noted that, in the embodiment of the present invention, the device level L, the current state s (i), and the conversion probability P are useds(i,j)Degree of conversion event hazard Ns(j)And the multiple counter surfaces judge the urgency degree of the equipment data message, so that the obtained urgency degree is more comprehensive and has higher reliability.

Optionally, as shown in fig. 2, the device data assumes five events of S1, S2, S3, S4, and S5, and mutual conversion of the five events and corresponding eventsThe transformation probability is shown in detail in fig. 3. Wherein, P above the arrows(i,j)Is the conversion probability.

In one embodiment, there is a piece of device data, where the device level of the device data message is 3, the number of conversion events is 3, the conversion event harmfulness is 0.3, 0.4, 0.7, and the corresponding conversion probability is 0.1, 0.5, 0.4, respectively, and these data are substituted into the device data messageThe urgency level 0.51 can be obtained.

It should be noted that the current state s (i) is the event detected at the beginning, and the event criticality N is converteds(j)Some are less harmful through self-healing functions and some are aggravated by failure to handle in time as the current event may progress. The transformation probability is the probability of the occurrence of each transformation event.

The method for sorting the urgency of the equipment data messages is a crucial step in subsequent processing, and has obvious progress compared with the prior art that important information cannot be screened out.

The conversion module 105 is configured to sequentially perform protocol conversion on the device packets in the queue.

Optionally, the conversion module 105 is specifically configured to:

reading all information of a message header;

and creating a new message header corresponding to the network layer transmission protocol according to all the information of the message header.

It should be noted that, the embodiment of the present invention only needs to convert the header of the message, and does not need to convert the whole message, so that the conversion efficiency is greatly improved, and the present invention is more convenient and simpler.

And the encapsulation module 106 is configured to splice the message body and the converted message header, and output a network layer transmission message corresponding to the device data message.

It should be noted that, when splicing and encapsulating, the message header and the message body are in a prototype one-to-one relationship, and no splicing error condition occurs.

And a sending module 107, configured to send network layer transmission packets to the network layer in sequence from high to low according to the urgency.

Optionally, the sending module 107 includes: a network layer address storage submodule and a transmission submodule;

the network layer address storage submodule is used for storing a network layer address;

and the transmission submodule is used for acquiring the network layer address in the network layer address storage submodule and sending network layer transmission messages to the network layer from high to low in sequence according to the urgency degree.

Optionally, the ARM processor 102 further includes: a protocol identification module;

and the protocol identification module is used for identifying and analyzing the protocol in the message header before the conversion module 105 works, and determining to adopt a protocol conversion mode.

It should be noted that, when different protocols to be converted are faced, the specific conversion manner adopted by the conversion module 105 may be different, and therefore, the protocol to be converted is determined first.

The working process of the internet of things gateway based on the ARM architecture and the power transmission and transformation wireless networking protocol provided by the invention is shown in figure 2, and comprises the following steps:

step 201: and receiving the equipment data message of each substation equipment connected with the wireless data receiver 101.

Step 202: respectively acquiring a message header and a message body of the device data message.

Step S203: and according to the equipment information and the event information in the message body, carrying out urgency sorting on the equipment data messages, wherein the equipment data messages with higher urgency are arranged in front of the queue.

Step S204: and sequentially carrying out protocol conversion on the equipment messages in the queue.

Step S205: and splicing the message body and the converted message header, and outputting a network layer transmission message corresponding to the equipment data message.

Step S206: and sending network layer transmission messages to the network layer from high to low in sequence according to the urgency degree.

In the embodiment of the invention, the message header and the message body of the device data message are respectively obtained through the data extraction module 103; and sorting the urgency levels of the device data messages by the data sorting module 104 according to the device information and the event information in the message body, wherein the device data messages with higher urgency levels are arranged in front of the queue. The embodiment of the invention sorts the emergency degree of the equipment data messages, and the equipment data messages with high emergency degree are preferentially arranged in front of the queue, so that the important and emergency equipment data can be preferentially converted, packaged, transmitted and processed, the fault processing efficiency of the transmission and transformation network is improved, and the loss of the transmission and transformation network is reduced. In the embodiment of the invention, protocol conversion is carried out on the device messages in the queue in sequence through the conversion module 105; the message body and the converted message header are spliced by the encapsulation module 106, and a network layer transmission message corresponding to the device data message is output. The embodiment of the invention converts the message header into a protocol which can be transmitted in a network layer, and then encapsulates the protocol with the message body, thereby realizing the integral conversion of the message, having simple steps and being difficult to make mistakes. The embodiment of the invention obtains the equipment level L, the current state S (i) and the conversion probability P according to the equipment information and the event information in the message bodys(i,j)And degree of risk of transformation event Ns(j)According to the equipment level L, the current state S (i) and the conversion probability Ps(i,j)And conversion event criticality Ns(j)And obtaining the urgency level H of the equipment data messages, and sequencing the equipment data messages according to the urgency level H. The device data message is judged according to the emergency degree by multiple parties, so that the emergency degree is more comprehensive and reliable. To sum up, the embodiment of the invention extracts, sequences the urgency degree, converts the protocol, packages and transmits the device data message, and realizes that the device data message with high urgency degree is preferentially transmitted and processed, thereby improving the processing efficiency of the network layer on the fault device and reducing the loss of the transmission and transformation network.

It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

All the embodiments in the present specification are described in a related manner, and similar parts between the embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.

The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:PTC加热装置及其制造方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!