5G communication terminal software drive optimization method

By executing the driver program in the UAV communication terminal, the adaptation of any type of communication protocol and the efficient use of terminal IP resources are realized, which solves the problem of complex communication protocols, low IP resource utilization and difficult network interruption in the UAV communication terminal. Automatic connection issues achieve communication stability and flight safety.

CN119364338APending Publication Date: 2025-01-24SHANGHAI AEROSPACE ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411323119.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

UAV communication terminals face problems such as complicated communication protocols, low terminal IP resource utilization, difficulty in automatic connection between network interruptions and poor communication quality.

Method used

By performing the driver in the communication terminal, including the main control module, the network connection module, and serial port processing module, the adaptive adaptation of any type of communication protocol, the efficient utilization of terminal IP resources, and the real -time monitoring of network signal status and automatic re -connection.

Benefits of technology

It supports the sending and receiving of communication protocol data in any format, improves the utilization of terminal IP resources, realizes automatic network reconnection, and ensures the stability of drone communication and flight safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119364338A_ABST
    Figure CN119364338A_ABST
Patent Text Reader

Abstract

The 5G communication terminal software drive optimization method is realized by executing a communication terminal drive program. The communication terminal drive program comprises a main control module, a network connection module and a serial port processing module. The serial port processing module creates a serial port transmitting and receiving function, sets a delay timer according to the data transmission frequency, and transmits and receives communication protocol data at a serial port, so that the communication terminal can adapt to transmitting and receiving of communication protocol data in any format; the main control module creates and adds a terminal label function for a ground control terminal to identify downlink telemetry data sent by different communication terminals, and supports multiple communication terminals to share a single IP to be networked with a server; the network connection module creates a TCP network connection function and a 5G network signal state real-time detection function, and has an automatic reconnection function after network service interruption. Under the condition that network connection stability is guaranteed, the functions of communication protocol data receiving and transmitting between the unmanned aerial vehicle end and the ground end are achieved, and stable remote control operation and flight safety of the unmanned aerial vehicle are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of wireless communications, and in particular relates to a 5G communication terminal software driver optimization method. Background Art

[0002] With the rapid development of science and technology, drones now play an important role in the fields of medical treatment, transportation, military, etc. With the large-scale application of various types of drones in different fields, they are faced with various problems such as complicated communication protocols, low utilization of terminal IP resources, difficulty in automatic connection due to network interruption, and poor communication quality. Improving the software function level, data transmission rate and reliability of drone communication terminals, and ensuring the effective reception and transmission of remote control and telemetry data are important conditions for promoting the rapid development of the drone industry.

[0003] In recent years, 5G communication technology has played a significant role in the fields of the Internet of Things, such as drones, smart homes, and autonomous driving, with its high speed, low latency, and stability. The outstanding advantages of 5G communication technology in the field of communication can well meet the requirements of drones for high-speed transmission of communication data and stable and reliable communication quality during flight.

[0004] Patent CN113433968A discloses a high-security security drone control system based on 5G communication technology. The invention uses the high information transmission efficiency and low response delay of 5G communication technology to control the drone body to monitor emergencies in real time, collect information about emergencies, and quickly formulate countermeasures. It can greatly increase the ability of security drones to handle emergencies, increase the degree of automation of security drones, greatly reduce the degree of manual intervention in security drones, and increase the work efficiency of security drone control systems. At the same time, the problem of drone failure itself is solved by setting up parking piles. The drone body itself is equipped with two control modules, the main control terminal and the backup control terminal, and realizes data communication between the cloud and the processing end.

[0005] Patent No. CN117135661A discloses a 5G communication method for the Internet of Things. This invention aims to solve the problems of difficulty in realizing 5G communication delay analysis, poor information flow, low communication efficiency, and poor anti-interference ability in conventional Internet of Things communication processes. A 5G communication module for the Internet of Things is designed, wherein the 5G module for the Internet of Things includes an anti-interference module, a parameter setting module, a carrier communication module, a timing calculation module, and a spectrum efficiency analysis module, and the output and input ends of the above modules are connected in sequence. By connecting the 5G communication module for the Internet of Things between the data sending end and the receiving end, anti-interference communication between the data sending end and the receiving end is realized, which greatly improves the communication capability and efficiency of the 5G communication for the Internet of Things. Summary of the invention

