Signal-to-noise ratio-based station area identification method and system, storage medium and STA node

文档序号:1101247 发布日期:2020-09-25 浏览:13次 中文

阅读说明:本技术 基于信噪比的台区识别方法、系统、存储介质及sta节点 (Signal-to-noise ratio-based station area identification method and system, storage medium and STA node ) 是由 卢金龙 施惠丰 沈进旗 潘宇 于 2020-06-11 设计创作,主要内容包括:本发明提供一种基于信噪比的台区识别方法、系统、存储介质及STA节点,包括:基于预设时间间隔采集各个邻居网络的SNR值;基于SNR值计算各个预设时间间隔下各个邻居网络的网络评分值;对于任意两个邻居网络,在距离当前时间的预设时长内,对所述两个邻居网络在各个预设时间间隔下的网络评分值差值进行加权求和,得到所述两个邻居网络的网络评估结果并确定网络评估结果较大的邻居网络;在所有邻居网络中判定网络评估结果中的最大的邻居网络为所述STA节点的所属台区。本发明的基于信噪比的台区识别方法、系统、存储介质及STA节点基于时间统计实现SNR值的稳定性计算,引入权重概念,保证STA在多个邻居网络末端仍然具有很好的区分度,提升台区识别的准确度。(The invention provides a station area identification method, a system, a storage medium and an STA node based on signal-to-noise ratio, comprising the following steps: acquiring SNR values of all neighbor networks based on a preset time interval; calculating the network credit values of all neighbor networks at all preset time intervals based on the SNR values; for any two neighbor networks, within a preset time length from the current time, carrying out weighted summation on the difference value of the network score values of the two neighbor networks under each preset time interval to obtain the network evaluation results of the two neighbor networks and determine the neighbor network with a larger network evaluation result; and judging the largest neighbor network in the network evaluation results in all the neighbor networks as the station area of the STA node. The station area identification method, the station area identification system, the storage medium and the STA node based on the signal-to-noise ratio realize the stability calculation of the SNR value based on the time statistics, introduce the weight concept, ensure that the STA still has good discrimination at the tail ends of a plurality of neighbor networks, and improve the accuracy of station area identification.)

1. A station area identification method based on signal-to-noise ratio is characterized in that: the method is applied to the STA node and comprises the following steps:

acquiring SNR values of all neighbor networks based on a preset time interval;

calculating the network credit values of all neighbor networks at all preset time intervals based on the SNR values;

for any two neighbor networks, within a preset time length from the current time, carrying out weighted summation on the difference value of the network score values of the two neighbor networks under each preset time interval to obtain the network evaluation results of the two neighbor networks and determine the neighbor network with a larger network evaluation result;

and judging the largest neighbor network in the network evaluation results in all the neighbor networks as the station area of the STA node.

2. The signal-to-noise ratio-based station area identification method according to claim 1, wherein: calculating the network score value of each neighbor network at each preset time interval based on the SNR value by adopting any one of the following modes:

1) for any preset time interval of any neighbor network, acquiring the maximum value of each SNR value acquired in the preset time interval, and taking the maximum value as a network score value corresponding to the neighbor network in the preset time interval;

2) for any preset time interval of any neighbor network, calculating the ratio of the sum of all SNR values collected in the preset time interval to the total received beacon number of the neighbor network, and taking the ratio as a network score value corresponding to the neighbor network in the preset time interval;

3) for any preset time interval of any neighbor network, according to

Figure FDA0002534931590000011

3. The signal-to-noise ratio-based station area identification method according to claim 1, wherein: when the network score value difference values of the two neighbor networks at each preset time interval are weighted and summed, the weight of each preset time interval is obtained according to any one of the following modes:

1) setting corresponding weight for each preset time interval;

2) in each preset time interval, taking the network score value of any neighbor network as a reference score value, and when the difference value between the network score value of a certain neighbor network and the reference score value is greater than or equal to a preset threshold value, setting the weight of the neighbor network as a first numerical value, otherwise, setting the weight of the neighbor network as a second numerical value, wherein the first numerical value is greater than the second numerical value;

