CN116600366B - Data acquisition method and system based on wireless communication network - Google Patents

Data acquisition method and system based on wireless communication network Download PDF

Info

Publication number
CN116600366B
CN116600366B CN202310657896.XA CN202310657896A CN116600366B CN 116600366 B CN116600366 B CN 116600366B CN 202310657896 A CN202310657896 A CN 202310657896A CN 116600366 B CN116600366 B CN 116600366B
Authority
CN
China
Prior art keywords
node
standard
data
nodes
area
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
CN202310657896.XA
Other languages
Chinese (zh)
Other versions
CN116600366A (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.)
China Telecom Construction 3rd Engineering Co Ltd
Original Assignee
China Telecom Construction 3rd Engineering 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 China Telecom Construction 3rd Engineering Co Ltd filed Critical China Telecom Construction 3rd Engineering Co Ltd
Priority to CN202310657896.XA priority Critical patent/CN116600366B/en
Publication of CN116600366A publication Critical patent/CN116600366A/en
Application granted granted Critical
Publication of CN116600366B publication Critical patent/CN116600366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/32Connectivity information management, e.g. connectivity discovery or connectivity update for defining a routing cluster membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/46Cluster building
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/04Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources
    • H04W40/10Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources based on available power or energy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location
    • 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 belongs to the field of data acquisition, and discloses a data acquisition method and a system based on a wireless communication network, wherein the method comprises the following steps that S1, data receiving equipment divides the area for acquiring data to obtain N multiplied by M standard areas; s2, the data receiving equipment calculates standard parameters of each standard area respectively; s3, the data receiving equipment divides the standard area based on the standard parameters to obtain a divided area and an area set; s4, the data receiving equipment sends all the regional sets to nodes in the region for acquiring data; s5, the node selects cluster head nodes according to the regional set to obtain cluster head nodes and member nodes; s6, the member node transmits the acquired data to a cluster head node of the cluster where the member node is located; s7, the cluster head node receives the data sent by the member node and forwards the data to the data receiving equipment. The application effectively balances the energy consumption speed of cluster head nodes with different positions when the wireless communication network is used for acquiring data.

Description