[0006] The first object of the present invention is to provide a 5G communication terminal software driver optimization method, so that the communication terminal can adapt to any type of communication protocol;

[0007] The second object of the present invention is to provide a 5G communication terminal software driver optimization method to improve the terminal IP resource utilization rate;

[0008] The third object of the present invention is to provide a 5G communication terminal software driver optimization method to realize real-time monitoring of network signal status and automatic connection after network disconnection.

[0009] In order to achieve the above-mentioned purpose, the present invention provides a 5G communication terminal software driver optimization method, which is implemented by executing a communication terminal driver program, wherein the communication terminal driver program includes a main control module, a network connection module and a serial port processing module; the main control module implements communication protocol data processing; the network connection module realizes the connection between the communication terminal and the 5G network signal, the communication protocol data is sent and received through the 5G network signal, and the 5G network signal status detection; the serial port processing module realizes data interaction between the communication terminal and the drone control terminal; the serial port processing module creates a serial port transceiver function, sets a delay timer according to the data transmission frequency, and sends and receives the communication protocol data at the serial port, so that the communication terminal can adapt to the transmission and reception of communication protocol data in any format.

[0010] The above-mentioned 5G communication terminal software driver optimization method, wherein the communication protocol data includes downlink telemetry data, uplink remote control data and camera image data.

[0011] The above-mentioned 5G communication terminal software driver optimization method, wherein the main control module creates a thread function, and at the same time starts the serial port transceiver function created by the serial port processing module, as well as the network port transceiver function and the 5G network signal status real-time detection function created by the network connection module, to ensure that the communication protocol data between the communication terminal and the drone control terminal and the ground control terminal can be sent and received in real time, and to continuously detect the 5G network signal in real time to ensure that the network connection is interrupted and wait for the network signal to be restored, and then reconnect to the server.

[0012] The above-mentioned 5G communication terminal software driver optimization method, wherein the main control module creates a terminal tag adding function, sets a distinguishable terminal tag number for each communication terminal, and when the communication terminal sends downlink telemetry data, uses the terminal tag adding function to add the terminal tag number of the communication terminal in front of each downlink telemetry data packet, which is used for the ground control end to identify the downlink telemetry data sent by different communication terminals.

[0013] The above-mentioned 5G communication terminal software driver optimization method, wherein the serial port transceiver function includes a serial port receive function and a serial port send function; the serial port receive function is used to receive the downlink telemetry data sent by the drone control end to the communication terminal through the serial port, and set the telemetry data flag; the serial port send function is used for the communication terminal to send uplink remote control data to the drone control end through the serial port.

[0014] The above-mentioned 5G communication terminal software driver optimization method, wherein the image data sending function receives and processes the acquired camera image data in real time, and uses the RSTP streaming method to send the camera image data to the server via the 5G network signal, and then displays it on the ground control terminal.

[0015] The above-mentioned 5G communication terminal software driver optimization method, wherein the TCP network connection function is used to realize the connection between the communication terminal and the 5G network signal; a corresponding login number for the connection between the communication terminal and the server is set for each communication terminal to ensure the sending and receiving of communication protocol data between the communication terminal and the server.

[0016] The above-mentioned 5G communication terminal software driver optimization method, wherein the 5G network signal status real-time detection function determines the network signal quality by real-time judgment of network signal status parameters; when the communication terminal disconnects from the 5G network signal due to the absence of 5G network signal, the 5G network signal status real-time detection function will send a connection instruction to the TCP network connection function after the 5G network signal is restored, and the TCP network connection function reconnects the communication terminal with the 5G network signal to achieve automatic network reconnection.

[0017] The above-mentioned 5G communication terminal software driver optimization method, wherein the network port transceiver function includes a network port receiving function and a network port sending function; the network port receiving function is used to receive the uplink remote control data sent by the ground control end to the communication terminal through the server and 5G network signal, and set the remote control data flag; the network port sending function is used for the communication terminal to send the downlink telemetry data from the drone control end and the camera image data from the camera to the server through the 5G network signal.

[0018] The above-mentioned 5G communication terminal software driver optimization method, wherein the main control module creates a communication protocol data processing function, and judges whether the communication protocol data is uplink remote control data from the ground control end to the UAV control end, or downlink telemetry data from the UAV control end to the ground control end according to the data flag bit of different communication protocol data. If the data flag bit is the remote control data flag bit, the communication protocol data processing function calls the serial port sending function to transmit the communication protocol data to the UAV control end. If the data flag bit is the telemetry data flag bit, the communication protocol data processing function calls the network port transceiver function to transmit the communication protocol data to the ground control end.

