High-speed anti-interference frequency hopping software design system and method
Technical Field
The invention relates to the technical field of wireless communication, in particular to a high-speed anti-interference frequency hopping software design system and method.
Background
Spread spectrum communication is one of communication technologies with strong anti-interference capability in current digital communication, and spread spectrum communication applies high-frequency pseudo-random codes to spread baseband information to a wider frequency band, so that the energy of the baseband information which is easy to intercept is modulated into a wide screen band, and the spread spectrum communication has super-strong anti-interference performance and concealment performance.
Frequency hopping communication is one of the most common manners of spread spectrum communication. The operation principle of frequency hopping communication is a communication scheme in which the carrier frequencies of transmission signals of both transmitting and receiving parties are changed in a pseudo-random manner. The method has the characteristics of rapidness, safety, accuracy, uninterrupted, interception resistance, interference resistance and the like. The frequency hopping networking technology has the characteristics of multi-hop, self-organization and the like, and can be applied to a network with high-speed movement and high dynamic change of topology of nodes, and the nodes can enter or exit at high speed, so that a short-lived network can be established. Besides, in addition to the conventional frequency hopping mode, adaptive frequency hopping and chaotic sequence frequency hopping are also applied to increase the anti-interference capability and confidentiality capability of the frequency hopping system. The frequency hopping networking is suitable for tactical striking and information sharing, and the advantages enable the frequency hopping networking to be widely applied to the military field and the civil field. At present, a scheme of a mature frequency hopping networking system which has multiple frequency points, high speed and high hopping speed is commonly used in China.
The prior related technology has the defects that the data transmission structure of the TDMA system is fixed, the use rate of network nodes and the data bandwidth division of each node cannot be dynamically generated according to the data throughput of the network nodes and the transmission distance between the network nodes, so that the data performance of a single network node is wasted or the whole network data transmission is unstable, the use frequency of the network cannot be dynamically changed according to the environment, the whole network is possibly paralyzed due to extreme environment or artificial interference, the artificial intervention of the whole network is obvious, and the construction and the data transmission of the whole network cannot be automatically completed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a high-speed anti-interference frequency hopping software design system and a method.
According to the high-speed anti-interference frequency hopping software design system and method provided by the invention, the scheme is as follows:
In a first aspect, a high-speed anti-interference frequency hopping software design system is provided, the system comprises a data port control module, a data receiving and transmitting control module, a system synchronous control module, a real-time frequency control module, a system control module, a baseband radio frequency module, a panel input and display control module;
The data port control module is used for acquiring external interface data, judging a data format through a data interface source and external interface data content, splitting, integrating and inputting data to be transmitted by a channel to the data receiving and transmitting control module for processing, and transmitting system protocol data of a user control whole system to the system control module through protocol frame packaging to enable the protocol frame to be effective and reporting the fed back protocol frame;
The data receiving and transmitting control module is used for dynamically dividing the data transmitting and receiving moments of nodes in the network in real time, dynamically distributing the data bandwidths of a plurality of nodes in the network according to the real-time throughput rate of the data of the current node, receiving the channel transmission data of the data port control module, transmitting the data according to a real-time slot table, transmitting the data to the baseband radio frequency module, acquiring the data from other nodes of an air port through the baseband radio frequency module, and transmitting the data to the data port control module for quick processing;
And the system synchronization control module is used for completing the time synchronization of the whole system and realizing a control algorithm that the central node is knocked down by other nodes to compete the central node. And dynamically generating a master node according to different start-up time of nodes in the network. The slave node receives the synchronous information broadcast by the master node, aligns the time and frequency of the slave node with the master node according to the frequency hopping time synchronous algorithm, and completes the synchronization of the whole network. When the master node disappears due to accidental destruction, the stability of the whole network can be maintained by the master node in a secondary dynamic generation mode according to the ID in the network or the starting time of the node;
the real-time frequency control module is used for dynamically analyzing the channel quality of the current environment and dynamically planning the frequency to be used according to the result to broadcast to the whole system;
The system control module processes the protocol of the node parameters in the external input control system to finish the functions of orthogonal networking and data encryption, and periodically generates a state frame of the current system for the observation of the system by the outside;
The baseband radio frequency module is used for transmitting data which is needed to be transmitted by an air interface in the system, or the interface receives the air interface data from other nodes and transmits the air interface data to the data transceiver module for processing;
and the panel input and display control module is used for responding to the digital keys and the function keys in real time, controlling the software system and displaying the report content of the system control module.
Preferably, the data port control module comprises receiving and transmitting network layer protocol data, wifi wireless data and high-speed serial port data, analyzing TCP/IP protocol, UDP protocol, serial port and wifi wireless data content, splitting and integrating the content to obtain more efficient data transmission, integrating and splitting the data opposite to a sender at a data receiver, and repackaging the data according to TCP/IP protocol, UDP protocol, serial port and wifi wireless protocol content to report the data according to a data format of the sender, thereby completing the construction of a data link.
Preferably, the data port control module further comprises protocol analysis for the data of the fixed port or IP address, and generates a system internal protocol setting, a protocol inquiry and a protocol reporting frame for monitoring and controlling the whole system in real time.
Preferably, the data transceiving control module is provided with a system time controller which is the same as the system synchronous control module, and the data transceiving of the whole system is controlled in real time.
Preferably, in the system synchronization control module, the central node periodically sends a low-speed synchronization frame to the baseband radio frequency module;
And updating the number and the positions of the network nodes in real time according to the content of the real-time frequency control module, dynamically generating a new center node according to the ID and the starting time in the network when the center node is knocked down, and ensuring the anti-knockdown capability of the system.
Preferably, the real-time frequency control module comprises periodically acquiring communication quality data of a plurality of current frequency points of all nodes of the whole system from a baseband radio frequency module, preferentially selecting the use frequency of the system according to an internal algorithm of the module, and simultaneously replacing bad points in the scanning frequency points.
Preferably, the system control module comprises a step of scanning the communication quality of all frequency points of nodes in the network in the current environment through control signaling to generate a plurality of optimal use frequencies for the subsequent system, a step of acquiring protocol data from the data port control module, the panel protocol input and display control module and analyzing and realizing the control of the system, and a step of responding to the protocol content observed by the system and reporting a feedback frame.
Preferably, the system control module further comprises a response control system user rate bandwidth configuration command, corresponding system rate bandwidth is carried according to the actual rate of the user and the requirement of the communication distance, and the user rate is dynamically adjusted according to the signal-to-noise ratio of the use rate in the current environment in the use process of the system.
Preferably, the panel input and display control module comprises a response hardware IO port control module, a system control module and a display control module, wherein the response hardware IO port control module is used for responding to the corresponding protocol data and generating the corresponding protocol data, and the corresponding protocol data is sent to the system control module;
after receiving the protocol frame of the system control module, the protocol frame is sent to the panel input and display module through the SPI channel to generate real-time system state content matched with the real-time system state content, so that the system is convenient for a user to use, and the panel input and display module supports multi-language content display and intelligent input method input.
In a second aspect, a method for designing high-speed anti-interference frequency hopping software is provided, the method comprising:
The method comprises the steps of S1, obtaining external interface data, judging a data format through a data interface source and external interface data content, splitting and integrating data to be transmitted in a channel, inputting the split and integrated data to a data receiving and transmitting control module for processing, packaging system protocol data of a user control whole system through a protocol frame, sending the system protocol data to the system control module, enabling the protocol frame to be effective, and reporting the fed back protocol frame;
step S2, receiving channel transmission data of a data port control module through a data receiving and transmitting control module, carrying out data transmission according to a real-time slot table, sending the channel transmission data to a baseband radio frequency module, acquiring data from other nodes of an air port through the baseband radio frequency module, and transmitting the data to a data port control module for processing;
Step S3, controlling the nodes by a system synchronous control module, dynamically generating a master node and a slave node according to different starting time of the nodes in the network, dividing broadcast synchronous information by the master node according to a TDMA time slot to finish time-frequency synchronization in the network, receiving synchronous information broadcast by the master node by the slave node, aligning own time and frequency with the master node according to a frequency hopping time synchronous algorithm to finish the synchronization of the whole network;
S4, dynamically analyzing the channel quality of the current environment through a real-time frequency control module, and dynamically planning the use frequency according to the result to broadcast to the whole system;
S5, processing protocols of node parameters in an external input control system through a system control module, completing orthogonal networking and data encryption functions, and periodically generating a state frame of the current system for observing the system from the outside;
S6, responding to the digital keys and the function keys in real time, controlling the software system, and displaying the report content of the system control module through the panel input and display control module;
and S7, transmitting the data needing air interface transmission in the system through the baseband radio frequency module or receiving the air interface data from other nodes through an interface and transmitting the air interface data to the data receiving and transmitting module for processing.
Compared with the prior art, the invention has the following beneficial effects:
1. The system has diversified external interfaces, can adapt to different external working environments through various data interfaces of the data port control module, and adapts various user interfaces such as wires, wireless, high-speed, low-speed and the like for different environments, so that user data access is more diversified;
2. According to the invention, the optimal frequency point of the current speed of the current environment can be obtained according to the signal-to-noise ratio of the current environment by the frequency iterative algorithm through periodic scanning of the real-time frequency control module without human intervention for different environments, so that the data transmission capacity of the system is improved, and the stability of the system is enhanced;
3. The invention aims at the data bandwidth of the nodes in the network without manual configuration, and the data receiving and transmitting control module can automatically allocate the node bandwidth according to the real-time data flow of each node in the network, thereby improving the data throughput rate of each node in the system and improving the data interaction capacity of the whole system;
4. In the case that the central node in the system network is lost and knocked down, the central node can be regenerated in other nodes in the network through the competition-backoff algorithm of the system synchronous control module, so that the data interaction of the whole system is maintained, and the anti-knockdown capability of the whole system is greatly improved;
5. The system is provided with a plurality of user data rates, the rate can be reduced or increased according to the actual demands of users or the current communication quality, the users can manually select the rate according to the actual demands of use to obtain better transmission distance, and the system control module can also obtain better data transmission reliability by reducing the rate or obtain higher system bandwidth by increasing the rate according to the signal-to-noise ratio of the current rate.
Other advantages of the present invention will be set forth in the description of specific technical features and solutions, by which those skilled in the art should understand the advantages that the technical features and solutions bring.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, given with reference to the accompanying drawings in which:
FIG. 1 is a diagram of a system network topology;
FIG. 2 is a diagram of the operation of the high-speed anti-interference frequency hopping software system;
fig. 3 is a block diagram of a high-speed anti-interference frequency hopping software system.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the present invention, but are not intended to limit the invention in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present invention.
The embodiment of the invention provides a high-speed anti-interference frequency hopping software design system, wherein a multi-node working network of the high-speed anti-interference frequency hopping software system is shown in figure 1, and a frequency hopping radio station working mode of a carrying system is shown in figure 2.
Specifically, referring to FIG. 3, the system specifically comprises a data port control module, a data receiving and transmitting control module, a system synchronization control module, a real-time frequency control module, a system control module, and a panel input and display control module.
The data port control module is used for receiving and transmitting network layer protocol data, wifi wireless data and high-speed serial port data, can analyze TCP/IP protocol, UDP protocol, serial port and wifi wireless data content, split and integrate the content of the data, obtain more efficient data transmission, integrate and split the data opposite to a sender at a data receiver, and repackage the data according to TCP/IP protocol, UDP protocol, serial port and wifi wireless protocol content, so that the data is reported according to a data format of the sender, and the establishment of a data link is completed.
Meanwhile, the module can also carry out protocol analysis on the data of the fixed port or IP address, and generate internal protocol setting, protocol inquiry and protocol reporting frames of the system for carrying out real-time monitoring and control on the whole system. The module mainly acquires external interface data and distinguishes and judges the data sources through the data interfaces or data frame protocol contents used by users. The transmission data are split, integrated and input to the data receiving and transmitting control module for processing, and the protocol data are sent to the system control module through the protocol frame package, so that the protocol frame is effective and the feedback protocol frame is reported.
And the data receiving and transmitting control module is used for dynamically dividing the data sending and receiving moments of the nodes in the network in real time and ensuring low-delay transmission of the data. And dynamically distributing the data bandwidth of a plurality of nodes in the network according to the data real-time throughput rate of the current node. Meanwhile, the data of the received data port control module is transmitted according to the real-time slot table, the data is transmitted to the baseband radio frequency module, and meanwhile, the data from other nodes of the air port are acquired through the baseband radio frequency module and are transmitted to the data port control module for processing. The module is internally provided with a system time controller which is the same as the system synchronous control module and is used for precisely controlling the data receiving and transmitting time of the whole system.
The system synchronization control module is used for realizing time synchronization of the whole system and a control algorithm that the central node is knocked down by other nodes competing for the central node, and generating the priority of the nodes in the network through the starting time of the nodes in the network and the ID number, and generating a new main node after the main node is knocked down according to the priority sequence. And the central node periodically transmits a low-speed synchronous frame to the baseband radio frequency module. The synchronous frame adopts a frequency hopping synchronous mode, has stronger bad-hop resistance, and can adapt to time and frequency synchronization completed in different environments. And the specific higher transmission efficiency and longer transmission distance of the low-speed synchronous frame greatly improve the stability of the whole system. Meanwhile, the number and the positions of the network nodes can be updated in real time according to the content of the real-time frequency control module. The priority of the nodes in the network can be generated according to the starting time of the nodes in the network and the ID number when the central node is destroyed so as to generate a new central node. Ensuring the anti-destruction capability of the system.
And the real-time frequency control module dynamically analyzes the channel quality of the current environment, dynamically programs the use frequency according to the result and broadcasts the use frequency to the whole system, and improves the communication capacity of the system facing the complex environment. The module periodically acquires the communication quality data of a plurality of current frequency points of all nodes of the whole system from the baseband radio frequency module, and according to a scanning result, the module preferentially selects the use frequency of the system, and simultaneously replaces bad points in the scanning frequency points, thereby improving the stability of the system.
And the system control module is used for processing protocols of external input control system internal node parameters and finishing functions of orthogonal networking, data encryption and the like. And periodically generates a status frame of the current system for external observation of the system. Meanwhile, all frequency points of nodes in the network can be subjected to communication quality scanning in the current environment through control signaling, and one or more using frequencies are generated for subsequent system use according to the available frequencies. And acquiring protocol data from the data port control module, the panel protocol input and display control module, analyzing and realizing the control of the system, responding to the protocol content observed by the outside on the system, and reporting a feedback frame. Finally, the module can also respond to the control system user rate bandwidth configuration command, and carry corresponding system rate bandwidth according to the actual rate of the user and the requirement of the communication distance. In the use process of the system, the module can dynamically adjust the user rate according to the signal-to-noise ratio of the use rate in the current environment, or increase the rate to improve the rate bandwidth of the whole system, or decrease the rate to improve the stability of the whole system.
And the baseband radio frequency module is used for sending the data needing to be transmitted by the air interface in the system or receiving the air interface data from other nodes by the interface and transmitting the air interface data to the data receiving and transmitting module for processing.
And the panel input and display control module is used for responding to the digital keys and the function keys in real time and controlling the software system. And the reporting content of the system control module is displayed, so that the outside can observe the whole state of the system conveniently.
And after receiving the protocol frame of the system control module, the system control module sends the protocol frame to a panel input and display module through an SPI channel to generate real-time system state content matched with the protocol frame, so that the system control module is convenient for a user to use, and the panel input and display module supports multi-language content display and intelligent input method input.
In addition, the high-speed anti-interference frequency hopping software system is carried on various radio stations such as a vehicle-mounted radio station, a knapsack radio station and a handheld radio station to complete networking of a wireless communication terminal of the system, and various types of frequency hopping radio station products are applied to various army projects.
The invention also provides a high-speed anti-interference frequency hopping software design method, which specifically comprises the following steps:
The method comprises the steps of S1, obtaining external interface data, judging a data format through a data interface source and external interface data content, splitting and integrating data to be transmitted in a channel, inputting the split and integrated data to a data receiving and transmitting control module for processing, packaging system protocol data of a user control whole system through a protocol frame, sending the system protocol data to the system control module, enabling the protocol frame to be effective, and reporting the fed back protocol frame;
step S2, receiving channel transmission data of a data port control module through a data receiving and transmitting control module, carrying out data transmission according to a real-time slot table, sending the channel transmission data to a baseband radio frequency module, acquiring data from other nodes of an air port through the baseband radio frequency module, and transmitting the data to a data port control module for processing;
And step S3, controlling the nodes through a system synchronous control module, and dynamically generating a master node according to different start-up time of the nodes in the network. The slave node receives the synchronous information broadcast by the master node, aligns the time and frequency of the slave node with the master node according to the frequency hopping time synchronous algorithm, and completes the synchronization of the whole network. When the master node disappears due to accidental destruction, the stability of the whole network can be maintained by the master node in a secondary dynamic generation mode according to the ID in the network or the starting time of the node;
S4, dynamically analyzing the channel quality of the current environment through a real-time frequency control module, and dynamically planning the use frequency according to the result to broadcast to the whole system;
S5, processing protocols of node parameters in an external input control system through a system control module, completing orthogonal networking and data encryption functions, and periodically generating a state frame of the current system for observing the system from the outside;
and S6, responding to the digital keys and the function keys in real time, controlling the software system, and inputting and displaying the report content of the system control module through the panel.
And S7, transmitting the data needing air interface transmission in the system through the baseband radio frequency module or receiving the air interface data from other nodes through an interface and transmitting the air interface data to the data receiving and transmitting module for processing.
The embodiment of the invention provides a high-speed anti-interference frequency hopping software design system and method, which have the characteristics of multiple interfaces, impact resistance, multiple hop speeds, multiple frequency bands, strong confidentiality, self-adaptive rate, simultaneous transmission of digital and speech, self-adaptive working frequency points, high-speed movement of nodes, high dynamic change of topology and the like. The system can support multi-band high-speed data communication, can dynamically use working frequency points according to actual use environments, can dynamically allocate data bandwidth according to the number of network radio stations in real time, has strong anti-interference performance, can regenerate a central node through a competition-back-off algorithm, can carry multiple user rates, and can adaptively match the user rates according to user requirements or field environments.
Those skilled in the art will appreciate that the invention provides a system and its individual devices, modules, units, etc. that can be implemented entirely by logic programming of method steps, in addition to being implemented as pure computer readable program code, in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Therefore, the system and the devices, modules and units thereof provided by the invention can be regarded as a hardware component, and the devices, modules and units for realizing various functions included in the system can be regarded as structures in the hardware component, and the devices, modules and units for realizing various functions can be regarded as structures in the hardware component as well as software modules for realizing the method.
The foregoing describes specific embodiments of the present application. It is to be understood that the application is not limited to the particular embodiments described above, and that various changes or modifications may be made by those skilled in the art within the scope of the appended claims without affecting the spirit of the application. The embodiments of the application and the features of the embodiments may be combined with each other arbitrarily without conflict.