CN117202261A - Wireless networking method and terminal of electric power Internet of things - Google Patents

Wireless networking method and terminal of electric power Internet of things Download PDF

Info

Publication number
CN117202261A
CN117202261A CN202311235370.9A CN202311235370A CN117202261A CN 117202261 A CN117202261 A CN 117202261A CN 202311235370 A CN202311235370 A CN 202311235370A CN 117202261 A CN117202261 A CN 117202261A
Authority
CN
China
Prior art keywords
node
wireless terminal
terminal node
time synchronization
routing table
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.)
Pending
Application number
CN202311235370.9A
Other languages
Chinese (zh)
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.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd
Wuhan NARI Ltd
NARI Group Corp
State Grid Hebei Energy Technology Service Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd
Wuhan NARI Ltd
NARI Group Corp
State Grid Hebei Energy Technology Service 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 State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd, Wuhan NARI Ltd, NARI Group Corp, State Grid Hebei Energy Technology Service Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202311235370.9A priority Critical patent/CN117202261A/en
Publication of CN117202261A publication Critical patent/CN117202261A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • H04W28/0958Management thereof based on metrics or performance parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a wireless networking method and a terminal of an electric power Internet of things. The method comprises the following steps: the current edge data gateway receives a network access application sent by a target wireless terminal node, and if the signal intensity of the current edge data gateway is within a preset threshold range, response information is sent to the target wireless terminal node; receiving a joining route application sent by a target wireless terminal node; if the current route load of the wireless terminal node is within a preset range, sending the information of agreeing to join the route to the target wireless terminal node; adding the target wireless terminal node into a routing table of the target wireless terminal node according to the confirmation adding application information sent by the target wireless terminal node; and dynamically updating the routing table according to the information of each wireless terminal node in the routing table, and uploading the data sent by the target wireless terminal node according to the dynamically updated routing table. The application can enable the target wireless terminal node to be quickly accessed into the edge data gateway according to the response information, thereby realizing the normal reporting process of the sensing data and improving the data transmission quality.

Description