[0019] Compared with the prior art, the beneficial technical effects of the present invention are:

[0020] The 5G communication terminal software driver optimization method of the present invention supports the sending and receiving processing of communication protocol data in any format, so that the communication terminal can adapt to any type of communication protocol;

[0021] The 5G communication terminal software driver optimization method of the present invention supports multiple communication terminals to share a single IP to connect to the server, thereby improving the utilization rate of terminal IP resources;

[0022] The 5G communication terminal software driver optimization method of the present invention has the function of automatically reconnecting after network service interruption;

[0023] The drone 5G communication terminal software driver optimization method of the present invention realizes the functions of receiving and sending downlink telemetry data and camera image data from the drone end to the ground end, and uplink remote control data from the ground end to the drone end, while ensuring the stability of the network connection, thereby ensuring the stable remote control operation and flight safety of the drone. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The 5G communication terminal software driver optimization method of the present invention is given by the following embodiments and drawings.

[0025] Figure 1 It is a data flow diagram of the communication protocol between the drone end and the ground end in the present invention.

[0026] Figure 2 The figure is a block diagram of the communication terminal driver structure in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The following will be combined Figure 1-2 The 5G communication terminal software driver optimization method of the present invention is further described in detail.

[0028] In view of the above-mentioned problems faced by different drone communication terminals in software development (faced with various complicated communication protocols, low terminal IP resource utilization, difficulty in automatic connection due to network interruption and poor communication quality), the present invention integrates 5G communication technology and proposes a 5G communication terminal software driver optimization method to meet the requirements of automatic adaptation of drone communication terminals to any type of communication protocols, high terminal IP resource utilization, automatic network reconnection, etc., to ensure high-speed and stable transmission of communication terminal data.

[0029] Figure 1 The figure shows the data flow diagram of the communication protocol between the drone end and the ground end in the present invention.

[0030] like Figure 1The communication terminal is connected to the drone control end through the serial port RS232 or serial port RS422, and the communication terminal is connected to the ground control end through the 5G network signal and the server; the communication protocol data includes downlink telemetry data, uplink remote control data and camera image data; the drone control end sends downlink telemetry data to the communication terminal through the serial port RS232 or serial port RS422, and the communication terminal sends the downlink telemetry data to the server through the 5G network signal, and the ground control end obtains the downlink telemetry data from the server; the communication terminal collects the image data obtained by the camera and sends it to the server through the 5G network signal, and the ground control end obtains the camera image data from the server; the ground control end sends the uplink remote control data to the server, and the server sends it to the communication terminal through the 5G network signal, and the communication terminal sends the uplink remote control data to the drone control end through the serial port RS232 or serial port RS422.

[0031] The method for optimizing the software driver of the drone 5G communication terminal of the present invention is a communication terminal driver program. In one embodiment of the present invention, the communication terminal driver program structure is as follows: Figure 2 shown.

[0032] See also Figure 2 The communication terminal driver includes a main control module, a network connection module and a serial port processing module; the main control module mainly realizes the communication protocol data processing; the network connection module mainly realizes the connection between the communication terminal and the 5G network signal, the communication protocol data is sent and received through the 5G network signal, and the 5G network signal status detection; the serial port processing module mainly realizes the data interaction between the communication terminal and the drone control terminal.

[0033] Now combined Figure 2 The main functions of each module are described in detail.

[0034] 1)Serial port processing module

[0035] (a) Create an image data sending function to receive and process the acquired camera image data in real time, and use RSTP streaming to send the camera image data to the server via the 5G network signal, and then display it on the ground control end to ensure that the ground control end monitors the environment around the drone and ensures the safety of the drone flight;

[0036] (b) Create a serial port RS232 transceiver function and a serial port RS422 transceiver function to meet the needs of the communication terminal to exchange data with the drone control end through the serial port RS232 or serial port RS422; specifically, the serial port RS232 transceiver function includes a serial port RS232 receiving function and a serial port RS232 sending function. The serial port RS232 receiving function is used to receive the downlink telemetry data sent by the drone control end to the communication terminal through the serial port RS232, and the serial port RS232 sending function is used for the communication terminal to send uplink remote control data to the drone control end through the serial port RS232; the serial port RS422 transceiver function includes a serial port RS422 receiving function and a serial port RS422 sending function. The serial port RS422 receiving function is used to receive the downlink telemetry data sent by the drone control end to the communication terminal through the serial port RS422, and the serial port RS422 sending function is used for the communication terminal to send uplink remote control data to the drone control end through the serial port RS422;