3) at each preset time interval, calculating a proportion K1 and a proportion K2 of the difference value of at least two groups of network credit values before the preset time interval, wherein the difference value of the network credit values is larger than a preset value, and the proportion of the network credit values is smaller than the preset value, for any neighbor network A and any neighbor network B; if K1 is less than K2, the weight of the neighbor network A is updated to the current weight (1-K1/K2), the neighbor network B keeps the current weight unchanged, if K1 is greater than K2, the weight of the neighbor network B is the current weight (1-K2/K1), the neighbor network A keeps the current weight unchanged, and if K1 is equal to K2, the neighbor network A and the neighbor network B both keep the current weight unchanged; determining the final weights of the neighbor network A and the neighbor network B after the preset times of iteration;

4) in each preset time interval, for any neighbor network A and neighbor network B, if only the neighbor network A is monitored but the neighbor network B is not monitored, setting the weight of the neighbor network A in the preset time interval to be N times of the weight of the neighbor network B, wherein N is a natural number not less than 2.

4. The signal-to-noise ratio-based station area identification method according to claim 1, wherein: and storing the STA node and the corresponding affiliated station zone to a storage zone which is not lost in power failure, so as to automatically access the network according to the stored affiliated station zone when the STA module is restarted.

5. The signal-to-noise ratio-based station area identification method according to claim 4, wherein: and if the network evaluation result of the neighbor network obtained by real-time calculation is greater than the stored network evaluation result corresponding to the affiliated station area, switching to the neighbor network.

6. The signal-to-noise ratio-based station area identification method according to claim 1, wherein: the method also comprises the steps of storing the network credit values of all neighbor networks of each preset time interval to a storage area which is not lost when power is down, recalculating the network evaluation results of all neighbor networks at certain intervals, and judging the station area of the STA node.

7. The signal-to-noise ratio-based station area identification method according to claim 1, wherein: the preset time is 24 hours.

8. A district identification system based on signal-to-noise ratio is characterized in that: the system is applied to the STA node and comprises an acquisition module, a calculation module, an evaluation module and a judgment module;

the acquisition module is used for acquiring SNR values of all neighbor networks based on a preset time interval;

the calculation module is used for calculating the network credit values of all neighbor networks at all preset time intervals based on the SNR values;

the evaluation module is used for weighting and summing the difference values of the network score values of any two neighbor networks at each preset time interval within a preset time length from the current time to obtain the network evaluation results of the two neighbor networks and determining the neighbor network with a larger network evaluation result;

the judging module is used for judging that the largest neighbor network in the network evaluation results is the station area of the STA node in all the neighbor networks.

9. A storage medium having stored thereon a computer program, characterized in that the program, when being executed by a processor, implements the signal-to-noise ratio based station area identification method according to any one of claims 1 to 7.

10. An STA node, comprising: a processor and a memory;

the memory is used for storing a computer program;

the processor is configured to execute the memory-stored computer program to cause the STA node to perform the signal-to-noise ratio based station zone identification method of any one of claims 1 to 7.

Technical Field

The invention relates to the technical field of power line carrier communication, in particular to a station area identification method and system based on signal-to-noise ratio, a storage medium and an STA node.

Background

In an electrical power system, a transformer area refers to the supply range or area of a (single) transformer. In the business management of low voltage distribution network, the power consumption management department needs to check the user profile frequently to ensure the profile is accurate, and provide accurate management data for marketing management, which includes user profile attribution, network topology relation, user equipment power consumption phase and working phase sequence, etc. The accurate establishment of the transformer substation area household variable relation is beneficial to the management of the transformer substation area line loss and the improvement of the economic operation level of a power grid; meanwhile, the configuration of a white list can be avoided, the field debugging and configuration operation can be reduced, and the deployment efficiency can be improved. Therefore, in the application of the smart grid, accurate identification of the transformer-area-to-user relationship is of great significance.

