CN111815935B - Method and device for identifying node home station area - Google Patents

Method and device for identifying node home station area Download PDF

Info

Publication number
CN111815935B
CN111815935B CN202010557137.2A CN202010557137A CN111815935B CN 111815935 B CN111815935 B CN 111815935B CN 202010557137 A CN202010557137 A CN 202010557137A CN 111815935 B CN111815935 B CN 111815935B
Authority
CN
China
Prior art keywords
node
address
domain address
domain
concentrator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010557137.2A
Other languages
Chinese (zh)
Other versions
CN111815935A (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.)
Shenzhen Icent Technology Co ltd
Original Assignee
Shenzhen Icent 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 Shenzhen Icent Technology Co ltd filed Critical Shenzhen Icent Technology Co ltd
Priority to CN202010557137.2A priority Critical patent/CN111815935B/en
Publication of CN111815935A publication Critical patent/CN111815935A/en
Application granted granted Critical
Publication of CN111815935B publication Critical patent/CN111815935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C25/00Arrangements for preventing or correcting errors; Monitoring arrangements
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines

Abstract

The embodiment of the invention discloses a method and a device for identifying a node home station area, wherein at each node side, the method comprises the following steps: monitoring and receiving meter reading command messages sent by a concentrator and/or forwarded by other nodes; if the first preset condition is met, sending a broadcast query command to a neighbor node of the node; receiving a first response message returned by the neighbor node aiming at the broadcast query command, wherein the first response message carries a second domain address of a station area to which the neighbor node belongs; acquiring a second domain address and the signal intensity of each first response message received by the node; acquiring a second domain address of the first response message corresponding to the signal strength in the front; if the third domain address of the node is an empty address, sending a node adding request to a concentrator corresponding to the second domain address according to the second domain address; and if the third domain address is not an empty address but is inconsistent with the second domain address, sending a node deletion request to the concentrator corresponding to the third domain address.

Description

Method and device for identifying node home station area
Technical Field
The invention relates to the field of electric power, in particular to a method and a device for identifying a node home station area.
Background
The field network of the power carrier wave automatic meter reading system is a centralized network, the physical topology of the field network is a tree structure, one concentrator is installed below a distribution transformer, and a plurality of nodes (nodes are electric meters, generally dozens to hundreds) are discretely distributed in each household within 1 kilometer of the concentrator, as shown in fig. 1, the field network is a power carrier wave automatic meter reading system field network topology diagram, wherein the diagram M represents an electric meter.
The concentrator communicates with each ammeter by adopting power line carrier waves, ammeter files belonging to the power distribution area need to be recorded in the concentrator, the concentrator initiates data acquisition commands to each ammeter respectively according to the ammeter files stored in the concentrator, and the ammeter responds when receiving the commands and interpreting the destination address as self. The concentrator collects and stores the electric meter data, and then transmits the electric meter data to the data master station through a public network or a private network. Under normal conditions, the concentrator and the remote nodes can not directly communicate with each other, the destination can be reached only by forwarding through the relay nodes, and the nodes with discrete geographical positions can be mutually relayed.
At present, the recording of the ammeter files in the concentrator is manually sorted and recorded. Because the low-voltage distribution network has a plurality of branches and complex circuits, and a power grid company of a region to which some electric meters belong is unclear, the situation that some small amount of electric meters belong to the region A, but the file is recorded in the region B appears. And the power line carrier signal can attenuate a lot after crossing distribution transformer, and when concentrator meter reading will appear, the ammeter that the file was logged in the mistake can not read all the time or read the very unstable condition of receiving, can cause the platform district line loss to calculate inaccurately moreover.
Disclosure of Invention
In view of the above technical problems, embodiments of the present invention provide a method and an apparatus for identifying a node-affiliated station area, which can accurately determine a node with a wrong affiliation of the station area in a power carrier meter reading system, and automatically affiliate the node with the wrong affiliation of the station area to a correct station area, thereby solving the problem that some electric meters cannot be always read or are not stably read due to the wrong affiliation of the node station area, and avoiding the problem of line loss calculation distortion of the station area due to the wrong affiliation of the node station area.
A first aspect of an embodiment of the present invention provides a method for identifying a node-owned station, where a same station includes a concentrator and a plurality of electric meter nodes, the node communicates with a power carrier of the concentrator directly or indirectly to form a topology network, a first domain address of the concentrator of each station is unique, and the method is applied to each node, and the method includes:
monitoring and receiving a meter reading command message sent by the concentrator and/or forwarded by other nodes, wherein the meter reading command message is generated by the concentrator and carries the first domain address and a destination address of a node to be meter read;
if the first preset condition is met, sending a broadcast query command to a neighbor node of the node;
receiving a first response message returned by the neighbor node aiming at the broadcast query command, wherein the first response message carries a second domain address of a station area to which the neighbor node belongs;
acquiring the second domain address and the signal intensity of each first response message received by the node;
acquiring a second domain address of the first response message corresponding to the signal strength in the front;
if the third domain address of the node is an empty address, sending a node adding request to a concentrator corresponding to the second domain address according to the second domain address, wherein the node adding request carries the second domain address and the node address of the node;
if the third domain address is not an empty address, but the third domain address is inconsistent with the second domain address, sending a node deletion request to a concentrator corresponding to the third domain address, wherein the node deletion request carries the third domain address and a node address of the node;
wherein the first preset condition comprises: the third domain address of the node is a null address; alternatively, the first and second electrodes may be,
and if the third domain address of the node is not an empty address, respectively counting a first number, which is the same as the third domain address of the node, in the first domain address carried in the meter reading command message and a second number, which is different from the third domain address of the node, in the first domain address carried in the meter reading command message, wherein the second number is greater than the first number, and the first number and the second number meet a second preset condition.
Optionally, the second preset condition includes: the second number is greater than or equal to three times the first number.
Optionally, after obtaining the second domain address and the signal strength of each first reply packet received by the node, before obtaining the second domain address of the first reply packet corresponding to the former signal strength, the method further includes:
recording the second domain address and the signal intensity of each first response message received by the node in a neighbor domain address queue;
the obtaining of the second domain address of the first reply packet corresponding to the previous signal strength includes:
and acquiring second domain addresses of the first response messages corresponding to a plurality of signal strengths with the front size from the neighbor domain address queue.
Optionally, before sending a node join request to the concentrator corresponding to the second domain address according to the second domain address if the third domain address of the node is an empty address, or before sending a node delete request to the concentrator corresponding to the third domain address if the third domain address is not an empty address and the third domain address is inconsistent with the second domain address, the method further includes:
and determining that the second domain addresses of the first response messages corresponding to the signal strengths with the front sizes are consistent.
Optionally, the method further comprises:
if the second domain addresses of the first response messages corresponding to the signal strengths at the front of the first domain addresses are inconsistent, emptying the neighbor domain address queue; alternatively, the first and second electrodes may be,
and if the third domain address is not an empty address and the third domain address is consistent with the second domain address, emptying the neighbor domain address queue.
Optionally, when sending a node deletion request to the concentrator corresponding to the third domain address, the method further includes:
and sending a node joining request to the concentrator corresponding to the second domain address.
Optionally, after sending the node join request to the concentrator corresponding to the second domain address, the method further includes:
and if a second response message returned by the concentrator for the node joining request is received, modifying the third domain address into the second domain address.
A second aspect of the embodiments of the present invention provides an apparatus for identifying a node-owned station, where the same station includes a concentrator and a plurality of electric meter nodes, the nodes communicate with a power carrier of the concentrator directly or indirectly to form a topology network, a first domain address of the concentrator of each station is unique, and the apparatus is applied to each node, and the apparatus includes:
the monitoring module is used for monitoring and receiving meter reading command messages sent by the concentrator and/or forwarded by other nodes, wherein the meter reading command messages are generated by the concentrator and carry the first domain address and the destination address of the node to be meter read;
the broadcast module is used for sending a broadcast query command to a neighbor node of the node when a first preset condition is met;
a first receiving module, configured to receive a first response packet returned by the neighboring node in response to the broadcast query command, where the first response packet carries a second domain address of a station area to which the neighboring node belongs;
a first obtaining module, configured to obtain the second domain address and a signal strength of each first response packet received by the node;
the second acquisition module is used for acquiring a second domain address of the first response message corresponding to the signal strength of the previous size;
a request module, configured to send a node join request to a concentrator corresponding to a second domain address according to the second domain address when a third domain address of the node is an empty address, where the node join request carries the second domain address and a node address of the node; when the third domain address is not an empty address but is inconsistent with the second domain address, sending a node deletion request to a concentrator corresponding to the third domain address, wherein the node deletion request carries the third domain address and a node address of the node;
wherein the first preset condition comprises: the third domain address of the node is a null address; alternatively, the first and second electrodes may be,
and if the third domain address of the node is not an empty address, respectively counting a first number, which is the same as the third domain address of the node, in the first domain address carried in the meter reading command message and a second number, which is different from the third domain address of the node, in the first domain address carried in the meter reading command message, wherein the second number is greater than the first number, and the first number and the second number meet a second preset condition.
A third aspect of the embodiments of the present invention provides a method for identifying a node-owned station, where the same station includes a concentrator and a plurality of electric meter nodes, the nodes communicate with a power carrier of the concentrator directly or indirectly to form a topology network, a first domain address of the concentrator of each station is unique, and the method is applied to the concentrator, and the method includes:
receiving a node deletion request, wherein the node deletion request carries a fourth domain address and a node address of a node requesting deletion;
if the fourth domain address is consistent with the first domain address, deleting the node with the node address which is recorded in a node database prestored in the concentrator and is consistent with the node address of the node requesting to delete;
receiving a node joining request, wherein the node joining request carries a fifth domain address and a node address of a node requesting to join;
if the fifth domain address is consistent with the first domain address and a node address consistent with the node address of the node requesting to join exists in the node database, returning a second response message to the node requesting to join;
and if the fifth domain address is consistent with the first domain address but no node address consistent with the node address of the node requesting to join exists in the node database, adding the node requesting to join and the node address of the node requesting to join into the node database, and returning a second response message to the node requesting to join.
A fourth aspect of the embodiments of the present invention provides an apparatus for identifying a node-owned station, where a same station includes a concentrator and a plurality of meter nodes, the nodes communicate with a power carrier of the concentrator directly or indirectly to form a topology network, a first domain address of the concentrator of each station is unique, and the apparatus is applied to the concentrator, and the apparatus includes:
a third receiving module, configured to receive a node deletion request, where the node deletion request carries a fourth domain address and a node address of a node requesting deletion;
a processing module, configured to delete a node whose node address recorded in a node database prestored in the concentrator is consistent with the node address of the node requested to be deleted when the fourth domain address is consistent with the first domain address;
the third receiving module is further configured to receive a node join request, where the node join request carries a fifth domain address and a node address of the node requesting to join;
the processing module is further configured to return a second response packet to the node requesting to join when the fifth domain address is consistent with the first domain address and a node address consistent with the node address of the node requesting to join exists in the node database; and when the fifth domain address is consistent with the first domain address but no node address consistent with the node address of the node requesting to join exists in the node database, adding the node requesting to join and the node address of the node requesting to join into the node database, and returning a second response message to the node requesting to join.
In the technical scheme provided by the embodiment of the invention, at each node side, a second domain address of a station area to which a neighbor node belongs is inquired in a broadcasting mode, when a third domain address of the node is an empty address, a node adding request is sent to a concentrator corresponding to the second domain address according to the second domain address, and when the third domain address is not the empty address but is not consistent with the second domain address, a node deleting request is sent to the concentrator corresponding to the third domain address; on the concentrator side, when the fourth domain address carried in the node deletion request is consistent with the first domain address of the concentrator, deleting the node of which the node address recorded in a node database prestored in the concentrator is consistent with the node address of the node requesting deletion; when the fifth domain address is consistent with the first domain address, but no node address consistent with the node address of the node requesting to join exists in the node database, the node requesting to join and the node address of the node requesting to join are added in the node database, so that the node with the wrong affiliation of the station area is accurately judged in the power carrier meter reading system, and the node with the wrong affiliation of the station area is automatically affiliated to the correct station area, the problem that some electric meters cannot be always read or are not stably read due to the wrong affiliation of the node station area is solved, and the problem of line loss calculation distortion of the station area due to the wrong affiliation of the node station area is solved.
Drawings
FIG. 1 is a schematic diagram of a field network physical topology of a conventional power carrier meter reading system;
fig. 2 is a schematic flow chart of a method for identifying a node home zone in each node according to an embodiment of the present invention;
fig. 3A is a flowchart illustrating a specific method of the method for identifying a node home zone according to the embodiment shown in fig. 2;
fig. 3B is a flowchart illustrating a specific method of the method for identifying a node home zone according to the embodiment shown in fig. 2;
fig. 4 is a schematic structural diagram of an apparatus for identifying a node home zone at each node side according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus of identifying a node home zone at each node side in another embodiment of the present invention;
fig. 6 is a schematic flow chart of a method for identifying a node home zone in an embodiment of the present invention, at a concentrator side;
fig. 7 is a flowchart illustrating a specific method of the method for identifying a node home zone according to the embodiment shown in fig. 6;
fig. 8 is a schematic structural diagram of an apparatus for identifying a node home zone on the concentrator side according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the following embodiments may be combined without conflict.
In the embodiment of the present invention, the same region includes a concentrator and a plurality of electric meter nodes, and the nodes directly or indirectly communicate with the concentrator power carrier to form a topology network, as shown in fig. 1.
Wherein the first domain address of the concentrator of each zone is unique. Illustratively, the first domain address comprises 6 bytes.
Each node under each concentrator has its own third domain address in the empty space at the time of initial installation, and illustratively, the number of bytes of the third domain address is equal to the number of bytes of the first domain address of the corresponding concentrator. Illustratively, the third domain address comprises 6 bytes.
Optionally, each byte of the null address is 0.
The concentrator initiates a meter reading command message to each node in a node database (namely an electric meter file) prestored in the concentrator, the meter reading command message is provided with a first domain address of the concentrator and a destination address of the node, after receiving the meter reading command message, the node judges that the destination address in the meter reading command message is the address of the node, a data response message is returned, and the first domain address in the meter reading command message is extracted to be used as the domain address (hereinafter, a third domain address, a fourth domain address or a fifth domain address) of the node. The data reply message also contains the domain address of the node.
When the node station area is correctly attributed, the domain address of the node is consistent with the first domain address (namely, the byte contents of the two are consistent); when the node station area is in a home error, the domain address of the node is inconsistent with the first domain address (i.e. the byte contents of the two are inconsistent).
The data copying of each node by the concentrator is performed by using the existing electric meter data copying technology, which is not specifically limited in the present invention.
In the first embodiment and the second embodiment, the method and the apparatus for identifying a node home zone according to the embodiments of the present invention will be described from each node side and a concentrator side.
Example one
Fig. 2 is a schematic flow chart of a method for identifying a node home zone in each node according to an embodiment of the present invention; referring to fig. 2, the method for identifying a node home zone according to the embodiment of the present invention may include steps S201 to S207.
In S201, a meter reading command message sent by the concentrator and/or forwarded by another node is intercepted and received, where the meter reading command message is generated by the concentrator, and the meter reading message carries a first domain address and a destination address of a node to be meter read.
Optionally, the duration of each listening is a preset duration, such as 1 hour or other duration.
In S202, if the first preset condition is satisfied, a broadcast query command is sent to a neighboring node of the node.
Wherein, in some embodiments, the first preset condition comprises: the third domain address of the node is an empty address.
In some embodiments, the first preset condition includes: and respectively counting a first number of the first domain addresses carried in the meter reading command message, which are the same as the third domain addresses of the node, and a second number of the first domain addresses carried in the meter reading command message, which is different from the third domain addresses of the node, wherein the second number is greater than the first number, and the first number and the second number meet a second preset condition.
Optionally, the second preset condition includes: the second number is greater than or equal to three times the first number; it should be understood that the second predetermined condition may be other, such as the second number being greater than or equal to two times, four times, or other multiple greater than four times the first number, or the difference obtained by subtracting the first number from the second number being greater than the predetermined difference size. In this embodiment, the second predetermined number is greater than 0.
Through S202, a node near the node, i.e., a neighbor node, can be searched for.
In S203, a first response packet returned by the neighbor node in response to the broadcast query command is received, where the first response packet carries a second domain address of the station area to which the neighbor node belongs.
In the embodiment of the invention, the neighbor node which receives the broadcast query command and has the second domain address not being the null address (at least one byte not being 0) responds, and returns the first response message to the node which sends the broadcast query command.
It should be noted that, in the embodiment of the present invention, each node does not forward a broadcast query command and a first response packet, Multiple first response packets are sent by using a CSMA (Carrier Sense Multiple Access) technology contention channel, a time slice is randomly allocated, and when the allocated time slice arrives, if the channel is idle, the first response packet is sent.
In S204, the second domain address and the signal strength of each first response packet received by the node are obtained.
In the embodiment of the invention, the signal strength is the RSSI value.
Optionally, the node (i.e. the node sending the broadcast query command) stores the second domain address and the signal strength of each first response packet received by the node into the neighbor domain address queue. Further optionally, the neighbor domain address queue opens up 20 buffer areas at most, that is, the neighbor domain address queue receives 20 second domain addresses corresponding to the first reply messages at most and the signal strength of each first reply message received by the node.
In S205, the second domain address of the first reply packet corresponding to the previous signal strength is obtained.
Optionally, the second domain address of the first reply packet corresponding to the previous signal strength is obtained. For example, the second domain addresses of the first reply packets corresponding to the first signal strengths are obtained from the neighbor domain address queue, for example, the second domain addresses of the first reply packets corresponding to the first 3 (or 1 or 2) signal strengths are obtained from the neighbor domain address queue.
In S206, if the third domain address of the node is an empty address, a node join request is sent to the concentrator corresponding to the second domain address according to the second domain address, where the node join request carries the second domain address and the node address of the node.
In the embodiment of the invention, the node joining request is a Join request, and the Join request can carry the domain address of the node requesting to Join and the node address of the node requesting to Join. After receiving the Join request, the concentrator responds and returns a second response message to the node sending the node Join request, wherein the second response message can carry the first domain address of the concentrator and the node address of the node sending the node Join request.
In S207, if the third domain address is not an empty address, but the third domain address is not consistent with the second domain address, a node deletion request is sent to the concentrator corresponding to the third domain address, where the node deletion request carries the third domain address and the node address of the node.
In the embodiment of the invention, the node deletion request is a Remove request, and the Remove request can carry the domain address of the node requesting deletion and the node address of the node requesting deletion. The concentrator does not respond after receiving the Remove request.
The identification method of the node home station area of the embodiment of the invention inquires the second domain address of the station area of the neighbor node at each node side in a broadcasting mode, and when the third domain address of the node is a null address, sending a node joining request to the concentrator corresponding to the second domain address according to the second domain address, when the third domain address is not an empty address but is inconsistent with the second domain address, sending a node deletion request to a concentrator corresponding to the third domain address, therefore, the nodes with the wrong attribution of the transformer area are accurately judged in the power carrier meter reading system, and the nodes with the wrong attribution of the transformer area are automatically attributed to the correct transformer area, so that the problems that some electric meters cannot be read all the time or the reading is unstable due to the wrong attribution of the transformer area of the nodes are solved, and the problem of line loss calculation distortion of the station area caused by the node station area attribution error is avoided.
Optionally, in some embodiments, after acquiring the second domain address and the signal strength of each first reply packet received by the node, before acquiring the second domain address of the first reply packet corresponding to the former signal strength, the method further includes: and recording the second domain address and the signal strength of each first response message received by the node in a neighbor domain address queue. The process of obtaining the second domain address of the first reply packet corresponding to the previous signal strength may include: and acquiring second domain addresses of the first response messages corresponding to a plurality of signal strengths with the front size from the neighbor domain address queue, and further accurately judging the station area to which the node belongs.
Optionally, in some embodiments, if the third domain address of the node is an empty address, before sending the node join request to the concentrator corresponding to the second domain address according to the second domain address, or if the third domain address is not an empty address and the third domain address is inconsistent with the second domain address, before sending the node delete request to the concentrator corresponding to the third domain address, the method further includes: and determining that the second domain addresses of the first response messages corresponding to the signal strengths with the front sizes are consistent, and ensuring that the node belongs to a correct area.
Optionally, in some embodiments, the method for identifying a node home station zone may further include: and if the second domain addresses of the first response messages corresponding to the signal strengths at the front of the first domain addresses are inconsistent, clearing the neighbor domain address queue, and facilitating the next identification of the node home station area.
Optionally, in some embodiments, the method for identifying a node home station zone may further include: and if the third domain address is not an empty address and is consistent with the second domain address, clearing the neighbor domain address queue, and facilitating the next identification of the node home station area.
Optionally, in some embodiments, while sending the node deletion request to the concentrator corresponding to the third domain address, the method further includes: and sending a node joining request to the concentrator corresponding to the second domain address, thereby avoiding the concentrator of the node home station area from missing the node.
Optionally, in some embodiments, after sending the node join request to the concentrator corresponding to the second domain address, the method further includes: and if a second response message returned by the concentrator aiming at the node adding request is received, modifying the third domain address into the second domain address, and attributing the node to a correct platform area.
Referring to fig. 3A and 3B, on each node side, a possible method for identifying a node home zone may include the following steps:
step 1: the node continuously monitors the received meter reading command message (including a forwarding message of the command message) for 1 hour, and if the third domain address of the node is all 0, the step 2 is switched; otherwise, the node counts the first number SameDomCcnt of the meter reading command messages in the same domain as the third domain address and the second number DifferDomCcnt of the meter reading command messages in the different domain from the third domain address, and if the DifferDomCcnt is greater than 0 and the DifferDomCcnt > is 3 SameDomCcnt, the step 2 is carried out; otherwise, repeat step 1.
Step 2: the node sends out a broadcast query command, and then the step 3 is carried out.
And step 3: and (4) the node receives the first response message of the query command, acquires the second domain address and the RSSI value (signal strength) of the first response message, stores the second domain address and the RSSI value (signal strength) of the first response message into the neighbor domain address queue, and goes to step 4.
And 4, step 4: if the address queue of the neighbor domain is empty, turning to the step 1; otherwise, selecting at most 3 second domain addresses with the maximum RSSI value from the neighbor domain address queue, and if the selected second domain addresses are consistent, turning to the step 5; otherwise, the node clears the address queue of the neighbor domain, and the step 1 is carried out.
And 5: if the third domain address of the node is all 0, the node initiates a Join request to a relevant concentrator according to the second domain address selected from the neighbor domain address queue, and then the step 7 is carried out; otherwise, go to step 6.
Step 6: if the third domain address of the node is consistent with the second domain address selected from the neighbor domain address queue, the node clears the neighbor domain address queue, and then the step 1 is carried out; otherwise, the node initiates a Remove request to the relevant concentrator according to the current third domain address of the node, and the node initiates a Join request to the relevant concentrator according to the second domain address selected from the neighbor domain address queue, and then step 7 is carried out.
And 7: if receiving a second response message of the relevant concentrator to the Join request, the node changes the third domain address of the node into the second domain address consistent with the second domain address selected from the neighbor domain address queue, and clears the neighbor domain address queue, and then the step 1 is carried out; otherwise, the node clears the address queue of the neighbor domain, and the step 1 is carried out.
Corresponding to the method for identifying a node home zone in the foregoing embodiment, an embodiment of the present invention further provides an apparatus for identifying a node home zone, which is applicable to each node. Referring to fig. 4, the identifying means of the node home zone may include:
the monitoring module is used for monitoring and receiving meter reading command messages sent by the concentrator and/or forwarded by other nodes, wherein the meter reading command messages are generated by the concentrator and carry a first domain address and a destination address of a node to be meter read;
the broadcast module broadcasts a query command to a neighbor node of the node when a first preset condition is met;
the first receiving module is used for receiving a first response message returned by the neighbor node aiming at the query command, wherein the first response message carries a second domain address of a station area to which the neighbor node belongs;
the first acquisition module is used for acquiring the second domain address and the signal intensity of each first response message received by the node;
the second acquisition module is used for acquiring a second domain address of the first response message corresponding to the signal strength of the previous size;
the request module is used for sending a node adding request to a concentrator corresponding to a second domain address according to the second domain address when a third domain address of the node is a null address, wherein the node adding request carries the second domain address and the node address of the node; when the third domain address is not an empty address but is inconsistent with the second domain address, sending a node deletion request to a concentrator corresponding to the third domain address, wherein the node deletion request carries the third domain address and the node address of the node;
wherein, the first preset condition comprises: the third domain address of the node is a null address; alternatively, the first and second electrodes may be,
and respectively counting a first number of the first domain addresses carried in the meter reading command message, which are the same as the third domain addresses of the node, and a second number of the first domain addresses carried in the meter reading command message, which is different from the third domain addresses of the node, wherein the second number is greater than the first number, and the first number and the second number meet a second preset condition.
Optionally, the second preset condition includes: the second number is greater than or equal to three times the first number.
Optionally, referring to fig. 5, the apparatus for identifying a node-affiliated station area may further include a recording module, configured to record, after the first obtaining module obtains the second domain address and the signal strength of each first acknowledgment packet received by the node, the second domain address and the signal strength of each first acknowledgment packet received by the node in a neighbor domain address queue before the second obtaining module obtains the second domain address of the first acknowledgment packet corresponding to the previous signal strength. The second obtaining module, when obtaining the second domain address of the first reply packet corresponding to the previous signal strength, is specifically configured to: and acquiring second domain addresses of the first response messages corresponding to a plurality of signal strengths with the front size from the neighbor domain address queue.
Optionally, referring to fig. 5 again, the apparatus for identifying a node-owned station area may further include a determining module, configured to determine that the second domain addresses of the first response packets corresponding to the plurality of signal strengths with the former size are consistent before the requesting module sends the node join request to the concentrator corresponding to the second domain address according to the second domain address when the third domain address of the node is an empty address, or before the third domain address is not an empty address and the third domain address is inconsistent with the second domain address and sends the node delete request to the concentrator corresponding to the third domain address.
Optionally, referring to fig. 5 again, the apparatus for identifying a node-affiliated station area may further include a queue emptying module, configured to empty the neighbor domain address queue when the second domain addresses of the first reply packets corresponding to the plurality of signal strengths with the former size are inconsistent; or when the third domain address is not an empty address and is consistent with the second domain address, the neighbor domain address queue is emptied.
Optionally, the request module is further configured to send a node join request to the concentrator corresponding to the second domain address while sending a node delete request to the concentrator corresponding to the third domain address.
Optionally, referring to fig. 5 again, the apparatus for identifying a node-owned station area may further include a domain address modification module, and after the request module sends the node join request to the concentrator corresponding to the second domain address, if a second response packet returned by the concentrator for the node join request is received, the third domain address is modified into the second domain address.
Example two
Fig. 6 is a schematic flow chart of a method for identifying a node home zone in an embodiment of the present invention, at a concentrator side; referring to fig. 6, the method for identifying a node home zone according to the second embodiment of the present invention may include steps S601 to S605.
In S601, a node deletion request is received, where the node deletion request carries the fourth domain address and the node address of the node requesting deletion.
The fourth domain address is the domain address of the region to which the node requesting deletion currently belongs.
In S602, if the fourth domain address is identical to the first domain address, the node whose node address recorded in the node database prestored in the concentrator is identical to the node address of the node requesting deletion is deleted.
Through S601 and S602, the concentrator can delete the node with the station zone attribution error in the node database, and the problem that some electric meters cannot be copied all the time or are not stably copied due to the station zone attribution error is solved.
Optionally, the node database stores node addresses of nodes under the node database and node related information, such as historical electricity consumption degrees of the nodes.
In S603, a node join request is received, where the node join request carries the fifth domain address and the node address of the node requesting to join.
And the fifth domain address is the second domain address selected by the node requesting to join according to the neighbor domain address queue.
It should be noted that, corresponding to each node, at the same time, one of a node deletion request and a node addition request can be sent to the concentrator; for the concentrator, a node deletion request and a node addition request respectively sent by different nodes can be received at the same time. Therefore, it can be understood that, when the node deletion request received in S601 and the node join request received in S603 are sent by the same node, S601 and S603 are executed sequentially, and S601 and then S603 may be executed first, or S603 and then S601 may be executed first. When the node deletion request received in S601 and the node addition request received in S603 are sent by different nodes, S601 and S603 may be executed simultaneously or sequentially.
In S604, if the fifth domain address is consistent with the first domain address and there is a node address consistent with the node address of the node requesting to join in the node database, a second response packet is returned to the node requesting to join.
In S605, if the fifth domain address is identical to the first domain address, but there is no node address identical to the node address of the node requesting to join in the node database, the node requesting to join and the node address of the node requesting to join are added in the node database, and a second response packet is returned to the node requesting to join.
Through S603-S605, the concentrator can add the nodes which belong to the zone of the concentrator and are not added into the node database, so that the problem of line loss calculation distortion of the zone caused by the attribution error of the node zone is avoided.
Referring to fig. 7, at the concentrator side, a possible method for identifying a node home zone may include the following steps:
step 1: if the concentrator receives the Remove request, the concentrator compares a fourth domain address in the Remove request, if the first domain address of the concentrator is not equal to the fourth domain address in the Remove request, the Remove request is not responded, and the step 3 is switched; otherwise, go to step 2.
Step 2: the concentrator compares the node address in the Remove request with a node database (namely a meter node file) stored by the concentrator, if the file contains the node address in the Remove request, the node is deleted from the node database, and the step 3 is switched; otherwise, directly turning to the step 3.
And step 3: if the concentrator receives the Join request, the concentrator compares the fifth domain address in the Join request, if the first domain address of the concentrator is not equal to the fifth domain address in the Join request, the Join request is not responded, and the process is ended; otherwise, go to step 4.
And 4, step 4: the concentrator compares the node address in the Join request with a node database stored by the concentrator, if the node database already contains the node address in the Join request, a second response message of the Join request is sent to the node, and the process is ended; otherwise, the concentrator adds the node address to the node database, and sends a second response message of the Join request to the node, and the process is ended.
Corresponding to the method for identifying a node home zone in the second embodiment, an embodiment of the present invention further provides an apparatus for identifying a node home zone, please refer to fig. 8, where the apparatus may include:
a third receiving module, configured to receive a node deletion request, where the node deletion request carries a fourth domain address and a node address of a node requesting deletion;
the processing module is used for deleting the node with the node address consistent with the node address of the node requesting to be deleted, which is recorded in the node database prestored in the concentrator, when the fourth domain address is consistent with the first domain address;
the third receiving module is further configured to receive a node join request, where the node join request carries a fifth domain address and a node address of a node requesting to join;
the processing module is further used for returning a second response message to the node requesting to join when the fifth domain address is consistent with the first domain address and a node address consistent with the node address of the node requesting to join exists in the node database; and when the fifth domain address is consistent with the first domain address but no node address consistent with the node address of the node requesting to join exists in the node database, adding the node requesting to join and the node address of the node requesting to join in the node database, and returning a second response message to the node requesting to join.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for identifying a home zone of a node, wherein the same zone comprises a concentrator and a plurality of electric meter nodes, the node is in direct or indirect communication with a power carrier of the concentrator to form a topological network, a first domain address of the concentrator of each zone is unique, and the method is applied to each node, and the method comprises the following steps:
monitoring and receiving a meter reading command message sent by the concentrator and/or forwarded by other nodes, wherein the meter reading command message is generated by the concentrator and carries the first domain address and a destination address of a node to be meter read;
if the first preset condition is met, sending a broadcast query command to a neighbor node of the node;
receiving a first response message returned by the neighbor node aiming at the broadcast query command, wherein the first response message carries a second domain address of a station area to which the neighbor node belongs;
acquiring the second domain address and the signal intensity of each first response message received by the node;
acquiring a second domain address of the first response message corresponding to the signal strength in the front;
if the third domain address of the node is an empty address, sending a node adding request to a concentrator corresponding to the second domain address according to the second domain address, wherein the node adding request carries the second domain address and the node address of the node;
if the third domain address is not an empty address, but the third domain address is inconsistent with the second domain address, sending a node deletion request to a concentrator corresponding to the third domain address, wherein the node deletion request carries the third domain address and a node address of the node;
wherein the first preset condition comprises: the third domain address of the node is a null address; alternatively, the first and second electrodes may be,
and if the third domain address of the node is not an empty address, respectively counting a first number, which is the same as the third domain address of the node, in the first domain address carried in the meter reading command message and a second number, which is different from the third domain address of the node, in the first domain address carried in the meter reading command message, wherein the second number is greater than the first number, and the first number and the second number meet a second preset condition.
2. The method according to claim 1, wherein the second preset condition comprises: the second number is greater than or equal to three times the first number.
3. The method according to claim 1, wherein after obtaining the second domain address and the signal strength of each first reply packet received by the node, before obtaining the second domain address of the first reply packet corresponding to the previous signal strength, further comprising:
recording the second domain address and the signal intensity of each first response message received by the node in a neighbor domain address queue;
the obtaining of the second domain address of the first reply packet corresponding to the previous signal strength includes:
and acquiring second domain addresses of the first response messages corresponding to a plurality of signal strengths with the front size from the neighbor domain address queue.
4. The method according to claim 3, wherein before sending a node join request to the concentrator corresponding to the second domain address according to the second domain address if the third domain address of the node is an empty address, or before sending a node delete request to the concentrator corresponding to the third domain address if the third domain address is not an empty address and the third domain address is inconsistent with the second domain address, the method further comprises:
and determining that the second domain addresses of the first response messages corresponding to the signal strengths with the front sizes are consistent.
5. The method of claim 4, further comprising:
if the second domain addresses of the first response messages corresponding to the signal strengths at the front of the first domain addresses are inconsistent, emptying the neighbor domain address queue; alternatively, the first and second electrodes may be,
and if the third domain address is not an empty address and the third domain address is consistent with the second domain address, emptying the neighbor domain address queue.
6. The method according to claim 1, wherein, while sending the node deletion request to the concentrator corresponding to the third domain address, the method further comprises:
and sending a node joining request to the concentrator corresponding to the second domain address.
7. The method according to claim 1 or 6, wherein after sending the node join request to the concentrator corresponding to the second domain address, further comprising:
and if a second response message returned by the concentrator for the node joining request is received, modifying the third domain address into the second domain address.
8. An apparatus for identifying a home zone of a node, wherein the same zone comprises a concentrator and a plurality of electric meter nodes, the node is in direct or indirect communication with a power carrier of the concentrator to form a topological network, a first domain address of the concentrator of each zone is unique, the apparatus is applied to each node, and the apparatus comprises:
the monitoring module is used for monitoring and receiving meter reading command messages sent by the concentrator and/or forwarded by other nodes, wherein the meter reading command messages are generated by the concentrator and carry the first domain address and the destination address of the node to be meter read;
the broadcast module is used for sending a broadcast query command to a neighbor node of the node when a first preset condition is met;
a first receiving module, configured to receive a first response packet returned by the neighboring node in response to the broadcast query command, where the first response packet carries a second domain address of a station area to which the neighboring node belongs;
a first obtaining module, configured to obtain the second domain address and a signal strength of each first response packet received by the node;
the second acquisition module is used for acquiring a second domain address of the first response message corresponding to the signal strength of the previous size;
a request module, configured to send a node join request to a concentrator corresponding to a second domain address according to the second domain address when a third domain address of the node is an empty address, where the node join request carries the second domain address and a node address of the node; when the third domain address is not an empty address but is inconsistent with the second domain address, sending a node deletion request to a concentrator corresponding to the third domain address, wherein the node deletion request carries the third domain address and a node address of the node;
wherein the first preset condition comprises: the third domain address of the node is a null address; alternatively, the first and second electrodes may be,
and if the third domain address of the node is not an empty address, respectively counting a first number, which is the same as the third domain address of the node, in the first domain address carried in the meter reading command message and a second number, which is different from the third domain address of the node, in the first domain address carried in the meter reading command message, wherein the second number is greater than the first number, and the first number and the second number meet a second preset condition.
CN202010557137.2A 2020-06-18 2020-06-18 Method and device for identifying node home station area Active CN111815935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010557137.2A CN111815935B (en) 2020-06-18 2020-06-18 Method and device for identifying node home station area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010557137.2A CN111815935B (en) 2020-06-18 2020-06-18 Method and device for identifying node home station area