[0037] The serial port RS232 transceiver function sets a delay timer according to the data transmission frequency to transmit and receive data (uplink remote control data or downlink telemetry data) at the serial port RS232. Similarly, the serial port RS422 transceiver function sets a delay timer according to the data transmission frequency to transmit and receive data (uplink remote control data or downlink telemetry data) at the serial port RS422, that is, the prior art needs to abandon the reading method based on the communication protocol frame header, check code and protocol byte length, so that the communication terminal can adapt to the communication protocol data transmission and reception in any format;

[0038] The serial port RS232 receiving function and the RS422 receiving function realize receiving the downlink telemetry data sent from the drone control end to the communication terminal, and set up the telemetry data flag bit for the main control module to judge and process, and call the network port sending function in the main control module to send the downlink telemetry data to the ground control end; the serial port RS232 sending function and the serial port RS422 sending function realize sending the uplink remote control data obtained from the network port receiving function to the drone control end;

[0039] 2) Network connection module

[0040] (a) Using the TCP protocol to create a TCP network connection function to connect the communication terminal to the 5G network signal; setting a corresponding login number for each communication terminal to connect to the server to ensure the transmission and reception of remote control, telemetry, and image data between the communication terminal and the server;

[0041] (b) Creating a network port transceiver function, the network port transceiver function includes a network port receiving function and a network port sending function; the network port receiving function is used to receive the uplink remote control data sent by the ground control end to the communication terminal through the server and the 5G network signal, and set the remote control data flag; the network port sending function is used for the communication terminal to send the downlink telemetry data from the drone control end and the camera image data from the camera to the server through the 5G network signal;

[0042] (c) Create a 5G network signal status real-time detection function to determine the network signal quality by judging the network signal status parameters in real time. The judgment result is fed back to itself in real time for judgment and processing. When the communication terminal is disconnected from the 5G network signal due to 5G network signal problems (no 5G network signal), the 5G network signal status real-time detection function will send a connection instruction to the TCP network connection function after the 5G network signal is restored. The TCP network connection function reconnects the communication terminal to the 5G network signal to achieve automatic network reconnection;

[0043] 3) Main control module

[0044] (a) Create a thread function, and simultaneously start the serial port RS232 transceiver function, serial port RS422 transceiver function, network port transceiver function, and 5G network signal status real-time detection function to ensure that the communication protocol data between the communication terminal and the drone control terminal and the ground control terminal can be sent and received in real time, and continuously detect the 5G network signal in real time to ensure that the network signal can be searched after the network connection is interrupted until the network signal is restored, and then reconnect to the server;

[0045] (b) Create a terminal tag adding function to set a distinguishable terminal tag number for each communication terminal. When a communication terminal sends downlink telemetry data, the terminal tag number of the communication terminal is added to each downlink telemetry data packet using the terminal tag adding function. This is used by the ground control end to identify the downlink telemetry data sent by different communication terminals. This allows multiple communication terminals to share an IP address to connect to the server. The ground control end only needs to identify the data source based on the terminal tag number, which greatly reduces the use of IP addresses and improves the utilization rate of terminal IP resources.

[0046] (c) Create a communication protocol data processing function, and determine whether the communication protocol data is uplink remote control data from the ground control end to the UAV control end, or downlink telemetry data from the UAV control end to the ground control end according to the data flag bit of different communication protocol data. If the data flag bit is the remote control data flag bit, the communication protocol data processing function calls the serial port sending function (serial port RS232 sending function or serial port RS422 sending function) to transmit the communication protocol data (uplink remote control data) to the UAV control end. If the data flag bit is the telemetry data flag bit, the communication protocol data processing function calls the network port transceiver function to transmit the communication protocol data (downlink telemetry data) to the ground control end.

[0047] The drone 5G communication terminal software driver optimization method of the present invention realizes the functions of receiving and sending downlink telemetry data and camera image data from the drone end to the ground end, and uplink remote control data from the ground end to the drone end, while ensuring the stability of the network connection, thereby ensuring the stable remote control operation and flight safety of the drone.

