Data transmission method based on wireless communication
By dividing the receiving end in the wireless communication system and calculating the data transmission quality index, the problem of misjudgment of data transmission quality evaluation in the prior art is solved, and more accurate quality evaluation and system stability are achieved.
Patent Information
- Application Number
- CN202510006294.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2045-01-03
AI Technical Summary
When evaluating the quality of data transmission in wireless communication, the prior art is susceptible to external environment, resulting in misjudgment and inability to accurately evaluate the quality of data transmission.
By obtaining the signal coverage range of the base station and setting the distance threshold, the receiving end is divided into the same area; the base station sends a data sequence to the receiving end of the same area, records the transmission and reception time, and calculates the bit error rate; according to the transmission time and bit error rate , calculate the transmission quality index of the receiver, and identify the abnormal receiver through standard deviation and quality threshold.
It realizes accurate evaluation of data transmission quality, reduces misjudgment, improves the stability and reliability of wireless communication systems, and can promptly identify and optimize abnormal situations during transmission.
Smart Images

Figure CN119402891A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a data transmission method based on wireless communication. Background Art
[0002] Data transmission refers to the process of transmitting data from one location or device to another location or device through various communication means; the data transmission process includes data encoding and modulation, signal transmission, signal reception and demodulation, and data quality detection.
[0003] Data quality detection can help detect the accuracy of data transmission during wireless communication, discover potential problems in a timely manner and correct them, thereby improving the reliability and efficiency of data transmission.
[0004] In the prior art, a base station sends a signal to a receiving end, and the data transmission quality during this process is the signal transmission quality. For the data transmission quality evaluation at this time, an indicator representing the data transmission quality is often obtained, and the indicator is compared with a preset threshold value. Then, whether the data transmission quality is normal is judged based on the comparison result. However, in actual situations, the data transmission quality is often affected by the external environment, resulting in the obtained indicator being lower than the preset threshold value, which may cause misjudgment of the data transmission quality. Summary of the invention
[0005] The purpose of the present invention is to provide a data transmission method based on wireless communication to solve the above technical problems.
[0006] The purpose of the present invention can be achieved through the following technical solutions: A data transmission method based on wireless communication comprises the following steps: Step S1: Acquire the signal coverage range of the base station and set a distance threshold; within the signal coverage range, record that a number of receiving terminals whose distances between each other are less than the distance threshold belong to the same area; Step S2: The base station obtains a data sequence, and sends the data sequence to all receiving terminals belonging to the same area through a wireless channel; records the sending time, and obtains the receiving time of each receiving terminal to obtain the transmission time of the receiving terminal; and obtains the data sequence received by the receiving terminal, which is recorded as a receiving sequence; compares the data sequence with the receiving sequence to obtain a bit error rate; Step S3: Obtain the transmission quality index of the receiving end according to the transmission time and bit error rate of each receiving end in the same area ,in m is the preset correction factor, Er i represents the bit error rate of the i-th receiving end in the same area, Er0 represents the standard bit error rate, T irepresents the transmission time of the i-th receiving end in the same area, T0 represents the standard transmission time; and according to the transmission quality index of each receiving end, a transmission quality index set is obtained; Step S4: Obtain the standard deviation s of the transmission quality index set to obtain the quality threshold Qt=TQI in the area ave +z*s, where TQI ave is the transmission quality index set, z is a preset multiple threshold; according to the quality threshold, a receiving end with abnormal transmission quality is selected.
[0007] As a further solution of the present invention: the process of obtaining the distance threshold includes: Set several distance values, select two monitoring points within the signal coverage range, obtain the temperature at the two monitoring points when the distance between the two monitoring points is different distance values, and obtain the difference in temperature at the two monitoring points, which is recorded as the temperature difference; obtain a temperature difference set based on the temperature difference at different distance values; select the minimum value in the temperature difference set, and record the distance value corresponding to the minimum value as the distance threshold.
[0008] As a further solution of the present invention: the process of obtaining the distance threshold includes: When the minimum value in the temperature difference set is two identical temperature differences, two distance values corresponding to the two identical temperature differences are obtained, and an average value of the two distance values is obtained, which is recorded as the distance threshold.
[0009] As a further solution of the present invention: the process of obtaining the transmission time includes: recording the sending time as t0, recording the receiving time of the receiving end as t1, and obtaining the transmission time T=t1-t0.
[0010] As a further solution of the present invention: the process of obtaining the bit error rate includes: obtaining the total number of bytes of the data sequence, denoted as N, and comparing the data on each byte of the received sequence with the data on each byte of the data sequence bit by bit, obtaining the number of bytes that differ between the received sequence and the data sequence, denoted as n, and obtaining the bit error rate Er=n / N.
[0011] As a further solution of the present invention: the process of obtaining the standard bit error rate and the standard transmission time includes: Obtain historical transmission data, the historical transmission data including historical bit error rate and historical transmission time when the historical transmission data is transmitted; obtain the average value of the historical bit error rate, recorded as the standard bit error rate; and obtain the average value of the historical transmission time, recorded as the standard transmission time.
[0012] As a further solution of the present invention: the process of selecting a receiving end with abnormal transmission quality according to the quality threshold comprises: If the transmission quality index TQI of the receiving end is ≤Qt, then there is an abnormality in the transmission quality of the receiving end; if the transmission quality index TQI of the receiving end is >Qt, then there is no abnormality in the transmission quality of the receiving end.
[0013] As a further solution of the present invention: if there is a separate receiving end in the signal coverage range and it does not belong to the same area as the other receiving ends, the receiving end is recorded as the target receiving end, and the process of obtaining the transmission quality index of the target receiving end includes: Obtain the distance between each receiving end and the base station, and obtain the transmission quality index of each receiving end; according to the transmission quality index at different distances, fit to obtain a transmission quality curve; obtain the distance between the target receiving end and the base station, and obtain a predicted transmission quality index TQI according to the transmission quality curve 预测 ; According to the bit error rate and transmission time of the target receiving end, the transmission quality index TQI' of the target receiving end is obtained; If TQI ´∈[TQI 预测 - e , TQI 预测 + e ],in e is the preset error threshold and e >0, then there is no abnormality in the transmission quality of the target receiving end; otherwise, there is an abnormality in the transmission quality of the target receiving end.
[0014] Beneficial effects of the present invention: The present invention can evaluate the accuracy of data transmission by calculating the bit error rate, so as to take measures to optimize the transmission process and reduce data errors; by analyzing the transmission quality index of each receiving end, it can identify the receiving end with poor performance, and provide a basis for network optimization, such as adjusting the signal strength or reconfiguring network resources; by monitoring the transmission quality and timely identifying abnormal receiving ends, it can reduce the occurrence of faults in the data transmission process and improve the stability and reliability of the entire wireless communication system; according to the data transmission quality of all receiving ends belonging to the same area, the dynamic quality transmission index threshold of each area is obtained in real time, and the data transmission quality of the receiving end can be judged more accurately according to this dynamic threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The present invention will be further described below in conjunction with the accompanying drawings.
[0016] Figure 1 It is a flow chart of a data transmission method based on wireless communication of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] See also Figure 1 As shown, the present invention is a data transmission method based on wireless communication, comprising the following steps: Step S1: Acquire the signal coverage range of the base station and set a distance threshold; within the signal coverage range, record that a number of receiving terminals whose distances between each other are less than the distance threshold belong to the same area; It is understood that the signal coverage range is the maximum distance or area where a base station can effectively transmit signals; this is usually achieved through technical means such as signal strength testing, geographic information system (GIS) analysis, etc.; within the signal coverage range, all receiving terminals whose distance between each other is less than a set distance threshold are grouped into the same area; the purpose of this is to better manage and optimize the communication quality of these receiving terminals; grouping receiving terminals can help monitor and adjust network parameters more accurately; It should be noted that when a base station transmits data to all receiving terminals in the same area, since these receiving terminals are geographically close, it can be considered that the environmental factors they are in are approximately the same; this similarity helps to simplify the analysis and processing of various influencing factors that may occur during data transmission, thereby improving the reliability and efficiency of the entire wireless communication system; As a preferred embodiment of the present invention, the process of obtaining the distance threshold includes: Set several distance values, select two monitoring points within the signal coverage range, obtain the temperature at the two monitoring points when the distance between the two monitoring points is different distance values, and obtain the difference in temperature at the two monitoring points, which is recorded as the temperature difference; obtain a temperature difference set according to the temperature difference at different distance values; select the minimum value in the temperature difference set, and record the distance value corresponding to the minimum value as the distance threshold; The process of obtaining the distance threshold includes: When the minimum value in the temperature difference set is two identical temperature differences, two distance values corresponding to the two identical temperature differences are obtained, and an average value of the two distance values is obtained, which is recorded as a distance threshold; It should be noted that the process of setting the distance value includes: An initial distance value is set to 0, and a distance interval threshold is set, wherein the setting range of the distance interval threshold is [1m, 5m]. The initial distance threshold is incremented according to the distance interval threshold to obtain a plurality of distance values. It can be understood that two monitoring points are selected within the signal coverage range, and the distance between the two monitoring points will correspond to one of the previously set distance values; for each pair of selected monitoring points, the temperature between them is obtained, and the temperature difference at the two monitoring points is calculated; this temperature difference reflects the change in temperature at different distances; according to the temperature difference at different distance values, a temperature difference set is obtained; this set contains the temperature difference between each pair of monitoring points at all set distances; the smallest temperature difference value is selected from the temperature difference set; the minimum value represents the situation where the temperature change is the smallest among all considered distances; if the minimum temperature difference is unique, then the distance value corresponding to this minimum temperature difference is the distance threshold; if the minimum temperature difference has two identical values, then the average of the distance values corresponding to the two identical temperature differences will be recorded as the distance threshold; Step S2: The base station obtains a data sequence, and sends the data sequence to all receiving terminals belonging to the same area through a wireless channel; records the sending time, and obtains the receiving time of each receiving terminal to obtain the transmission time of the receiving terminal; and obtains the data sequence received by the receiving terminal, which is recorded as a receiving sequence; compares the data sequence with the receiving sequence to obtain a bit error rate; It is understandable that in order to evaluate the quality of communication, the base station will compare the original data sequence with the received sequence; by comparison, it is possible to find out which data has errors during the transmission process, thereby calculating the bit error rate; the bit error rate is an important indicator for measuring the accuracy of data transmission, which represents the ratio of the number of erroneous bits to the total number of bits; based on the comparison results, the base station can calculate the bit error rate; the bit error rate can reflect the accuracy of the data during the transmission process; As a preferred embodiment of the present invention, the process of obtaining the transmission time includes: recording the sending time as t0, recording the receiving time of the receiving end as t1, and obtaining the transmission time T=t1-t0; It is understandable that the transmission time reflects the time required for data to be transmitted in the wireless channel; As a preferred embodiment of the present invention, the process of obtaining the bit error rate includes: obtaining the total number of bytes of the data sequence, recorded as N, and comparing the data on each byte of the received sequence with the data on each byte of the data sequence bit by bit, obtaining the number of bytes in which the received sequence and the data sequence are different, recorded as n, and obtaining the bit error rate Er=n / N; It can be understood that the bit-by-bit comparison process is to compare the received sequence with each byte of the data sequence to check whether they are the same as the original data; and in the process of bit-by-bit comparison, the number of bytes with differences is recorded; Step S3: Obtain the transmission quality index of the receiving end according to the transmission time and bit error rate of each receiving end in the same area ,in m is the preset correction factor, Er i represents the bit error rate of the i-th receiving end in the same area, Er0 represents the standard bit error rate, T i represents the transmission time of the i-th receiving end in the same area, T0 represents the standard transmission time; and according to the transmission quality index of each receiving end, a transmission quality index set is obtained; It can be understood that the correction coefficient is obtained through experimental data and is used to adjust the contribution weight of the bit error rate and transmission time to TQI; this formula reflects the degree of deviation of the bit error rate and transmission time of the receiving end from the standard value; by analyzing the TQI set, the difference in communication quality between different receiving ends and the communication status of the entire area can be understood; if the TQI value of a certain receiving end is abnormally high, it may indicate that the receiving end has signal interference, hardware failure or other problems that affect the communication quality; in addition, TQI can also be used to optimize network configuration, such as adjusting the location or power of the base station to improve the overall communication quality; As a preferred embodiment of the present invention, the process of obtaining the standard bit error rate and the standard transmission time includes: Acquire historical transmission data, the historical transmission data including historical bit error rate and historical transmission time when the historical transmission data was transmitted; obtain an average value of the historical bit error rate, recorded as a standard bit error rate; and obtain an average value of the historical transmission time, recorded as a standard transmission time; It is understandable that the average value of historical data can represent typical conditions in the past and reflect the average performance of the system over a period of time. By using this benchmark, a reasonable comparison can be made with the current performance. The average value is a relatively stable statistic that will not fluctuate significantly due to individual extreme data points. This makes it a reliable reference point and helps reduce the impact of accidental factors on the evaluation. Using the average value as a benchmark can simplify the comparison of performance in different time periods or under different conditions. For example, by comparing the current bit error rate or transmission time with the historical average value, the performance trend can be intuitively seen. Step S4: Obtain the standard deviation s of the transmission quality index set to obtain the quality threshold Qt=TQI in the area ave +z*s, where TQI aveis the transmission quality index set, z is a preset multiple threshold; according to the quality threshold, a receiving end with abnormal transmission quality is selected; It can be understood that the standard deviation is an indicator for measuring the degree of data dispersion in statistics, reflecting the degree of deviation of the TQI value of each receiving end relative to the average value; the multiple threshold is obtained through experimental data and is used to determine whether the transmission quality of the receiving end is abnormal; As a preferred embodiment of the present invention, the process of selecting a receiving end with abnormal transmission quality according to the quality threshold includes: If the transmission quality index TQI of the receiving end is ≤Qt, then the transmission quality of the receiving end is abnormal; if the transmission quality index TQI of the receiving end is >Qt, then the transmission quality of the receiving end is not abnormal; As a preferred embodiment of the present invention, if there is a separate receiving end in the signal coverage range and does not belong to the same area as the other receiving ends, the receiving end is recorded as the target receiving end, and the process of obtaining the transmission quality index of the target receiving end includes: Obtain the distance between each receiving end and the base station, and obtain the transmission quality index of each receiving end; according to the transmission quality index at different distances, fit to obtain a transmission quality curve; obtain the distance between the target receiving end and the base station, and obtain a predicted transmission quality index TQI according to the transmission quality curve 预测 ; According to the bit error rate and transmission time of the target receiving end, the transmission quality index TQI' of the target receiving end is obtained; If TQI´∈[TQI 预测 - e , TQI 预测 + e ],in e is the preset error threshold and e >0, the transmission quality of the target receiving end is not abnormal; otherwise, the transmission quality of the target receiving end is abnormal; It should be noted that the process of obtaining the transmission quality curve includes: A rectangular coordinate system is established with the distance value as the horizontal coordinate and the transmission quality index as the vertical coordinate; the transmission quality index corresponding to different distance values is converted into a coordinate point on the rectangular coordinate system to obtain a plurality of coordinate points on the rectangular coordinate system; the coordinate points are connected with a smooth curve, and the curve is recorded as a transmission quality curve; It can be understood that the external environmental factors affecting each receiving end in the signal coverage range are mainly distance. The longer the distance, the worse the transmission effect of the received signal. Therefore, according to the change of the transmission quality index of all receiving ends in the same area with the distance, the transmission quality index of the target receiving end is predicted to obtain the predicted transmission quality index. The actual transmission quality index of the target receiving end is compared with the predicted transmission quality index to determine whether the data transmission of the target receiving end is abnormal.
[0019] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A data transmission method based on wireless communication, characterized in that: The following steps are involved: Step S1: Acquire the signal coverage range of the base station and set a distance threshold; within the signal coverage range, record that a number of receiving terminals whose distances between each other are less than the distance threshold belong to the same area; Step S2: The base station obtains a data sequence, and sends the data sequence to all receiving terminals belonging to the same area through a wireless channel; records the sending time, and obtains the receiving time of each receiving terminal to obtain the transmission time of the receiving terminal; and obtains the data sequence received by the receiving terminal, which is recorded as a receiving sequence; compares the data sequence with the receiving sequence to obtain a bit error rate; Step S3: Obtain the transmission quality index of the receiving end according to the transmission time and bit error rate of each receiving end in the same area ,in μ is the preset correction coefficient, Er i represents the bit error rate of the i-th receiving end in the same area, Er0 represents the standard bit error rate, T i represents the transmission time of the i-th receiving end in the same area, T0 represents the standard transmission time; and according to the transmission quality index of each receiving end, a transmission quality index set is obtained; Step S4: Obtain the standard deviation s of the transmission quality index set to obtain the quality threshold Qt=TQI in the area ave +z*s, where TQI ave is the transmission quality index set, z is a preset multiple threshold; according to the quality threshold, a receiving end with abnormal transmission quality is selected.
2. A data transmission method based on wireless communication according to claim 1, characterized in that: In step S1, the process of obtaining the distance threshold includes: Set several distance values, select two monitoring points within the signal coverage range, obtain the temperature at the two monitoring points when the distance between the two monitoring points is different distance values, and obtain the difference in temperature at the two monitoring points, which is recorded as the temperature difference; obtain a temperature difference set based on the temperature difference at different distance values; select the minimum value in the temperature difference set, and record the distance value corresponding to the minimum value as the distance threshold.
3. A data transmission method based on wireless communication according to claim 2, characterized in that: In step S1, the process of obtaining the distance threshold includes: When the minimum value in the temperature difference set is two identical temperature differences, two distance values corresponding to the two identical temperature differences are obtained, and an average value of the two distance values is obtained, which is recorded as the distance threshold.
4. A data transmission method based on wireless communication according to claim 1, characterized in that: In step S2, the process of obtaining the transmission time includes: recording the sending time as t0, recording the receiving time of the receiving end as t1, and obtaining the transmission time T=t1-t0.
5. The method for data transmission based on wireless communication according to claim 1, characterized in that: In step S2, the process of obtaining the bit error rate includes: obtaining the total number of bytes of the data sequence, denoted as N, and comparing the data on each byte of the received sequence with the data on each byte of the data sequence bit by bit, obtaining the number of bytes that differ between the received sequence and the data sequence, denoted as n, and obtaining the bit error rate Er=n / N.
6. A data transmission method based on wireless communication according to claim 1, characterized in that: In step S3, the process of obtaining the standard bit error rate and the standard transmission time includes: Obtain historical transmission data, the historical transmission data including historical bit error rate and historical transmission time when the historical transmission data is transmitted; obtain the average value of the historical bit error rate, recorded as the standard bit error rate; and obtain the average value of the historical transmission time, recorded as the standard transmission time.
7. A data transmission method based on wireless communication according to claim 1, characterized in that: In step S4, the process of selecting a receiving end with abnormal transmission quality according to the quality threshold includes: If the transmission quality index TQI of the receiving end is ≤Qt, then there is an abnormality in the transmission quality of the receiving end; if the transmission quality index TQI of the receiving end is >Qt, then there is no abnormality in the transmission quality of the receiving end.
8. The data transmission method based on wireless communication according to claim 1, characterized in that: In step S1, if there is a separate receiving end in the signal coverage range and it does not belong to the same area as the other receiving ends, the receiving end is recorded as the target receiving end, and the process of obtaining the transmission quality index of the target receiving end includes: Obtain the distance between each receiving end and the base station, and obtain the transmission quality index of each receiving end; according to the transmission quality index at different distances, fit to obtain a transmission quality curve; obtain the distance between the target receiving end and the base station, and obtain a predicted transmission quality index TQI according to the transmission quality curve 预测 ; According to the bit error rate and transmission time of the target receiving end, the transmission quality index TQI' of the target receiving end is obtained; If TQI´∈[TQI 预测 - ε , TQI 预测 + ε ],in ε is the preset error threshold and ε >0, then there is no abnormality in the transmission quality of the target receiving end; otherwise, there is an abnormality in the transmission quality of the target receiving end.
Citation Information
Patent Citations
Signal mapping algorithm processing system for wireless network transmission channel
CN116456383A
Railway wireless communication quality prediction method and device and storage medium
CN116720601A
Communication signal detection device and detection method
CN118714607A
Data set transmitting method, data set receiving method, communication system, communication device and storage medium
CN118784111A
Method and system for allocating connection path
WO2018205063A1