Data acquisition method and system based on wireless communication network
Technical Field
The present application relates to the field of data acquisition, and in particular, to a data acquisition method and system based on a wireless communication network.
Background
In the process of acquiring data by adopting a wireless communication network, the nodes forming the wireless communication network are generally required to be clustered, the nodes are divided into cluster head nodes and member nodes, the member nodes acquire data and send the data to the cluster head nodes, and the cluster head nodes transmit the data to receiving equipment.
The existing clustering algorithm generally divides the coverage area (i.e. the area for acquiring data) of the wireless communication network into a plurality of areas with the same size, and then acquires the cluster head node and the member node in each area respectively, which obviously is not reasonable. The cluster head nodes close to the receiving equipment and the cluster head nodes far from the receiving equipment have larger energy consumption speed difference, so that the cluster head nodes close to the receiving equipment exit from working faster, and the data of the area where the cluster head nodes are located cannot be acquired. Therefore, how to balance the energy consumption speed between cluster head nodes with different positions becomes a problem to be solved.
Disclosure of Invention
In order to overcome the above-mentioned drawbacks of the prior art, an object of the present application is to disclose a data acquisition method based on a wireless communication network, which solves the problem of how to balance the energy consumption speed between cluster head nodes with different positions when using the wireless communication network for data acquisition.
In order to achieve the above purpose, the present application provides the following technical solutions:
in a first aspect, the present application provides a data acquisition method based on a wireless communication network, including:
s1, dividing a region for acquiring data by data receiving equipment to obtain N multiplied by M standard regions;
s2, the data receiving device calculates standard parameters of each standard area respectively:
for the standard region K, the calculation function of the corresponding standard parameters is as follows:
wherein, parstd K Is the standard parameter of the standard region K, mu 1 、μ 2 、μ 3 Respectively a first weight, a second weight and a third weight, distrec K For the average distance between the node in the standard area K and the data receiving apparatus, maxdist is the maximum value of the distance between the node in the area where data is acquired and the data receiving apparatus, nodenum K In standard region KThe total number of nodes in normal state; maxnum is the maximum of the total number of nodes in the standard area, maxner is the maximum of the energy that the nodes can carry, avelpher K Is the average of the remaining energy of the nodes in the standard region K; delta is a preset number constant;
s3, the data receiving equipment divides the standard area based on the standard parameters to obtain divided areas, and the equipment numbers of the nodes in the same divided area are stored in the same area set;
s4, the data receiving equipment sends all the regional sets to nodes in the region for acquiring data;
s5, the node selects cluster head nodes according to the regional set to obtain cluster head nodes and member nodes;
s6, the member node transmits the acquired data to a cluster head node of the cluster where the member node is located;
s7, the cluster head node receives the data sent by the member node and forwards the data to the data receiving equipment.
Preferably, the dividing the area where the data is acquired to obtain n×m standard areas includes:
acquiring a region to be divided based on the region in which the data is acquired;
the area to be divided is divided into n×m standard areas.
Preferably, the acquiring of the area to be divided based on the area of acquiring the data includes:
establishing a rectangular coordinate system by taking the north direction as the Y-axis direction and taking the east direction as the X-axis direction;
the maximum value and the minimum value of the ordinate of the area for acquiring data are respectively marked as Ymax and Ymin; respectively marking the maximum value and the minimum value of the abscissa of the area for acquiring data as Xmax and Xmin;
the area to be divided is expressed as:
preferably, before calculating the standard parameters of each standard region separately, the method further comprises:
s21, the data receiving equipment sends a partition message to the node;
and S22, after receiving the partition information, the node transmits the coordinates and the residual energy to the data receiving equipment.
Preferably, dividing the standard region based on the standard parameter to obtain a divided region includes:
calculating the number of the divided areas zinnum in each standard area;
the standard region is divided into zignum divided regions of the same area.
Preferably, calculating the number of divided areas zigbee in each standard area includes:
for the standard region K, the number of divided regions included is:
wherein, zinnum K Is the number of divided areas included in the standard area K, arest K For the area of the standard region K, parstd K Is a standard parameter of the standard region K.
Preferably, the selecting of the cluster head node according to the region set includes:
the node receives a plurality of regional sets from the data receiving device;
the node determines the regional set of the node according to the equipment number of the node.
Preferably, the node performs cluster head node selection according to the region set to obtain a cluster head node and a member node, including:
the node randomly generates a random number with the value range of 0, 1;
the node sends the random number to other nodes in the regional set where the node is located;
the node compares the random number generated by the node with random numbers generated by other nodes in the regional set where the node is located, and if the random number generated by the node is larger than the maximum value of the random numbers generated by other nodes in the regional set where the node is located, the node selects the node as other nodes in the regional set where the node is located in the message transmission of the cluster head;
if the random number generated by the node is smaller than or equal to the maximum value of the random numbers generated by other nodes in the regional set where the node is located, the node is selected as a member node.
Preferably, the member node transmits the acquired data to a cluster head node of a cluster where the member node is located, including:
if the member node is out of the communication range of the cluster head node, the member node transmits the acquired data to another member node in the communication range of the member node;
and if the member node is in the communication range of the cluster head node, the member node transmits the acquired data to the cluster head node of the cluster where the member node is located.
In a second aspect, the present application provides a data acquisition system based on a wireless communication network, including a node and a data receiving device;
the data receiving device comprises a first dividing module, a calculating module, a second dividing module and a communication module;
the first dividing module is used for dividing the area for acquiring the data to obtain N multiplied by M standard areas;
the calculation module is used for calculating standard parameters of each standard area respectively:
for the standard region K, the calculation function of the corresponding standard parameters is as follows:
wherein, parstd K Is the standard parameter of the standard region K, mu 1 、μ 2 、μ 3 Respectively a first weight, a second weight and a third weight, distrec K For the average distance between the node in the standard area K and the data receiving apparatus, maxdist is the maximum value of the distance between the node in the area where data is acquired and the data receiving apparatus, nodenum K For the purpose of markingThe total number of nodes in quasi-region K with normal states; maxnum is the maximum of the total number of nodes in the standard area, maxner is the maximum of the energy that the nodes can carry, avelpher K Is the average of the remaining energy of the nodes in the standard region K; delta is a preset number constant;
the second dividing module is used for dividing the standard area based on the standard parameters to obtain divided areas, and saving the equipment numbers of the nodes in the same divided area to the same area set;
the communication module is used for sending all the regional sets to nodes in the region for acquiring data;
the nodes are used for selecting cluster head nodes according to the regional set to obtain cluster head nodes and member nodes;
the member node is used for transmitting the acquired data to a cluster head node of the cluster where the member node is located;
the cluster head node is used for receiving the data sent by the member node and forwarding the data to the data receiving equipment.
In the process of acquiring data through the wireless communication network, the standard areas are divided firstly, then the standard parameters are calculated, each standard area is further divided by the standard parameters, the closer the data receiving equipment is, the more the total number of included nodes is, the smaller the average value of residual energy is, the larger the standard parameters are, so that the number of the divided areas included in the standard areas is adaptively changed along with the change of the distance between the standard areas and the receiving equipment, the total number of included nodes and the average value of the residual energy, the area for acquiring the data is prevented from being directly divided into a plurality of areas with the same size, the energy consumption speed difference among cluster head nodes at different positions is effectively reduced, and the energy consumption speeds of cluster head nodes at different positions are effectively balanced.
Drawings
For a clearer description of the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a data acquisition method based on a wireless communication network according to the present application.
Fig. 2 is a schematic diagram of a data acquisition system based on a wireless communication network according to the present application.
Detailed Description
The following describes the embodiments of the present application further with reference to the drawings. The description of these embodiments is provided to assist understanding of the present application, but is not intended to limit the present application. In addition, the technical features of the embodiments of the present application described below may be combined with each other as long as they do not collide with each other.
Example 1
In one embodiment as shown in fig. 1, the present application provides a data acquisition method based on a wireless communication network, including:
s1, dividing a region for acquiring data by data receiving equipment to obtain N multiplied by M standard regions;
s2, the data receiving device calculates standard parameters of each standard area respectively:
for the standard region K, the calculation function of the corresponding standard parameters is as follows:
wherein, parstd K Is the standard parameter of the standard region K, mu 1 、μ 2 、μ 3 Respectively a first weight, a second weight and a third weight, distrec K For the average distance between the node in the standard area K and the data receiving apparatus, maxdist is the maximum value of the distance between the node in the area where data is acquired and the data receiving apparatus, nodenum K The total number of nodes in the standard area K, which are normal in state; maxnum is the maximum of the total number of nodes in the standard region and maxner represents the number of nodes that can carryEnergy maximum of (1) (avelfer) K Is the average of the remaining energy of the nodes in the standard region K; delta is a preset number constant;
s3, the data receiving equipment divides the standard area based on the standard parameters to obtain divided areas, and the equipment numbers of the nodes in the same divided area are stored in the same area set;
s4, the data receiving equipment sends all the regional sets to nodes in the region for acquiring data;
s5, the node selects cluster head nodes according to the regional set to obtain cluster head nodes and member nodes;
s6, the member node transmits the acquired data to a cluster head node of the cluster where the member node is located;
s7, the cluster head node receives the data sent by the member node and forwards the data to the data receiving equipment.
In the process of acquiring data through the wireless communication network, the standard areas are divided firstly, then the standard parameters are calculated, each standard area is further divided by the standard parameters, the closer the data receiving equipment is, the more the total number of included nodes is, the smaller the average value of residual energy is, the larger the standard parameters are, so that the number of the divided areas included in the standard areas is adaptively changed along with the change of the distance between the standard areas and the receiving equipment, the total number of included nodes and the average value of the residual energy, the area for acquiring the data is prevented from being directly divided into a plurality of areas with the same size, the energy consumption speed difference among cluster head nodes at different positions is effectively reduced, and the energy consumption speeds of cluster head nodes at different positions are effectively balanced.
The standard parameters can divide standard areas with different positions and different conditions into different numbers of divided areas, and under the condition that other conditions are the same, the closer the data receiving device is, the smaller the divided areas are, the smaller the number of data in a cluster where a cluster head in the divided areas is required to forward is, but the closer the data receiving device is, the more data from other divided areas is required to be forwarded; the farther the data receiving device is, the larger the division area is, but the more the data in the cluster where the data receiving device is located needs to be forwarded, the less the data from other division areas needs to be forwarded, so that the balance of energy consumption speeds of cluster head nodes at different positions is realized.
Moreover, the application not only considers the distance between the data receiving device and the node, but also considers the total number of the nodes contained in the standard area and the average value of the residual energy of the nodes. Therefore, the number of the divided areas obtained based on the standard parameters is more reasonable, and the energy consumption speeds of the cluster head nodes with different positions can be balanced better.
Each set of regions corresponds to a cluster.
In one embodiment, the calculation of the standard parameters and the acquisition of the divided regions are performed periodically, and the standard parameters and the divided regions are re-acquired after each period is completed.
The periodic partitioning enables the application to better balance the energy consumption between nodes.
Preferably, the dividing the area where the data is acquired to obtain n×m standard areas includes:
acquiring a region to be divided based on the region in which the data is acquired;
the area to be divided is divided into n×m standard areas.
N and M represent the number of standard regions in the lateral direction and the number of standard regions in the vertical direction, respectively.
Since the area for acquiring data is generally an irregular area, the standard area cannot be divided directly, and therefore, the area to be divided is acquired first, and the standard area can be divided.
Preferably, the acquiring of the area to be divided based on the area of acquiring the data includes:
establishing a rectangular coordinate system by taking the north direction as the Y-axis direction and taking the east direction as the X-axis direction;
the maximum value and the minimum value of the ordinate of the area for acquiring data are respectively marked as Ymax and Ymin; respectively marking the maximum value and the minimum value of the abscissa of the area for acquiring data as Xmax and Xmin;
the area to be divided is expressed as:
where x and y represent the abscissa and ordinate in the rectangular coordinate system.
Preferably, the length of the standard region is calculated as:
the calculation function of the width of the standard area is:
where length and width represent the length and width of the standard area, respectively.
In another embodiment, if the area for acquiring data is a standard rectangle, the area for acquiring data is directly divided to obtain n×m standard areas.
Preferably, before calculating the standard parameters of each standard region separately, the method further comprises:
s21, the data receiving equipment sends a partition message to the node;
and S22, after receiving the partition information, the node transmits the coordinates and the residual energy to the data receiving equipment.
Specifically, the partition message is used to inform the node that the clustering is about to be started, and the partitioned areas are obtained.
Preferably, dividing the standard region based on the standard parameter to obtain a divided region includes:
calculating the number of the divided areas zinnum in each standard area;
the standard region is divided into zignum divided regions of the same area.
Specifically, the proficiency of dividing the region is related to the standard parameter, and the larger the standard parameter is, the larger the number of divided regions is, which means that the larger the number of clusters in the standard region is.
Preferably, calculating the number of divided areas zigbee in each standard area includes:
for the standard region K, the number of divided regions included is:
wherein, zinnum K Is the number of divided areas included in the standard area K, arest K For the area of the standard region K, parstd K Is a standard parameter of the standard region K.
Preferably, the selecting of the cluster head node according to the region set includes:
the node receives a plurality of regional sets from the data receiving device;
the node determines the regional set of the node according to the equipment number of the node.
Since there are a plurality of area sets, the node needs to search each received area set and determine the area set corresponding to the device number of the node.
Preferably, the node performs cluster head node selection according to the region set to obtain a cluster head node and a member node, including:
the node randomly generates a random number with the value range of 0, 1;
the node sends the random number to other nodes in the regional set where the node is located;
the node compares the random number generated by the node with random numbers generated by other nodes in the regional set where the node is located, and if the random number generated by the node is larger than the maximum value of the random numbers generated by other nodes in the regional set where the node is located, the node selects the node as other nodes in the regional set where the node is located in the message transmission of the cluster head;
if the random number generated by the node is smaller than or equal to the maximum value of the random numbers generated by other nodes in the regional set where the node is located, the node is selected as a member node.
The cluster head is selected in a mode of generating random numbers, so that the method has the advantages of low energy consumption and high cluster head selecting speed, and the cluster head is not randomly distributed in the area for acquiring data due to the fact that the area of the dividing area is reasonably calculated, and therefore the cluster head which is reasonably distributed can be obtained rapidly.
In one embodiment, the nodes in the same partition area may also perform acquisition of the cluster head node and the member node through an algorithm such as a heed algorithm.
Preferably, the member node transmits the acquired data to a cluster head node of a cluster where the member node is located, including:
if the member node is out of the communication range of the cluster head node, the member node transmits the acquired data to another member node in the communication range of the member node;
and if the member node is in the communication range of the cluster head node, the member node transmits the acquired data to the cluster head node of the cluster where the member node is located.
Because the sizes of different divided areas are different, in some areas with larger areas, the member nodes may be out of the communication range of the cluster head node, and at this time, data can only be transmitted to the cluster head node through forwarding by other member nodes.
Preferably, transmitting the acquired data to another member node within the own communication range includes:
calculating the transmission probability coefficient of each member node belonging to the same cluster in the communication range of the self;
and transmitting the acquired data to the member node with the largest transmission probability coefficient.
In the selection of the member nodes responsible for forwarding the data, the application selects through the transmission probability coefficient, and the larger the transmission probability coefficient is, the higher the forwarding value of the candidate member nodes is, so that the data can be forwarded more efficiently.
Preferably, the calculation function of the transmission probability coefficient is:
wherein, transpro u The transmission probability coefficient of the member node u is represented, ρ is a calculated ratio, ρ is greater than 0 and less than 1, rsi u As the RSSI value of the member node u, strssi is the standard value of the preset RSSI value, transdata u In order to determine the total amount of data to be transmitted from the member node v to the member node u within a predetermined time range, maxdata is a predetermined data amount constant.
The transmission probability coefficient is mainly related to the total amount of data transmitted in a specified time range from the RSSI value, and the larger the RSSI value is, the larger the total amount of data transmitted is, the larger the transmission probability coefficient is, which means that the higher the forwarding value of the candidate member node is, and the higher the quality of data transmission is. The preset time range may be D seconds before the transmission probability coefficient is calculated.
For the member node v, if it sends a large amount of data to the same member node u in high frequency, the probability that the transmission direction is the transmission direction with the highest quality is larger, and in order to avoid the influence of accidental sudden electromagnetic change, the application also adds an RSSI value as a variable of a transmission probability coefficient calculation function, so that when the influence of electromagnetic change is generated, the data can still be transmitted to the direction with the strongest signal, namely the most reliable mode.
Preferably, for the member node u, the process of acquiring the RSSI value includes:
s101, judging whether an acquisition period is finished, if so, entering S102;
s102, a member node v which needs to send the acquired data scans a broadcast signal sent by a member node u in the communication range of the member node v to obtain the latest RSSI value of the member node u;
s103, filtering the latest RSSI value of the member node u to obtain a filtered RSSI value;
s104, calculating to obtain a final RSSI value of the member node based on the final RSSI value of the member node u obtained by the previous calculation and the filtered RSSI value;
s105, starting a new acquisition period, and entering S101.
In the present application, the RSSI value is not constantly acquired because if the RSSI value is constantly acquired, the transmission of data is affected. Therefore, the RSSI value is acquired by setting the acquisition period, and the member node does not transmit data in the process of acquiring the RSSIs of other nodes. The RSSI value is easily influenced by environmental factors such as multipath fading, electromagnetic interference and the like, so the application carries out filtering processing on the newly obtained RSSI value, thereby reducing the influence degree of the environmental factors on obtaining the accurate RSSI value. In addition, the application does not directly take the filtered RSSI value as the final RSSI value, but also considers the last RSSI value, thereby further reducing the influence of the RSSI value with larger accidental deviation degree on the finally obtained accurate RSSI value.
Specifically, if the RSSI value has not been calculated before, the latest RSSI value of the member node u is directly used as the final RSSI value.
Specifically, the manner of acquiring the RSSI values of other nodes belongs to the prior art, and is not described herein.
Preferably, determining whether the acquisition cycle is ended includes:
and judging whether the countdown of the acquisition period is finished, if so, ending the acquisition period, and if not, not ending the acquisition period.
When the acquisition cycle starts, a new countdown is generated, and when the countdown is finished, the acquisition cycle is finished.
Preferably, filtering the latest RSSI value of the member node u to obtain a filtered RSSI value, including:
calculating a filtering environment coefficient;
and selecting a filtering algorithm based on the filtering environment coefficient to carry out filtering processing on the latest RSSI value, so as to obtain a filtered RSSI value.
Different from the existing filtering mode, the filtering algorithm is selected through the filtering environment coefficient, and then the latest RSSI value is subjected to filtering treatment, so that the problem that the traditional single filtering algorithm with fixed settings cannot adapt to changeable environments can be avoided, different filtering algorithms can be selected according to different environment conditions, the pertinence of the filtering algorithm is improved, and more accurate filtering results are obtained.
Preferably, the filter environment coefficients are calculated as:
wherein envircoef is the filter environment coefficient, θ andthe influence coefficients of communication delay and rsi respectively,transet is in time interval [ end-E, end]In the end represents the time of ending the acquisition period, E represents the length of a time interval, the set of communication delay between the member node v and the member node u for transmitting the acquired data is needed, rstiset is the set of the latest Q RSSI values of the member node u measured by the member node v, kceo is the set communication delay variance, delay i For the value of communication delay i in the aggregate transfer, ntran is the number of communication delays contained in the aggregate transfer, rsti j A value of element j in rstiset; kcet is the set rssi variance criterion value, nrsi is the number of elements in rssi set.
The calculation parameters of the filtering environment coefficient comprise communication time delay and RSSI values, and the larger the communication time delay is, the larger the RSSI value is, so that the filtering environment coefficient can change along with the change of the electromagnetic environment, and different filtering algorithms can be selected to filter the RSSI values along with the change of the environment.
Preferably, selecting the filtering algorithm based on the filtering environment coefficients comprises:
if the filtering environment coefficient is larger than the set filtering environment coefficient threshold value, selecting a dixon test filtering algorithm;
and if the filter environment coefficient is smaller than or equal to the set filter environment coefficient threshold value, selecting a Kalman filtering algorithm.
The greater the filtering environment coefficient is, the more complex the electromagnetic environment is, at this time, the application selects the dixon test method filtering algorithm with better error data eliminating effect to carry out filtering calculation, otherwise, the Kalman filtering algorithm with better calculation stability is selected to carry out filtering calculation, thereby realizing the purpose of obtaining high-quality filtering calculation result and reducing the influence of electromagnetic environment change on the calculated RSSI value.
Preferably, the step of calculating the final RSSI value of the member node u based on the final RSSI value of the member node u calculated last time and the filtered RSSI value includes:
finval=τ×lstval+(1-τ)×lwnval
wherein finval represents the final RSSI value of the member node u, τ is the reference proportion, τ epsilon (0.4,0.6), lstval is the RSSI value of the member node u obtained by the last calculation, and lwval is the filtered RSSI value.
And calculating the filtered RSSI value and the last obtained final RSSI value, so that the influence of the RSSI value with larger accidental deviation degree on the finally obtained accurate RSSI value is further reduced.
Example 2
As shown in fig. 2, the present application provides a data acquisition system based on a wireless communication network, including a node and a data receiving device;
the data receiving device comprises a first dividing module, a calculating module, a second dividing module and a communication module;
the first dividing module is used for dividing the area for acquiring the data to obtain N multiplied by M standard areas;
the calculation module is used for calculating standard parameters of each standard area respectively:
for the standard region K, the calculation function of the corresponding standard parameters is as follows:
wherein, parstd K Is the standard parameter of the standard region K, mu 1 、μ 2 、μ 3 Respectively a first weight, a second weight and a third weight, distrec K For the average distance between the node in the standard area K and the data receiving apparatus, maxdist is the maximum value of the distance between the node in the area where data is acquired and the data receiving apparatus, nodenum K The total number of nodes in the standard area K, which are normal in state; maxnum is the maximum of the total number of nodes in the standard area, maxner is the maximum of the energy that the nodes can carry, avelpher K Is the average of the remaining energy of the nodes in the standard region K; delta is a preset number constant;
the second dividing module is used for dividing the standard area based on the standard parameters to obtain divided areas, and saving the equipment numbers of the nodes in the same divided area to the same area set;
the communication module is used for sending all the regional sets to nodes in the region for acquiring data;
the nodes are used for selecting cluster head nodes according to the regional set to obtain cluster head nodes and member nodes;
the member node is used for transmitting the acquired data to a cluster head node of the cluster where the member node is located;
the cluster head node is used for receiving the data sent by the member node and forwarding the data to the data receiving equipment.
The embodiments of the present application have been described in detail above with reference to the accompanying drawings, but the present application is not limited to the described embodiments. It will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the application, and yet fall within the scope of the application.