Wireless networking method and terminal of electric power Internet of things
The application discloses a divisional application of an application patent application with the application number of 202111089389.8, the application date of 2021, 9 months and 16 days and the application name of a wireless networking method and a terminal of electric power Internet of things.
Technical Field
The invention relates to the technical field of communication networking, in particular to a wireless networking method and a terminal of an electric power Internet of things.
Background
With the expansion of power grid business, the development of new technology and the development of power grid intellectualization, a single network communication technology cannot meet the communication requirements and coverage application requirements of power grid transmission and distribution transformers, and different networks are required to mutually complement and cooperate to provide the communication requirements of the transmission and distribution power grid, so that convenience is brought to acquiring the technical parameters of equipment.
The communication network of the current power grid is a large heterogeneous network formed by adopting a plurality of different network standards, wherein the power backbone communication network mainly adopts optical fiber communication, and a wireless communication mode is adopted under the condition of no wiring.
In the communication network of the power grid, the wireless communication mode monitors the working states and the running environments of various devices in the power grid mainly through various wireless sensor networks. At present, regarding networking routing of a wireless sensor network, there is no unified quality standard, and the networking performance is mainly dependent on whether the actual application situation is satisfied. For the wireless sensor network facing the intelligent power grid service, because the data of the power communication network has the characteristics of periodicity and burstiness, when the wireless terminal nodes select the target routing node, the conventional networking method easily causes that a plurality of wireless terminal nodes simultaneously select the routing node with the shortest hop count and the busiest hop count, thereby causing the problem of unbalanced load of the routing node, and possibly affecting the quality of data transmission when serious.
Disclosure of Invention
The embodiment of the invention provides a wireless networking method and a terminal of an electric power Internet of things, which are used for solving the problems that the networking method of the existing wireless sensor network is easy to cause unbalanced load and influence the data transmission quality for data with periodicity and burstiness characteristics.
In a first aspect, an embodiment of the present invention provides a wireless networking method of an electric power internet of things, applied to a wireless terminal node, including:
sending a network access application to an edge data gateway;
receiving response information of each surrounding edge data gateway to the network access application;
and screening all the edge data gateways at least twice according to all the received response information, determining one edge data gateway passing the screening as a target routing node, and sending a joining routing application to the target routing node.
In one possible implementation manner, the response information includes a first hop count, a current forwarding route count, first energy, signal strength and signal-to-noise ratio of the corresponding edge data gateway; and screening all edge data gateways at least twice according to all received response information, and determining one edge data gateway passing the screening as a target routing node, wherein the method comprises the following steps:
According to the number of the current forwarding routes contained in all received response information, M response information with the minimum number of the current forwarding routes is determined to be first target response information, and M is a positive integer greater than 1;
according to the first hop count included in the first target response information, N response information with the least first hop count is determined to be second target response information; and/or determining response information, of which the corresponding first energy, signal strength and signal to noise ratio are all greater than or equal to the corresponding preset threshold, in the corresponding first target response information or the corresponding second target response information as third target response information; n is a positive integer greater than 1;
determining the second target response information or the third target response information as target response information, or randomly selecting one from the second target response information or the third target response information as target response information;
and determining the edge data gateway corresponding to the target response information as a target routing node.
In one possible implementation manner, after sending the joining route application to the target routing node, the method further includes:
detecting whether receiving the joining approval routing information sent by the target routing node;
If the joining agreement routing information is received, sending joining confirmation application information to the target routing node;
and if the agreement joining routing information is not received, re-executing the step of receiving the response information of each surrounding edge data gateway to the network access application and the subsequent steps.
In one possible implementation manner, after sending the confirmation joining application information to the target routing node, the method further includes:
receiving time synchronization information sent by the target routing node;
judging whether the current wireless terminal node completes time synchronization according to the time synchronization information;
if the current wireless terminal node does not complete the time synchronization, judging whether the number of times of not completing the time synchronization reaches a preset number of times;
and if the number of times of incomplete time synchronization reaches the preset number of times, re-executing the step of sending the network access application and the subsequent steps.
In one possible implementation, the process of performing time synchronization includes:
receiving a first time synchronization data packet sent by a first node, and recording the current receiving time as a first receiving time; the first time synchronization data packet comprises a hierarchy of the first node and a first sending time when the first node sends the first time synchronization data packet; the first node is any node in a wireless sensor network formed by the wireless terminal node, the edge data gateway and other nodes on the upper layer of the edge data gateway;
Judging whether the first node is an upper node of a current wireless terminal node according to the hierarchy of the first node;
if the first node is an upper node of the current wireless terminal node, analyzing the first time synchronization data packet, and recording the first sending time according to an analysis result;
transmitting a first request time synchronization packet to the first node; the first request time synchronization data packet comprises a second sending moment for sending the first request time synchronization data packet;
receiving a first response data packet of the first node to the first request time synchronization data packet, wherein the first response data packet comprises a second receiving moment when the first node receives the first request time synchronization data packet;
and carrying out time synchronization on the current wireless terminal node according to the first receiving time, the first transmitting time, the second receiving time and the second transmitting time.
In a second aspect, an embodiment of the present invention provides a wireless networking method for an electric power internet of things, which is applied to an edge data gateway, and includes:
receiving a network access application sent by a target wireless terminal node, and detecting whether the signal intensity of a current edge data gateway is within a preset threshold range;
If the signal intensity of the current edge data gateway is within a preset threshold range, sending response information to the target wireless terminal node;
after sending the response information to the target wireless terminal node, the method further comprises:
receiving a joining route application sent by the target wireless terminal node;
if the current route load of the current edge data gateway is within a preset range, sending the information of agreeing to join the route to the target wireless terminal node;
receiving confirmation joining application information sent by a target wireless terminal node;
adding the target wireless terminal node into a routing table of the current edge data gateway according to the confirmed adding application information;
dynamically updating the routing table according to the information of each wireless terminal node in the routing table to obtain a dynamically updated routing table;
and uploading the data sent by the target wireless terminal node according to the dynamically updated routing table.
In one possible implementation manner, the dynamically updating the routing table according to the information of each wireless terminal node in the routing table to obtain a dynamically updated routing table includes:
acquiring information of each wireless terminal node in the routing table, wherein the information comprises a second hop count, second energy and a buffer size;
Calculating an evaluation value of each wireless terminal node according to the second hop count, the second energy, the buffer size and the preset proportionality coefficient corresponding to each wireless terminal node;
deleting the wireless terminal nodes corresponding to the K evaluation values with the minimum values from the routing table, taking the deleted routing table as a dynamically updated routing table, and sending a re-networking notification to all the deleted wireless terminal nodes, wherein K is a positive integer.
In one possible implementation manner, the wireless networking method of the electric power internet of things further includes:
receiving a second time synchronization data packet sent by a second node, and recording the current receiving time as a third receiving time; the second time synchronization data packet comprises a hierarchy of the second node and a third sending time when the second node sends the second time synchronization data packet; the second node is any node in a wireless sensor network formed by the wireless terminal node, the edge data gateway and other nodes on the upper layer of the edge data gateway;
judging whether the second node is an upper node of the current edge data gateway according to the hierarchy of the second node;
if the second node is an upper node of the current edge data gateway, analyzing the second time synchronization data packet, and recording the third sending moment according to an analysis result;
Transmitting a second request time synchronization data packet to the second node; the second request time synchronization data packet comprises a fourth sending moment for sending the second request time synchronization data packet;
receiving a second response data packet of the second request time synchronization data packet from the second node, wherein the second response data packet comprises a fourth receiving moment when the second request time synchronization data packet is received by the second node;
and carrying out time synchronization on the current edge data gateway according to the third receiving time, the third sending time, the fourth receiving time and the fourth sending time.
In a third aspect, embodiments of the present invention provide a terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method as described above in the first aspect or any one of the possible implementations of the first aspect when the computer program is executed, or the processor implementing the steps of the method as described above in the second aspect or any one of the possible implementations of the second aspect when the computer program is executed.
The embodiment of the invention provides a wireless networking method of an electric power Internet of things applied to a wireless terminal node and the wireless terminal node, which are characterized in that firstly, a network access application sent by a target wireless terminal node is received, and whether the signal intensity of a current edge data gateway is within a preset threshold value range is detected; if the signal intensity of the current edge data gateway is within a preset threshold range, sending response information to the target wireless terminal node; then after sending response information to the target wireless terminal node, receiving a joining route application sent by the target wireless terminal node; if the current route load of the current edge data gateway is within a preset range, sending the joining-agreement route information to the target wireless terminal node; receiving confirmation joining application information sent by a target wireless terminal node; adding the target wireless terminal node into a routing table of the current edge data gateway according to the confirmed adding application information; dynamically updating the routing table according to the information of each wireless terminal node in the routing table to obtain a dynamically updated routing table; and uploading the data sent by the target wireless terminal node according to the dynamically updated routing table. And the target wireless terminal node can rapidly select the nearest edge data gateway which considers the load balancing according to the response information to automatically access the existing wireless sensing network, and update the routing table of the target wireless terminal node after receiving the confirmation provided application information sent by the target wireless terminal node through the edge data gateway, so that the normal sensing data reporting process is realized, the possibility of unbalanced load of the routing node caused by the existing wireless networking mode is reduced for the data with the characteristics of periodicity and burstiness in the power grid, the data transmission quality is improved, and meanwhile, the flexibility of the networking mode of the wireless sensor network is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an implementation of a wireless networking method of an electric power internet of things provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of a time synchronization process according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a wireless sensor network for smart grid services according to an embodiment of the present invention;
fig. 4 is a flowchart of an implementation of a wireless networking method of an electric power internet of things according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a wireless networking device of the electric power internet of things according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a wireless networking device of the electric power internet of things according to another embodiment of the present invention;
fig. 7 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the following description will be made by way of specific embodiments with reference to the accompanying drawings.
The power transmission and distribution business of the power grid relates to a plurality of scenes, has wide range and various equipment types, and in order to realize intelligent construction of the power grid, a single network communication technology cannot meet the communication requirements and coverage application requirements of power transmission and distribution transformers of the power grid, and different networks are required to mutually complement and cooperate to provide the communication requirements of the power transmission and distribution transformers, and provide convenience for obtaining the technical parameters of various equipment.
The communication network of the current power grid is a large heterogeneous network formed by adopting a plurality of different network standards, the power backbone communication network is mainly based on optical fiber communication, a wireless communication mode such as a 230MHz power private network, loRa, NB-IoT, zigBee, PFID, RF433, GPRS/TD-LTE, 2G/4G/5G and the like is also matched under the condition of no wiring, and meanwhile, some communication networks use peripheral interfaces, such as a local discharge sensor adopts a USB interface, an infrared imaging temperature sensor, a noise sensor, a power frequency power plant sensor and the like adopts an RS-485/RS-232 interface, a temperature and humidity sensor, an illumination sensor and the like adopts an RS232 interface, and an infrared camera adopts an Ethernet interface. The wireless communication mode mainly comprises a wireless sensor network formed by various wireless sensors, and monitors the working states and the running environments of various devices in a power grid.
Currently, there is no unified quality standard for wireless sensor network routing, and the quality of networking performance mainly depends on whether the wireless sensor network routing meets the practical application situation. For the wireless sensor network facing the intelligent power grid service, on one hand, because the data of the power communication network has the characteristics of periodicity and burstiness, when the wireless terminal node selects a target routing node, the existing networking method easily causes that a plurality of wireless terminal nodes simultaneously select the routing node with the shortest hop count and the busiest hop count, thereby causing the problem of unbalanced load of the routing node, and possibly affecting the quality of data transmission when serious. In addition, the power of the routing node is consumed more quickly. Moreover, due to the special requirements of the industry, the confidentiality requirement of the data is high, and when different systems use the same or similar channels for data transmission, the problem of mutual interference can also exist. On the other hand, with the expansion of power grid business, the development of new technology and the construction of power grid intellectualization, the number of wireless sensor terminals required is continuously increased, and meanwhile, the bandwidth requirement is also continuously increased. However, the traditional wireless sensor has poor expansibility, is not suitable for large-scale networking, and the newly added wireless sensor terminal at present generally needs to be manually configured and then is accessed into the wireless sensor network, so that the wireless sensor terminal is long in time consumption and inflexible.
Therefore, the invention provides a wireless networking method of the electric power Internet of things applied to wireless terminal nodes, so as to solve the problems.
Referring to fig. 1, a flowchart of an implementation of a wireless networking method of an electric power internet of things provided by an embodiment of the present invention is shown, where the method is applied to a wireless terminal node, and is described in detail as follows:
in step 101, an access request is sent to an edge data gateway.
The wireless terminal node may be a wireless sensor terminal for monitoring various devices or environments in a power grid, for example, in intelligent construction of a transformer substation, in order to ensure long-term stable operation, the wireless sensor terminal monitors state data of working states of the devices, such as voltage, current, phase angle and the like of a power state; or a wireless sensor terminal for monitoring the operation environment such as meteorological environment monitoring, circuit board ice, wire breeze vibration, wire temperature and sag, power transmission line windage yaw, tower inclination, image monitoring, insulator pollution and the like.
When a certain wireless terminal node (namely a target wireless terminal node) needs to join the wireless sensor network, firstly, a network access application needs to be sent out, and information such as an ID number, a device type, a data length and the like of corresponding devices of the wireless terminal node is broadcasted and sent out.
In step 102, response information of each surrounding edge data gateway to the network access application is received.
In this embodiment, the edge data gateway that receives the network access request around the wireless terminal node may combine information such as ID number, device type, data type, and data length of the device corresponding to the target wireless terminal node, determine the signal strength of the edge data gateway according to the signal strength of the edge data gateway, and if the signal strength is within the preset threshold range, send response information to the wireless terminal node.
In step 103, screening is performed on all edge data gateways at least twice according to all received response information, one edge data gateway passing through screening is determined as a target routing node, and a joining routing application is sent to the target routing node.
The reply information sent by each edge data gateway may include a first hop count, a current forwarding route count, a first energy, a signal strength, a signal-to-noise ratio, and the like of the corresponding edge data gateway.
Optionally, screening all edge data gateways at least twice according to all received response information, and determining one edge data gateway passing the screening as the target routing node may include:
According to the number of the current forwarding routes contained in all received response information, M response information with the minimum number of the current forwarding routes is determined to be first target response information; according to the first hop count included in the first target response information, N response information with the least first hop count is determined to be second target response information; determining response information, of which the corresponding first energy, signal strength and signal to noise ratio are all greater than or equal to corresponding preset thresholds, in the second target response information as third target response information; determining the third target response information as target response information, or randomly selecting one from the third target response information as target response information; and determining the edge data gateway corresponding to the target response information as a target routing node.
Wherein M and N are positive integers greater than 1.
Or, screening all edge data gateways at least twice according to all received response information, and determining one edge data gateway passing the screening as a target routing node may include:
according to the number of the current forwarding routes contained in all received response information, M response information with the minimum number of the current forwarding routes is determined to be first target response information; according to the first hop count included in the first target response information, N response information with the least first hop count is determined to be second target response information; determining the second target response information as target response information, or randomly selecting one from the second target response information as target response information; and determining the edge data gateway corresponding to the target response information as a target routing node.
Or, screening all edge data gateways at least twice according to all received response information, and determining one edge data gateway passing the screening as a target routing node may include:
according to the number of the current forwarding routes contained in all received response information, M response information with the minimum number of the current forwarding routes is determined to be first target response information; determining response information, of which the corresponding first energy, signal strength and signal to noise ratio are all greater than or equal to corresponding preset thresholds, in the first target response information as third target response information; determining the third target response information as target response information, or randomly selecting one from the third target response information as target response information; and determining the edge data gateway corresponding to the target response information as a target routing node.
For example, M and N may be determined when the wireless terminal node is initialized, for example, the initial default M is 10, and N is 5, and then 10 pieces of response information with the minimum current forwarding route number may be determined as first target response information according to the current forwarding route number included in all received response information; according to the first hop count included in the first target response information, 5 response information with the least first hop count is determined to be second target response information; determining response information, of which the corresponding first energy, signal strength and signal to noise ratio are all greater than or equal to corresponding preset thresholds, in the second target response information as third target response information; determining the third target response information as target response information, or randomly selecting one from the third target response information as target response information; and determining the edge data gateway corresponding to the target response information as a target routing node.
According to the embodiment of the invention, on one hand, by arranging the edge data gateway, when a new wireless terminal node needs to be accessed to the wireless sensor network, the existing wireless sensor network can be automatically accessed at any time through the network access application and response information between the wireless terminal node and the edge data gateway, so that the time consumption of accessing the wireless terminal node to the existing wireless sensor network is reduced, and the networking flexibility of the wireless sensor network is improved. On the other hand, the wireless terminal node performs screening on all the edge data gateways at least twice according to all the received response information, determines one edge data gateway passing the screening as a target routing node, and sends a joining routing application to the target routing node. The method can comprehensively evaluate the information such as the hop count, the current forwarding route number, the energy, the signal strength, the signal to noise ratio and the like of the edge data gateway, so that the wireless terminal node can be quickly accessed to the nearest edge data gateway after the load balancing is considered. The method and the device avoid the problems that when the target routing node is selected only through the hop count, for the data with the characteristics of periodicity and burstiness, a plurality of wireless terminal nodes can easily select the routing node with the shortest hop count and the busiest hop count at the same time, so that the load of the routing node is unbalanced, the data transmission quality is affected, the energy consumption of the routing node is too fast, and mutual interference can exist during data transmission.
Optionally, after sending the joining route application to the target routing node, the method may further include:
detecting whether receiving the joining approval routing information sent by the target routing node; if receiving the joining approval routing information, sending joining confirmation application information to the target routing node; and if the agreement to join the routing information is not received, re-executing the step of receiving the response information of each surrounding edge data gateway to the network access application and the subsequent steps.
In this embodiment, after sending a request for joining a route to a target routing node, a target wireless terminal node listens to the information of the target routing node, if it is detected that the request for joining the route is agreed, sends request for joining confirmation to the target routing node, otherwise, repeats attempting to join the routes of other edge data gateways.
Optionally, after sending the confirmation joining application information to the target routing node, the method may further include:
receiving time synchronization information sent by a target routing node; judging whether the current wireless terminal node completes time synchronization according to the time synchronization information; if the current wireless terminal node does not complete the time synchronization, judging whether the number of times of not completing the time synchronization reaches a preset number of times; and if the number of times of incomplete time synchronization reaches the preset number of times, re-executing the step of sending the network access application and the subsequent steps.
In this embodiment, since the main function of the wireless terminal node is to periodically upload the sensing device data, this requires time synchronization between the wireless terminal node and an upper node (e.g. a target routing node), and if time synchronization is not completed multiple times, it may be determined that the current wireless terminal node is disconnected. Meanwhile, the upper node can also remind the staff that a certain node is likely to have an accident of network disconnection by identifying the node with the number of times of not completing time synchronization reaching the preset number of times, so that the node can be processed in time.
Alternatively, the process of performing time synchronization may include:
receiving a first time synchronization data packet sent by a first node, and recording the current receiving time as a first receiving time; judging whether the first node is an upper node of the current wireless terminal node according to the hierarchy of the first node; if the first node is an upper node of the current wireless terminal node, analyzing the first time synchronization data packet, and recording a first sending moment according to an analysis result; transmitting a first request time synchronization packet to a first node; the first request time synchronization data packet comprises a second sending moment for sending the first request time synchronization data packet; receiving a first response data packet of the first node to the first request time synchronization data packet, wherein the first response data packet comprises a second receiving moment when the first node receives the first request time synchronization data packet; and carrying out time synchronization on the current wireless terminal node according to the first receiving time, the first transmitting time, the second receiving time and the second transmitting time.
The first time synchronization data packet comprises a hierarchy of the first node and a first sending time of the first time synchronization data packet; the first node may be any node in a wireless sensor network formed by a wireless terminal node, an edge data gateway and other nodes on an upper layer of the edge data gateway.
With reference to fig. 2 and fig. 3, a wireless sensor network of a smart grid service formed by a wireless terminal node and an edge data gateway can be divided into 4 layers, the wireless terminal node is used as a data acquisition layer of the network and is connected with various sensing data, mainly all intelligent sensing equipment data and historical data of the access grid service; the edge data gateway is used as an edge data fusion layer of the network, realizes protocol analysis of edge sensing data, and packages and transmits the edge sensing data upwards according to a specified format; the convergence gateway is used as a data transmission layer of the network and mainly used for gathering data of the edge sensing data gateway, and sending the same kind of sensing data to a data service layer for further service analysis after analysis; the data service layer is used as a data center of the electric power Internet of things and mainly comprises a historical data server, a GPS server, a streaming media server, a printing server and the like, and mainly realizes real-time state detection of field devices, historical data query service, time synchronization service of an electric power backbone network and a monitoring network and the like. The wireless sensor network can adopt layered time synchronization, and the time synchronization is carried out layer by layer and according to a routing table.
Referring to fig. 2, the device of the data service layer performs time synchronization on the device of the data transmission layer, and the device of the data transmission layer performs time synchronization on the device of the edge data fusion layer, and the device of the edge data fusion layer performs time synchronization on the device of the data acquisition layer, which can refer to the following process.
The upper layer device (such as edge data gateway) sends a time synchronization data packet (namely a first time synchronization data packet) Sync in a timing group, and the hierarchy, the serial number and the sending time t 1 The (i.e. first transmission time) information is added to the Sync packet.
Device for receiving Sync data packets (e.g. wireless terminal node), first records the time t of reception 2 (i.e., the first receiving time), then inquiring the respective hierarchy, comparing with the hierarchy information of the Sync data packet, if the Sync data packet is a data packet sent from the device of the last hierarchy of the affiliated hierarchy, parsing the Sync data packet, extracting and recording the Sync data packetTransmission time t 1 Then, the device ID, hierarchy, and transmission time t are set 3 Packaging and transmitting a request time synchronization packet (namely, a first request time synchronization packet) to a device (such as an edge data gateway) for transmitting the data packet (namely, a second transmission moment); if the Sync packet is not a packet sent from a device of the previous hierarchy of the hierarchy to which it belongs, the reception time t is deleted 2 And discarding the Sync data packet.
Device for receiving Sync-req packet (such as edge data gateway), first records the time t of reception 4 (i.e., the second receiving time), then judging whether the Sync-req packet belongs to its own response packet, if the Sync-req packet is a packet sent from the device of the next hierarchy of the hierarchy to which it belongs, parsing the Sync-req packet, extracting and recording the sending time t 3 (i.e., the second transmission time), then the device ID, hierarchy, and reception time t 4 Packaging and sending a request time synchronization packet (namely a first response data packet) Sync-ans to a device (such as a wireless terminal node) for sending the data packet; if the Sync-req packet is not its own response packet, the reception time t is deleted 4 And discarding the Sync-req packet.
In the above process, it is assumed that the delay time of the data packet from the transmitting device to the receiving device is t delay The clock offset of the next-level device is t offset ThenThe next level device may calculate t offset =1/2(t 1 -t 2 -t 3 + 4 ) Then the next level device may be based on t offset And correcting the clock of the self to finish time synchronization.
The time synchronization method of the embodiment of the invention is simple and easy to realize, can reduce the expenditure in the calculation process, simultaneously avoids repeated time synchronization operation of the wireless sensor node in the time synchronization process, can reduce the energy consumption of the wireless terminal node and can rapidly complete the time synchronization operation.
Fig. 4 shows a flowchart of an implementation of a wireless networking method of an electric power internet of things according to another embodiment of the present invention, where the method is applied to an edge data gateway, and is described in detail as follows:
in step 201, a network access request sent by a target wireless terminal node is received, and it is detected whether the signal strength of the current edge data gateway is within a preset threshold range.
In step 202, if the signal strength of the current edge data gateway is within the preset threshold range, response information is sent to the target wireless terminal node.
In this embodiment, after receiving a network access request sent by a target wireless terminal node, the edge data gateway detects a signal strength value of itself, and the signal strength meets a certain threshold range, so as to respond to the target wireless terminal node.
Optionally, after sending the response information to the target wireless terminal node, the method may further include:
receiving a joining route application sent by a target wireless terminal node; and if the current route load of the current edge data gateway is within the preset range, sending the joining-agreement route information to the target wireless terminal node.
In this embodiment, after receiving the request for joining the route, the edge data gateway determines according to the own route load condition, and if there is still an available bandwidth and idle time, the edge data gateway grants the request for joining, sends the request for joining the route to the target wireless terminal node, and otherwise denies the request for joining the route.
Optionally, after sending the response information to the target wireless terminal node, the method may further include:
receiving confirmation joining application information sent by a target wireless terminal node; adding the target wireless terminal node into a routing table of the current edge data gateway according to the confirmed adding application information; dynamically updating the routing table according to the information of each wireless terminal node in the routing table to obtain a dynamically updated routing table; and uploading the data sent by the target wireless terminal node according to the dynamically updated routing table.
In this embodiment, after receiving the confirmation joining application information sent by the target wireless terminal node, the edge data gateway updates its own routing table, and starts a normal sensing data reporting process. Before reporting the received sensing data, the edge data gateway can firstly compress the sensing data according to a compressed sensing algorithm and then transmit the compressed sensing data upwards.
Optionally, dynamically updating the routing table according to the information of each wireless terminal node in the routing table to obtain the dynamically updated routing table, which may include:
acquiring information of each wireless terminal node in a routing table, wherein the information of each wireless terminal node comprises a second hop count, second energy and buffer size of each wireless terminal node; calculating an evaluation value of each wireless terminal node according to the second hop count, the second energy, the buffer size and the preset proportionality coefficient corresponding to each wireless terminal node; and deleting the wireless terminal nodes corresponding to the K evaluation values with the minimum values from the routing table, taking the deleted routing table as a dynamically updated routing table, and sending a re-networking notification to all the deleted wireless terminal nodes. Wherein K is a positive integer.
When the transmission distance is d, sending lbit data, and the energy consumption of the wireless terminal node is as follows:
receiving lbit data, wherein the energy consumption of the wireless terminal node is E R (l)=lE elec
Wherein ε fs And epsilon mp Representing the proportionality constant inside the free space model and the multipath fading model,d 0 for transmission distance threshold, E elec Is the power consumption of the circuit for receiving or transmitting data.
In view of the proportional relation between the energy consumption and the communication distance, the data forwarding quantity of the wireless terminal nodes is combined, and the paths are reasonably arranged.
For example, the edge data gateway may evaluate each wireless terminal node in the routing table according to the recorded second hop count SKIP, second energy ENG and buffer size CACH of each wireless terminal node, and calculate an evaluation value of each wireless terminal node according to com=k1×skip+k2×eng+k3×cach, where K1, K2, and K3 are preset scaling factors, k1+k2+k3=1, record the wireless terminal node whose evaluation value accounts for 5% of the following wireless terminal node, send a notification to the wireless terminal node that needs to be reconnected to the network, and optimize its own route. And once the wireless terminal node receives the network re-access notice, the network re-access application is re-sent, the sensor data in the period are stored in the cache, and once the networking is completed, the sensor data is re-uploaded.
In this embodiment, when updating and optimizing the routing table of the edge data gateway, the number of wireless terminal nodes to be deleted may be represented by a ratio or may be directly represented by a number, which is not limited in this embodiment.
Optionally, the wireless networking method of the electric power internet of things applied to the edge data gateway may further include: receiving a second time synchronization data packet sent by a second node, and recording the current receiving time as a third receiving time; judging whether the second node is an upper node of the current edge data gateway according to the hierarchy of the second node; if the second node is an upper node of the current edge data gateway, analyzing the second time synchronization data packet, and recording the third sending moment according to the analysis result; transmitting a second request time synchronization data packet to a second node; the second request time synchronization data packet includes a fourth transmission time at which the second request time synchronization data packet is transmitted; receiving a second response data packet of the second request time synchronization data packet from the second node, wherein the second response data packet comprises a fourth receiving moment when the second node receives the second request time synchronization data packet; and carrying out time synchronization on the current edge data gateway according to the third receiving time, the third transmitting time, the fourth receiving time and the fourth transmitting time.
The second time synchronization data packet comprises a hierarchy of the second node and a third sending time when the second node sends the second time synchronization data packet; the second node may be any node in the wireless sensor network formed by the wireless terminal node, the edge data gateway and other nodes on the upper layer of the edge data gateway.
Referring to fig. 2 and fig. 3, in this embodiment, in order to perform time synchronization on an edge data gateway by an upper node aggregation gateway of the edge data gateway, an upper device (such as the aggregation gateway) periodically sends a time synchronization data packet (i.e. a second time synchronization data packet) Sync in a group manner, and the layer, the sequence number and the sending time t are set as follows 1 The (i.e., third transmission time) information is added to the Sync packet.
Device for receiving Sync data packet (such as edge data gateway), first record the receiving time t 2 (i.e., the third receiving time), then inquiring the respective layers, comparing with the layer information of the Sync data packet, if the Sync data packet is the data packet sent by the device of the last layer from the layer to which the Sync data packet belongs, analyzing the Sync data packet, extracting and recording the sending time t of the Sync data packet 1 Then, the device ID, hierarchy, and transmission time t are set 3 Packaging and transmitting a request time synchronization packet (namely a second request time synchronization packet) to a device (such as an aggregation gateway) for transmitting the data packet (namely a fourth transmission moment); if the Sync packet is not a packet sent from a device of the previous hierarchy of the hierarchy to which it belongs, the reception time t is deleted 2 And discarding the Sync data packet.
Device (such as convergence gateway) for receiving Sync-req packet, first records the time t of reception 4 (i.e., the fourth receiving time), then judging whether the Sync-req packet belongs to its own response packet, if the Sync-req packet is a packet sent from the device of the next hierarchy of the hierarchy to which it belongs, parsing the Sync-req packet, extracting and recording the sending time t 3 (i.e., fourth transmission time), then device ID, hierarchy, reception time t 4 Packaging and sending a request time synchronization packet (namely a second response data packet) Sync-ans to a device (such as an edge data gateway) sending the data packet; if the Sync-req packet is not its own reply packet,then the reception time t is deleted 4 And discarding the Sync-req packet.
In the above process, it is assumed that the delay time of the data packet from the transmitting device to the receiving device is t delay The clock offset of the next-level device is t offset ThenThe next level device may calculate t offset =1/2(t 1 -t 2 -t 3 + 4 ) Then the next level device may be based on t offset And correcting the clock of the self to finish time synchronization.
The time synchronization method of the embodiment of the invention is simple and easy to realize, can reduce the expenditure in the calculation process, simultaneously avoids repeated time synchronization operation of the wireless sensor node in the time synchronization process, can reduce the energy consumption of the wireless terminal node and can rapidly complete the time synchronization operation.
According to the embodiment of the invention, the network access application sent by the target wireless terminal node is received through the edge data gateway, and whether the signal intensity of the current edge data gateway is within a preset threshold range is detected; if the signal intensity of the current edge data gateway is in the preset threshold range, the response information comprising the first hop count, the current forwarding route number, the first energy, the signal intensity, the signal to noise ratio and the like of the edge data gateway is sent to the target wireless terminal node, so that the wireless terminal node can be automatically accessed to the existing wireless sensor network according to the response information comprising the first hop count, the current forwarding route number, the first energy, the signal intensity, the signal to noise ratio and the like of the edge data gateway, the nearest edge data gateway which considers the load balancing can be quickly selected to be accessed to the existing wireless sensor network, the possibility of unbalanced load of the route nodes caused by the existing wireless networking mode is reduced for data with the characteristics of periodicity and burstiness in a power grid, the data transmission quality is improved, and meanwhile the flexibility of the networking mode of the wireless sensor network is improved.
Fig. 3 is a schematic diagram of a wireless sensor network for smart grid services provided by an embodiment of the present invention, and an acquisition system of an electric power internet of things may be formed by using the wireless sensor network for smart grid services shown in fig. 3. Which divides the network within the grid into 4 layers.
The wireless terminal node adopting the wireless networking method of the electric power Internet of things can be used as a data acquisition layer of a network to be connected with various sensing data, mainly including all intelligent sensing equipment data and historical data accessed into power grid business. For an intelligent substation wireless sensor network, wireless terminal nodes mainly access all intelligent sensor equipment data and historical data inside the substation.
The edge data gateway adopting the wireless networking method of the electric power Internet of things can be used as an edge data fusion layer of a network, realizes protocol analysis of edge sensing data, and packages and transmits the edge sensing data upwards according to a specified format.
The acquisition system of the electric power Internet of things can also comprise a data transmission layer and a data service layer. The data transmission layer is used as an upper layer of the edge data fusion layer, can be realized through a convergence gateway, mainly collects data of the edge sensing data gateway, and sends the same kind of sensing data to the data service layer for further service analysis after analysis. The data service layer is used as a data center of the electric power Internet of things and mainly comprises a historical data server, a GPS server, a streaming media server, a printing server and the like, and mainly realizes real-time state detection of field devices, historical data query service, time synchronization service of an electric power backbone network and a monitoring network and the like.
According to the acquisition system of the electric power Internet of things, the convergence gateway and the edge data gateway of the electric power Internet of things need to frequently send information, and all devices are defined in an initializing mode according to the hierarchy in a power supply mode. The wireless terminal node joins the electric power internet of things, and firstly needs to send out an internet access application, and information such as an ID number, a device type, a data length and the like of the device is broadcasted and sent out. And the edge data gateway which receives the network access application data packet from the periphery responds to the new wireless terminal node according to the RSSI signal value of the edge data gateway which meets a certain threshold range. The wireless terminal node monitors neighbor nodes, and selects a proper edge data gateway to send a joining route application according to the signal strength, the signal-to-noise ratio, the bandwidth of the network and the current route number of the edge data gateway. The edge data gateway receives the application of joining the route, judges according to the self route load condition, if the available bandwidth and idle time exist, the application of joining is permitted, otherwise, the application of joining the route is refused. The wireless terminal node replies confirmation of the joining request information after hearing the joining permission route information, otherwise, the wireless terminal node repeatedly tries to join the routes of other edge data gateways. After receiving the request information for confirming the joining of the wireless terminal node, the edge data gateway updates the route and starts the normal reporting process of the sensing data. And the sensing data received by the edge data gateway is compressed according to a compressed sensing algorithm and then is transmitted upwards. If the number of times that the wireless terminal node does not receive the time synchronization information of the edge data gateway reaches the preset number of times, basically judging that the wireless terminal node fails to connect with the network, starting a request for joining the network again, and uploading the data during the network disconnection again.
Above-mentioned electric power thing networking's acquisition system has built the multi-protocol intelligent data collector of transformer substation, has constructed interconnection access middleware, can promote the comprehensive perceptibility of transformer substation and the expansibility of transformer substation, has improved the intelligent degree that the transformer was examined.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
The following are device embodiments of the invention, for details not described in detail therein, reference may be made to the corresponding method embodiments described above.
Fig. 5 shows a schematic structural diagram of a wireless networking device of the electric power internet of things according to an embodiment of the present invention, and for convenience of explanation, only the portions related to the embodiment of the present invention are shown, which are described in detail below:
as shown in fig. 5, the wireless networking device of the electric power internet of things includes: a transmitting module 51, a receiving module 52 and a processing module 53.
A first sending module 51, configured to send a network access application to an edge data gateway;
a first receiving module 52, configured to receive response information of each surrounding edge data gateway to the network access application;
The first processing module 53 is configured to perform screening on all edge data gateways at least twice according to all received response information, determine one edge data gateway passing the screening as a target routing node, and send a joining routing application to the target routing node.
According to the embodiment of the invention, the network access application is sent to the edge data gateways, the response information of each surrounding edge data gateway to the network access application is received, screening is carried out on all the edge data gateways at least twice according to all the received response information, one edge data gateway passing through screening is determined to be a target routing node, and the joining routing application is sent to the target routing node. The method can avoid the problems that when the existing networking method selects the target routing node only through the hop count, for the data with the characteristics of periodicity and burstiness, a plurality of wireless terminal nodes can easily select the routing node with the shortest hop count and the busiest hop count at the same time, and further, the load of the routing node is unbalanced, and the data transmission quality is affected.
In one possible implementation manner, the response information includes a first hop count, a current forwarding route count, first energy, signal strength and signal-to-noise ratio of the corresponding edge data gateway; the first processing module 53 may be configured to determine, according to the number of current forwarding routes included in all received response messages, that M response messages with the minimum number of current forwarding routes are first target response messages, where M is a positive integer greater than 1;
According to the first hop count included in the first target response information, N response information with the least first hop count is determined to be second target response information; and/or determining response information, of which the corresponding first energy, signal strength and signal to noise ratio are all greater than or equal to the corresponding preset threshold, in the corresponding first target response information or the corresponding second target response information as third target response information; n is a positive integer greater than 1;
determining the second target response information or the third target response information as target response information, or randomly selecting one from the second target response information or the third target response information as target response information;
and determining the edge data gateway corresponding to the target response information as a target routing node.
In one possible implementation manner, the wireless networking device of the electric power internet of things may be further configured to detect whether receiving the joining approval routing information sent by the target routing node;
if the joining agreement routing information is received, sending joining confirmation application information to the target routing node;
and if the agreement joining routing information is not received, re-executing the step of receiving the response information of each surrounding edge data gateway to the network access application and the subsequent steps.
In one possible implementation manner, the wireless networking device of the electric power internet of things may also be used for receiving time synchronization information sent by the target routing node;
judging whether the current wireless terminal node completes time synchronization according to the time synchronization information;
if the current wireless terminal node does not complete the time synchronization, judging whether the number of times of not completing the time synchronization reaches a preset number of times;
and if the number of times of incomplete time synchronization reaches the preset number of times, re-executing the step of sending the network access application and the subsequent steps.
In one possible implementation manner, the wireless networking device of the electric power internet of things may be further configured to receive a first time synchronization data packet sent by the first node, and record a current receiving time as the first receiving time; the first time synchronization data packet comprises a hierarchy of the first node and a first sending time when the first node sends the first time synchronization data packet; the first node is any node in a wireless sensor network formed by the wireless terminal node, the edge data gateway and other nodes on the upper layer of the edge data gateway;
judging whether the first node is an upper node of a current wireless terminal node according to the hierarchy of the first node;
If the first node is an upper node of the current wireless terminal node, analyzing the first time synchronization data packet, and recording the first sending time according to an analysis result;
transmitting a first request time synchronization packet to the first node; the first request time synchronization data packet comprises a second sending moment for sending the first request time synchronization data packet;
receiving a first response data packet of the first node to the first request time synchronization data packet, wherein the first response data packet comprises a second receiving moment when the first node receives the first request time synchronization data packet;
and carrying out time synchronization on the current wireless terminal node according to the first receiving time, the first transmitting time, the second receiving time and the second transmitting time.
Fig. 6 is a schematic structural diagram of a wireless networking device of the electric power internet of things according to another embodiment of the present invention, and for convenience of explanation, only the portions related to the embodiment of the present invention are shown, which is described in detail below:
as shown in fig. 6, a wireless networking device of the electric power internet of things includes: a second receiving module 61 and a second transmitting module 62.
The second receiving module 61 is configured to receive a network access application sent by the target wireless terminal node, and detect whether the signal strength of the current edge data gateway is within a preset threshold range;
and the second sending module 62 is configured to send response information to the target wireless terminal node if the signal strength of the current edge data gateway is within a preset threshold range.
In one possible implementation manner, the wireless networking device of the electric power internet of things may also be used to receive a joining route application sent by the target wireless terminal node;
if the current route load of the current edge data gateway is within a preset range, sending the information of agreeing to join the route to the target wireless terminal node;
receiving confirmation joining application information sent by a target wireless terminal node;
adding the target wireless terminal node into a routing table of the current edge data gateway according to the confirmed adding application information;
dynamically updating the routing table according to the information of each wireless terminal node in the routing table to obtain a dynamically updated routing table;
and uploading the data sent by the target wireless terminal node according to the dynamically updated routing table.
In one possible implementation manner, the wireless networking device of the power internet of things may be further configured to obtain information of each wireless terminal node in the routing table, where the information includes a second hop count, a second energy, and a buffer size;
calculating an evaluation value of each wireless terminal node according to the second hop count, the second energy, the buffer size and the preset proportionality coefficient corresponding to each wireless terminal node;
deleting the wireless terminal nodes corresponding to the K evaluation values with the minimum values from the routing table, taking the deleted routing table as a dynamically updated routing table, and sending a re-networking notification to all the deleted wireless terminal nodes, wherein K is a positive integer.
In one possible implementation manner, the wireless networking device of the electric power internet of things may be further configured to receive a second time synchronization data packet sent by the second node, and record the current receiving time as a third receiving time; the second time synchronization data packet comprises a hierarchy of the second node and a third sending time when the second node sends the second time synchronization data packet; the second node is any node in a wireless sensor network formed by the wireless terminal node, the edge data gateway and other nodes on the upper layer of the edge data gateway;
Judging whether the second node is an upper node of the current edge data gateway according to the hierarchy of the second node;
if the second node is an upper node of the current edge data gateway, analyzing the second time synchronization data packet, and recording the third sending moment according to an analysis result;
transmitting a second request time synchronization data packet to the second node; the second request time synchronization data packet comprises a fourth sending moment for sending the second request time synchronization data packet;
receiving a second response data packet of the second request time synchronization data packet from the second node, wherein the second response data packet comprises a fourth receiving moment when the second request time synchronization data packet is received by the second node;
and carrying out time synchronization on the current edge data gateway according to the third receiving time, the third sending time, the fourth receiving time and the fourth sending time.
Fig. 7 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 7, the terminal 7 of this embodiment includes: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70. The steps in the above-mentioned wireless networking method embodiments of the electric power internet of things, such as steps 101 to 103 shown in fig. 1, or steps 201 to 202 shown in fig. 4, are implemented when the processor 70 executes the computer program 72. The processor 70, when executing the computer program 72, performs the functions of the modules of the apparatus embodiments described above, such as the functions of the modules 51 to 53 shown in fig. 5, or the functions of the modules 61 to 62 shown in fig. 6.
By way of example, the computer program 72 may be partitioned into one or more modules/units that are stored in the memory 71 and executed by the processor 70 to complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used for describing the execution of the computer program 72 in the terminal 7. For example, the computer program 72 may be divided into modules 51 to 53 shown in fig. 5 or modules 61 to 62 shown in fig. 6.
The terminal 7 may be a wireless sensor or a processing device such as an edge data gateway. The terminal 7 may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of the terminal 7 and is not limiting of the terminal 7, and may include more or fewer components than shown, or may combine some components, or different components, e.g., the terminal may further include input and output devices, network access devices, buses, etc.
The processor 70 may be a central processing unit (Central Processing Unit, CPU), or may be another general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may be an internal storage unit of the terminal 7, such as a hard disk or a memory of the terminal 7. The memory 71 may be an external storage device of the terminal 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the terminal 7. The memory 71 is used for storing the computer program as well as other programs and data required by the terminal. The memory 71 may also be used for temporarily storing data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal and method may be implemented in other manners. For example, the apparatus/terminal embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the implementation of all or part of the flow of the method of the foregoing embodiment of the present invention may also be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of the wireless networking method embodiment of the foregoing electric power internet of things. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium may include content that is subject to appropriate increases and decreases as required by jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is not included as electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (4)

