Coordination working method for high-speed power line carrier and micropower wireless dual-mode route
Technical Field
The invention relates to the technical field of intelligent electric meters, in particular to a coordination working method for high-speed power line carrier and micropower wireless dual-mode routing.
Background
For a long time, the transmission of wireless signals is greatly influenced by the environment, and the distance and the signal strength of the wireless signal transmission are greatly different under different environments. In some special areas, including but not limited to basement, parking lot, isolated building, etc., the wireless network has poor communication effect with the outside, which results in low coverage rate of the wireless network and unreliable data transmission.
The existing solution is to properly arrange a repeater module in an intermediate path with poor wireless signal transmission effect and obstructed wireless signal transmission, and use the repeater module as an intermediate node to forward wireless communication data, so that the communication data can be smoothly transmitted to a target area, and a wireless network can be smoothly connected.
The prior art has the following disadvantages:
(1) the cost is improved: the repeater modules cannot be sold separately, but are selectively added according to the environmental conditions, and can only be given as auxiliary modules for optimizing the wireless network environment. More repeater modules are consumed in a poorer environment, and the cost is obviously improved.
(2) Increase the installation, maintain the degree of difficulty: firstly, the number and the positions of the installed repeater modules are uncertain due to different environmental conditions, and the number and the positions of the installed repeater modules can be determined according to a certain environment only by field investigation of professional technicians, so that the installation difficulty is increased. Secondly, the types and the number of the modules are increased, if problems exist in the field and need to be checked, the checking period is necessarily prolonged, and the maintenance difficulty is increased.
Disclosure of Invention
The invention aims to provide a method for coordinating and working high-speed power line carrier and micropower wireless dual-mode routing.
The technical scheme of the invention is as follows:
a coordinated working method for high-speed power line carrier and micropower wireless dual-mode routing adopts a carrier-to-wireless routing cooperative working mechanism, selects an electric energy meter communication unit of a carrier on-line network as a carrier-to-wireless routing relay point, and utilizes a carrier channel to transparently transmit a wireless data frame to realize three functions of establishing a cooperative network, reading data and reporting an event.
Further, carrier-to-wireless routing networking:
after the local communication unit finishes wireless networking, the fact that the electric energy meter communication unit in the file is wireless and not in the network is found, for the part of the electric energy meter communication units, the electric energy meter communication unit with the carrier in the network and smaller in hierarchy is selected to serve as a routing relay point for converting the carrier into wireless, the local communication unit sends a networking frame to the relay point through the carrier, a carrier processor of the relay point receives the networking frame and forwards the networking frame to a wireless processor through a serial port, and the wireless processor analyzes the networking frame and then sends the networking frame through a wireless channel to build the network.
Further, the carrier wave is converted into a wireless route meter reading:
the local communication unit encapsulates a meter reading frame of the electric energy meter channel unit to be read into a carrier-to-wireless route meter reading frame, the carrier-to-wireless route meter reading frame is sent to the relay point through a carrier, a carrier processor of the relay point forwards the read frame to the wireless processor through a serial port after receiving the read frame, the wireless processor sends the read frame through a wireless channel after receiving and analyzing the read frame, the data is packaged and sent to the carrier processor after receiving a response of the target electric energy meter channel unit, and the carrier processor sends the data to the local communication unit through a carrier channel.
Further, reporting carrier-to-wireless routing data:
when an electric energy meter communication unit in a carrier-to-wireless routing network needs to report an event, reporting is carried out according to a normal flow, after a relay point wireless channel detects an event reporting frame, an event pin of a carrier processor is arranged, a carrier event reporting flow is triggered, an event reading frame is waited to be issued by the carrier processor, an event reporting data frame is sent to the carrier processor through a serial port, and the carrier processor of the relay point reports the event to a local communication unit through a carrier network.
Furthermore, an electric energy meter communication unit in the carrier-to-wireless routing network is a non-relay point.
Further, the content of the cooperative network is as follows:
wireless signals between the nodes in the cooperative network and the main network cannot be communicated with the main network due to physical reasons to form isolated nodes, but at least one node in each isolated node group can be connected to the main network or indirectly; each isolated node group can form a cooperative network, in each cooperative network, data of all nodes are upwards transmitted or acquired through a relay node, and the relay node and an upper network are communicated by using a carrier channel.
Further, physical causes include blocking, signal attenuation, or signal shielding causes;
the specific whole wireless network comprises: firstly, synchronizing files by a central node and starting wireless networking; after wireless networking is finished, the central node finds that nodes in the file are wireless and are not in the network, and then selects nodes with carriers in the network and smaller levels as relay nodes aiming at the nodes, the central node sends relay node beacon frames to the relay nodes through carrier waves, the relay node carrier processors inform the wireless processors through serial ports after receiving the relay node beacon frames, and the wireless processors send the beacon frames through wireless channels after analyzing the frames to establish a cooperative network.
Further, the data reading content of the collaborative network is as follows:
the central node encapsulates the meter reading frame of the node to be read into an agent meter reading frame, the agent meter reading frame is sent to the relay node through a carrier, the relay node carrier processor receives the agent meter reading frame and sends the agent meter reading frame to the wireless processor through a serial port, the wireless processor sends the read frame through a wireless channel after receiving and analyzing the read frame, the data is packaged and sent to the carrier processor after receiving the response of the target node, and the carrier processor sends the data to the central node through a carrier channel.
Further, the event reporting content of the collaborative network is as follows:
and reporting the event needing to be reported by the nodes in the cooperative network according to a normal flow, informing the carrier processor that the event needing to be reported exists after the wireless channel of the relay node detects the frame, waiting for the carrier processor to collect event data, sending the data to the carrier processor through a serial port, and reporting the event to the central node by the carrier processor of the relay node through the carrier network.
Further, the method is applicable to scenes including but not limited to places with strong wireless signal shielding effect and poor signal transmission effect in basements or parking lots.
The invention has the beneficial effects that:
the invention fully utilizes the characteristic of dual-network parallelism of the dual-mode network, and expands the transmission limit distance of the wireless network in a poorer environment through the carrier network, thereby solving the two problems that the wireless data can not be transmitted and the single-mode network data is not reliably uploaded.
Compared with the prior art, the invention has obvious advantages. For a normal environment or an environment with poor wireless signals, no repeater module needs to be additionally installed, and cost is saved. The installation scheme does not need to be formulated according to different environmental conditions, so that the difficulty of installation and maintenance is reduced.
Drawings
FIG. 1 is a diagram of a practical application of the present invention;
FIG. 2 is a diagram of the network topology of the present invention;
FIG. 3 is a flow chart of carrier-to-wireless routing and networking according to the present invention;
FIG. 4 is a flow chart of carrier-to-wireless routing meter reading according to the present invention;
fig. 5 is a flow chart of reporting carrier-to-wireless routing data according to the present invention.
In the figure, a square represents a master node (a central node), a circle represents a wireless on-network slave node, and a triangle represents a wireless off-network slave node; the dashed lines represent wireless network hierarchy; solid arrows represent wireless network connections; the dashed arrows represent carrier network connections.
Detailed Description
The method is applicable to scenes including but not limited to places with strong wireless signal shielding effect and poor signal transmission effect, such as basements, parking lots and the like.
In an actual application scenario, in order to solve the problem of low wireless coverage rate caused by strong wireless shielding effect (such as a basement), the invention adopts a carrier-to-wireless routing cooperative working mechanism, selects an electric energy meter communication unit of a part of carriers in a network as a carrier-to-wireless routing relay point, and utilizes a carrier channel to transmit a wireless data frame, thereby realizing three functions of networking, meter reading and data reporting, as shown in fig. 1 and 3-5. The topology of the cooperative network is shown in fig. 2. The method comprises the following steps: the method comprises the steps of establishing a collaborative network, copying and reading data of the collaborative network and reporting an event of the collaborative network.
1. Carrier-to-wireless routing networking
After the local communication unit finishes wireless networking, the fact that the electric energy meter communication unit in the file is not in the wireless networking mode is found, for the part of the electric energy meter communication unit, the electric energy meter communication unit with the carrier in the network and smaller in hierarchy level is preferentially selected to serve as a routing relay point for converting the carrier into wireless, the local communication unit sends a networking frame to the relay point through the carrier, a carrier processor of the relay point receives the networking frame and forwards the networking frame to a wireless processor through a serial port, the wireless processor analyzes the networking frame and then sends the networking frame through a wireless channel, a network is built, and the data transmission process is as shown in figure 3. The invention has small-level electric energy meter communication: the carrier supports 15-layer networks, the communication effect in the layer 3 is considered to be better, and if no peripheral node is in the layer 3, a communication unit with a relatively small hierarchy can be selected as a relay.
2. Carrier wave changes wireless route meter reading
The local communication unit encapsulates a meter reading frame of the electric energy meter channel unit to be read into a carrier-to-wireless route meter reading frame, the carrier-to-wireless route meter reading frame is sent to the relay point through a carrier, a carrier processor of the relay point forwards the read frame to the wireless processor through a serial port after receiving the read frame, the wireless processor sends the read frame through a wireless channel after receiving and analyzing the read frame, the data is packaged and sent to the carrier processor after receiving a response of the target electric energy meter channel unit, the carrier processor sends the data to the local communication unit through the carrier channel, and a meter reading flow chart is shown in fig. 4.
3. Carrier-to-wireless routing data reporting
When an electric energy meter communication unit (non-relay point) in a carrier-to-wireless routing network needs to report an event, the event is reported according to a normal flow, after a relay point wireless channel senses an event reporting frame, an event pin of a carrier processor is arranged to trigger a carrier event reporting flow, the carrier processor waits for an event reading frame issued by the carrier processor, an event reporting data frame is sent to the carrier processor through a serial port, the carrier processor of the relay point reports the event to a local communication unit through a carrier network, and a data reporting flow chart is shown in fig. 5.
The construction content of the cooperative network is as follows:
due to physical reasons (including but not limited to blocking, signal attenuation, signal shielding reasons), wireless signals between the nodes in the cooperative network and the main network cannot be communicated with the main network, and isolated node groups (14, 15), (22, 23, 24), (16, 17, 18, 19, 20) are formed in fig. 2. But at least one node in each orphan node cluster can be connected to the host network, either indirectly or inter-directionally. At this time, each isolated node group may form a cooperative network, in each cooperative network, data of all nodes is transmitted or acquired upwards through a relay node (in fig. 2), and the relay node and an upper network communicate with each other using a carrier channel.
Specifically, the entire wireless network is configured such that, first, a central node (No. 1) synchronizes a file and starts wireless networking. After the wireless networking is finished, the central node finds that nodes in the file are not in the wireless networking (brown nodes in fig. 2), preferentially selects nodes with carriers in the wireless networking and smaller levels as relay nodes aiming at the nodes, the central node sends a relay node beacon frame to the relay nodes through carrier waves, the relay node carrier processors inform the wireless processors through serial ports after receiving the relay node beacon frame, and the wireless processors send the beacon frame through wireless channels after analyzing the frame to establish a cooperative network.
The data reading content of the cooperative network is as follows:
the central node encapsulates meter reading frames of nodes to be read into agent meter reading frames, the agent meter reading frames are sent to the relay nodes (numbers 14, 16 and 22 in figure 2) through carrier waves, the relay node carrier wave processor receives the meter reading frames and sends the meter reading frames to the wireless processor through a serial port, the wireless processor receives and analyzes the meter reading frames and sends the read reading frames through a wireless channel, after receiving the response of the target node, data are packaged and sent to the carrier wave processor, and the carrier wave processor sends the data to the central node through the carrier wave channel.
The event reporting content of the cooperative network is as follows:
and reporting the event required to be reported by a node (non-relay node) in the cooperative network according to a normal flow, informing a carrier processor that the event is required to be reported after a wireless channel of the relay node detects the frame, waiting for the carrier processor to collect event data, sending the data to the carrier processor through a serial port, and reporting the event to a central node by the carrier processor of the relay node through a carrier network.
The invention fully utilizes the characteristic of dual-network parallelism of the dual-mode network, and expands the transmission limit distance of the wireless network in a poorer environment through the carrier network, thereby solving the two problems that the wireless data can not be transmitted and the single-mode network data is not reliably uploaded.
Compared with the prior art, the invention has obvious advantages. For a normal environment or an environment with poor wireless signals, no repeater module needs to be additionally installed, and cost is saved. The installation scheme does not need to be formulated according to different environmental conditions, so that the difficulty of installation and maintenance is reduced.