Claims (10)

1. A method for acquiring data based on a wireless communication network, comprising:
s1, dividing a region for acquiring data by data receiving equipment to obtain N multiplied by M standard regions;
s2, the data receiving device calculates standard parameters of each standard area respectively:
for the standard region K, the calculation function of the corresponding standard parameters is as follows:
wherein, parstd K Is the standard parameter of the standard region K, mu 1 、μ 2 、μ 3 Respectively a first weight, a second weight and a third weight, distrec K For the average distance between the node in the standard area K and the data receiving apparatus, maxdist is the maximum value of the distance between the node in the area where data is acquired and the data receiving apparatus, nodenum K The total number of nodes in the standard area K, which are normal in state; maxnum is the maximum of the total number of nodes in the standard area, maxner is the maximum of the energy that the nodes can carry, avelpher K Is the average of the remaining energy of the nodes in the standard region K; delta is a preset number constant;
s3, the data receiving equipment divides the standard area based on the standard parameters to obtain divided areas, and the equipment numbers of the nodes in the same divided area are stored in the same area set;
s4, the data receiving equipment sends all the regional sets to nodes in the region for acquiring data;
s5, the node selects cluster head nodes according to the regional set to obtain cluster head nodes and member nodes;
s6, the member node transmits the acquired data to a cluster head node of the cluster where the member node is located;
s7, the cluster head node receives the data sent by the member node and forwards the data to the data receiving equipment.
2. The method for acquiring data based on a wireless communication network according to claim 1, wherein dividing the area for acquiring data to obtain n×m standard areas comprises:
acquiring a region to be divided based on the region in which the data is acquired;
the area to be divided is divided into n×m standard areas.
3. The data acquisition method based on the wireless communication network according to claim 2, wherein acquiring the area to be divided based on the area where the data is acquired, comprises:
establishing a rectangular coordinate system by taking the north direction as the Y-axis direction and taking the east direction as the X-axis direction;
the maximum value and the minimum value of the ordinate of the area for acquiring data are respectively marked as Ymax and Ymin; respectively marking the maximum value and the minimum value of the abscissa of the area for acquiring data as Xmax and Xmin;
the area to be divided is expressed as:
4. the method for acquiring data based on a wireless communication network according to claim 1, further comprising, before calculating the standard parameters of each standard area separately:
s21, the data receiving equipment sends a partition message to the node;
and S22, after receiving the partition information, the node transmits the coordinates and the residual energy to the data receiving equipment.
5. The method for acquiring data based on a wireless communication network according to claim 4, wherein dividing the standard area based on the standard parameter to obtain the divided area comprises:
calculating the number of the divided areas zinnum in each standard area;
the standard region is divided into zignum divided regions of the same area.
6. The data acquisition method based on the wireless communication network according to claim 5, wherein calculating the number of divided areas zigbee in each standard area comprises:
for the standard region K, the number of divided regions included is:
wherein, zinnum K Is the number of divided areas included in the standard area K, arest K For the area of the standard region K, parstd K Is a standard parameter of the standard region K.
7. The method for acquiring data based on a wireless communication network according to claim 1, wherein before selecting cluster head nodes according to a regional set to obtain cluster head nodes and member nodes, the method comprises:
the node receives a plurality of regional sets from the data receiving device;
the node determines the regional set of the node according to the equipment number of the node.
8. The method for acquiring data based on a wireless communication network according to claim 7, wherein the node performs cluster head node selection according to the regional set to obtain a cluster head node and a member node, and the method comprises:
the node randomly generates a random number with the value range of 0, 1;
the node sends the random number to other nodes in the regional set where the node is located;
the node compares the random number generated by the node with random numbers generated by other nodes in the regional set where the node is located, and if the random number generated by the node is larger than the maximum value of the random numbers generated by other nodes in the regional set where the node is located, the node selects the node as other nodes in the regional set where the node is located in the message transmission of the cluster head;
if the random number generated by the node is smaller than or equal to the maximum value of the random numbers generated by other nodes in the regional set where the node is located, the node is selected as a member node.
9. The method for acquiring data based on a wireless communication network according to claim 1, wherein the member node transmits the acquired data to a cluster head node of a cluster in which the member node is located, comprising:
if the member node is out of the communication range of the cluster head node, the member node transmits the acquired data to another member node in the communication range of the member node;
and if the member node is in the communication range of the cluster head node, the member node transmits the acquired data to the cluster head node of the cluster where the member node is located.
10. A data acquisition system based on a wireless communication network, comprising a node and a data receiving device;
the data receiving device comprises a first dividing module, a calculating module, a second dividing module and a communication module;
the first dividing module is used for dividing the area for acquiring the data to obtain N multiplied by M standard areas;
the calculation module is used for calculating standard parameters of each standard area respectively:
for the standard region K, the calculation function of the corresponding standard parameters is as follows:
wherein, parstd K Is the standard parameter of the standard region K, mu 1 、μ 2 、μ 3 Respectively a first weight, a second weight and a third weight, distrec K For the average distance between the node in the standard area K and the data receiving apparatus, maxdist is the maximum value of the distance between the node in the area where data is acquired and the data receiving apparatus, nodenum K The total number of nodes in the standard area K, which are normal in state; maxnum is the maximum of the total number of nodes in the standard area, maxner is the maximum of the energy that the nodes can carry, avelpher K Is the average of the remaining energy of the nodes in the standard region K; delta is a preset number constant;
the second dividing module is used for dividing the standard area based on the standard parameters to obtain divided areas, and saving the equipment numbers of the nodes in the same divided area to the same area set;
the communication module is used for sending all the regional sets to nodes in the region for acquiring data;
the nodes are used for selecting cluster head nodes according to the regional set to obtain cluster head nodes and member nodes;
the member node is used for transmitting the acquired data to a cluster head node of the cluster where the member node is located;
the cluster head node is used for receiving the data sent by the member node and forwarding the data to the data receiving equipment.
CN202310657896.XA 2023-06-02 2023-06-02 Data acquisition method and system based on wireless communication network Active CN116600366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310657896.XA CN116600366B (en) 2023-06-02 2023-06-02 Data acquisition method and system based on wireless communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310657896.XA CN116600366B (en) 2023-06-02 2023-06-02 Data acquisition method and system based on wireless communication network