1. The wireless networking method of the electric power Internet of things is applied to an edge data gateway and is characterized by comprising the following steps of: receiving a network access application sent by a target wireless terminal node, and detecting whether the signal intensity of a current edge data gateway is within a preset threshold range; if the signal intensity of the current edge data gateway is within a preset threshold range, sending response information to the target wireless terminal node; after sending the response information to the target wireless terminal node, the method further comprises: receiving a joining route application sent by the target wireless terminal node; if the current route load of the current edge data gateway is within a preset range, sending the information of agreeing to join the route to the target wireless terminal node; receiving confirmation joining application information sent by a target wireless terminal node; adding the target wireless terminal node into a routing table of the current edge data gateway according to the confirmed adding application information; dynamically updating the routing table according to the information of each wireless terminal node in the routing table to obtain a dynamically updated routing table; and uploading the data sent by the target wireless terminal node according to the dynamically updated routing table.
2. The wireless networking method of the power internet of things according to claim 1, wherein dynamically updating the routing table according to the information of each wireless terminal node in the routing table to obtain the dynamically updated routing table comprises:
acquiring information of each wireless terminal node in the routing table, wherein the information comprises a second hop count, second energy and a buffer size;
calculating an evaluation value of each wireless terminal node according to the second hop count, the second energy, the buffer size and the preset proportionality coefficient corresponding to each wireless terminal node;
deleting the wireless terminal nodes corresponding to the K evaluation values with the minimum values from the routing table, taking the deleted routing table as a dynamically updated routing table, and sending a re-networking notification to all the deleted wireless terminal nodes, wherein K is a positive integer.
3. The wireless networking method of the power internet of things according to claim 1 or 2, further comprising:
receiving a second time synchronization data packet sent by a second node, and recording the current receiving time as a third receiving time; the second time synchronization data packet comprises a hierarchy of the second node and a third sending time when the second node sends the second time synchronization data packet; the second node is any node in a wireless sensor network formed by the wireless terminal node, the edge data gateway and other nodes on the upper layer of the edge data gateway;
Judging whether the second node is an upper node of the current edge data gateway according to the hierarchy of the second node;
if the second node is an upper node of the current edge data gateway, analyzing the second time synchronization data packet, and recording the third sending moment according to an analysis result;
transmitting a second request time synchronization data packet to the second node; the second request time synchronization data packet comprises a fourth sending moment for sending the second request time synchronization data packet;
receiving a second response data packet of the second request time synchronization data packet from the second node, wherein the second response data packet comprises a fourth receiving moment when the second request time synchronization data packet is received by the second node;
and carrying out time synchronization on the current edge data gateway according to the third receiving time, the third sending time, the fourth receiving time and the fourth sending time.
4. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of the preceding claims 1 to 3 when the computer program is executed.
CN202311235370.9A 2021-09-16 2021-09-16 Wireless networking method and terminal of electric power Internet of things Pending CN117202261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311235370.9A CN117202261A (en) 2021-09-16 2021-09-16 Wireless networking method and terminal of electric power Internet of things

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311235370.9A CN117202261A (en) 2021-09-16 2021-09-16 Wireless networking method and terminal of electric power Internet of things
CN202111089389.8A CN113692019B (en) 2021-09-16 2021-09-16 Wireless networking method and terminal of electric power Internet of things

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202111089389.8A Division CN113692019B (en) 2021-09-16 2021-09-16 Wireless networking method and terminal of electric power Internet of things

Publications (1)

Publication Number Publication Date
CN117202261A true CN117202261A (en) 2023-12-08

Family

ID=78586548

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111089389.8A Active CN113692019B (en) 2021-09-16 2021-09-16 Wireless networking method and terminal of electric power Internet of things
CN202311235370.9A Pending CN117202261A (en) 2021-09-16 2021-09-16 Wireless networking method and terminal of electric power Internet of things

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202111089389.8A Active CN113692019B (en) 2021-09-16 2021-09-16 Wireless networking method and terminal of electric power Internet of things

Country Status (1)

Country Link
CN (2) CN113692019B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978243B (en) * 2022-05-16 2022-12-30 北京智芯微电子科技有限公司 Networking method of multimode communication equipment, communication method, system, equipment and chip thereof
CN115277706B (en) * 2022-06-15 2024-04-26 武汉众智鸿图科技有限公司 Dynamic distribution method and system for data collectors of Internet of things
CN116249077B (en) * 2023-02-27 2023-10-20 北京云智软通信息技术有限公司 Method and device for acquiring communication routing state of working group member

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100786575B1 (en) * 2006-07-21 2007-12-18 경희대학교 산학협력단 Low-powered sensor network management method
US7940669B2 (en) * 2007-06-15 2011-05-10 Silver Spring Networks, Inc. Route and link evaluation in wireless mesh communications networks
CN101540714B (en) * 2008-03-21 2012-02-01 华为技术有限公司 Method for establishing network path and transmitting data and network nodes
JP2013055451A (en) * 2011-09-02 2013-03-21 Hitachi Kokusai Electric Inc Radio sensor network system
CN104093180B (en) * 2014-06-10 2017-04-12 西北大学 Wireless sensing network route method based on multi-gateway data transmisison
WO2017034479A1 (en) * 2015-08-21 2017-03-02 Yan Singapore Pte. Ltd. System and method for managing a network
CN106170142A (en) * 2016-06-29 2016-11-30 慧感(上海)物联网科技有限公司 A kind of low-consumption wireless Sensor Network network-building method
CN108834213B (en) * 2018-04-04 2022-04-22 西安电子科技大学 Low-downlink delay communication method and system in Internet of things
CN110336729B (en) * 2019-08-13 2021-08-20 北京百佑科技有限公司 Star network balanced networking method and device and Internet of things equipment
CN111741515B (en) * 2020-06-18 2022-08-09 大唐半导体科技有限公司 Gateway and terminal ad hoc network data transmission method based on LoRa technology
CN111918368A (en) * 2020-06-19 2020-11-10 深圳市有方科技股份有限公司 Internet of things wireless communication networking transmission method and device and computer equipment