Disclosure of Invention

In view of the above drawbacks of the prior art, an object of the present invention is to provide a method, a system, a storage medium, and an sta (station) node for identifying a station area based on a signal-to-noise ratio, which implement stable computation of an SNR value based on time statistics, thereby effectively improving accuracy of station area identification.

In order to achieve the above and other related objects, the present invention provides a method for identifying a station area based on a signal-to-noise ratio, which is applied to an STA node, and comprises the following steps: acquiring SNR values of all neighbor networks based on a preset time interval; calculating the network credit values of all neighbor networks at all preset time intervals based on the SNR values; for any two neighbor networks, within a preset time length from the current time, carrying out weighted summation on the difference value of the network score values of the two neighbor networks under each preset time interval to obtain the network evaluation results of the two neighbor networks and determine the neighbor network with a larger network evaluation result; and judging the largest neighbor network in the network evaluation results in all the neighbor networks as the station area of the STA node.

In an embodiment of the present invention, calculating the network score of each neighbor network at each preset time interval based on the SNR value may use any one of the following methods:

1) for any preset time interval of any neighbor network, acquiring the maximum value of each SNR value acquired in the preset time interval, and taking the maximum value as a network score value corresponding to the neighbor network in the preset time interval;

2) for any preset time interval of any neighbor network, calculating the ratio of the sum of all SNR values collected in the preset time interval to the total received beacon number of the neighbor network, and taking the ratio as a network score value corresponding to the neighbor network in the preset time interval;

3) for any preset time interval of any neighbor network, according toCalculating the network score value of the neighbor network i under the preset time interval, wherein the network iScoringAnd (3) representing the network score value of the network i in the preset time interval, which is obtained according to the mode 1) or the mode 2), wherein i is more than or equal to 1 and is less than or equal to M, M represents the total number of the neighbor networks, and Y is a preset value.

In an embodiment of the present invention, when the network score difference values of the two neighbor networks at each preset time interval are weighted and summed, the weight of each preset time interval is obtained according to any one of the following manners:

1) setting corresponding weight for each preset time interval;

2) in each preset time interval, taking the network score value of any neighbor network as a reference score value, and when the difference value between the network score value of a certain neighbor network and the reference score value is greater than or equal to a preset threshold value, setting the weight of the neighbor network as a first numerical value, otherwise, setting the weight of the neighbor network as a second numerical value, wherein the first numerical value is greater than the second numerical value;

3) at each preset time interval, calculating a proportion K1 and a proportion K2 of the difference value of at least two groups of network credit values before the preset time interval, wherein the difference value of the network credit values is larger than a preset value, and the proportion of the network credit values is smaller than the preset value, for any neighbor network A and any neighbor network B; if K1 is less than K2, the weight of the neighbor network A is updated to the current weight (1-K1/K2), the neighbor network B keeps the current weight unchanged, if K1 is greater than K2, the weight of the neighbor network B is the current weight (1-K2/K1), the neighbor network A keeps the current weight unchanged, and if K1 is equal to K2, the neighbor network A and the neighbor network B both keep the current weight unchanged; determining the final weights of the neighbor network A and the neighbor network B after the preset times of iteration;

4) in each preset time interval, for any neighbor network A and neighbor network B, if only the neighbor network A is monitored but the neighbor network B is not monitored, setting the weight of the neighbor network A in the preset time interval to be N times of the weight of the neighbor network B, wherein N is a natural number not less than 2.

In an embodiment of the present invention, the method further includes storing the STA node and the corresponding affiliated station area in a storage area that is not lost due to power failure, so as to automatically access the network according to the stored affiliated station area when the STA module is restarted.

In an embodiment of the present invention, if the network evaluation result of the neighbor network obtained by real-time calculation is greater than the stored network evaluation result corresponding to the affiliated station area, switching to the neighbor network.