Publications (2)

Publication Number Publication Date
CN116600366A CN116600366A (en) 2023-08-15
CN116600366B true CN116600366B (en) 2023-10-27

Family

ID=87599145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310657896.XA Active CN116600366B (en) 2023-06-02 2023-06-02 Data acquisition method and system based on wireless communication network

Country Status (1)

Country Link
CN (1) CN116600366B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117042008B (en) * 2023-08-18 2024-04-12 国网四川省电力公司电力应急中心 Power equipment control system based on wireless sensor network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323818A (en) * 2015-11-04 2016-02-10 天津理工大学 Energy-saving clustering routing method based on network regional division and distances
CN106102075A (en) * 2016-08-25 2016-11-09 广东工业大学 The cluster-dividing method divided based on hierarchical region in radio sensing network and system
CN106304235A (en) * 2016-08-22 2017-01-04 广东工业大学 A kind of collaborative clustering routing communication means divided based on hierarchical region in WSN
WO2017035853A1 (en) * 2015-09-02 2017-03-09 武汉大学 Method for constructing and maintaining energy-saving wireless sensor network
CN108521633A (en) * 2018-02-27 2018-09-11 南京邮电大学 Minepit environment wireless sense network cluster routing method based on K mean values
CN110139333A (en) * 2019-04-08 2019-08-16 沈阳化工大学 A kind of WSN based on communication node independently clusters cluster routing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017035853A1 (en) * 2015-09-02 2017-03-09 武汉大学 Method for constructing and maintaining energy-saving wireless sensor network
CN105323818A (en) * 2015-11-04 2016-02-10 天津理工大学 Energy-saving clustering routing method based on network regional division and distances
CN106304235A (en) * 2016-08-22 2017-01-04 广东工业大学 A kind of collaborative clustering routing communication means divided based on hierarchical region in WSN
CN106102075A (en) * 2016-08-25 2016-11-09 广东工业大学 The cluster-dividing method divided based on hierarchical region in radio sensing network and system
CN108521633A (en) * 2018-02-27 2018-09-11 南京邮电大学 Minepit environment wireless sense network cluster routing method based on K mean values
CN110139333A (en) * 2019-04-08 2019-08-16 沈阳化工大学 A kind of WSN based on communication node independently clusters cluster routing method

