Frequency Hopping Synchronization Method, Apparatus and System
By using the frequency hopping key and the pseudo-random code in the pseudo-random code table to generate the frequency hopping sequence, and finding and using the frequency hopping frequency points, the problems of low security and high resource utilization in the prior art are solved, and the frequency hopping synchronization with high security and low resource utilization are achieved.
Patent Information
- Application Number
- CN202211500117.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2042-11-28
AI Technical Summary
The frequency hopping synchronization method in the prior art has problems of low security and high resource utilization.
By determining the frequency hopping key, N consecutive pseudo-random codes are taken from the pseudo-random code table, their low P bits are taken as the frequency hopping sequence, and the frequency hopping frequency table is found to obtain the frequency hopping points, and use these frequency points to send messages to the slave station in turn within one second.
Improve the security of frequency hopping synchronization, reduce resource usage, and achieve frequency hopping synchronization within one second.
Smart Images

Figure CN115967412B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technologies, and in particular, to a frequency hopping synchronization method, apparatus, and system. Background Art
[0002] Frequency hopping means that the carrier frequency continuously hops within a certain range. In order to ensure normal communication between the transceiver parties, frequency hopping synchronization technology is required so that the transceiver parties can still ensure the same frequency during the frequency hopping process.
[0003] The frequency hopping synchronization methods in the related technologies mainly include the synchronization header method. The synchronization header method transmits the information required for synchronization through the synchronization header, and there are problems such as insecurity and high resource occupation. Summary of the Invention
[0004] Embodiments of the present disclosure provide a frequency hopping synchronization method, apparatus, and system. The frequency hopping synchronization method can improve security and reduce resource occupation. The technical solutions are as follows:
[0005] At least one embodiment of the present disclosure provides a frequency hopping synchronization method applied to a master station. The frequency hopping synchronization method includes:
[0006] Determine a frequency hopping key;
[0007] Take out continuous N pseudo-random codes from the pseudo-random code table with the frequency hopping key as the starting address, where N is a positive integer greater than 500;
[0008] Take the lower P bits of each of the N pseudo-random codes as the frequency hopping sequence for continuous N frequency hops, where P is a positive integer;
[0009] Use the frequency hopping sequence as an index to look up the frequency hopping frequency table to obtain the frequency hopping points used in N frequency hopping periods;
[0010] Send a message to the slave station in sequence within one second using the frequency hopping points corresponding to the N frequency hopping periods. The message header of the message includes the frequency hopping key.
[0011] Optionally, N is 1000, the frequency hopping frequency table includes 128 frequency hopping points, and P is 7.
[0012] Optionally, the method further includes:
[0013] Receive a 1PPS second pulse period signal, and calibrate the clock based on the 1PPS second pulse period signal.
[0014] At least one embodiment of the present disclosure provides a frequency hopping synchronization method applied to a slave station. The frequency hopping synchronization method includes:
[0015] Wait at the hopping frequency points in the hopping frequency table. The hopping dwell time during waiting is 1 / M seconds, where M is less than N, N is the number of hopping frequencies of the master station within one second, M is a positive integer, and N is a positive integer greater than 500;
[0016] When receiving the message sent by the master station, parse the hopping key from the message header of the message;
[0017] Take out consecutive N pseudo-random codes from the pseudo-random code table with the hopping key as the starting address. The N is a positive integer greater than 500;
[0018] Take the lower P bits of each of the N pseudo-random codes as the hopping sequence for N consecutive hopping frequencies. The P is a positive integer;
[0019] Use the hopping sequence as an index to look up the hopping frequency table and obtain the hopping frequency points used in N hopping periods;
[0020] Based on the time when receiving the message sent by the master station, determine the first hopping period when receiving the message sent by the master station;
[0021] Starting from the next hopping period after the first hopping period among the N hopping periods, hop and receive the message sent by the master station according to the hopping frequency points corresponding to the N hopping periods.
[0022] Optionally, N is 1000, the value range of M is [1, 10], the hopping frequency table includes 128 hopping frequency points, and P is 7.
[0023] Optionally, the method further includes:
[0024] Receive the 1PPS second pulse period signal and calibrate the clock based on the 1PPS second pulse period signal.
[0025] At least one embodiment of the present disclosure provides a hopping synchronization device, and the hopping synchronization device includes:
[0026] A hopping sequence determination module, configured to determine a hopping key; take out consecutive N pseudo-random codes from the pseudo-random code table with the hopping key as the starting address. The N is a positive integer greater than 500; take the lower P bits of each of the N pseudo-random codes as the hopping sequence for N consecutive hopping frequencies. The P is a positive integer;
[0027] A frequency point determination module, configured to use the hopping sequence as an index to look up the hopping frequency table and obtain the hopping frequency points used in N hopping periods;
[0028] A sending module, configured to sequentially send a message to a slave station within one second using the frequency hopping points corresponding to the N frequency hopping periods, wherein a message header of the message includes the frequency hopping key.
[0029] Optionally, the frequency hopping synchronization device further includes:
[0030] A calibration module, configured to receive a 1PPS second pulse period signal and calibrate a clock based on the 1PPS second pulse period signal.
[0031] At least one embodiment of the present disclosure provides a frequency hopping synchronization device, where the frequency hopping synchronization device includes:
[0032] A capture module, configured to wait at a frequency hopping point in a frequency hopping frequency table, where a frequency hopping dwell time during waiting is 1 / M seconds, M is less than N, N is the number of times of frequency hopping of a master station within one second, M is a positive integer, and N is a positive integer greater than 500;
[0033] A frequency hopping sequence determination module, configured to, when receiving a message sent by the master station, parse out a frequency hopping key from a message header of the message; take out consecutive N pseudo-random codes from a pseudo-random code table using the frequency hopping key as a starting address, where N is a positive integer greater than 500; take lower P bits of each of the N pseudo-random codes as a frequency hopping sequence for consecutive N times of frequency hopping, where P is a positive integer;
[0034] A frequency point determination module, configured to use the frequency hopping sequence as an index to look up a frequency hopping frequency table and obtain frequency hopping points used for N frequency hopping periods;
[0035] A receiving module, configured to determine a first frequency hopping period when receiving a message sent by the master station based on a time when the message sent by the master station is received; start from a next frequency hopping period of the first frequency hopping period among the N frequency hopping periods, and frequency-hop to receive the message sent by the master station according to the frequency hopping points corresponding to the N frequency hopping periods.
[0036] At least one embodiment of the present disclosure provides a communication device, where the communication device includes a processor and a memory, the memory stores at least one piece of program code, and the program code is loaded and executed by the processor to implement the frequency hopping synchronization method as described above.
[0037] At least one embodiment of the present disclosure provides a computer-readable storage medium, where at least one piece of program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to implement the frequency hopping synchronization method as described in any one of the foregoing.
[0038] The beneficial effects brought by the technical solution provided by the embodiment of the present disclosure are:
[0039] In the frequency hopping synchronization method provided by the embodiments of the present disclosure, the master station extracts N consecutive pseudo-random codes from the pseudo-random code table by using a frequency hopping key, and then takes the lower P bits of each pseudo-random code among the N pseudo-random codes as the frequency hopping sequence for N consecutive frequency hops, where P is a positive integer. The frequency hopping frequency table is searched using the frequency hopping sequence as an index to obtain the frequency hopping points (frequency points) used in N frequency hopping periods, and frequency hopping is performed on the N frequency points found. Correspondingly, after receiving a message at one of the frequency points, the slave station can determine the frequency hopping pattern composed of these N frequency points based on the same method, so as to achieve frequency hopping synchronization within one second. This solution only needs to transmit the frequency hopping key, has high security, and transmits less content and requires fewer resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.
[0041] Figure 1 is a flowchart of a frequency hopping synchronization method provided by an embodiment of the present disclosure;
[0042] Figure 2 is a flowchart of a frequency hopping synchronization method provided by an embodiment of the present disclosure;
[0043] Figure 3 is a schematic structural diagram of a frequency hopping synchronization system provided by an embodiment of the present disclosure;
[0044] Figure 4 is a flowchart of a communication process provided by an embodiment of the present disclosure;
[0045] Figure 5 is a schematic structural diagram of a first security machine provided by an embodiment of the present disclosure;
[0046] Figure 6 is a schematic diagram of a threshold capture method provided by an embodiment of the present disclosure;
[0047] Figure 7 is a schematic structural diagram of a frequency hopping synchronization device provided by an embodiment of the present disclosure;
[0048] Figure 8 is a schematic structural diagram of a frequency hopping synchronization device provided by an embodiment of the present disclosure;
[0049] Figure 9 is a structural block diagram of a communication device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0050] To make the objectives, technical solutions, and advantages of the present disclosure clearer, the following further describes the embodiments of the present disclosure in detail with reference to the accompanying drawings.
[0051] Figure 1 It is a flowchart of a frequency hopping synchronization method provided by an embodiment of the present disclosure. Refer to Figure 1 This frequency hopping synchronization method is executed by a master station and includes:
[0052] Step 101: Determine a frequency hopping key.
[0053] Step 102: Take out consecutive N pseudo-random codes from a pseudo-random code table with the frequency hopping key as the starting address, where N is a positive integer greater than 500.
[0054] Among them, the pseudo-random code table includes multiple pseudo-random codes, usually much larger than N. The number of pseudo-random codes in the pseudo-random code table can be related to the number of frequency hopping keys. For example, if the number of bits of the frequency hopping key is 13 bits, then the number of pseudo-random codes in the pseudo-random code table is 2 13 pieces, so that any frequency hopping key can be used as an address to determine the pseudo-random code. The address of the pseudo-random code table is also the index of the pseudo-random code in the pseudo-random code table. For example, it is numbered from 0 to 2 13 -1, and the starting address is the address corresponding to the frequency hopping key as the address for taking the first pseudo-random code, and the corresponding N pseudo-random codes are taken out in ascending order. If the last one in the pseudo-random code table is still not enough when taking, start from the 0th one again until N are taken.
[0055] Step 103: Take the lower P bits of each pseudo-random code among the N pseudo-random codes as the frequency hopping sequence for consecutive N frequency hops, where P is a positive integer.
[0056] The length of each pseudo-random code is greater than P bits, for example, more than 2P bits. By using a longer pseudo-random code and then intercepting the lower P bits as the frequency hopping sequence, the security can be improved.
[0057] Step 104: Use the frequency hopping sequence as an index to look up a frequency hopping frequency table to obtain the frequency hopping points used for N frequency hopping periods.
[0058] Exemplarily, the frequency hopping frequency table includes 128 frequency hopping points (i.e., the frequency points used for frequency hopping), and the corresponding P is 7. The 7 bits taken out in step 103 correspond to the indexes of these 128 frequency hopping points.
[0059] Step 105: Sequentially use the frequency hopping points corresponding to the N frequency hopping periods within one second to send a message to a slave station, and the message header of the message includes the frequency hopping key.
[0060] Exemplarily, N is 1000, that is, the master station hops once every millisecond. Since the total number of hopping frequency points is 128, there is at least partial reuse of frequency points during 1000 hopping processes.
[0061] In the embodiments of the present disclosure, the master station periodically executes the hopping synchronization method described in steps 101 to 105 with one second as a period.
[0062] In the hopping synchronization method provided by the embodiments of the present disclosure, the master station takes out consecutive N pseudo-random codes from the pseudo-random code table by using a hopping key, and then takes the low-order P bits of each pseudo-random code among the N pseudo-random codes as the hopping sequence for consecutive N hopping times. The P is a positive integer. The hopping frequency table is searched by using the hopping sequence as an index to obtain the hopping frequency points (frequency points) used in N hopping periods, and hopping is performed on the N frequency points found. Correspondingly, after receiving a message at one of the frequency points, the slave station can determine the hopping pattern composed of these N frequency points in the same way, so as to achieve hopping synchronization within one second. This solution only needs to transmit the hopping key, has high security, and has less transmitted content and less required resources.
[0063] Figure 2 It is a flowchart of a hopping synchronization method provided by the embodiments of the present disclosure. Refer to Figure 2 This hopping synchronization method is executed by the slave station and includes:
[0064] Step 201: Wait at the hopping frequency points in the hopping frequency table. The hopping residence time during waiting is 1 / M seconds, where M is less than N. N is the number of hops of the master station within one second, M is a positive integer, and N is a positive integer greater than 500.
[0065] Exemplarily, the hopping frequency table includes 128 hopping frequency points.
[0066] Exemplarily, N is 1000, that is, the master station hops once every millisecond. Since the total number of hopping frequency points is 128, there is at least partial reuse of frequency points during 1000 hopping processes.
[0067] Exemplarily, the value range of M is [1, 10], that is, the slave station waits at 1 to 10 frequency points per second. When waiting at 1 frequency point, the slave station waits at each frequency point for 1 s. When waiting at 10 frequency points, the slave station waits at each frequency point for 100 ms.
[0068] Taking the waiting time as 1 second as an example, the slave station will wait on 1 hopping frequency point in the hopping frequency table within 1 second. Since the master station hops 1000 times within 1 second and the total number of frequency points is 128, the master station has a very high probability of traversing these 128 frequency points. Consequently, there is a very high probability that the master station will pass through the frequency point where the slave station is waiting within one waiting time of the slave station, enabling the slave station to capture successfully within 1 second. Subsequently, the slave station can follow the master station's frequency hopping to achieve message transmission.
[0069] The frequency point where the slave station waits can be randomly selected from the hopping frequency table or selected according to a fixed algorithm. When there are multiple frequency points where the slave station waits, these multiple frequency points can be consecutive or distributed at intervals.
[0070] Exemplarily, when randomly selecting, it can be randomly selected from several frequency points with the most corresponding times of the lower 7 bits of all pseudo-random codes in the pseudo-random code table, which makes the capture success probability of the slave station higher.
[0071] Step 202: When receiving the message sent by the master station, parse out the frequency hopping key from the message header of the message.
[0072] Step 203: Take out consecutive N pseudo-random codes from the pseudo-random code table with the frequency hopping key as the starting address, where N is a positive integer greater than 500.
[0073] Step 204: Take the lower P bits of each of the N pseudo-random codes as the frequency hopping sequence for N consecutive frequency hops, where P is a positive integer.
[0074] The 7 bits taken out in Step 204 correspond to the indexes of these 128 hopping frequency points, and P is 7.
[0075] Step 205: Use the frequency hopping sequence as an index to look up the hopping frequency table to obtain the hopping frequency points used in N frequency hopping periods.
[0076] Step 206: Based on the time when receiving the message sent by the master station, determine the first frequency hopping period when receiving the message sent by the master station.
[0077] Step 207: Starting from the next frequency hopping period after the first frequency hopping period among the N frequency hopping periods, hop according to the hopping frequency points corresponding to the N frequency hopping periods to receive the message sent by the master station.
[0078] In the embodiments of the present disclosure, the slave station periodically executes the frequency hopping synchronization method described in Steps 201 to 206 with one second as a period.
[0079] In the frequency hopping synchronization method provided by the embodiments of the present disclosure, the slave station waits for and captures the message sent by the master station, obtains the frequency hopping key from the message, takes out consecutive N pseudo-random codes from the pseudo-random code table using the frequency hopping key, and then takes the lower P bits of each pseudo-random code among the N pseudo-random codes as the frequency hopping sequence for consecutive N frequency hops. Here, P is a positive integer. The frequency hopping frequency table is searched using the frequency hopping sequence as an index to obtain the frequency hopping points (frequency points) used in N frequency hopping cycles, and the frequency hopping pattern composed of these N frequency points is determined, thereby enabling frequency hopping synchronization within one second. This solution only needs to transmit the frequency hopping key, has high security, less transmitted content, and less required resources.
[0080] Figure 3 It is a schematic structural diagram of a frequency hopping synchronization system provided by the embodiments of the present disclosure. Refer to Figure 3 This frequency hopping synchronization system includes a master station 1 and a slave station 2. The communication process of using the frequency hopping synchronization method provided by the present disclosure will be described below in combination with the structure of this frequency hopping synchronization system.
[0081] Figure 4 It is a flowchart of a communication process provided by the embodiments of the present disclosure. This communication process is executed by the master station and the slave station in Figure 3 Refer to Figure 4 This communication process includes the following steps:
[0082] Step 301: The master station processes the information sequence to be sent to generate a message to be sent. The message header of the message includes the frequency hopping key.
[0083] In the embodiments of the present disclosure, the first network control unit 11 of the master station performs information processing and protocol processing on the information sequence, and then hands it over to the first security machine 12 for encryption processing.
[0084] Among them, information processing refers to buffering and priority management of the information sequence. Protocol processing refers to format encapsulation of the information sequence. Encryption processing refers to encrypting the message data and encapsulating the frequency hopping key in the message in two parts.
[0085] Figure 5 It is a schematic structural diagram of the first security machine 12 provided by the embodiments of the present disclosure. Refer to Figure 5 This first security machine 12 includes a frequency hopping key generator 121 and an encryptor 122. The frequency hopping key generator 121 is used to generate a frequency hopping key. This frequency hopping key can be used to be carried in the message on the one hand, and can be provided to the encryptor 122 to generate a frequency hopping code stream on the other hand.
[0086] Exemplarily, the length of the frequency hopping key can be 13 bits.
[0087] In the embodiments of the present disclosure, the frequency hopping key is updated once per second and there is no direct correlation between them.
[0088] Step 302: The master station generates a frequency hopping pattern based on the frequency hopping key.
[0089] In this step, the frequency hopping code stream generated by the first security machine 12 of the master station is used to generate a frequency hopping pattern.
[0090] Exemplarily, the encryptor 122 in the first security machine 12 uses the frequency hopping key as the starting address, and extracts N consecutive pseudo-random codes from the pseudo-random code table, that is, pseudo-random codes. The encryptor 122 takes the lower P bits of each pseudo-random code among the N pseudo-random codes as the frequency hopping sequence for N consecutive frequency hops, where P is a positive integer. The frequency hopping frequency table is searched using the frequency hopping sequence as an index to obtain the frequency hopping points used in N frequency hopping periods. The N frequency hopping points associated with the corresponding time form a frequency-time two-dimensional frequency hopping pattern.
[0091] Step 303: The master station modulates the message and transmits the modulated signal into the channel.
[0092] In the embodiment of the present disclosure, the first intermediate frequency unit 13 of the master station performs waveform processing on the message output by the first security machine 12 to generate an intermediate frequency signal. The first radio frequency unit 14 of the master station performs radio frequency processing on the intermediate frequency signal and transmits it through the channel.
[0093] Exemplarily, the first intermediate frequency unit 13 of the master station controls the frequency hopping points based on the frequency hopping pattern. The transmitter in the first radio frequency unit 14 mixes the intermediate frequency signal to the frequency hopping points to complete the radio frequency processing, thereby obtaining the transmitted frequency hopping signal and transmitting it into the channel.
[0094] Step 304: The slave station receives the signal transmitted in the channel.
[0095] The slave station receives and processes the transmitted signal with noise and interference superimposed in the channel, and then obtains the received signal.
[0096] In the embodiment of the present disclosure, since the slave station cannot initially determine the frequency point used by the master station for transmission, the slave station uses a waiting and tracking method for reception.
[0097] Exemplarily, the slave station waits at the frequency hopping points in the frequency hopping frequency table, and the frequency hopping dwell time during waiting is 1 / M seconds.
[0098] Exemplarily, the frequency hopping frequency table includes 128 frequency hopping points.
[0099] Exemplarily, N is 1000, that is, the master station hops once every millisecond. Since the total number of frequency hopping points is 128, during 1000 frequency hopping processes, there is at least a situation where some frequency points are reused.
[0100] Exemplarily, the value range of M is [1, 10], that is, the waiting time of the slave station at each frequency point is 100 ms. In this way, the slave station will wait at 10 hopping frequency points in the hopping frequency table within 1 second. Since the master station hops 100 times within 100 ms and the total number of frequency points is 128, the slave station can successfully capture within 1 second and has a high probability of capturing at the first few waiting frequency points, so that in the remaining time within 1 second, the slave station can follow the master station to hop and perform message transmission.
[0101] In the embodiment of the present disclosure, the slave station can wait at any frequency in the hopping frequency table.
[0102] During the waiting process, it is judged whether the capture is successful by the threshold capture method. The following combines Figure 6 An exemplary description of the threshold capture method is given, but it does not limit the present disclosure:
[0103] (1) After the local synchronization sequence (61) is subjected to continuous phase modulation (62), a synchronization signal is obtained. The phase increment value of each data of the synchronization signal and the previous data is calculated in turn, and the sign bit of the increment value is judged. A positive number is represented by "1", and a negative number is represented by "0" to generate phase characteristic information (63).
[0104] Among them, the synchronization sequence (61) is a synchronization sequence agreed upon by the master station and the slave station. The master station carries the synchronization sequence in the message, so that the slave station can determine whether it has correctly received the signal sent by the master station based on the synchronization sequence.
[0105] (2) Calculate the input signal (64), calculate the phase change increment value of the previous data and the current data, judge the sign bit of the increment value, represent a positive number with "1", represent a negative number with "0", and generate the phase characteristic information (65) of the received signal.
[0106] In the embodiment of the present disclosure, the threshold capture process is executed by the second intermediate frequency unit 23. The input signal (64) refers to the signal after radio frequency processing by the second radio frequency unit 24, that is, the digitized baseband continuous phase modulation signal, that is, the intermediate frequency signal.
[0107] (3) Perform correlation operation and locate the peak value. The phase characteristic information (63) and the phase characteristic information (65) are exclusive-ORed (66) bit by bit and added to obtain a correlation value. As the received signal slides in, the correlation value is continuously compared with the set threshold value (67). When it is greater than the set threshold value and the correlation peak (68) is found, it is determined that the capture is successful. Otherwise, continue to capture. After the capture is successful, the received signal (69) is output, and the output received signal (69) is the same as the input signal (64).
[0108] Step 305: The slave station demodulates the received signal to obtain a message.
[0109] Since the process of the second radio frequency unit 24 performing radio frequency processing on the signal is already included in Step 304. Therefore, the demodulation process in Step 305 is executed by the second intermediate frequency unit 23 of the slave station.
[0110] Exemplarily, the second intermediate frequency unit 23 performs waveform processing on the received signal to obtain a message.
[0111] Step 306: The slave station processes the message to obtain an information sequence.
[0112] The process of processing the message is executed by the second security machine 22 and the second network control unit 21 of the slave station, which is the reverse process of the process of processing the information sequence in Step 301.
[0113] Exemplarily, the second security machine 22 performs decryption processing (including data decryption and frequency hopping decryption), and the second network control unit 21 performs protocol processing on the decrypted message to achieve format parsing and restore it to an information sequence (data).
[0114] Among them, the structure of the second security machine 22 is the same as that of the first security machine 12, which will not be elaborated here.
[0115] Step 307: The slave station generates a frequency hopping pattern based on the frequency hopping key.
[0116] The process of the slave station generating a frequency hopping pattern is the same as that of the master station generating a frequency hopping pattern, which will not be elaborated here.
[0117] Step 308: The slave station achieves frequency hopping synchronization with the master station based on the frequency hopping pattern.
[0118] Exemplarily, based on the time when the message sent by the master station is received, the first frequency hopping period when the message sent by the master station is received is determined. Starting from the next frequency hopping period of the first frequency hopping period among the N frequency hopping periods, the message sent by the master station is received by frequency hopping according to the frequency hopping points corresponding to the N frequency hopping periods.
[0119] Among them, the N frequency hopping periods correspond to N frequency hopping points in the frequency hopping pattern.
[0120] For example, the time when the message sent by the master station is received is 0:00:00.010 on a certain day, and the corresponding first frequency hopping period is the 10th frequency hopping period among 1000 frequency hopping periods. The slave station starts frequency hopping from the 11th frequency hopping period, that is, starts frequency hopping from the 11th frequency hopping point in the frequency hopping pattern.
[0121] Optionally, the method provided by the embodiments of the present disclosure further includes:
[0122] The master station and the slave station receive the 1PPS second pulse period signal, and calibrate the clock based on the 1PPS second pulse period signal.
[0123] See Figure 3 , the master station and the slave station achieve clock calibration per second by receiving the 1PPS second pulse period signal provided by the satellite, so that the master station and the slave station can ensure clock synchronization during frequency hopping.
[0124] The 1PPS second pulse period signal can be provided to the network control unit, the intermediate frequency unit, and the radio frequency unit. Thus, it provides high-precision clocks for the protocol processing of the network control unit, the waveform processing of the intermediate frequency unit, and the frequency hopping control of the radio frequency unit, reducing the accumulation of time errors.
[0125] Figure 7 is a schematic structural diagram of a frequency hopping synchronization device provided by an embodiment of the present disclosure. The frequency hopping synchronization device is integrated in the master station, see Figure 7 , the frequency hopping synchronization device includes: a frequency hopping sequence determination module 401, a frequency point determination module 402, and a sending module 403.
[0126] Among them, the frequency hopping sequence determination module 401 is used to determine the frequency hopping key; starting from the frequency hopping key as the starting address, continuously N pseudo-random codes are taken out from the pseudo-random code table, where N is a positive integer greater than 500; the lower P bits of each of the N pseudo-random codes are taken as the frequency hopping sequence for N consecutive frequency hops, where P is a positive integer;
[0127] The frequency point determination module 402 is used to use the frequency hopping sequence as an index to look up the frequency hopping frequency table to obtain the frequency hopping points used in N frequency hopping periods;
[0128] The sending module 403 is used to sequentially use the frequency hopping points corresponding to the N frequency hopping periods within one second to send messages to the slave station, and the message header of the message includes the frequency hopping key.
[0129] Optionally, the frequency hopping synchronization device further includes:
[0130] A calibration module 404, which is used to receive the 1PPS second pulse period signal and calibrate the clock based on the 1PPS second pulse period signal.
[0131] Figure 8 is a schematic structural diagram of a frequency hopping synchronization device provided by an embodiment of the present disclosure. The frequency hopping synchronization device is integrated in the slave station, see Figure 8 , the frequency hopping synchronization device includes: a capture module 501, a frequency hopping sequence determination module 502, a frequency point determination module 503, and a receiving module 504.
[0132] Among them, the capture module 501 is used to wait at the hopping frequency points in the hopping frequency table. The hopping dwell time during waiting is 1 / M seconds, where M is less than N, N is the number of hopping frequencies of the master station within one second, M is a positive integer, and N is a positive integer greater than 500;
[0133] The hopping sequence determination module 502 is used to, when receiving the message sent by the master station, parse the hopping key from the message header of the message; take out N consecutive pseudo-random codes from the pseudo-random code table with the hopping key as the starting address, where N is a positive integer greater than 500; take the lower P bits of each of the N pseudo-random codes as the hopping sequence for N consecutive hopping frequencies, where P is a positive integer;
[0134] The frequency point determination module 503 is used to use the hopping sequence as an index to search the hopping frequency table and obtain the hopping frequency points used in N hopping periods;
[0135] The receiving module 504 is used to determine the first hopping period when receiving the message sent by the master station based on the time when the message sent by the master station is received; start from the next hopping period of the first hopping period among the N hopping periods, and hop and receive the message sent by the master station according to the hopping frequency points corresponding to the N hopping periods.
[0136] Optionally, the hopping synchronization device further includes:
[0137] The calibration module 505 is used to receive the 1PPS second pulse period signal and calibrate the clock based on the 1PPS second pulse period signal.
[0138] It should be noted that: when the hopping synchronization device provided in the above embodiment performs hopping synchronization, only the above-mentioned division of each functional module is used for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the hopping synchronization device provided in the above embodiment and the hopping synchronization method embodiment belong to the same concept. For the specific implementation process, please refer to the method embodiment and will not be elaborated here.
[0139] Figure 9 It is a structural block diagram of a communication device provided by an embodiment of the present disclosure. The communication device can be the aforementioned master station or slave station. Generally, the communication device includes a processor 601 and a memory 602.
[0140] The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 601 may be implemented in at least one of the following hardware forms: DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor used to process data in the standby state.
[0141] The memory 602 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 602 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 601 to implement the frequency hopping synchronization method performed by the communication device provided in the method embodiments of the present application.
[0142] The foregoing are only optional embodiments of the present disclosure and are not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.
Claims
1. A frequency hopping synchronization method, characterized in that, applied to the master station, the frequency hopping synchronization method includes: Determine the frequency hopping key; Take out consecutive N pseudo-random codes from the pseudo-random code table with the frequency hopping key as the starting address, where N is a positive integer greater than 500; Take the lower P bits of each of the N pseudo-random codes as the frequency hopping sequence for consecutive N frequency hops, where P is a positive integer; Use the frequency hopping sequence as an index to look up the frequency hopping frequency table to obtain the frequency hopping points used in N frequency hopping cycles; Within one second, sequentially use the frequency hopping points corresponding to the N frequency hopping cycles to send messages to the slave station, and the message header of the message includes the frequency hopping key.
2. The method according to claim 1, characterized in that, N is 1000, the frequency hopping frequency table includes 128 frequency hopping points, and P is 7.
3. The method according to claim 1, characterized in that, The method further includes: Receive the 1PPS second pulse period signal, and calibrate the clock based on the 1PPS second pulse period signal.
4. A frequency hopping synchronization method, characterized in that, applied to the slave station, the frequency hopping synchronization method includes: Wait at the frequency hopping points in the frequency hopping frequency table, and the frequency hopping dwell time during waiting is 1 / M seconds, where M is less than N, N is the number of frequency hops of the master station within one second, M is a positive integer, and N is a positive integer greater than 500; When receiving the message sent by the master station, parse the frequency hopping key from the message header of the message; Take out consecutive N pseudo-random codes from the pseudo-random code table with the frequency hopping key as the starting address, where N is a positive integer greater than 500; Take the lower P bits of each of the N pseudo-random codes as the frequency hopping sequence for consecutive N frequency hops, where P is a positive integer; Use the frequency hopping sequence as an index to look up the frequency hopping frequency table to obtain the frequency hopping points used in N frequency hopping cycles; Based on the time when the message sent by the master station is received, determine the first frequency hopping cycle when the message sent by the master station is received; Starting from the next frequency hopping cycle of the first frequency hopping cycle among the N frequency hopping cycles, hop according to the frequency hopping points corresponding to the N frequency hopping cycles to receive the message sent by the master station.
5. The method according to claim 4, characterized in that, N is 1000, the value range of M is [1, 10], the frequency hopping frequency table includes 128 frequency hopping points, and P is 7.
6. The method according to claim 4, characterized in that, The method further includes: Receive the 1PPS second pulse period signal, and calibrate the clock based on the 1PPS second pulse period signal.
7. A frequency hopping synchronization device, characterized in that, The frequency hopping synchronization device includes: A frequency hopping sequence determination module, configured to determine the frequency hopping key; take out consecutive N pseudo-random codes from the pseudo-random code table with the frequency hopping key as the starting address, where N is a positive integer greater than 500; take the lower P bits of each of the N pseudo-random codes as the frequency hopping sequence for consecutive N frequency hops, where P is a positive integer; A frequency point determination module, configured to use the frequency hopping sequence as an index to look up a frequency hopping frequency table, and obtain the frequency hopping points used in N frequency hopping cycles; A sending module, configured to sequentially use the frequency hopping points corresponding to the N frequency hopping cycles to send a message to a slave station within one second, and a message header of the message includes the frequency hopping key.
8. The device according to claim 7, wherein, the frequency hopping synchronization device further includes: A calibration module, configured to receive a 1PPS second pulse period signal, and calibrate a clock based on the 1PPS second pulse period signal.
9. A frequency hopping synchronization device, wherein, the frequency hopping synchronization device includes: A capture module, configured to wait at the frequency hopping points in the frequency hopping frequency table, and the frequency hopping dwell time during waiting is 1 / M seconds, where M is less than N, N is the number of times of frequency hopping of the master station within one second, M is a positive integer, and N is a positive integer greater than 500; A frequency hopping sequence determination module, configured to, when receiving the message sent by the master station, parse out a frequency hopping key from the message header of the message; take out N consecutive pseudo-random codes from a pseudo-random code table with the frequency hopping key as a starting address, where N is a positive integer greater than 500; take the lower P bits of each of the N pseudo-random codes as a frequency hopping sequence for N consecutive frequency hops, where P is a positive integer; A frequency point determination module, configured to use the frequency hopping sequence as an index to look up a frequency hopping frequency table, and obtain the frequency hopping points used in N frequency hopping cycles; A receiving module, configured to determine a first frequency hopping cycle when receiving the message sent by the master station based on the time when the message sent by the master station is received; start from the next frequency hopping cycle of the first frequency hopping cycle among the N frequency hopping cycles, and frequency hop to receive the message sent by the master station according to the frequency hopping points corresponding to the N frequency hopping cycles.
10. A frequency hopping synchronization system, wherein, the frequency hopping synchronization system includes a master station and a slave station, the master station includes the frequency hopping synchronization device according to claim 7 or 8, and the slave station includes the frequency hopping synchronization device according to claim 9.
Citation Information
Patent Citations
Frequency-preset distributed frequency-hopping synchronizing method
CN102035570A
Method for realizing frequency hopping synchronization based on time information
CN108521287A