In an embodiment of the present invention, the method further includes storing the network credit values of the neighbor networks in each preset time interval to a storage area where power is lost, recalculating the network credit results of the neighbor networks at a certain time interval, and determining the station area to which the STA node belongs.

In an embodiment of the invention, the predetermined time period is 24 hours.

Correspondingly, the invention provides a station area identification system based on a signal-to-noise ratio, which is applied to an STA node and comprises an acquisition module, a calculation module, an evaluation module and a judgment module;

the acquisition module is used for acquiring SNR values of all neighbor networks based on a preset time interval;

the calculation module is used for calculating the network credit values of all neighbor networks at all preset time intervals based on the SNR values;

the evaluation module is used for weighting and summing the difference values of the network score values of any two neighbor networks at each preset time interval within a preset time length from the current time to obtain the network evaluation results of the two neighbor networks and determining the neighbor network with a larger network evaluation result;

the judging module is used for judging that the largest neighbor network in the network evaluation results is the station area of the STA node in all the neighbor networks.

The present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the signal-to-noise ratio based station area identification method described above.

Finally, the present invention provides an STA node comprising: a processor and a memory;

the memory is used for storing a computer program;

the processor is configured to execute the computer program stored in the memory to cause the STA node to perform the above-mentioned signal-to-noise ratio based station zone identification method.

As described above, the station area identification method, system, storage medium and STA node based on the snr according to the present invention have the following advantages:

(1) because the real-time SNR value of the network changes along with the change of the channel, the stable effective value of the SNR is obtained based on time statistic calculation, and a foundation is provided for accurate identification of the distribution room;

(2) acquiring SNR values of a network at a preset time interval T, counting data within a preset time period such as 24 hours, and setting different weight factors, thereby effectively solving the problem of identification errors caused by the fact that the SNR value of a local distribution area is similar to the SNR of an adjacent distribution area within a certain period of time at the tail end of the distribution area;

(3) the statistical data is subjected to sliding window processing, and any one calculation time point can be calculated based on data with preset time duration in the past, so that the network evaluation results of each network can be continuously updated according to the time lapse, and the effectiveness of station area identification is guaranteed;

(4) the STA node and the corresponding affiliated station area are stored in a permanent storage mode, and after the STA node is restarted next time, the affiliated station area can be quickly selected according to historical data to carry out a network access request, so that the network access efficiency is effectively improved;

(5) the application is not limited by the broadband protocol of the national network, and the universal application and the flexibility are stronger for other power carrier communication protocols.

Drawings

FIG. 1 is a diagram illustrating a variation trend of SNR values collected by a same node in different regions in an embodiment of the prior art;

FIG. 2 is a flow chart illustrating a method for signal-to-noise ratio based station area identification in accordance with an embodiment of the present invention;

FIG. 3(a) is a graph showing SNR values of two networks in one embodiment of the present invention;

FIG. 3(b) is a graph showing SNR values of two networks in another embodiment of the present invention;

FIG. 3(c) is a graph showing SNR values of two networks in a further embodiment of the present invention;

FIG. 4 is a block diagram of an exemplary embodiment of a signal-to-noise ratio based station area identification system;

fig. 5 is a schematic structural diagram of an STA node according to an embodiment of the present invention.

Description of the element reference numerals

41 acquisition module

42 calculation module

43 evaluation module

44 decision module

51 processor

52 memory

Detailed Description

The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention.

It should be noted that the drawings provided in the present embodiment are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.

The station area identification method, the station area identification system, the storage medium and the STA node based on the signal-to-noise ratio calculate the SNR value of the network in a time statistics mode, reduce the fluctuation of the identification result caused by the SNR value fluctuation, thereby effectively improving the accuracy of station area identification and having high practicability.

As shown in fig. 2, in an embodiment, the method for identifying a station zone based on snr of the present invention is applied to an STA node, and includes the following steps:

and step S1, collecting SNR values of each neighbor network based on a preset time interval.

Because the real-time SNR value of the network fluctuates with the change of the channel, the invention collects the SNR value in a certain period of time and reduces the fluctuation by a certain mathematical method, so that the statistical result of the SNR value is more reliable. Specifically, after the STA node is powered on, network information of each neighbor network, including a network MAC address, a real-time SNR value, and the like, is collected based on a preset time interval (e.g., 1 hour); and meanwhile, counting the received total received beacon number N of the neighbor network.

And step S2, calculating the network scoring value of each neighbor network at each preset time interval based on the SNR value.

Specifically, the STA node calculates network credit values of the neighbor networks at preset time intervals according to the collected SNR values. In an embodiment of the present invention, calculating the network score of each neighbor network at each preset time interval based on the SNR value may use any one of the following methods:

1) for any preset time interval of any neighbor network, acquiring the maximum value of each SNR value acquired in the preset time interval, and taking the maximum value as the network score value corresponding to the neighbor network in the preset time interval, namely the network iScoringMAX { 1 st SNR value, 2 nd SNR value. And in the preset time interval, the STA node acquires SNR values for N times, and the maximum value of the SNR values is used as the network score value corresponding to the neighbor network.

2) For any preset time interval of any neighbor network, calculating the sum of all SNR values collected in the preset time interval and the total of the neighbor networksThe ratio of the number of received beacons is used as the network score value corresponding to the neighbor network at the preset time interval, i.e. the network score value

Figure BDA0002534931600000061

3) For any preset time interval of any neighbor network, according toCalculating the network score value of the neighbor network i under the preset time interval, wherein the network iScoringAnd (3) representing the network score value of the network i in the preset time interval, which is obtained according to the mode 1) or the mode 2), wherein i is more than or equal to 1 and is less than or equal to M, M represents the total number of the neighbor networks, and Y is a preset value.

In an embodiment of the invention, the network credit values of all neighbor networks in each preset time interval are stored in a storage area which is not lost when power failure occurs, the storage area takes the MAC address of the neighbor network as an index, and even if power failure or abnormal reset occurs in midway, whether the neighbor networks exist or not can be determined to participate in calculation or discard by monitoring, so that the influence of invalid data on the result is avoided, and the subsequent use is facilitated. For example, taking 00:00 a morning every day as a starting time, taking T time periods as statistical intervals to perform network scoring, obtaining network scoring of all time periods T within a preset time (such as 24 hours), obtaining L groups of data in total, and sequentially filling the L groups of data into corresponding power-down loss-free areas, wherein the format is shown in table 1.

Step S3, for any two neighbor networks, within a preset time length from the current time, carrying out weighted summation on the difference value of the network score values of the two neighbor networks under each preset time interval to obtain the network evaluation results of the two neighbor networks and determine the neighbor network with a larger network evaluation result.

During network evaluation, if the STA node is located at the end of the station area, the network evaluation result will definitely fluctuate within a certain period of time. Therefore, the reliability of the network evaluation result is improved by adding different weights.

In an embodiment of the present invention, when the network score difference values of the two neighbor networks at each preset time interval are weighted and summed, the weight of each preset time interval is obtained according to any one of the following manners:

1) a corresponding weight is set for each preset time interval.

Since the SNR value has a correlation with a load variation on the power line, one day is divided into a plurality of time periods and weights for different time periods are set. Such as: 00:00: 00-06: 00 is the power consumption peak period, and the two stations are lightly loaded, and the SNR value statistics are relatively reliable and highly reliable, so the weight of this period is set as a 1. 18: 00-22: 00 is the peak period of electricity consumption in a day, the load is heavy, and the statistical result of SNR value is relatively unreliable, so the weight can be set as A2, wherein A1> A2.