Also Published As

Publication number Publication date
CN116600366A (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN116600366B (en) Data acquisition method and system based on wireless communication network
JP7289436B2 (en) Beaconing in short wavelength wireless networks
EP3395110B1 (en) Dynamic channel selection and dfs re-entry
US20050129051A1 (en) Self-configuring physical carrier sensing threshold adaptation
CN110557814B (en) Awakening area updating method and device
CN108683474A (en) Transmit the method and its device of common signal
US20090305736A1 (en) Mobile communcation terminal station and transmission power setting method
US9860862B1 (en) Methods and apparatus for selecting a device to perform shared functionality in a deterministic and fair manner in a wireless data communication system
WO2018126756A1 (en) Information synchronization method and device
CA2748360C (en) Communication scheduling of network nodes using a cluster coefficient
CN105939531A (en) Power conservation in channel hopping wireless network by independent definition of sleep intervals at each node
US20220038990A1 (en) A method for routing information in a mesh communication network
CN110461006A (en) Reduce WLAN interference method, device and terminal device
CN101801065B (en) Improved Mesh election competition method based on 802.16d
CN103634813B (en) A kind of node communication control method, device, equipment and network based on group
US11382041B2 (en) Methods for dynamically adjusting wake-up time and communication device utilizing the same
CN111866985B (en) Hybrid relay selection method for dense communication networks
US20220407650A1 (en) Srs transmission method and apparatus, network device, terminal and storage medium
CN105025491B (en) A kind of network allocation vector setting method and equipment
CN103458491A (en) Method and device for communicating between node and terminal in wireless local area network
US11844038B2 (en) Synchronization of wireless network nodes for efficient communications
JP4290515B2 (en) Wireless communication device
CN109302748B (en) Frequency selection method and communication method of wireless communication system
JP5092115B2 (en) COMMUNICATION DEVICE, MOBILE COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
CN112188619B (en) Uplink and downlink subframe ratio adjusting method and device, storage medium and base station

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
CB02 Change of applicant information

Address after: 430022 No.784 Jiefang Avenue, Jianghan District, Wuhan City, Hubei Province

Applicant after: CHINA TELECOM CONSTRUCTION 3RD ENGINEERING Co.,Ltd.

Address before: No. 784 Jiefang Avenue, Jianghan District, Wuhan City, Hubei Province, 430022

Applicant before: CHINA TELECOM CONSTRUCTION 3RD ENGINEERING Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant