A short wave automatic switching method and device
By employing automatic forwarding and routing weighting methods in shortwave communication networks to dynamically adjust communication links, the problems of signal attenuation and electromagnetic environment influence in long-distance shortwave communication are solved, achieving efficient and stable shortwave communication quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHENGDU XICHENG TECH CO LTD
- Filing Date
- 2021-10-27
- Publication Date
- 2026-06-19
AI Technical Summary
In long-distance shortwave communication, the communication signal strength is severely attenuated, and the electromagnetic environment affects the communication quality, making it difficult for existing technologies to ensure communication quality without relying on other communication methods.
By employing automatic forwarding and routing weighting methods, and utilizing existing shortwave communication networks, medium- and long-distance communication is converted into short-distance communication. By establishing a network containing multiple relay stations, the communication links are dynamically adjusted to optimize the signal-to-noise ratio and ensure communication quality.
It achieves efficient, stable, and reliable communication quality in long-distance shortwave communication. By dynamically adjusting the link, it converts to multiple short-distance communication segments, ensuring that the signal-to-noise ratio is always optimal.
Smart Images

Figure CN114040468B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless shortwave communication technology, and in particular to a shortwave automatic signal relay method and apparatus. Background Technology
[0002] Link establishment is a crucial prerequisite for shortwave communication; only with successful link establishment can message forwarding be achieved. Existing technologies employ various link establishment strategies. In long-distance point-to-point shortwave message transmission, the communication signal strength attenuates significantly after long-distance transmission, and coupled with the influence of the electromagnetic environment, communication quality is poor, leading to communication disruptions. Therefore, a new requirement has been raised: for medium-to-long-distance shortwave communication, how can communication quality be ensured when relying solely on shortwave communication without relying on other communication methods? Summary of the Invention
[0003] The purpose of this invention is to utilize the existing shortwave communication network and the characteristic that it is easy to establish a link over a distance of 500 to 1500 kilometers. By adopting concepts such as automatic forwarding and route weighting, this invention converts medium- and long-distance shortwave communication into short-distance communication and proposes a new link establishment method and device, namely, a shortwave automatic forwarding method and device.
[0004] To achieve the above-mentioned objectives, the present invention provides the following technical solution:
[0005] A shortwave automatic signal relay method specifically includes the following steps:
[0006] S1, establish a relay station network containing multiple relay stations based on the initiator and destination of the message data;
[0007] S2, in the relay station network, the current relay station sends a link establishment request, including the initiator, routing value and destination, to other relay stations in the relay station network;
[0008] S3, the relay station that receives the link establishment request parses the destination from the link establishment request. If the relay station that receives the link establishment request is the destination, the link establishment with the initiator is completed, and a communication link is formed; otherwise, forwarding information is added to the link establishment request, and the link establishment request with added forwarding information is sent out. The forwarding information includes the information of the relay station that receives the link establishment request and its routing weighting value.
[0009] As a preferred embodiment of the present invention, in step S2, if the forwarding station receives multiple link establishment requests from the same initiator at the same time, the link establishment path is determined according to the sum of the routing weights in the received link establishment requests; if the forwarding station receives multiple link establishment requests from different initiators at the same time, the link establishment path is determined according to the service priority of the link establishment requests.
[0010] As a preferred embodiment of the present invention, the routing weighting value is inversely proportional to the signal strength when the relay station receives the link establishment request, and the relay stations that the link establishment request with the smallest sum of routing weighting values has passed through are added to the communication link.
[0011] As a preferred embodiment of the present invention, the chain establishment path is determined according to the priority of the business to which the chain establishment request belongs. Specifically, the chain establishment request with higher business priority is established first, and the chain establishment request with lower business priority is established later. If the business priorities are the same, the communication links are established in the order of the time when the chain establishment requests are received.
[0012] As a preferred embodiment of the present invention, the step of determining the link establishment path according to the priority of the service to which the link establishment request belongs further includes the following steps: when a service with higher priority conflicts with the current service of this site, the service with lower priority is interrupted, and a communication link is first established for the service with higher priority and a forwarding service is provided.
[0013] As a preferred embodiment of the present invention, the steps further include: if the initiator and the destination are not in the same relay network, the link establishment request issued by the initiator is forwarded to the destination through the relay network closest to the destination.
[0014] As a preferred embodiment of the present invention, the steps further include: before step S1, frequency prediction is performed between the transmitting relay station and the receiving relay station, then a pre-defined channel is selected within the frequency prediction range, and finally, link requests are sent and received between the two relay stations based on the selected pre-defined channel.
[0015] As a preferred embodiment of the present invention, step S3 is further included: after the link is established, message data transmission is realized based on each relay station on the link. The process of the relay station receiving message data specifically includes the following steps:
[0016] S31, the relay station is set to the listener group and is in message receiving mode;
[0017] S32: When a message arrives, start receiving the message and start the receive timer at the same time;
[0018] S33. After completing the message data reception, perform error detection. If there is an error, do not disconnect the link and continue to wait for reception again. If there is no error, actively disconnect the link and set it to the listener group. If a timeout occurs during the reception process, actively disconnect the link, set it to the listener group, and enter the listener state.
[0019] As a preferred embodiment of the present invention, step S3 further includes the process of the relay station sending message data, specifically including the following steps:
[0020] S301, after receiving the message data, the relay station is set to the sending group;
[0021] S302, send a message and start the sending timer;
[0022] S303, waiting for message data receiver to disconnect information;
[0023] S304. If a disconnection message is received from the message data receiver, the message data transmission is completed, and the relay station is set as a listener group.
[0024] Based on the same concept, a shortwave automatic signal relay device was also proposed, including a computer motherboard, a shortwave integrated modem and relay control unit;
[0025] The computer motherboard has built-in signal relay control software, which establishes a communication link using any of the shortwave automatic signal relay methods described above.
[0026] The shortwave integrated modem is used to receive and send shortwave message data from the relay station.
[0027] The switching control unit is used to switch between shortwave voice and message functions.
[0028] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0029] By employing the link establishment method and apparatus of this invention, a communication link is established in real time and dynamically using the existing shortwave communication network during link establishment. This ensures that the signal-to-noise ratio of the communication signal at the relay station on the communication link is always optimal, transforming the original long-distance communication with low signal-to-noise ratio into multi-segment short-distance communication with high signal-to-noise ratio. This ensures the quality of communication and makes the forwarding of long-distance shortwave communication messages efficient, stable, and reliable. Attached image description:
[0030] Figure 1 This is a schematic diagram of the forwarding link routing in Embodiment 1 of the present invention;
[0031] Figure 2 This is a schematic diagram of link establishment in Embodiment 1 of the present invention, where the local station is the destination and no forwarding is performed.
[0032] Figure 3 This is a schematic diagram of the forwarding route when the destination is K in Embodiment 1 of the present invention;
[0033] Figure 4 This is a schematic diagram of the forwarding route when the destination is not a user of the forwarding station subnet in Embodiment 1 of the present invention;
[0034] Figure 5 This is a screenshot of the software interface for frequency prediction analysis results in Embodiment 1 of the present invention;
[0035] Figure 6This is a screenshot of the software interface for the link analysis results in Embodiment 1 of the present invention;
[0036] Figure 7 This is a software interface diagram of the frequency analysis results in Embodiment 1 of the present invention;
[0037] Figure 8 This is a screenshot of the software interface for data analysis results in Embodiment 1 of the present invention;
[0038] Figure 9 This is a schematic diagram of the forwarding service process in Embodiment 1 of the present invention;
[0039] Figure 10 This is a block diagram of the overall hardware of the shortwave automatic signal relay device in Embodiment 2 of the present invention;
[0040] Figure 11 This is a schematic diagram of the function of the relay controller software in Embodiment 2 of the present invention;
[0041] Figure 12 This is a flowchart of the message forwarding and receiving process in Embodiment 2 of the present invention;
[0042] Figure 13 This is a flowchart of the message forwarding process in Embodiment 2 of the present invention. Detailed Implementation
[0043] The present invention will be further described in detail below with reference to experimental examples and specific embodiments. However, this should not be construed as limiting the scope of the above-mentioned subject matter of the present invention to the following embodiments; all technologies implemented based on the content of the present invention fall within the scope of the present invention.
[0044] Example 1
[0045] This invention provides a shortwave automatic signal relay method, such as... Figure 1 As shown, it includes the following steps:
[0046] S1, establish a relay station network containing multiple relay stations based on the initiator and destination of the message data;
[0047] S2, In the relay station network, the current relay station sends a link establishment request, including the initiator, routing value and destination, to other relay stations in the relay station network;
[0048] S3, the relay station that receives the link establishment request parses the destination from the link establishment request. If the relay station that receives the link establishment request is the destination, the link establishment with the initiator is completed, and a communication link is formed; otherwise, forwarding information is added to the link establishment request, and the link establishment request with the added forwarding information is sent out. The forwarding information includes the information of the relay station that receives the link establishment request and its routing weight value.
[0049] Specifically, the principle of the shortwave automatic signal relay method is:
[0050] Before establishing a connection, the forwarding station first provides forwarding services according to the priority level of the services, prioritizing higher-priority services and then lower-priority services. For services of the same priority level, forwarding services are provided according to the time the connection request arrives at the station, prioritizing services that sent their requests earlier and then those that sent them later. When a higher-priority service does not affect the station's operation, forwarding services are provided according to the normal procedure. When a higher-priority service conflicts with the station's current services, the lower-priority service is interrupted, and forwarding services are provided first to the higher-priority service. After the higher-priority service is completed, forwarding services are then provided to the previously interrupted lower-priority service.
[0051] (2) Establish a weighted value for forwarding routes
[0052] When the initiator sends the initial information, it carries the initiator's name, initial route value, and destination information. Each relay station in the relay network determines a route weighting value based on the strength of the received signal; a stronger signal results in a lower route weighting value, and a weaker signal results in a higher weighting value. The signal-to-noise ratio (SNR) is typically used to measure the strength of the communication signal, so a higher SNR results in a lower route weighting value, and vice versa. When the destination receives multiple link establishment requests from the same initiator, it adds the route weighting values of each relay station carried in the link establishment request to the initial route value, and selects the route with the smallest sum as the relay link. Figure 1 As shown. The initiator is A, and the destination is D. A's initial route value is 0. B receives A's signal poorly, so its route weighting is determined to be 3. Under the paths A, B, and C, the sum of the route weightings is 0 + 3 = 3. Under the paths A and E, the sum of the route weightings is 0 + 2 = 2. Therefore, the route weighting from A to C is 0. After comparing the sums of the route weightings, the sum from A to C is the smallest, so the path from A to C is used for link establishment. Next, for D, C receives both A and B's signals very well, so its route weighting is determined to be 1 for both. Therefore, the sum of the route values under the paths A, C, and D is 0 + 1 = 1. D receives E's signal poorly, so its route weighting is determined to be 2. Therefore, under the paths A, E, and D, the route weighting is 0 + 2 = 2. For D, the route weighting is the smallest under the paths A, C, and D. Therefore, for the destination D, the final link establishment path is A, C, and D.
[0053] (3) Determine whether to forward the message based on the destination.
[0054] After receiving the message, the relay station first determines the destination. If the destination is this station, it will not forward the message. Simultaneously, it establishes a link with the initiator, who then broadcasts a message to other relay stations that received it, informing them not to participate in this forwarding. Figure 2As shown in Figure 1. If the destination is not this site, the information is forwarded, and the current route weighting value is carried in the forwarded information.
[0055] (4) Determine which way to turn based on the destination.
[0056] When forwarding is required, first determine the destination. If the destination is K, forward the message directly to K, and include the current node's routing value in the forwarding information summary, such as... Figure 3 As shown.
[0057] If the destination is not a user within the relay station subnet, the link establishment request is sent through the boundary relay station closest to the destination subnet, and then forwarded to the destination in the adjacent network through that boundary relay station. The forwarding information includes the routing values of the nodes passing through each relay station, such as... Figure 4 As shown. The initiator is A, the destination is D, A's route value is 0, B's route value is 3, and E's route value is 1. Therefore, the route value from A and E to C is 1, and the route value from A and B to C is 3. D receives C's route weighted value of 2. Thus, for D, the route weighted value under routes A, B, C, and D is 0+3+2=5, and the route weighted value under routes A, E, C, and D is 0+1+2=3. Therefore, routes A, E, C, and D are selected to establish a link.
[0058] If the destination is a user within the forwarding subnet, the message is forwarded to the forwarding subnet to which the destination belongs, and the current node's routing value is carried in the forwarding information.
[0059] As a preferred embodiment of the present invention, before link establishment, frequency prediction is performed using a frequency pre-selection tool. Then, pre-selected channels within the frequency prediction range are automatically selected. Finally, the optimal channel is chosen from the selected pre-selected channels for communication. Since most pre-selected channels are eliminated before link establishment detection, and only a few are detected, the link establishment time can be significantly shortened compared to existing link establishment methods (detecting all pre-selected channels). In addition to frequency prediction, the frequency optimization software also performs link analysis, frequency analysis, data analysis, and communication document creation. The interfaces of each function in the frequency optimization software are shown below.
[0060] 1) Frequency prediction
[0061] Frequency prediction software analyzes factors such as the location of the communicating parties, communication time, and sunspot count to derive communication parameters including distance, communication direction, available communication frequency, optimal communication frequency, and highest operating frequency. This allows for the prediction of possible communication frequencies. Figure 5 As shown.
[0062] 2) Link Analysis
[0063] After frequency prediction is completed and normal operations commence, more detailed and comprehensive technical guidance is provided for business operations. Based on the transceiver station name and coordinates, antenna type, transmit power, required availability, signal-to-noise ratio, and operating time period, a complete analysis is conducted on six parameters: skywave mode, transmit elevation angle, number of days of service, receiver signal strength, availability, and signal-to-noise ratio, categorized by time period (1-24 hours) and frequency (2-30MHz), and usage suggestions are provided, such as... Figure 6 As shown.
[0064] 3) Frequency Analysis
[0065] Based on the link analysis function, input the frequency in use to analyze the availability of the frequency in use, such as... Figure 7 As shown.
[0066] 4) Data Analysis
[0067] Frequency prediction software analyzes factors such as the location of the communicating parties, communication time, and sunspot count to derive communication parameters including distance, communication direction, available communication frequency, optimal communication frequency, and highest operating frequency. This allows for the prediction of possible communication frequencies. Figure 8 As shown.
[0068] The procedure for shortwave automatic signal relay can also be used. Figure 9 The relay stations, upon receiving information from initiator A to destination F, forward the information to destination F, simultaneously including the signal quality received from initiator A in the forwarded information. Destination F, upon receiving the forwarded information from each relay station, first determines the optimal relay route based on the signal quality received from each relay station and the signal quality received from initiator A by each relay station. Then, destination F establishes a link with the optimal relay station B, and simultaneously broadcasts a message informing other relay stations that they will not participate in this relay. Optimal relay station B establishes a link with initiator A, informing D that the information has been received and will be relayed through relay station B. Initiator A broadcasts a message informing other relay stations that they will not participate in this relay, and simultaneously begins sending data or voice. After the communication ends, initiator A first initiates a disconnect request with optimal relay station B, completing the disconnect, and then optimal relay station B initiates a disconnect request with destination F, completing the disconnect.
[0069] Example 2
[0070] The present invention also provides an apparatus for implementing a shortwave automatic signal switching method, the hardware block diagram of which is shown below. Figure 10 As shown, it includes a computer platform motherboard, a shortwave integrated modem, an adapter control unit, a button control unit, front and rear panel interface units, a display driver module, a serial port screen module, and a power supply module, etc.
[0071] a) Computer motherboard: Provides a general software and hardware platform for this device, enabling it to perform functions such as shortwave automatic signal relay, signal relay parameter setting, message sending and receiving, display, and communication.
[0072] b) Shortwave Integrated Modem: This is the core communication unit of this device, compatible with shortwave network dedicated communication equipment, and completes shortwave message transmission and reception.
[0073] c) Switching control unit: This is the bridging unit of the equipment, through which functions such as switching between shortwave voice and message functions, and volume control are performed.
[0074] d) Serial port display module: Provides the display of current parameters and communication status for this device.
[0075] e) Display driver board: Provides VGA interface display function for this device.
[0076] f) Front and rear panels: provide external communication and button operation functions for this device.
[0077] The relay controller software consists of two parts: application software and control software. The application software provides the controller's display and operation interfaces, enabling various user functions and managing and configuring the hardware. The control software primarily handles the automatic shortwave relay function, performing automatic link establishment, disassembly, and channel parameter acquisition during message forwarding. See [link to relay controller software functions] for details. Figure 11 As shown.
[0078] The forwarding and receiving process is as follows: Figure 12 As shown, firstly, a watchdog group is set up according to the communication document, and the controller is put into automatic message reception mode; after receiving the link establishment, the link establishment information is processed and obtained (processing PPT signal, channel quality, and link establishment frequency, etc.); while receiving messages, the reception timer is started, and error detection is performed after the message reception is completed. If there are errors, the link is not disconnected and the system continues to wait for reception again. If there are no errors, the link is actively disconnected and the system is set back to the watchdog group, and the message is pushed to the forwarding router (the forwarded message is output to the sender through the forwarding router, and then forwarded by the sender); if the message reception and link disconnection timeout occurs during the reception process, the link is actively disconnected and the system enters the watchdog state.
[0079] The forwarding process is as follows: Figure 13 As shown, after receiving a message from the relay router of this relay station, the sending end of the relay station sends a message according to the link establishment path. After the message is sent, a timer is started to wait for the receiver to disconnect the link. Upon receiving the disconnection information, the sending end of this relay station is set as a listener group and the forwarding result is reported to the relay router of this relay station. The sending end of the relay station waits for the relay router of this relay station to receive the message.
[0080] As a preferred embodiment of the present invention, the transmitting and receiving principles of the shortwave integrated modem in the device for the shortwave automatic signal relay method are further disclosed.
[0081] a) Origin Principle
[0082] The data to be transmitted is fed into the transmitting buffer, where it is encoded and converted into a high-speed data stream by the encoder and error control unit. This stream is then converted into multiple low-speed data streams in parallel. Based on the modulation scheme, the digital signal is converted into frequency domain values on each spectrum line. An IFFT algorithm is then called to synthesize the split signals, converting the frequency domain values into time domain values to generate an N-point discrete-time signal for the combined signal. This N-point signal is then expanded into an L-point signal (L=N+M, where M is the number of samples in the guard time slot) to reach the number of samples transmitted per frame, while simultaneously inserting samples into the guard time slot. The discrete-time signal is then converted into an analog signal by a D / A converter and low-pass filtered before being sent to the transmitter.
[0083] b) Terminal principle
[0084] The analog signal from the receiver is low-pass filtered and converted to a discrete digital signal via A / D conversion. A signal head detection program (including signal presence detection, Doppler frequency offset estimation, and frame synchronization establishment) is used to locate the frame synchronization position, enabling synchronization search after power-on. During normal data reception, the frame synchronization adjustment program is first invoked to generate an orthogonal discrete sequence using discrete Hibert transform, transforming the N-point real signal into an N / 2-point complex signal to reduce computation time. Next, the synchronization tracking program is invoked to obtain Doppler tracking information. Then, the FFT algorithm and differential demodulation program are invoked to obtain demodulated information symbols. Finally, the error correction and decoding programs are invoked to recover the transmitted information and send it to the computer.
Claims
1. A short wave automatic changeover method, characterized by, Specifically, the following steps are included: S1, establish a relay station network containing multiple relay stations based on the initiator and destination of the message data; S2, in the relay station network, the current relay station sends a link establishment request, including the initiator, routing value and destination, to other relay stations in the relay station network; S3, the relay station that receives the link establishment request parses the destination from the link establishment request. If the relay station that receives the link establishment request is the destination, the link establishment with the initiator is completed, and a communication link is formed; otherwise, forwarding information is added to the link establishment request, and the link establishment request with added forwarding information is sent out. The forwarding information includes the information of the relay station that receives the link establishment request and its routing weighting value. In the relay network, each relay station determines a route weighting value based on the strength of the received signal. The stronger the signal, the lower the route weighting value, and the weaker the signal, the higher the weighting value. The signal-to-noise ratio is used to measure the strength of the communication signal. When the destination receives multiple link establishment requests from the same initiator, the route weighting values of each relay station carried in the link establishment request are added to the initial route value, and the route with the smallest sum is selected as the relay link. If the initiator and the destination are not in the same relay network, the chain establishment request issued by the initiator will be forwarded to the destination through the relay network closest to the destination. The steps also include: before step S1, frequency prediction is performed between the transmitting relay station and the receiving relay station, then a pre-defined channel is selected within the frequency prediction range, and finally, link requests are sent and received between the two relay stations based on the selected pre-defined channel. After receiving the message from the initiator to the destination, each relay station forwards the message to the destination, simultaneously including the signal quality information received from the initiator in the forwarded message. Upon receiving the forwarded messages from each relay station, the destination first determines the optimal relay route based on the received signal quality from each relay station and the signal quality information received from the initiator by each relay station. Then, the destination establishes a link with the optimal relay station and simultaneously broadcasts a message informing other relay stations that they will not participate in this relay. The optimal relay station then establishes a link with the initiator, informing them that the message has been received, and relays the message through the relay station. The initiator broadcasts a message informing other relay stations that they will not participate in this relay and simultaneously begins sending data or voice. After communication ends, the initiator first initiates a disconnect request with the optimal relay station to complete the disconnect, and then the optimal relay station initiates a disconnect request with the destination to complete the disconnect. The forwarding and receiving process of the relay station includes the following steps: First, set up the listener group according to the contact document and put the forwarding control unit of the relay station into automatic receiving mode; after receiving the link establishment, process and obtain the link establishment information; start the receiving timer at the same time as starting to receive messages, and check for errors after receiving is completed. If there are errors, do not disconnect the link and continue to wait for receiving again. If there are no errors, actively disconnect the link and set back to the listener group, and push the message to the forwarding router. The forwarded message is output to the sender through the forwarding router and forwarded by the sender; if the receiving and disconnection timeout occurs during the receiving process, actively disconnect the link and enter the listener state.
2. A short wave automatic switching method as claimed in claim 1, characterized in that, In step S2, if the forwarding station receives multiple chain establishment requests from the same initiator at the same time, the chain establishment path is determined according to the sum of the routing weights in the received chain establishment requests; if the forwarding station receives multiple chain establishment requests from different initiators at the same time, the chain establishment path is determined according to the service priority of the chain establishment requests.
3. A short wave automatic switching method as claimed in claim 2, characterized in that, The routing weighting value is inversely proportional to the signal strength when the relay station receives the link establishment request, and the relay stations that the link establishment request with the smallest sum of routing weighting values has passed through are added to the communication link.
4. The shortwave automatic signal relay method as described in claim 2, characterized in that, The chain establishment path is determined according to the business priority of the chain establishment request. Specifically, chain establishment requests with higher business priority are established first, and chain establishment requests with lower business priority are established later. If the business priorities are the same, the communication links are established in the order in which the chain establishment requests are received.
5. A short wave automatic switching method as claimed in claim 4, characterized in that, The method of determining the link establishment path according to the priority of the business to which the link establishment request belongs also includes the following steps: when a higher priority business conflicts with the current business of this site, the lower priority business is interrupted, and a communication link is first established for the higher priority business and a forwarding service is provided.
6. A short wave automatic change over method as claimed in claim 1 wherein, Step S3 also includes the process of the relay station sending message data, specifically including the following steps: S301, after receiving the message data, the relay station is set to the sending group; S302, send a message and start the sending timer; S303, waiting for message data receiver to disconnect information; S304. If a disconnection message is received from the message data receiver, the message data transmission is completed, and the relay station is set as a listener group.
7. A short wave automatic relay apparatus characterized by comprising: Includes computer motherboard, shortwave integrated modem and adapter control unit; The computer motherboard has built-in signal relay control software, which establishes a communication link using a shortwave automatic signal relay method as described in any one of claims 1-6. The shortwave integrated modem is used to receive and send shortwave message data from the relay station; the switching control unit is used to switch shortwave voice and message functions.