Also Published As

Publication number Publication date
CN113692019B (en) 2023-10-10
CN113692019A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN113692019B (en) Wireless networking method and terminal of electric power Internet of things
CN111586120B (en) Internet of things gateway equipment, data transmission method, storage medium and installation method
CN105934976A (en) Sleeping and awakening method and apparatus for master-slave network, and power-saving system for master-slave network
CN110474756B (en) Intelligent power grid electricity utilization information acquisition method
JP5732130B2 (en) Notification and acquisition method and apparatus of machinery communication equipment capability
WO2022095182A1 (en) Wireless communication method and system for node devices in internet of things of power transmission and transformation device
CN112672418B (en) Method for self-registration between ammeter and master station through carrier concentrator
KR20150013587A (en) Method and device for establishing association between station and access point
CN106604344A (en) Power utilization information system based on RPL and networking and communication method thereof
CN115150795A (en) Information filtering method, bluetooth antenna and Internet of things data platform
CN109618001A (en) Internet-of-things terminal data managing and control system and its method based on cloud platform
CN115632939A (en) Automatic network selection and routing method for achieving multi-target achievement of computational power network
US20220224995A1 (en) Method for reading fluid meters
CN112954727A (en) Tunnel wireless sensor network communication method and system
US11246071B2 (en) Method for managing a connection in a distributed wireless network
CN110391923B (en) Method for processing multicast message and network equipment
KR101874575B1 (en) Maximum away duration
CN111480364B (en) Access control method, device and readable storage medium
JP5372303B1 (en) Wireless terminal device, wireless mesh network, and communication method
JP7072731B1 (en) Communication systems, aggregates, central devices, terminals, communication methods and programs
CN112468248B (en) Cognitive radio frequency spectrum detection method based on power wireless private network
CN112702748B (en) Data transmission method and device for hybrid networking
CN107733980B (en) Internet of things data transmission system based on ring network and first repeater
JP7237263B2 (en) Wireless communication terminal, wireless communication method and wireless communication program
CN115176451B (en) Communication terminal, communication device, communication management device, communication system, network joining method, and storage medium

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