Data transmission method and apparatus, electronic device, and terminal device
Patent Information
- Application Number
- CN202210042605.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-14
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-01-14
AI Technical Summary
[0002]飞行器在飞行过程中,不可避免会遇到雨天,飞行器的机载通信终端的通信系统如Ka/Ku双频融合系统的电波进入雨层中会引起的衰减,也即通信系统会受雨衰影响,L频段如北斗短报文通信干扰大,会造成通信性能显著下降
[0045]本申请提供的技术方案的优点在于,根据当前通信链路的数据传输质量采用不同的数据传输方式,在数据传输质量不好的情况下,对待传输进行解扩处理,将解扩处理所得数据传输给用户端,从而可有效提高数据传输可靠性,可有效避免数据丢失,避免重要数据无法传输的现象发生,在底层协议处理不校验直接丢包的情况下,可根据实际通信接入需求,实现极端或则较差信道环境的传输,从而为航空紧急情况下重要信息的传输提供通信通道。此外,通过对待传输数据在应用层进行扩频,可降低通信发射机功率,有利于提高通信发射机的通信发射通道和导航接收通道的隔离度,提升机载通信终端设备的通信性能。
Smart Images

Figure CN116489693B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a data transmission method, apparatus, electronic device, and terminal device. Background Technology
[0002] During flight, aircraft inevitably encounter rain. The radio waves of the aircraft's onboard communication terminal, such as the Ka / Ku dual-frequency fusion system, will be attenuated when they enter the rain layer. In other words, the communication system will be affected by rain attenuation. The L-band, such as BeiDou short message communication, is subject to great interference, which will cause a significant decrease in communication performance.
[0003] The communication systems of airborne communication terminals in related technologies all adaptively encode and decode according to specific bit error rate performance and perform verification at the link layer. This may cause important information to fail to be transmitted in extreme or special circumstances, such as rainy days.
[0004] Therefore, how to improve data transmission reliability, and enable transmission in extreme or poor channel environments based on actual communication access needs, in the case of packet loss without verification in the underlying protocol processing, and provide a communication channel for the transmission of important information in aviation emergencies, is a technical problem that technical personnel in this field need to solve. Summary of the Invention
[0005] This application provides a data transmission method, apparatus, electronic device, and terminal device, which can effectively improve the reliability of data transmission and provide a communication channel for the transmission of important information in aviation emergencies.
[0006] To address the aforementioned technical problems, the embodiments of the present invention provide the following technical solutions:
[0007] One embodiment of the present invention provides a data transmission method, including:
[0008] Different link signal monitoring qualities and corresponding data processing methods are predefined; the data processing methods include despreading mode and non-despreading mode. The despreading mode is used to despread the data to be transmitted when the link transmission quality is lower than the preset quality requirements.
[0009] Data verification information is obtained by encoding / decoding the data to be transmitted and performing link verification.
[0010] The signal monitoring quality of the corresponding link is determined based on the data verification information, and the data to be transmitted is transmitted to the user using a matching data processing method.
[0011] Optionally, the predefined monitoring quality of different link signals and corresponding data processing methods include:
[0012] If the accuracy of the data verification result of the current link is greater than the first threshold, the link signal monitoring quality of the current link is level one, and the data processing method matched for the current link is non-despreading mode.
[0013] If the accuracy of the data verification result of the current link is less than the second threshold, the link signal monitoring quality of the current link is level two, and the data processing method matched for the current link is despreading mode; the first threshold is greater than the second threshold.
[0014] If the link signal monitoring quality of the current link at the previous moment was Level 1, and if the accuracy of the data verification result at the current moment is less than or equal to the first threshold and greater than or equal to the second threshold, the data processing method matched for the current link is non-despreading mode.
[0015] If the link signal monitoring quality of the current link at the previous moment was Level 2, and if the accuracy of the data verification result at the current moment is less than or equal to the first threshold and greater than or equal to the second threshold, then the data processing method matched for the current link is the despreading mode.
[0016] Optionally, after determining the signal monitoring quality of the corresponding link based on the data verification information, the method further includes:
[0017] If the link signal monitoring quality of the current link is level two, determine whether the link signal monitoring quality of the current link at the previous moment is the same as that at the current moment.
[0018] If the link signal monitoring quality at the previous moment and the current moment are the same, then the first relational expression is called to calculate the spreading factor used in the despreading mode.
[0019] If the link signal monitoring quality at the previous moment and the current moment are different, the second relation is called to calculate the spreading factor used in the despreading mode.
[0020] Optionally, transmitting the data to be transmitted to the user using a matching data processing method includes:
[0021] If the link signal monitoring quality is at the first level, the data with correct verification in the data to be transmitted is transmitted to the user terminal using a transparent transmission method.
[0022] If the link signal monitoring quality is at level two, the data to be transmitted is despread and the data obtained from the despreading process is transmitted to the user terminal.
[0023] Optional, also includes:
[0024] Based on the link signal monitoring quality of the local terminal and the remote terminal in advance, the data communication protocol of the local terminal and the remote terminal is determined; the local terminal and the remote terminal interact with each other via antenna;
[0025] Accordingly, the process of encoding / decoding and link verification of the data to be transmitted is as follows: based on the data communication protocol and terminal type, the data to be transmitted is encoded / decoded and the link verification is performed.
[0026] The step of transmitting the data to be transmitted to the user using a matching data processing method is as follows: based on the data communication protocol and terminal type, the data to be transmitted to the user is transmitted using a matching data processing method.
[0027] Optionally, the step of determining the data communication protocol between the local terminal and the remote terminal based on the link signal monitoring quality of the local terminal and the remote terminal includes:
[0028] If the data processing method of the local terminal is the non-despreading mode, the data to be transmitted is target data that is multiplied based on a single data packet and a fixed spreading factor, and carries the transmission spreading factor.
[0029] The remote terminal performs despreading processing on the received target data according to the target spreading factor to obtain remote despreading data; if the remote despreading data is verified to be accurate, it enters the despreading mode and uses the transmission spreading factor for despreading communication.
[0030] Optionally, the step of determining the data communication protocol between the local terminal and the remote terminal based on the link signal monitoring quality of the local terminal and the remote terminal includes:
[0031] If the local terminal's data processing method is the despreading mode, the data to be transmitted is despread according to the target spreading factor to obtain local despreading data;
[0032] If the local despread data verification fails, each local despread data is demodulated separately to obtain multiple demodulated data. If each demodulated data is verified correctly, the data processing mode of the local terminal is changed to the non-despread mode.
[0033] If all local despreading data are verified correctly, the local despreading data and the transmission spreading factor are transmitted as data to be transmitted. The remote terminal performs despreading processing on the received target data according to the target spreading factor to obtain remote despreading data. If the remote despreading data is verified accurately, the terminal enters the despreading mode and uses the transmission spreading factor for despreading communication.
[0034] Another aspect of the present invention provides a data transmission apparatus, comprising:
[0035] A predefined module is used to predefine different link signal monitoring qualities and corresponding data processing methods; the data processing methods include despreading mode and non-despreading mode, the despreading mode is used to despread and spread spectrum processing of the data to be transmitted when the link transmission quality is lower than the preset quality requirements;
[0036] The verification module is used to obtain data verification information by performing encoding / decoding processing and link verification processing on the data to be transmitted;
[0037] The data transmission module is used to determine the signal monitoring quality of the corresponding link based on the data verification information, and to transmit the data to be transmitted to the user using a matching data processing method.
[0038] This invention also provides an electronic device, including a processor, which executes a computer program stored in a memory to implement the steps of the data transmission method as described in any of the preceding claims.
[0039] This invention also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the data transmission method as described in any of the preceding claims.
[0040] Finally, this embodiment of the invention also provides a terminal device, including an encoding / decoding module, a link control module, a monitoring module, an application layer despreading module, and an application layer spread spectrum module;
[0041] The encoding / decoding module is used to decode the data received from the antenna and send the decoded data to be transmitted to the link control module; the encoding / decoding module is also used to encode the data to be transmitted received from the link control module and send the encoded data to the target terminal through the antenna.
[0042] The monitoring module is used to control the working mode of the link control module; if the working mode of the link control module is verification mode, the link verification is performed on the data to be transmitted, and the data verification information is sent to the monitoring module; if the working mode of the link control module is non-verification mode, the data verification is not performed on the data to be transmitted.
[0043] The monitoring module is also used to monitor the link signal quality. Based on predefined monitoring qualities of different link signals and corresponding data processing methods, it determines the monitoring quality of the link signal according to the data verification information, and controls the application layer despreading module to use a matching data processing method to transmit the data to be transmitted to the user. The data processing method includes despreading mode and non-despreading mode. The despreading mode is used to despread the data to be transmitted when the link transmission quality is lower than the preset quality requirements.
[0044] The application layer spread spectrum module is used to spread the data received from the user terminal and send the data obtained from the spread spectrum processing to the link control module as the data to be transmitted.
[0045] The advantages of the technical solution provided in this application are that it adopts different data transmission methods according to the data transmission quality of the current communication link. In cases of poor data transmission quality, despreading is performed on the data to be transmitted before transmitting it to the user terminal. This effectively improves data transmission reliability, avoids data loss, and prevents the failure to transmit important data. Even in cases where the underlying protocol does not verify and directly loses packets, transmission can be achieved in extreme or poor channel environments according to actual communication access requirements, thus providing a communication channel for transmitting important information in aviation emergencies. Furthermore, by spreading the data to be transmitted at the application layer, the power of the communication transmitter can be reduced, which helps improve the isolation between the communication transmission channel and the navigation receiving channel, thereby enhancing the communication performance of the airborne communication terminal equipment.
[0046] Furthermore, embodiments of the present invention also provide corresponding implementation devices, electronic devices, and terminal devices for the data transmission method, further making the method more practical, and the devices, electronic devices, and terminal devices have corresponding advantages.
[0047] It should be understood that the above general description and the following detailed description are merely exemplary and do not limit this disclosure. Attached Figure Description
[0048] To more clearly illustrate the technical solutions of the embodiments of the present invention or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 A flowchart illustrating a data transmission method provided in an embodiment of the present invention;
[0050] Figure 2A structural diagram of a specific embodiment of the data transmission device provided in this invention;
[0051] Figure 3 A structural diagram of a specific embodiment of the electronic device provided in this invention;
[0052] Figure 4 A structural diagram of a specific embodiment of the terminal device provided in this invention;
[0053] Figure 5 This is a schematic diagram illustrating an exemplary application scenario of a terminal device provided in an embodiment of the present invention. Detailed Implementation
[0054] To enable those skilled in the art to better understand the present invention, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0055] The terms "first," "second," "third," "fourth," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may include steps or units not listed.
[0056] After introducing the technical solutions of the embodiments of the present invention, the various non-limiting embodiments of this application will be described in detail below.
[0057] First see Figure 1 , Figure 1 This is a flowchart illustrating a data transmission method according to an embodiment of the present invention. The embodiment of the present invention may include the following:
[0058] S101: Predefine the monitoring quality of different link signals and the corresponding data processing methods.
[0059] In this embodiment, the data processing methods include despreading mode and non-despreading mode. Despreading mode is used to despread the data to be transmitted when the link transmission quality is lower than a preset quality requirement. When the link transmission quality is not lower than the preset quality requirement, the data to be transmitted can be transmitted normally without despreading. Despreading reconstructs information on the original bandwidth of the signal. By performing spread spectrum processing at the application layer, the power of the communication transmitter can be reduced and the isolation of the transceiver channel can be improved. The preset quality requirement can be flexibly determined according to the actual application scenario, and this application does not impose any limitations on it.
[0060] S102: Data verification information is obtained by encoding / decoding the data to be transmitted and performing link verification.
[0061] In this step, the data to be transmitted is encoded or decoded at the physical layer of the communication, and then a link check is performed at the link layer to obtain data verification information that can provide feedback on the current link transmission quality. For example, the data to be transmitted can undergo CRC check; if the CRC check fails, it means that the data transmission has failed, which indicates that the current link transmission quality is poor.
[0062] S103: Determine the signal monitoring quality of the relevant link based on the data verification information, and use the matching data processing method to transmit the data to be transmitted to the user.
[0063] After obtaining the data verification information on the quality of the link transmission in the previous step, the system determines whether to perform despreading and spread spectrum processing on the data to be transmitted, that is, whether to use despreading mode or non-despreading mode to transmit the data.
[0064] In the technical solution provided by this invention, different data transmission methods are adopted according to the data transmission quality of the current communication link. When the data transmission quality is poor, despreading is performed on the data to be transmitted, and the despread data is then transmitted to the user terminal. This effectively improves data transmission reliability, prevents data loss, and avoids the inability to transmit important data, providing a communication channel for the transmission of critical information in aviation emergencies. Furthermore, by spreading the data to be transmitted at the application layer, the power of the communication transmitter can be reduced, which helps improve the isolation between the communication transmission channel and the navigation receiving channel, thereby enhancing the communication performance of the airborne communication terminal equipment.
[0065] It should be noted that there is no strict order of execution for the steps in this application. As long as they conform to a logical order, these steps can be executed simultaneously or in a certain preset order. Figure 1 This is just an illustrative example and does not mean that this is the only possible execution order.
[0066] In the above embodiments, there is no limitation on how to perform step S101. This embodiment provides an optional definition method for different link signal monitoring qualities and corresponding data processing methods, which may include the following steps:
[0067] If the accuracy of the current link's data verification result is greater than the first threshold, the link signal monitoring quality of the current link is Level 1, and the matching data processing method for the current link is non-despreading mode. If the accuracy of the current link's data verification result is less than the second threshold, the link signal monitoring quality of the current link is Level 2, and the matching data processing method for the current link is despreading mode. Accordingly, if the link signal monitoring quality is Level 1, transparent transmission is used to transmit the correctly verified data to the user end; if the link signal monitoring quality is Level 2, despreading processing is performed on the data to be transmitted, and the despread data is transmitted to the user end. Transparent transmission means that regardless of the transmitted service content, it only transmits the content from the source address to the destination address without altering the service data content.
[0068] In this embodiment, the first threshold is greater than the second threshold. The first and second thresholds can be flexibly selected according to the actual application scenario. The link quality corresponding to the first level is better than that corresponding to the second level. It is understood that the data link quality changes in real time. Based on this, if the link signal monitoring quality of the current link at the previous moment was first level, and if the accuracy of the data verification result at the current moment is less than or equal to the first threshold and greater than or equal to the second threshold, the data processing method matched for the current link is non-despreading mode; if the link signal monitoring quality of the current link at the previous moment was second level, and if the accuracy of the data verification result at the current moment is less than or equal to the first threshold and greater than or equal to the second threshold, the data processing method matched for the current link is despreading mode.
[0069] After determining the monitoring quality corresponding to the current link, or before determining the data transmission method, or after determining that the data transmission method is despreading, it is also necessary to calculate the spreading factor used in the despreading process. The spreading factor is also known as the spreading multiple. The calculation method of the spreading factor is as follows:
[0070] If the current link signal monitoring quality is at level two, determine whether the link signal monitoring quality at the previous moment is the same as that at the current moment. If the link signal monitoring quality at the previous moment is the same as that at the current moment, then use the first relational expression to calculate the spreading factor used in the despreading mode. If the link signal monitoring quality at the previous moment is different from that at the current moment, then use the second relational expression to calculate the spreading factor used in the despreading mode. The first and second relationsal expressions can be determined according to the actual application scenario. For example, the first relational expression can be 1 / C0, and the second relational expression can be 1 / Am or 1 / Bm, where C0 is a constant such as 0.5, Am is the data verification result corresponding to level one, and Bm is the data verification result of level two.
[0071] It is understandable that the monitoring quality of the sending end (e.g., a local terminal) and the receiving end (e.g., a remote terminal) may be the same or different. To resolve the situation where the monitoring quality differs between the sending and receiving ends, it is necessary to negotiate the communication between the sending and receiving ends beforehand. The negotiation process may include:
[0072] Based on the link signal monitoring quality of the local and remote terminals, the data communication protocols of the local and remote terminals are determined in advance. The local and remote terminals interact with each other via antennas. Correspondingly, the data to be transmitted undergoes encoding / decoding and link verification based on the data communication protocol and terminal type. The data to be transmitted is then transmitted to the user using a matching data processing method based on the data communication protocol and terminal type.
[0073] In this embodiment, if the local terminal's data processing mode is non-despreading mode, the data to be transmitted is target data that is multiplied based on a single data packet and a fixed spreading factor, and carries a transmission spreading factor; the remote terminal performs despreading processing on the received target data according to the target spreading factor to obtain remote despreading data; if the remote despreading data is verified to be accurate, it enters despreading mode and uses the transmission spreading factor for despreading communication.
[0074] If the local terminal's data processing mode is despreading, the data to be transmitted is despread according to the target spreading factor to obtain local despread data. If the local despread data verification fails, each local despread data is demodulated individually to obtain multiple demodulated data. If each demodulated data is verified correctly, the local terminal's data processing mode is changed to non-despreading mode. If all local despread data are verified correctly, each local despread data and the transmission spreading factor are transmitted as data to be transmitted. The remote terminal despreads the received target data according to the target spreading factor to obtain remote despread data. If the remote despread data is verified accurately, the terminal enters despreading mode and uses the transmission spreading factor for despreading communication.
[0075] For example, the local terminal operates in non-despreading mode: the monitoring quality of the spreading factor is set to a fixed value, generally the minimum allowable value Bm, corresponding to a spreading factor Sm; the same data, containing the spreading factor Sw for future transmission, is transmitted by spreading Sm times according to the basic data packet of length L. The remote terminal detects the continuous Sm L data; if it cannot find a basic data packet without verification errors, the application layer despreading module despreads it according to the spreading factor Sm to obtain data M2. If the verification is correct, the remote terminal knows to enter despreading mode and obtains the subsequent spreading factor Sw in the transmitted data; the remote terminal then performs despreading communication according to the spreading factor Sw.
[0076] The local terminal operates in despreading mode: the application layer despreading module despreads the data N1 according to the spreading factor Sw. If the checksum is incorrect, it demodulates Sw data separately to obtain Sw data. If an independent data checksum is correct, it transitions from despreading mode to non-despreading mode. Simultaneously, it checks the L data of consecutive Sm packets. If no basic data packet with a checksum without error is found, the application layer despreading module despreads the data M2 according to the spreading factor Sw. If the checksum is correct, the remote terminal knows to enter despreading mode and obtains the subsequent spreading factor Sw in the transmitted data. The remote terminal then performs despreading communication according to the spreading factor Sw.
[0077] This invention also provides a corresponding apparatus for the data transmission method, further enhancing its practicality. The apparatus can be described from both a functional module perspective and a hardware perspective. The data transmission apparatus provided in this invention is described below, and the data transmission apparatus described below corresponds to the data transmission method described above.
[0078] From the perspective of functional modules, see Figure 2 , Figure 2 This is a structural diagram of a data transmission device provided in an embodiment of the present invention, in one specific implementation. The device may include:
[0079] The predefined module 201 is used to predefine different link signal monitoring qualities and corresponding data processing methods. The data processing methods include despreading mode and non-despreading mode. The despreading mode is used to despread and spread spectrum processing of the data to be transmitted when the link transmission quality is lower than the preset quality requirements.
[0080] The verification module 202 is used to obtain data verification information by performing encoding and decoding processing and link verification processing on the data to be transmitted.
[0081] The data transmission module 203 is used to determine the signal monitoring quality of the relevant link based on the data verification information, and to transmit the data to be transmitted to the user using a matching data processing method.
[0082] Optionally, in some embodiments of this example, the predefined module 201 may be further used to: if the accuracy of the data verification result of the current link is greater than a first threshold, the link signal monitoring quality of the current link is level one, and the data processing method matched by the current link is non-despreading mode; if the accuracy of the data verification result of the current link is less than a second threshold, the link signal monitoring quality of the current link is level two, and the data processing method matched by the current link is despreading mode; the first threshold is greater than the second threshold; if the link signal monitoring quality of the current link at the previous moment was level one, and the accuracy of the data verification result at the current moment is less than or equal to the first threshold and greater than or equal to the second threshold, the data processing method matched by the current link is non-despreading mode; if the link signal monitoring quality of the current link at the previous moment was level two, and the accuracy of the data verification result at the current moment is less than or equal to the first threshold and greater than or equal to the second threshold, the data processing method matched by the current link is despreading mode.
[0083] As an optional implementation of the above embodiments, the predefined module 201 may be further used to: if the link signal monitoring quality of the current link is level two, determine whether the link signal monitoring quality of the previous moment and the current moment are the same; if the link signal monitoring quality of the previous moment and the current moment are the same, then call the first relational expression to calculate the spreading factor used in the despreading mode; if the link signal monitoring quality of the previous moment and the current moment are not the same, then call the second relational expression to calculate the spreading factor used in the despreading mode.
[0084] As another optional implementation of the above embodiments, the data transmission module 203 may be further used to: if the link signal monitoring quality is level 1, transmit the data with correct verification in the data to be transmitted to the user terminal using transparent transmission mode; if the link signal monitoring quality is level 2, perform despreading processing on the data to be transmitted, and transmit the data obtained from the despreading processing to the user terminal.
[0085] Optionally, in another optional embodiment of this invention, the above-mentioned device may further include a protocol definition module, used to determine the data communication protocol of the local terminal and the remote terminal in advance based on the link signal monitoring quality of the local terminal and the remote terminal; the local terminal and the remote terminal interact with each other via an antenna; correspondingly, the verification module 202 may further be used to: perform encoding and decoding processing and link verification processing on the data to be transmitted based on the data communication protocol and the terminal type; correspondingly, the data transmission module 203 may further be used to: transmit the data to be transmitted to the user using a matching data processing method based on the data communication protocol and the terminal type.
[0086] As an optional implementation of the above embodiments, the protocol definition module can be further used as follows: if the local terminal's data processing mode is non-despreading mode, the data to be transmitted is target data that is multiplied based on a single data packet and a fixed spreading factor, and carries a transmission spreading factor; the remote terminal performs despreading processing on the received target data according to the target spreading factor to obtain remote despreading data; if the remote despreading data is verified to be accurate, then the despreading mode is entered, and despreading communication is performed using the transmission spreading factor.
[0087] As another optional implementation of the above embodiments, the protocol definition module can be further used to: if the local terminal's data processing mode is despreading mode, despread the data to be transmitted according to the target spreading factor to obtain local despreading data; if the local despreading data verification is incorrect, demodulate each local despreading data separately to obtain multiple demodulated data; if each demodulated data verification is correct, the local terminal's data processing mode is changed to non-despreading mode; if each local despreading data verification is correct, transmit each local despreading data and the transmission spreading factor as the data to be transmitted, and the remote terminal despreads the received target data according to the target spreading factor to obtain remote despreading data; if the remote despreading data verification is accurate, enter the despreading mode and use the transmission spreading factor for despreading communication.
[0088] The functions of each functional module of the data transmission device in the embodiments of the present invention can be specifically implemented according to the methods in the above method embodiments. The specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0089] As can be seen from the above, the embodiments of the present invention can effectively improve the reliability of data transmission and provide a communication channel for the transmission of important information in aviation emergencies.
[0090] The data transmission device mentioned above is described from the perspective of functional modules. Furthermore, this application also provides an electronic device, which is described from the perspective of hardware. Figure 3This is a schematic diagram of the structure of the electronic device provided in one embodiment of this application. For example... Figure 3 As shown, the electronic device includes a memory 30 for storing a computer program; and a processor 31 for executing the computer program to implement the steps of the data transmission method mentioned in any of the above embodiments.
[0091] The processor 31 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 31 may also be a controller, microcontroller, microprocessor, or other data processing chip. The processor 31 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 31 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 31 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 31 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0092] The memory 30 may include one or more computer-readable storage media, which may be non-transitory. The memory 30 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the memory 30 may be an internal storage unit of an electronic device, such as a server hard drive. In other embodiments, the memory 30 may be an external storage device of an electronic device, such as a plug-in hard drive on a server, a smart media card (SMC), a secure digital card (SD), a flash card, etc. Furthermore, the memory 30 may include both internal and external storage units of the electronic device. The memory 30 can be used not only to store application software and various types of data installed on the electronic device, such as code for programs executing vulnerability handling methods, but also to temporarily store data that has been output or will be output. In this embodiment, the memory 30 is used to store at least the following computer program 301, which, after being loaded and executed by the processor 31, is capable of implementing the relevant steps of the data transmission method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 30 may also include an operating system 302 and data 303, and the storage method may be temporary storage or permanent storage. The operating system 302 may include Windows, Unix, Linux, etc. The data 303 may include, but is not limited to, data corresponding to data transfer results.
[0093] In some embodiments, the aforementioned electronic device may further include a display screen 32, an input / output interface 33, a communication interface 34 (or network interface), a power supply 35, and a communication bus 36. The display screen 32 and input / output interface 33, such as a keyboard, are user interfaces; optional user interfaces may also include standard wired interfaces, wireless interfaces, etc. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen, etc. The display may also be appropriately referred to as a display screen or display unit, used to display information processed in the electronic device and to display a visual user interface. The communication interface 34 may optionally include a wired interface and / or a wireless interface, such as a Wi-Fi interface, a Bluetooth interface, etc., typically used to establish communication connections between the electronic device and other electronic devices. The communication bus 36 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0094] Those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, such as sensors 37 that perform various functions.
[0095] The functions of each functional module of the electronic device in the embodiments of the present invention can be specifically implemented according to the methods in the above method embodiments. The specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0096] As can be seen from the above, the embodiments of the present invention can effectively improve the reliability of data transmission and provide a communication channel for the transmission of important information in aviation emergencies.
[0097] It is understood that if the data transmission method in the above embodiments is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes: USB flash drive, mobile hard disk, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, register, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, removable disk, CD-ROM, magnetic disk or optical disk, and other media capable of storing program code.
[0098] Based on this, embodiments of the present invention also provide a readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the steps of the data transmission method of any of the above embodiments are as follows.
[0099] This invention also provides a terminal device, see [link to relevant documentation]. Figure 4 It may include the following:
[0100] The terminal equipment may include an encoding / decoding module 401, a link control module 402, a monitoring module 403, an application layer despreading module 404, and an application layer spread spectrum module 405.
[0101] The encoding / decoding module 401 can be used to decode the data received from the antenna and send the decoded data to be transmitted to the link control module; the encoding / decoding module is also used to encode the data to be transmitted received from the link control module and send the encoded data to the user's target terminal through the antenna.
[0102] The monitoring module 403 can be used to control the operating mode of the link control module 402. If the operating mode of the link control module is verification mode, it performs link verification on the data to be transmitted and sends the data verification information to the monitoring module 403. If the operating mode of the link control module 402 is non-verification mode, it does not perform data verification on the data to be transmitted. The monitoring module 403 is also used to monitor the link signal quality. Based on predefined monitoring qualities of different link signals and corresponding data processing methods, it determines the monitoring quality of the corresponding link signal according to the data verification information and controls the application layer despreading module 404 to use a matching data processing method to transmit the data to be transmitted to the user. The data processing methods include despreading mode and non-despreading mode. Despreading mode is used to despread the data to be transmitted when the link transmission quality is lower than the preset quality requirements. The application layer spreading module 405 can be used to spread the data received from the user end and send the data obtained from the spreading process to the link control module 402 as the data to be transmitted.
[0103] The functions of each functional module of the terminal device in the embodiments of the present invention can be specifically implemented according to the methods in the above method embodiments. The specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0104] As can be seen from the above, the embodiments of the present invention can effectively improve the reliability of data transmission and provide a communication channel for the transmission of important information in aviation emergencies.
[0105] To enable those skilled in the art to more clearly understand the technical solution of this application, this application also incorporates... Figure 5 An illustrative example is given, which may include the following:
[0106] In this embodiment, the terminal can be a local terminal, which interacts with the remote terminal via an antenna. The antenna enables the transmission and reception of terminal signals. The local terminal may include an encoding / decoding module, a link control module, a monitoring and control module, an application layer despreading module, and an application layer spread spectrum module. The encoding / decoding module and the link control module implement the physical layer and link layer functions of communication, the monitoring and control module monitors the link signal quality, and the application layer despreading module and the spread spectrum module despread and spread the data. Since the communication terminals adopt the same structure, that is, the local and remote terminals of both communicating parties have identical structures.
[0107] The local terminal monitoring and control module receives the data verification results from the link control module and defines the monitoring quality, which is determined based on the data verification results. If the accuracy of the data verification result F is greater than 75%, the monitoring quality is defined as Class A, with a quality factor Am = F; if it is less than 50%, the monitoring quality is defined as Class B, with a quality factor Bm = F. The actual values of Am and Bm are equal to the data verification result F. Correspondingly, the workflows for non-despreading mode and despreading mode are as follows:
[0108] Non-despreading mode: When the monitoring quality is A, the local terminal monitoring and control module controls the link control module to operate in verification mode, while the application layer despreading module operates in non-despreading mode. The link control module only transmits correctly verified data to the application layer despreading module, which then transparently transmits the data to the user. Despreading mode: When the monitoring quality is B, the local terminal monitoring and control module controls the link control module to operate in non-verification mode, while the application layer despreading module operates in despreading mode. The link control module does not perform verification and transparently transmits the data to the application layer despreading module for despreading. When the monitoring quality moves from A into the data verification interval [75%, 50%], non-despreading mode is used; when the monitoring quality moves from B into the data verification interval [75%, 50%], despreading mode is used. The spreading factor can be calculated by rounding 1 / C to the nearest integer. When the monitoring quality moves from B into the data verification interval [75%, 50%], C = 0.5; otherwise, C = Am or Bm.
[0109] The monitoring quality of local and remote terminals may differ, therefore, it is necessary to negotiate the communication between the local and remote terminals. The negotiation protocol is as follows:
[0110] The local terminal operates in non-despreading mode: the monitoring quality of the spreading factor is set to a fixed value, generally the minimum allowable value Bm, corresponding to a spreading factor Sm; the same data, containing the spreading factor Sw for future transmission, is transmitted by spreading Sm times according to the basic data packet of length L; the remote terminal checks the continuous Sm L data, and if no basic data packet with a valid check is found, the application layer despreading module despreads it according to the spreading factor Sm to obtain data M2. If the check is correct, the remote terminal knows to enter despreading mode and obtains the subsequent spreading factor Sw in the transmitted data; the remote terminal performs despreading communication according to the spreading factor Sw. If a data packet with a check error is found, it is processed according to the normal procedure, that is, normal information transmission and reception are performed even when a data packet with a check error is found.
[0111] The local terminal operates in despreading mode: The application layer despreading module despreads the data N1 according to the spreading factor Sw. If a checksum error occurs: If a data packet with a checksum error is found, it is processed normally, and normal information transmission and reception are initiated upon finding it. If the checksum is correct, it is processed normally, and normal information transmission and reception are initiated upon finding it. Simultaneously, Sw data packets are demodulated individually to obtain Sw data packets. If an independent data packet has a correct checksum, the terminal transitions from despreading mode to non-despreading mode. Simultaneously, the L data packets of consecutive Sm are checked. If no basic data packet with a correct checksum is found, the application layer despreading module despreads the data M2 according to the spreading factor Sw. If the checksum is correct, the remote terminal knows to enter despreading mode and obtains the subsequent spreading factor Sw in the transmitted data. The remote terminal then performs despreading communication according to the spreading factor Sw. If a data packet with a correct checksum is found, it is processed normally, and normal information transmission and reception are initiated upon finding it.
[0112] As can be seen from the above, this embodiment can be applied to airborne communication systems in special circumstances where important and urgent information needs to be transmitted. Currently, communication systems like Ka / Ku systems are affected by rain attenuation, and L-band communication suffers from significant interference, both of which cause a significant decline in communication performance. Current communication systems use adaptive encoding and decoding adjustments based on specific bit error rate performance and perform verification at the link layer. This means that in extreme cases, important information may not be transmitted. This embodiment can effectively improve the reliability of data transmission on the existing communication system architecture, providing a communication channel for the transmission of important information in aviation emergencies.
[0113] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the hardware disclosed in the embodiments, including devices, electronic devices, and terminal devices, the description is relatively simple since they correspond to the methods disclosed in the embodiments; relevant parts can be referred to the method section.
[0114] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0115] The data transmission method, apparatus, electronic device, and terminal device provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the invention. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of the invention. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from the principles of the invention, and these improvements and modifications also fall within the protection scope of the claims of this application.
Claims
1. A data transmission method, characterized in that, include: Predefine the monitoring quality of different link signals and the corresponding data processing methods; The data processing method includes despreading mode and non-despreading mode. The despreading mode is used to despread the data to be transmitted when the link transmission quality is lower than the preset quality requirement. Data verification information is obtained by encoding / decoding the data to be transmitted and performing link verification. The signal monitoring quality of the corresponding link is determined based on the data verification information, and the data to be transmitted is transmitted to the user using a matching data processing method. The predefined monitoring qualities of different link signals and corresponding data processing methods include: If the accuracy of the data verification result of the current link is greater than the first threshold, the link signal monitoring quality of the current link is level one, and the data processing method matched for the current link is non-despreading mode. If the accuracy of the data verification result of the current link is less than the second threshold, the link signal monitoring quality of the current link is level two, and the data processing method matched for the current link is despreading mode; the first threshold is greater than the second threshold. If the link signal monitoring quality of the current link at the previous moment was the first level, and if the accuracy of the data verification result at the current moment is less than or equal to the first threshold and greater than or equal to the second threshold, the data processing method matched for the current link is the non-despreading mode. If the link signal monitoring quality of the current link at the previous moment was level two, and if the accuracy of the data verification result at the current moment is less than or equal to the first threshold and greater than or equal to the second threshold, the data processing method matched for the current link is the despreading mode.
2. The data transmission method according to claim 1, characterized in that, After determining the signal monitoring quality of the corresponding link based on the data verification information, the process further includes: If the link signal monitoring quality of the current link is at level 2, determine whether the link signal monitoring quality of the current link at the previous moment is the same as that at the current moment. If the link signal monitoring quality at the previous moment and the current moment are the same, then the first relational expression is called to calculate the spreading factor used in the despreading mode. If the link signal monitoring quality at the previous moment and the current moment are different, the second relation is called to calculate the spreading factor used in the despreading mode.
3. The data transmission method according to claim 1, characterized in that, The step of transmitting the data to the user using a matching data processing method includes: If the link signal monitoring quality is at the first level, the data with correct verification in the data to be transmitted is transmitted to the user terminal using a transparent transmission method. If the link signal monitoring quality is at level two, the data to be transmitted is despread and the data obtained from the despreading process is transmitted to the user terminal.
4. The data transmission method according to any one of claims 1 to 3, characterized in that, Also includes: Based on the link signal monitoring quality of the local terminal and the remote terminal in advance, the data communication protocol between the local terminal and the remote terminal is determined. The local terminal and the remote terminal interact with each other via an antenna. Accordingly, the process of encoding / decoding and link verification of the data to be transmitted is as follows: based on the data communication protocol and terminal type, the data to be transmitted is encoded / decoded and the link verification is performed. The step of transmitting the data to be transmitted to the user using a matching data processing method is as follows: based on the data communication protocol and terminal type, the data to be transmitted to the user is transmitted using a matching data processing method.
5. The data transmission method according to claim 4, characterized in that, The monitoring of link signal quality based on local and remote terminals, and the determination of the data communication protocol between the local and remote terminals, include: If the data processing method of the local terminal is the non-despreading mode, the data to be transmitted is target data that is multiplied based on a single data packet and a fixed spreading factor, and carries the transmission spreading factor. The remote terminal performs despreading processing on the received target data according to the target spreading factor to obtain remote despreading data; if the remote despreading data is verified to be accurate, it enters the despreading mode and uses the transmission spreading factor for despreading communication.
6. The data transmission method according to claim 5, characterized in that, The monitoring of link signal quality based on local and remote terminals, and the determination of the data communication protocol between the local and remote terminals, include: If the local terminal's data processing method is the despreading mode, the data to be transmitted is despread according to the target spreading factor to obtain local despreading data; If the local despread data verification fails, each local despread data is demodulated separately to obtain multiple demodulated data. If each demodulated data is verified correctly, the data processing mode of the local terminal is changed to the non-despread mode. If all local despreading data are verified correctly, the local despreading data and the transmission spreading factor are transmitted as data to be transmitted. The remote terminal performs despreading processing on the received target data according to the target spreading factor to obtain remote despreading data. If the remote despreading data is verified accurately, the terminal enters the despreading mode and uses the transmission spreading factor for despreading communication.
7. A data transmission device, characterized in that, include: A predefined module is used to predefine different link signal monitoring qualities and corresponding data processing methods; the data processing methods include despreading mode and non-despreading mode, the despreading mode is used to despread and spread spectrum processing of the data to be transmitted when the link transmission quality is lower than the preset quality requirements; The verification module is used to obtain data verification information by performing encoding / decoding processing and link verification processing on the data to be transmitted; The data transmission module is used to determine the signal monitoring quality of the relevant link based on the data verification information, and to transmit the data to be transmitted to the user using a matching data processing method. The predefined module is configured to, if the accuracy of the data verification result of the current link is greater than a first threshold, set the link signal monitoring quality of the current link to level one, and set the data processing mode matching the current link to non-despreading mode. If the accuracy of the data verification result of the current link is less than the second threshold, the link signal monitoring quality of the current link is level two, and the data processing method matched for the current link is despreading mode; the first threshold is greater than the second threshold. If the link signal monitoring quality of the current link at the previous moment was the first level, and if the accuracy of the data verification result at the current moment is less than or equal to the first threshold and greater than or equal to the second threshold, the data processing method matched for the current link is the non-despreading mode. If the link signal monitoring quality of the current link at the previous moment was level two, and if the accuracy of the data verification result at the current moment is less than or equal to the first threshold and greater than or equal to the second threshold, the data processing method matched for the current link is the despreading mode.
8. An electronic device, characterized in that, It includes a processor and a memory, the processor being configured to implement the steps of the data transmission method as described in any one of claims 1 to 7 when executing a computer program stored in the memory.
9. A terminal device, characterized in that, It includes a codec module, a link control module, a monitoring module, an application layer despreading module, and an application layer spread spectrum module; The encoding / decoding module is used to decode the data received from the antenna and send the decoded data to be transmitted to the link control module; the encoding / decoding module is also used to encode the data to be transmitted received from the link control module and send the encoded data to the target terminal through the antenna. The monitoring module is used to control the working mode of the link control module; If the link control module operates in verification mode, then the data to be transmitted is verified, and the data verification information is sent to the monitoring module. If the link control module operates in non-verification mode, then no data verification is performed on the data to be transmitted. The monitoring module is also used to monitor the link signal quality. Based on predefined monitoring qualities of different link signals and corresponding data processing methods, it determines the monitoring quality of the link signal according to the data verification information, and controls the application layer despreading module to use a matching data processing method to transmit the data to be transmitted to the user. The data processing method includes despreading mode and non-despreading mode. The despreading mode is used to despread the data to be transmitted when the link transmission quality is lower than the preset quality requirements. The application layer spread spectrum module is used to spread the data received from the user terminal and send the data obtained from the spread spectrum processing to the link control module as the data to be transmitted.
Citation Information
Patent Citations
Power allocation and adjusting method based on feedback link quality of external code enhancement technology
CN101262275A
Unmanned aerial vehicle communication method of communication / distance measurement dual system
CN110601745A