Publications (2)

Publication Number Publication Date
CN111815935A CN111815935A (en) 2020-10-23
CN111815935B true CN111815935B (en) 2022-03-29

Family

ID=72844771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010557137.2A Active CN111815935B (en) 2020-06-18 2020-06-18 Method and device for identifying node home station area

Country Status (1)

Country Link
CN (1) CN111815935B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114023059A (en) * 2021-06-30 2022-02-08 深圳讯智物联科技有限公司 Method and device for identifying node home station area
CN114945202B (en) * 2022-07-20 2022-10-25 石家庄科林电气股份有限公司 Channel switching method and device for low-voltage area micropower wireless communication network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051741A (en) * 2012-12-18 2013-04-17 东南大学 Internetworking method for wireless intelligent meter reading system
CN103310623A (en) * 2013-04-01 2013-09-18 北京福星晓程电子科技股份有限公司 Method and device for determining region of ammeter by detecting signal intensity
CN106327847A (en) * 2016-08-19 2017-01-11 深圳市慧联通信技术有限公司 Electricity usage information centralized reading method and system
CN106910329A (en) * 2017-03-20 2017-06-30 深圳市慧联通信技术有限公司 Meter register method and its system
CN107889185A (en) * 2017-11-29 2018-04-06 长沙师范学院 A kind of network-building method of ammeter wireless data acquisition system
CN107959959A (en) * 2017-11-29 2018-04-24 长沙师范学院 A kind of multilevel network method of ammeter data acquisition

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4258698B2 (en) * 2001-03-21 2009-04-30 日本電気株式会社 Broadcast system, broadcast method thereof, and broadcast program
EP1777908A1 (en) * 2005-10-21 2007-04-25 Matsushita Electric Industrial Co., Ltd. Dynamic discovery of home agent with specific binding

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051741A (en) * 2012-12-18 2013-04-17 东南大学 Internetworking method for wireless intelligent meter reading system
CN103310623A (en) * 2013-04-01 2013-09-18 北京福星晓程电子科技股份有限公司 Method and device for determining region of ammeter by detecting signal intensity
CN106327847A (en) * 2016-08-19 2017-01-11 深圳市慧联通信技术有限公司 Electricity usage information centralized reading method and system
CN106910329A (en) * 2017-03-20 2017-06-30 深圳市慧联通信技术有限公司 Meter register method and its system
CN107889185A (en) * 2017-11-29 2018-04-06 长沙师范学院 A kind of network-building method of ammeter wireless data acquisition system
CN107959959A (en) * 2017-11-29 2018-04-24 长沙师范学院 A kind of multilevel network method of ammeter data acquisition

Also Published As

Publication number Publication date
CN111815935A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
US8073384B2 (en) Optimization of redundancy and throughput in an automated meter data collection system using a wireless network
CA2491400C (en) Dynamic self-configuring metering network
RU2468524C2 (en) Method and system designed to provide network protocols and routing protocols for utility services
AU2009201398B2 (en) Power outage management and power support restoration for devices in a wireless network
CN105788206A (en) Electricity information acquisition system based on dual-mode communication and method thereof
US20110188452A1 (en) Mesh infrastructure utilizing alternative communication paths
CN111815935B (en) Method and device for identifying node home station area
CA2166113A1 (en) Mains signalling systems
CN106357305A (en) Self-networking method, device and system of tree structure network
US20170353926A1 (en) Sleeping and wake-up methods and apparatuses of master-slave network, and power saving system of master-slave network
JP4765973B2 (en) Communication route construction method and communication terminal
US8619609B2 (en) Mesh infrastructure utilizing priority repeaters and multiple transceivers
US20140161114A1 (en) Phase detection in mesh network smart grid system
CN111031491B (en) Method and system for reporting power failure in real time
CN100442706C (en) Method for making maintaining node labels to match with media visiting controlled addresses
MX2013015281A (en) Techniques for clock recovery following a power outage.
CN114023059A (en) Method and device for identifying node home station area
CN112803970B (en) System and method for monitoring power line broadband carrier communication system of whole network
US20130021956A1 (en) Synchronized comunication for mesh connected transceiver
CN103249165A (en) Wireless communication system, wireless communication control method, and wireless communication device
JP5372303B1 (en) Wireless terminal device, wireless mesh network, and communication method
CN110336589B (en) Power line carrier communication method
Liton et al. Proficient Networking Protocol for BPLC Network Built on Adaptive Multicast, PNP-BPLC
CN116033365B (en) Communication method, device, electronic equipment and storage medium
CN113709842B (en) Method, system, controller and power distribution field area network for data transmission scheduling

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