Claims

1. 5G communication terminal software driver optimization method, characterized in that: It is implemented by executing a communication terminal driver, which includes a main control module, a network connection module and a serial port processing module; the main control module realizes communication protocol data processing; the network connection module realizes the connection between the communication terminal and the 5G network signal, the communication protocol data is sent and received through the 5G network signal, and the 5G network signal status detection; the serial port processing module realizes data interaction between the communication terminal and the drone control terminal; The serial port processing module creates a serial port transceiver function, sets a delay timer according to a data transmission frequency, and transmits and receives communication protocol data at the serial port, so that the communication terminal can adapt to the transmission and reception of communication protocol data in any format.

2. The 5G communication terminal software driver optimization method according to claim 1, characterized in that: The communication protocol data includes downlink telemetry data, uplink remote control data and camera image data.

3. The 5G communication terminal software driver optimization method according to claim 2, characterized in that: The main control module creates a thread function, and simultaneously starts the serial port transceiver function created by the serial port processing module, as well as the network port transceiver function and the 5G network signal status real-time detection function created by the network connection module, to ensure that the communication protocol data between the communication terminal and the drone control terminal and the ground control terminal can be sent and received in real time, and to continuously detect the 5G network signal in real time to ensure that the network signal can be restored after the network connection is interrupted, and then reconnect to the server.

4. The 5G communication terminal software driver optimization method according to claim 2, characterized in that: The main control module creates a terminal tag adding function, sets a distinguishable terminal tag number for each communication terminal, and when the communication terminal sends downlink telemetry data, uses the terminal tag adding function to add the terminal tag number of the communication terminal in front of each downlink telemetry data packet, which is used by the ground control end to identify the downlink telemetry data sent by different communication terminals.

5. The 5G communication terminal software driver optimization method according to claim 3, characterized in that: The serial port receiving and sending functions include the serial port receiving function and the serial port sending function; the serial port receiving function is used to receive the downlink telemetry data sent by the UAV control end to the communication terminal through the serial port, and set the telemetry data flag; the serial port sending function is used for the communication terminal to send uplink remote control data to the UAV control end through the serial port.

6. The 5G communication terminal software driver optimization method according to claim 3, characterized in that: The image data sending function receives and processes the acquired camera image data in real time, and uses RSTP streaming to send the camera image data to the server via the 5G network signal, and then displays it on the ground control terminal.

7. The 5G communication terminal software driver optimization method according to claim 3, characterized in that: The TCP network connection function is used to realize the connection between the communication terminal and the 5G network signal; a corresponding login number for the connection between the communication terminal and the server is set for each communication terminal to ensure the sending and receiving of communication protocol data between the communication terminal and the server.

8. The 5G communication terminal software driver optimization method according to claim 7, characterized in that: The 5G network signal status real-time detection function determines the network signal quality by judging the network signal status parameters in real time. When the communication terminal is disconnected from the 5G network signal due to the absence of 5G network signal, the 5G network signal status real-time detection function will send a connection instruction to the TCP network connection function after the 5G network signal is restored. The TCP network connection function reconnects the communication terminal with the 5G network signal to achieve automatic network reconnection.

9. The 5G communication terminal software driver optimization method according to claim 5, characterized in that: The network port receiving and sending function includes a network port receiving function and a network port sending function; the network port receiving function is used to receive the uplink remote control data sent by the ground control end to the communication terminal through the server and 5G network signal, and set the remote control data flag; the network port sending function is used for the communication terminal to send the downlink telemetry data from the drone control end and the camera image data from the camera to the server through the 5G network signal.

10. The 5G communication terminal software driver optimization method according to claim 9, characterized in that: The main control module creates a communication protocol data processing function, and determines whether the communication protocol data is uplink remote control data from the ground control end to the UAV control end, or downlink telemetry data from the UAV control end to the ground control end according to the data flag bit of different communication protocol data. If the data flag bit is a remote control data flag bit, the communication protocol data processing function calls the serial port sending function to transmit the communication protocol data to the UAV control end. If the data flag bit is a telemetry data flag bit, the communication protocol data processing function calls the network port transceiver function to transmit the communication protocol data to the ground control end.

Citation Information

Patent Citations

  • High-safety-performance security unmanned aerial vehicle control system based on 5g communication technology

    CN113433968A

  • 5G communication method of Internet of Things

    CN117135661A