Thus, each preset time interval is set with a corresponding weight. When calculating the real-time network evaluation result, extending from the current time to a preset time (such as 24 hours) and according to the network XEvaluation results=SUM{T1*W1+T2*W2+...Tn*WnAnd calculating the network evaluation result of the neighbor network X. Wherein, TiNetwork rating value, W, representing the ith predetermined time intervaliRepresents the weight of the ith preset time interval, and n represents the number of the preset time intervals.

2) In each preset time interval, taking the network score value of any neighbor network as a reference score value, when the difference value between the network score value of a certain neighbor network and the reference score value is greater than or equal to a preset threshold value, setting the weight of the neighbor network as a first value B1, otherwise, setting the weight of the neighbor network as a second value B2, wherein the first value B1 is greater than the second value B2.

Specifically, when calculating the real-time network evaluation result, the calculation is extended from the current time to a preset time (for example, 24 hours) and based on the network XEvaluation results=SUM{T1*BX+T2*BX+...+TLBX calculating network evaluation of neighbor network XAnd (6) estimating the result. Wherein T isiAnd (3) expressing the network score value of the ith preset time interval, L expressing the number of the preset time intervals, and X expressing the value of 1 or 2.

3) At each preset time interval, calculating a proportion K1 and a proportion K2 of the difference value of at least two groups of network credit values before the preset time interval, wherein the difference value of the network credit values is larger than a preset value, and the proportion of the network credit values is smaller than the preset value, for any neighbor network A and any neighbor network B; if K1 is less than K2, the weight of the neighbor network A is updated to the current weight (1-K1/K2), the neighbor network B keeps the current weight unchanged, if K1 is greater than K2, the weight of the neighbor network B is the current weight (1-K2/K1), the neighbor network A keeps the current weight unchanged, and if K1 is equal to K2, the neighbor network A and the neighbor network B both keep the current weight unchanged; and determining the final weights of the neighbor network A and the neighbor network B after the preset times of iteration.

Specifically, since the preset time interval is fixed to T, it can be considered that uniform sampling is employed. And counting the difference of at least two groups of network credit values before the preset time interval of any two networks, and determining the final weight by respectively comparing the difference with a preset value or a ratio smaller than the preset value. Preferably, the initial weights of the neighbor network a and the neighbor network B are the same. After iteration for a preset number of times (e.g., a preset duration/a preset time interval), the final weights of the neighbor network a and the neighbor network B can be obtained. The network evaluation results may then be calculated based on the final weights. As shown in fig. 3(a), the MAC addresses of the two stations are 373619912000 and 333619912000, respectively, the number of sampling groups is 72, the sampling interval is 20 minutes, and the difference between the network rating values of the two stations is greater than a predetermined value 0 by 71.8% and less than a predetermined value-0 by 21.1%. As shown in fig. 3(b), the number of sampling groups is 72, the sampling interval is 20 minutes, the difference between the network rating values of the two cells is greater than a predetermined value 0 by 80.3%, and the difference is less than a predetermined value-0 by 18.3%. As shown in fig. 3(c), the number of sampling groups is 72, the sampling interval is 20 minutes, the difference between the network rating values of the two cells is 86.1% greater than the predetermined value 0, and the difference is 8.3% less than the predetermined value-0. Thus, by counting the fraction of time (e.g., day, week, etc.) that is greater than a predetermined value or less than a predetermined value, the final weight of the two stations can be determined in an iterative manner.

4) In each preset time interval, for any neighbor network A and neighbor network B, if only the neighbor network A is monitored but the neighbor network B is not monitored, setting the weight of the neighbor network A in the preset time interval to be N times of the weight of the neighbor network B, wherein N is a natural number not less than 2.

Step S4, determining, from all neighbor networks, that the largest neighbor network in the network evaluation results is the station area to which the STA node belongs.

Specifically, when the maximum value in the network evaluation result is determined, the neighbor networks are compared pairwise, the larger neighbor network is reserved each time to be compared with the remaining neighbor networks until the neighbor network with the maximum network evaluation result is determined, and the neighbor network corresponding to the maximum value is used as the station area to which the STA node belongs.

