Detailed Description
The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
The embodiment of the invention firstly provides a data communication method based on 5G-R, which can be applied to electronic equipment such as computer terminals, in particular to common computers and the like.
The following describes the operation of the computer terminal in detail by taking it as an example. Fig. 1 is a hardware block diagram of a computer terminal according to a data communication method based on 5G-R according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the computer terminal described above. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the 5G-R based data communication method in the embodiment of the present application, and the processor 102 executes the software programs and modules stored in the memory 104 to perform various functional applications and data processing, i.e., implement the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the computer terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
Referring to fig. 2, an embodiment of the present invention provides a data communication method based on 5G-R, which may include the steps of:
s201, dynamically distributing available frequency spectrum to a plurality of communication units of the 5G-R network;
specifically, dynamically allocating the available spectrum to a plurality of communication units in the 5G-R network means dynamically allocating frequency resources according to the real-time status of the network and the requirements of each communication unit, so as to improve the utilization rate and performance of the network. The method comprises the following specific steps:
-identification of available spectrum: first, the currently available spectral range in the network needs to be determined. This includes frequency bands that are not used or are inefficiently utilized.
-Demand identification: each communication unit has different data transmission requirements and may change over time (e.g., number of users, traffic changes, etc.). Therefore, there is a need to monitor the bandwidth requirements of each communication unit in real time.
-A dynamic allocation algorithm: based on the bandwidth requirements of the communication units and the status of the communication environment, a dynamic allocation algorithm (e.g., a spectrum allocation formula described below) is employed to ensure that each communication unit obtains the appropriate spectrum resources. This algorithm takes into account the relative demands of each unit and its dynamic adjustment coefficients, thereby achieving a more rational allocation of resources. The significance of the action is as follows:
-improving spectrum utilization: by dynamically allocating spectrum, limited spectrum resources can be utilized more effectively, and idle and waste of spectrum are reduced.
-Strong adaptability: dynamic allocation can quickly respond to changes of network environments, such as temporary flow surge in peak time, and network stability and user experience are guaranteed.
-Enhancing network performance: reasonable frequency spectrum distribution can improve data transmission speed, reduce delay and improve overall performance of the network and user satisfaction.
Specifically, the spectrum allocated to each communication unit may be:
wherein the said Indicating the available spectral width allocated to the ith communication unit at time t, directly determines the data transmission capacity of that communication unit.
The saidThe bandwidth requirement of the ith communication unit at the moment t is represented, the requirement of the unit on the frequency spectrum is represented, the size of the allocated frequency spectrum is influenced, and the data flow, the requirement and the QoS requirement of each communication unit can be monitored in real time to determine.
The saidThe corresponding dynamic adjustment coefficient reflects the change of the real-time network condition, and can be dynamically adjusted due to factors such as channel quality, interference and the like, so that the flexibility of spectrum allocation is ensured. Dynamic adjustment is performed according to network status and channel conditions, and calculation can be performed based on channel measurement results, historical usage data and network congestion conditions.
The N is the total number of communication units, the W is the total available spectrum width, and is determined by network infrastructure constraints, and can be determined by hardware capabilities and network design.
The design of the formula aims at realizing fair and efficient allocation of the available frequency spectrum according to the bandwidth requirement and dynamic adjustment coefficient of each communication unit. The dynamic allocation can ensure that the spectrum resources obtained by different communication units in the network are matched with the actual demands thereof, thereby improving the resource utilization efficiency of the whole network. An implementation may include:
1. preparing spectrum division:
-collecting information of all communication units in the current 5G-R network, including bandwidth requirements b_i (t) and real-time channel conditions etc. parameters of each unit, and establishing a list of available spectrum resources.
2. Spectrum demand analysis:
-using a network traffic analysis tool to monitor the bandwidth requirements of the respective communication units at time t, generating a requirement data set.
3. Dynamic adjustment coefficient calculation:
-dynamically adjusting the adjustment coefficient alpha_i (t) of each communication unit using a machine learning based algorithm according to the real-time network conditions of the communication units (e.g. channel quality, interference situation, etc.).
4. Spectrum allocation calculation:
-applying a formula to calculate the available spectral width s_i (t) of each communication unit one by one, ensuring allocation within the total spectrum W.
Through the steps, the dynamic allocation of the available frequency spectrum in the 5G-R network can be realized, and the communication efficiency and the user experience of the whole network are improved.
S202, in each communication unit allocated to the frequency spectrum, monitoring the channel state of a communication channel in real time, and calculating the multidimensional signal-to-noise ratio and the comprehensive error rate of the current channel; specifically, this process may include the steps of:
-monitoring channel conditions in real time: the status of the communication channel is monitored using various sensors and algorithms, including signal power, noise power, and interference power. These data can provide real-time performance information of the channel.
-Calculating a multidimensional signal-to-noise ratio: the multidimensional signal to noise ratio is an important indicator for evaluating the channel quality. Through the formula calculation MDSNR, the strength of the signal compared with noise and interference can be reflected, so that whether the channel is suitable for efficient data transmission or not can be judged.
-Calculating the integrated error rate: the comprehensive error rate is to comprehensively evaluate the error condition of the channel under specific conditions from multiple dimensions (different channel components), and the overall channel quality can be accurately reflected through the weight setting of the different channel components. The action significance is as follows:
-optimizing the modulation and coding scheme: by acquiring the channel state and the performance index in real time, the optimal modulation mode and coding scheme (such as QPSK, 16QAM, LDPC code and the like) can be selected according to the current channel condition, so that the efficiency and the reliability of information transmission are improved.
-Enhancing the anti-interference capability: MDSNR and CBER calculations help to evaluate the interference immunity of the channel, in case of severe interference, the system can automatically reduce the modulation level or change the coding strategy to ensure reliability.
-Enhancing the user experience: by adjusting the use strategy of the channel in real time, the error rate of data transmission can be effectively reduced, the service quality of the network is improved, and the experience of a user is finally enhanced.
Through the dynamic adjustment and the real-time monitoring, the 5G-R network can keep high-efficiency and stable communication capacity, and is suitable for the continuously-changing communication environment and requirements.
Specifically, a calculation formula of the multidimensional signal-to-noise ratio and the comprehensive error rate may include:
wherein the said For the multidimensional signal-to-noise ratio of the communication channel of the ith communication unit at time t, the signal strength is reflected with respect to the strength of noise and interference, the higher the value the better the channel quality.
The saidThe signal power of the ith communication channel at time t represents the strength of the effective signal. The measurements may be made in real time by a receiving antenna or receiver, for example using a power meter, signal analyzer, etc.
The saidThe noise power for the ith communication channel at time t, includes all background noise. The measurement may be performed using a noise measurement device or estimated from an ambient noise model.
The saidInterference from other channels or communication units is indicated for the interference power of the ith communication channel at time t. Can be obtained by scanning and analyzing the surrounding signal environment, and the interference source needs to be identified by means of multipath measurement technology.
The saidThe integrated error rate of the ith communication channel at time t represents the probability of error occurring during data transmission and is an important index for evaluating the communication quality.
The saidIs the firstThe weight coefficients of the individual channel components reflect the importance of the different channel components in the integrated bit error rate calculation. The optimal value can be set according to historical communication data and channel performance, and can be obtained through experiments.
The saidFor the number of channel components, saidThe error rate, which is a gaussian error function, is commonly used in communication systems to calculate the error rate, which represents the probability of a symbol being decoded in error given the signal-to-noise ratio.
The design of the above formula aims to accurately evaluate the quality and reliability of the communication channel. By calculating the multidimensional signal-to-noise ratio (MDSNR) and the Comprehensive Bit Error Rate (CBER), the formula provides basic data of an optimized modulation mode for a communication system, and is beneficial to improving the stability and the speed of data transmission.
S203, determining a corresponding communication modulation mode and a corresponding coding scheme according to the comprehensive error rate;
Specifically, a modulation method may include: QPSK, 16QAM, 64QAM, and 256QAM, the coding scheme may include: convolutional codes, turbo codes, and LDPC codes. Wherein, the modulation mode can be determined by the comprehensive error rate, and the coding scheme can be determined by self.
Specifically, the modulation method may include:
-QPSK (quadrature phase shift keying): data transmission is carried out through four phases, and each symbol carries 2 bits of information, so that the complexity is relatively low and the anti-interference capability is good.
16QAM (16 th order quadrature amplitude modulation): each symbol carries 4 bits of information, so that the data transmission rate is improved, and the method is suitable for the condition of better channel quality.
-64QAM (64 th order quadrature amplitude modulation): further increases to 6 bits per symbol, is suitable for high signal to noise ratio environments, and can realize higher transmission rates.
256QAM (256-order quadrature amplitude modulation): each symbol carries 8 bits and is suitable for very good channel conditions, and very high rates can be achieved, but the requirements on channel quality are very high.
The coding scheme may include:
-convolutional codes: the reliability of data transmission is improved by maintaining certain redundancy, and the method is suitable for real-time application.
-Turbo code: with two or more convolutional encoders and interleavers, efficient error correction can be achieved at conditions approaching the shannon limit.
-LDPC (low density parity check code): an efficient error correction code having a low error rate is suitable for large capacity data transmission.
The modulation mode of the ith communication unit at time t can be determined according to the following formula:
wherein the said Representation and rendering ofThe value of m reaches the maximum, theThe data transmission capability is reflected for throughput when the mth modulation scheme is adopted. By evaluating the data transmission capacity under different modulation schemes, the optimal data transmission scheme under the available channel conditions is determined.
The comprehensive error rate when the mth modulation mode is adopted is represented, and the influence of the error code under the mth modulation mode is represented, so that the effective transmission quality is influenced.And evaluating the performance of the specific modulation mode under the specific channel condition for the dynamic modulation gain coefficient of the mth modulation mode, thereby being beneficial to understanding the influence of the modulation mode on the performance of the communication link.
The formula aims to select a modulation scheme suitable for the ith communication unit at a specific time t so that the modulation scheme is optimally balanced between the integrated bit error rate (CBER) and the throughput. By maximizing this ratio, the modulation scheme with the highest transmission efficiency can be effectively selected.
In this step, the modulation scheme most suitable for the current channel condition is selected according to the real-time calculated integrated bit error rate (CBER). CBER is a comprehensive assessment of the communication channel, which reflects the likelihood of data transmission errors for a given modulation scheme.
-Dynamic selection: through real-time channel condition monitoring, signal and noise analysis, a pre-defined algorithm (such as argmax in the formula) is used to select the optimal modulation scheme.
-Real-time feedback: the process is dynamic, meaning that as channel conditions change, the modulation strategy will also change to cope with different channel quality and traffic demands.
The action significance is as follows:
-improving network reliability: by selecting proper modulation mode and coding scheme, error rate can be reduced obviously, and reliability of data transmission can be improved, especially in channel environment with frequent change.
-Optimizing data transmission efficiency: according to the current channel condition, the modulation and coding strategy is reasonably selected, so that the data throughput can be improved to the maximum extent, and the high bandwidth requirement is met.
-Enhancing the user experience: and stable connection quality and high data transmission rate are maintained under various operation conditions, and service experience and satisfaction of users are improved.
In a word, the communication modulation mode and the coding scheme are dynamically determined based on the comprehensive error rate, so that not only are the effectiveness and the reliability of data transmission ensured, but also necessary flexibility and adaptability are provided for the 5G-R network.
S204, splitting the data to be transmitted into a plurality of groups of sub-data corresponding to a plurality of communication units, respectively modulating and encoding each group of sub-data by utilizing a corresponding determined communication modulation mode and encoding scheme, and transmitting the sub-data through the corresponding communication units.
The key of the step is to effectively split the data to be transmitted into a plurality of sub-data according to the channel state monitored in real time aiming at the characteristics of the 5G-R network, and determine an applicable modulation mode and coding scheme for each group of sub-data so as to ensure the efficiency and reliability of the information in the transmission process. The significance of the action is as follows:
-efficient use of spectrum resources: this procedure ensures maximum utilization of the data when using the spectrum, optimizing the overall network resource consumption by being reasonably allocated to the different communication units.
-Improving transmission reliability: by selecting the most suitable modulation mode and coding scheme for each group of sub-data, the error rate can be obviously reduced, the success rate of data transmission is increased, and the reliability of a communication link is improved.
-Adapting to a dynamic environment: the step can adjust the transmission scheme in real time, respond to the change of the channel condition, provide the optimal communication service, and ensure the stability and fluency of the user experience.
Specifically, one implementation may include:
1. Data receiving and preprocessing:
-receiving a data stream (DATA STREAM) to be transmitted.
Preliminary pre-processing, including removing redundant information, data formatting, etc., ensures that the data can be efficiently split and processed.
2. Determining the number of sub-data sets:
-determining the number of communication units (N) required according to the current network conditions, the size of the data to be transmitted and the bandwidth requirements of each communication unit.
3. Splitting data:
-splitting the Data stream to be transmitted into N Sub Data groups (Sub Data groups), marking the start and stop positions of each Sub Data Group in the overall Data stream.
4. Modulation and coding:
-performing the modulation and coding steps. The previously selected modulation scheme and coding scheme is applied to each sub-data group:
-converting the sub-data into signal form using a modulation algorithm.
-Applying a coding algorithm to ensure that the data is able to correct errors in the transmission and to improve the reliability of the transmission.
5. Transmitting by the communication unit:
-transmitting each set of modulated and encoded sub-data via a respective communication unit.
Maintaining a synchronization mechanism, ensuring that the sub-data sets are sent in a predetermined order or time window, to avoid data loss or confusion.
6. Monitoring and feedback:
-monitoring the channel state in real time during transmission, collecting feedback information, and adjusting the subsequent transmission scheme as required. The process can be optimized by using an adaptive adjustment mechanism through historical performance data and real-time monitoring data.
Through the steps, efficient and reliable 5G-R network data transmission can be realized, and good communication quality and user experience are ensured to be maintained under the continuously-changing network conditions.
It can be seen that the available spectrum is dynamically allocated to a plurality of communication units of the 5G-R network; in each communication unit allocated to the frequency spectrum, the channel state of the communication channel is monitored in real time, and the multidimensional signal-to-noise ratio and the comprehensive error rate of the current channel are calculated; determining a corresponding communication modulation mode and a corresponding coding scheme according to the comprehensive error rate; the data to be transmitted is split into a plurality of groups of sub data corresponding to a plurality of communication units, each group of sub data is modulated and coded respectively by utilizing a corresponding determined communication modulation mode and coding scheme, and the sub data is transmitted through the corresponding communication units, so that the frequency spectrum utilization rate and the communication quality of a railway communication system can be improved, and the requirements of the modern railway system on high-bandwidth, low-delay and high-reliability communication are met.
Still another embodiment of the present invention provides a 5G-R based data communication system, see fig. 3, which may include:
an allocation module 301, configured to dynamically allocate an available spectrum to a plurality of communication units of the 5G-R network;
the monitoring module 302 is configured to monitor, in real time, a channel state of a communication channel in each communication unit allocated to a frequency spectrum, and calculate a multidimensional signal-to-noise ratio and a comprehensive bit error rate of a current channel;
A determining module 303, configured to determine a corresponding communication modulation mode and a coding scheme according to the integrated error rate;
The communication module 304 is configured to split data to be transmitted into multiple groups of sub-data corresponding to multiple communication units, modulate and encode each group of sub-data respectively by using the corresponding determined communication modulation scheme and coding scheme, and transmit the sub-data through the corresponding communication units.
It can be seen that the available spectrum is dynamically allocated to a plurality of communication units of the 5G-R network; in each communication unit allocated to the frequency spectrum, the channel state of the communication channel is monitored in real time, and the multidimensional signal-to-noise ratio and the comprehensive error rate of the current channel are calculated; determining a corresponding communication modulation mode and a corresponding coding scheme according to the comprehensive error rate; the data to be transmitted is split into a plurality of groups of sub data corresponding to a plurality of communication units, each group of sub data is modulated and coded respectively by utilizing a corresponding determined communication modulation mode and coding scheme, and the sub data is transmitted through the corresponding communication units, so that the frequency spectrum utilization rate and the communication quality of a railway communication system can be improved, and the requirements of the modern railway system on high-bandwidth, low-delay and high-reliability communication are met.
The embodiment of the invention also provides a storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the method embodiments described above when run.
Specifically, in the present embodiment, the above-described storage medium may be configured to store a computer program for executing the steps of:
s201, dynamically distributing available frequency spectrum to a plurality of communication units of the 5G-R network;
S202, in each communication unit allocated to the frequency spectrum, monitoring the channel state of a communication channel in real time, and calculating the multidimensional signal-to-noise ratio and the comprehensive error rate of the current channel;
S203, determining a corresponding communication modulation mode and a corresponding coding scheme according to the comprehensive error rate;
s204, splitting the data to be transmitted into a plurality of groups of sub-data corresponding to a plurality of communication units, respectively modulating and encoding each group of sub-data by utilizing a corresponding determined communication modulation mode and encoding scheme, and transmitting the sub-data through the corresponding communication units.
It can be seen that the available spectrum is dynamically allocated to a plurality of communication units of the 5G-R network; in each communication unit allocated to the frequency spectrum, the channel state of the communication channel is monitored in real time, and the multidimensional signal-to-noise ratio and the comprehensive error rate of the current channel are calculated; determining a corresponding communication modulation mode and a corresponding coding scheme according to the comprehensive error rate; the data to be transmitted is split into a plurality of groups of sub data corresponding to a plurality of communication units, each group of sub data is modulated and coded respectively by utilizing a corresponding determined communication modulation mode and coding scheme, and the sub data is transmitted through the corresponding communication units, so that the frequency spectrum utilization rate and the communication quality of a railway communication system can be improved, and the requirements of the modern railway system on high-bandwidth, low-delay and high-reliability communication are met.
The present invention also provides an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Specifically, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Specifically, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s201, dynamically distributing available frequency spectrum to a plurality of communication units of the 5G-R network;
S202, in each communication unit allocated to the frequency spectrum, monitoring the channel state of a communication channel in real time, and calculating the multidimensional signal-to-noise ratio and the comprehensive error rate of the current channel;
S203, determining a corresponding communication modulation mode and a corresponding coding scheme according to the comprehensive error rate;
s204, splitting the data to be transmitted into a plurality of groups of sub-data corresponding to a plurality of communication units, respectively modulating and encoding each group of sub-data by utilizing a corresponding determined communication modulation mode and encoding scheme, and transmitting the sub-data through the corresponding communication units.
It can be seen that the available spectrum is dynamically allocated to a plurality of communication units of the 5G-R network; in each communication unit allocated to the frequency spectrum, the channel state of the communication channel is monitored in real time, and the multidimensional signal-to-noise ratio and the comprehensive error rate of the current channel are calculated; determining a corresponding communication modulation mode and a corresponding coding scheme according to the comprehensive error rate; the data to be transmitted is split into a plurality of groups of sub data corresponding to a plurality of communication units, each group of sub data is modulated and coded respectively by utilizing a corresponding determined communication modulation mode and coding scheme, and the sub data is transmitted through the corresponding communication units, so that the frequency spectrum utilization rate and the communication quality of a railway communication system can be improved, and the requirements of the modern railway system on high-bandwidth, low-delay and high-reliability communication are met.
The construction, features and effects of the present invention have been described in detail with reference to the embodiments shown in the drawings, but the above description is only a preferred embodiment of the present invention, but the present invention is not limited to the embodiments shown in the drawings, all changes, or modifications to the teachings of the invention, which fall within the meaning and range of equivalents are intended to be embraced therein, are intended to be embraced therein.