In an embodiment of the present invention, the station area identification method based on the signal-to-noise ratio further includes storing the STA node and the corresponding station area to a storage area that is not lost due to power failure, so as to automatically access the network according to the stored station area when the STA module is restarted, thereby improving the network access efficiency. Preferably, after the network access, if the network evaluation result of the neighbor network obtained by real-time calculation is greater than the stored network evaluation result corresponding to the affiliated station area, the network is switched to the neighbor network.

In an embodiment of the present invention, the method for identifying a station area based on a signal-to-noise ratio further includes storing the network score of each neighbor network at each preset time interval in a storage area where power is lost, recalculating the network evaluation result of each neighbor network at each interval for a certain time period, and determining the station area to which the STA node belongs. Therefore, by means of sliding window processing of the network scoring values of the neighbor networks at each preset time interval, the latest network evaluation result can be calculated in real time, and therefore accuracy of station area identification is guaranteed.

As shown in fig. 4, in an embodiment, the station area identification system based on snr of the present invention is applied to an STA node, and includes an acquisition module 41, a calculation module 42, an evaluation module 43, and a determination module 44.

The acquisition module 41 is configured to acquire SNR values of each neighbor network based on a preset time interval.

The calculating module 42 is connected to the collecting module 41, and is configured to calculate network credit values of each neighbor network at each preset time interval based on the SNR value.

The evaluation module 43 is connected to the calculation module 42, and configured to perform weighted summation on the network score difference values of any two neighbor networks at each preset time interval within a preset time from the current time, to obtain network evaluation results of the two neighbor networks, and to determine a neighbor network with a larger network evaluation result.

The determining module 44 is connected to the evaluating module 43, and is configured to determine, among all neighbor networks, that a largest neighbor network in the network evaluation results is the station zone to which the STA node belongs.

The structures and principles of the acquisition module 41, the calculation module 42, the evaluation module 43, and the determination module 44 correspond to the steps in the above-mentioned station area identification method based on the signal-to-noise ratio one by one, and therefore, the description thereof is omitted here.

It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element that is set up separately, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the x module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.

For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

The storage medium of the present invention has stored thereon a computer program which, when executed by a processor, implements the above-described signal-to-noise ratio-based station area identification method. The storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic disk, U-disk, memory card, or optical disk.

As shown in fig. 5, in an embodiment, the STA node of the present invention includes: a processor 51 and a memory 52.

The memory 52 is used for storing computer programs.

The memory 52 includes: various media that can store program codes, such as ROM, RAM, magnetic disk, U-disk, memory card, or optical disk.

The processor 51 is connected to the memory 52 and configured to execute the computer program stored in the memory 52, so that the STA node executes the above-mentioned station region identification method based on the snr.

Preferably, the Processor 51 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.

In summary, the signal-to-noise ratio-based station area identification method, system, storage medium and STA node of the present invention provide a basis for accurate identification of the station area, because the real-time SNR value of the network changes with the change of the channel, the stable effective value of the SNR is obtained based on the time statistics; acquiring SNR values of a network at a preset time interval T, counting data within a preset time period such as 24 hours, and setting different weight factors, thereby effectively solving the problem of identification errors caused by the fact that the SNR value of a local distribution area is similar to the SNR of an adjacent distribution area within a certain period of time at the tail end of the distribution area; the statistical data is subjected to sliding window processing, and any one calculation time point can be calculated based on data with preset time duration in the past, so that the network evaluation results of each network can be continuously updated according to the time lapse, and the effectiveness of station area identification is guaranteed; the STA node and the corresponding affiliated station area are stored in a permanent storage mode, and after the STA node is restarted next time, the affiliated station area can be quickly selected according to historical data to carry out a network access request, so that the network access efficiency is effectively improved; the application is not limited by the broadband protocol of the national network, and the universal application and the flexibility are stronger for other power carrier communication protocols. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.

The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种宽带电力线载波通信实现方法及装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!