Communication method, device and system and storage medium

By periodically detecting and evaluating channel quality in a 433MHz wireless communication system, a dynamic frequency hopping sequence is generated, which solves the problems of channel interference and collision in closed scenarios and achieves dynamic matching of channel quality and improved transmission reliability.

CN122052838APending Publication Date: 2026-05-15SHENZHEN JIESHUN SCI & TECH IND
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN JIESHUN SCI & TECH IND
Filing Date
2026-03-25
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

433MHz wireless radio frequency communication is susceptible to interference in enclosed environments, leading to channel congestion and co-channel conflicts. Existing technologies such as fixed channels and preset frequency hopping sequences cannot effectively solve sudden interference, and the accuracy of channel assessment is insufficient, affecting communication reliability.

Method used

Interference detection and channel idle assessment are periodically performed during communication idle periods to generate channel quality distribution data. Based on this data, a dynamic frequency hopping sequence is generated. Service data transmission and response monitoring are performed in the channel using the dynamic frequency hopping sequence until all service data transmission is completed. The transmission effect is verified in real time, and abnormal channels are eliminated.

Benefits of technology

It enables dynamic and accurate perception of complex electromagnetic environments, real-time avoidance of interference channels, and improves the anti-interference capability and transmission reliability of wireless communication systems in closed scenarios, ensuring efficient and stable transmission of service data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122052838A_ABST
    Figure CN122052838A_ABST
Patent Text Reader

Abstract

The invention discloses a communication method, device and system and a storage medium, and the method comprises the steps: periodically executing interference detection and channel idle assessment in a communication idle period, and generating channel quality distribution data; generating a dynamic frequency hopping sequence based on the channel quality distribution data; and based on the dynamic frequency hopping sequence, executing service data transmission and response monitoring in one or more channels until all service data transmission is completed. In the embodiment of the invention, the channel quality distribution data is generated through the periodic detection and evaluation of the communication idle period, so that the dynamic frequency hopping sequence is generated, a fixed channel or a preset frequency hopping sequence is replaced, and an interference channel is avoided; a cyclic closed loop mechanism of service data sending and response monitoring is combined, the data transmission effect is verified in real time, the problems that a wireless open frequency band fixed channel is prone to interference and fixed frequency hopping is difficult to resist burst interference are effectively solved, and the communication anti-interference capacity and transmission reliability in a complex scene are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a communication method, apparatus, system and storage medium. Background Technology

[0002] Wireless radio frequency (RF) communication technologies (such as 433MHz) have been widely used in various fields, including parking lots, smart homes, industrial telemetry and control, and IoT terminal access, due to their advantages such as longer wavelength, stronger diffraction capability, longer transmission distance, and lower hardware cost. However, the 433MHz band is an open band that can be accessed without a license, leading to a large influx of heterogeneous devices into this band, making its electromagnetic environment increasingly complex and congested. Especially in enclosed environments such as underground parking lots and industrial factories, channel congestion and random interference are particularly prominent, becoming the core bottleneck restricting the reliability of 433MHz RF communication.

[0003] To address the aforementioned interference issues, existing 433MHz-based wireless communication systems primarily employ two technical solutions: The first is a fixed-channel communication scheme. This scheme sets one or more fixed communication channels at the factory or during user initialization, and these channels remain largely unchanged throughout the device's lifespan. However, this scheme has significant drawbacks. Once the fixed channel encounters persistent or sudden interference, communication quality deteriorates sharply, leading to packet loss, increased bit error rate, and even communication interruption. Furthermore, in enclosed environments, if multiple systems using the same protocol exist in the same area, co-channel conflicts are highly likely to occur, causing communication failures. The second solution is a preset fixed-sequence frequency hopping technique. In this scheme, both communicating parties synchronously switch sub-channels according to a preset pseudo-random channel sequence, which can reduce the impact of persistent channel interference to some extent. However, the frequency hopping sequence in this scheme is fixed, and when the fixed sequence overlaps with a sudden, strong interference frequency band, communication failures still occur. In addition, this scheme typically relies solely on simple signal strength detection (RSSI) to determine channel availability, failing to distinguish between background noise, malicious interference, and legitimate co-protocol data packets, resulting in insufficient channel assessment accuracy and limited anti-interference capabilities. Summary of the Invention

[0004] Therefore, it is necessary to provide a communication method, apparatus, system, and storage medium to address the aforementioned technical problems and solve at least one of the problems existing in the prior art.

[0005] Firstly, a communication method is provided for use at the sending end, including: Interference detection and channel idle assessment are performed periodically during communication idle periods to generate channel quality distribution data; Based on the channel quality distribution data, a dynamic frequency hopping sequence is generated; Based on the dynamic frequency hopping sequence, service data transmission and response monitoring are performed in one or more channels until all service data transmission is completed.

[0006] In one possible implementation, the step of performing service data transmission and response monitoring in one or more channels based on the dynamic frequency hopping sequence until all service data transmission is completed includes: Based on the dynamic frequency hopping sequence, the receiver switches to the target communication channel to send the current service data to the receiving end. The current service data includes the communication channel for the next packet of service data and the acknowledgment channel. The communication channel for the next packet of service data is used to instruct the receiving end to switch to the corresponding channel to listen for the next packet of service data. After transmission is completed, switch to the response channel to listen for the response sent by the receiving end through the target reporting frequency band; If the response is detected, the service data transmission and response monitoring are repeated based on the communication channel of the next packet of service data until all service data transmission is completed. If no response is received, the current service data will be resent.

[0007] In one possible implementation, after switching to the response channel to listen to the response sent by the receiving end through the target reporting frequency band, the method further includes: Based on the monitoring results of the response, determine whether there are any abnormalities in this communication; If an anomaly is found, the target communication channel is marked as an abnormal communication channel and removed from the dynamic frequency hopping sequence to obtain an updated dynamic frequency hopping sequence, and the communication channel for the next packet of service data is selected based on the updated dynamic frequency hopping sequence.

[0008] In one possible implementation, the step of periodically performing interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data includes: Determine the received signal strength of all communication channels to be used; Based on the received signal strength, basic energy map feature values ​​are generated for each communication channel to be used, wherein the basic energy map feature values ​​are used to characterize the interference strength of the channel; Carrier sensing is performed on each communication channel to be used to obtain the channel busy ratio corresponding to each communication channel to be used, wherein the channel busy ratio is used to characterize the occupancy level of the channel; Based on the basic energy spectrum feature values ​​and the channel busy ratio, the channel quality score corresponding to each communication channel to be used is determined. The channel quality distribution data is generated based on the channel quality score corresponding to each communication channel to be used.

[0009] In one possible implementation, determining the channel quality score corresponding to each communication channel to be used based on the basic energy map feature values ​​and the channel busy ratio includes: Determine the basic energy spectrum feature values ​​and the weighting coefficients corresponding to the channel busy ratio, respectively. Based on the weighting coefficients, the basic energy spectrum feature values ​​of each communication channel to be used are weighted and summed with the channel busy ratio to obtain the channel quality score corresponding to each communication channel to be used.

[0010] In one possible implementation, generating the dynamic frequency hopping sequence based on the channel quality distribution data includes: Based on the channel quality distribution data, each communication channel to be used is arranged in ascending or descending order according to its channel quality score, where ascending order is arranged from low to high channel quality score and descending order is arranged from high to low channel quality score. Based on the sorting results, the dynamic frequency hopping sequence is obtained.

[0011] In one possible implementation, the method further includes: When communication begins, start communication service data is sent on a fixed downlink initial channel. The start communication service data includes a communication start command word, the start service channel corresponding to the start packet service data, and the start response channel. After transmission is complete, switch to the initial response channel to listen for the initial response sent by the receiving end; When communication ends, a last packet of service data is sent, which includes a communication end command word, so that the receiving end responds to the last packet of service data and then switches to the fixed downlink initial channel; The fixed downlink initial channel is a preset fixed frequency channel, and the transmitting end and the receiving end pre-agree on the frequency parameters of the fixed downlink initial channel.

[0012] Secondly, a communication device is provided for use at a transmitting end, comprising: The channel quality distribution data generation unit is used to periodically perform interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data. A dynamic frequency hopping sequence generation unit is used to generate a dynamic frequency hopping sequence based on the channel quality distribution data; The frequency hopping communication unit is used to perform service data transmission and response monitoring in one or more channels based on the dynamic frequency hopping sequence until all service data transmission is completed.

[0013] Thirdly, a communication system is provided, the system comprising a transmitter and a receiver with frequency hopping capability, including: The transmitting end includes the communication device as described in the second aspect, configured to switch to the target communication channel according to the dynamic frequency hopping sequence, send the current service data of the communication channel containing the next packet of service data and the acknowledgment channel to the receiving end, and switch to the acknowledgment channel to listen to the acknowledgment response of the receiving end after the transmission is completed; After receiving the current service data, the receiving end switches to the response channel, sends a response through the target reporting frequency band, and switches to the corresponding channel to wait for receiving the next packet of service data based on the communication channel to be used corresponding to the next packet of service data carried in the current service data. If the sending end detects the response, it repeats the process of sending service data and detecting responses based on the communication channel of the next packet of service data until all service data transmissions are completed.

[0014] Fourthly, a readable storage medium is provided that stores computer-readable instructions, which, when executed by a processor, implement the steps of the communication method described in the first aspect above.

[0015] The above-mentioned communication method, apparatus, system, and storage medium are implemented by the following steps: periodically performing interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data; generating a dynamic frequency hopping sequence based on the channel quality distribution data; and performing service data transmission and response monitoring in one or more channels based on the dynamic frequency hopping sequence until all service data transmission is completed. In this embodiment, by periodically performing interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data, dynamic and accurate perception of complex electromagnetic environments across multiple frequency bands is achieved. This breaks the limitation of fixed-channel communication relying on a single or a few channels that are susceptible to continuous interference or co-channel conflicts. The dynamic frequency hopping sequence generated based on the channel command replaces the preset fixed sequence, which can avoid interference channels with poor quality in real time and solves the problem of communication failure when the fixed frequency hopping sequence encounters sudden strong interference, enabling dynamic matching between the frequency hopping strategy and channel quality. Combined with a closed-loop mechanism that performs service data transmission and response monitoring in one or more channels, the transmission effect can be verified in real time and anomalies can be handled in a timely manner, avoiding problems such as data packet loss and increased bit error rate caused by interference in fixed-channel communication. Finally, through the synergistic effect of dynamic channel perception, adaptive frequency hopping strategy and closed-loop transmission verification, the anti-interference capability and transmission reliability of the wireless communication system in complex scenarios such as underground parking lots and industrial factories are significantly improved, ensuring efficient and stable transmission of all service data. Attached Figure Description

[0016] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart illustrating a communication method in one embodiment of this application. Figure 1 ; Figure 2 This is a flowchart illustrating a communication method in one embodiment of this application. Figure 2 ; Figure 3 This is a timing interaction diagram of a communication method in one embodiment of this application; Figure 4 This is a flowchart illustrating a communication method in one embodiment of this application. Figure 3 ; Figure 5 This is a flowchart illustrating a communication method in one embodiment of this application. Figure 4 ; Figure 6 This is a schematic diagram of the structure of a communication device according to an embodiment of this application; Figure 7 This is a schematic diagram of the structure of a communication system according to an embodiment of this application; Figure 8 This is a schematic diagram of a computer device according to one embodiment of this application. Detailed Implementation

[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0019] Example 1 In one embodiment, such as Figure 1 As shown, a communication method is provided, and the following steps are included as an example of its application at the sending end: In step S110, interference detection and channel idle assessment are performed periodically during communication idle periods to generate channel quality distribution data; Optionally, during communication idle periods (i.e., times when there is no business data transmission demand between the transmitter and receiver), the transmitter will perform interference detection and channel idleness assessment on all communication channels to be used in multiple frequency bands, such as the 433MHz band, according to a preset period (e.g., every 500 milliseconds). This involves collecting the real-time received signal strength of each channel to analyze channel interference intensity and performing carrier sensing to statistically analyze channel occupancy. A weighted calculation of these two key indicators yields a quality score for each channel. Finally, the quality scores of all communication channels to be used are integrated to generate channel quality distribution data that intuitively reflects the channel quality. This periodic design ensures that the transmitter continuously monitors the status of all channels, avoiding discrepancies between the frequency hopping sequence and the actual channel status due to insufficient timeliness of a single detection, thus providing a stable and reliable channel quality basis for dynamic frequency hopping strategies.

[0020] The transmitting end refers to a communication device capable of actively initiating communication, generating dynamic frequency hopping sequences, sending service data, and listening for responses from the receiving end. For example, devices that actively initiate data transmission, such as parking management hosts, industrial remote control transmitters, IoT gateways, and cameras, work in conjunction with receiving ends (such as parking card readers, industrial actuators, IoT terminals, and parking locks) to achieve bidirectional frequency hopping communication.

[0021] In step S120, a dynamic frequency hopping sequence is generated based on the channel quality distribution data; Optionally, the transmitting end can extract the final channel quality score index corresponding to all communication channels to be used based on the generated channel quality distribution data, and prioritize each communication channel to be used according to a preset sorting rule (ascending or descending order). This abandons the traditional static mode of preset fixed frequency hopping sequence and directly determines the sorted channel sequence as a dynamic frequency hopping sequence. Moreover, the dynamic frequency hopping sequence can be dynamically updated according to the latest channel quality distribution data, thereby providing a real-time and adaptable sequence basis for channel switching of subsequent service data transmission, ensuring that the frequency band with better channel quality is selected first for communication.

[0022] In step S130, based on the dynamic frequency hopping sequence, service data transmission and response monitoring are performed in one or more channels until all service data transmission is completed.

[0023] Optionally, the transmitting end selects the corresponding communication channel sequentially based on the generated dynamic frequency hopping sequence to send the current service data to the receiving end. After completing the transmission of each packet of service data, it immediately switches to the acknowledgment channel specified in the current service data to listen for the acknowledgment response from the receiving end. Based on the listening result of the acknowledgment response, it performs the corresponding subsequent transmission operation. If a valid acknowledgment response is heard, it selects the next target service channel based on the dynamic frequency hopping sequence to continue sending the next packet of service data. If no valid acknowledgment response is heard, it retransmits the current service data. This process is repeated until all service data transmission is completed.

[0024] In this application embodiment, a communication method is provided, including: periodically performing interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data; generating a dynamic frequency hopping sequence based on the channel quality distribution data; and performing service data transmission and response monitoring in one or more channels based on the dynamic frequency hopping sequence until all service data transmission is completed. In this embodiment, by periodically performing interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data, dynamic and accurate perception of complex electromagnetic environments across multiple frequency bands is achieved. This breaks the limitation of fixed-channel communication relying on a single or a few channels that are susceptible to continuous interference or co-channel conflicts. The dynamic frequency hopping sequence generated based on this spectrum replaces the preset fixed sequence, which can avoid interference channels with poor quality in real time. This solves the problem of communication failure when the fixed frequency hopping sequence encounters sudden strong interference, enabling dynamic matching between the frequency hopping strategy and channel quality. Combined with a closed-loop mechanism that performs service data transmission and response monitoring in one or more channels, the transmission effect can be verified in real time and anomalies can be handled in a timely manner. This avoids problems such as data packet loss and increased bit error rate caused by interference in fixed-channel communication. Finally, through the synergistic effect of dynamic channel perception, adaptive frequency hopping strategy, and closed-loop transmission verification, the anti-interference capability and transmission reliability of the wireless communication system in complex scenarios such as underground parking lots and industrial factories are significantly improved, ensuring efficient and stable transmission of all service data.

[0025] See Figure 2 In one embodiment of this application, the step of performing service data transmission and response monitoring in one or more channels based on the dynamic frequency hopping sequence until all service data transmission is completed includes: In step S210, based on the dynamic frequency hopping sequence, the receiver switches to the target communication channel to send the current service data to the receiving end. The current service data includes the communication channel for the next packet of service data and the acknowledgment channel. The communication channel for the next packet of service data is used to instruct the receiving end to switch to the corresponding channel to listen for the next packet of service data. In step S220, after the transmission is completed, the system switches to the response channel to listen for the response sent by the receiving end through the target reporting frequency band; In step S230, if the response is detected, the service data transmission and response monitoring are repeated based on the communication channel of the next packet of service data until all service data transmission is completed. In step S240, if no response is received, the current service data is resent.

[0026] Optionally, the transmitting end switches to the target communication channel based on a dynamic frequency hopping sequence and sends current service data containing the communication channel information for the next packet of service data and the acknowledgment channel information to the receiving end. The communication channel for the next packet of service data is used to instruct the receiving end to switch to the corresponding channel to listen for subsequent data. After the transmission is completed, the transmitting end immediately switches to the acknowledgment channel to listen for the acknowledgment response fed back by the receiving end through the target reporting frequency band. If a valid acknowledgment response is heard, the transmitting end continues to perform service data transmission and acknowledgment listening operations based on the communication channel for the next packet of service data carried in the current service data. If no acknowledgment response is heard, the current service data is retransmitted. The above process is executed cyclically until all service data transmission is completed.

[0027] For example, such as Figure 3 As shown, in a parking lot scenario, the frequency hopping communication process is illustrated using a navigation camera as the transmitter and a parking lock as the receiver. Both the navigation camera and the parking lock have frequency hopping communication capabilities. First, the navigation camera switches to a designated frequency point of the target communication channel (such as a sub-channel frequency point within the 433MHz band) according to the frequency hopping sequence to send the current service data. The current service data includes the communication channel for the next packet of service data and the response channel. After sending the data, the navigation camera immediately switches to the designated response channel to wait for the parking lock's response. The parking lock listens for data based on the anchor point channel specified in the previous packet of service data (i.e., the target communication channel included in the previous packet of service data). After successfully receiving the data, it responds on the target frequency band of the response channel and immediately hops to the communication channel for the next packet of service data included in the current service data to listen for the next packet of service data. At the end of the communication process, the last packet of service data sent by the navigation camera carries a communication end command word. After receiving the last packet of data and responding, the parking lock switches to a fixed downlink initial channel (such as 433MHz) and waits for the next communication trigger. This cycle continues to complete the entire data communication process. It should be noted that in practical applications, in order to reduce the performance overhead caused by frequent channel switching, the anchor channel and the response channel of the parking lock usually use the same frequency.

[0028] In one embodiment of this application, after switching to the response channel to listen to the response sent by the receiving end through the target reporting frequency band, the method further includes: Based on the monitoring results of the response, determine whether there are any abnormalities in this communication; If an anomaly is found, the target communication channel is marked as an abnormal communication channel and removed from the dynamic frequency hopping sequence to obtain an updated dynamic frequency hopping sequence, and the communication channel for the next packet of service data is selected based on the updated dynamic frequency hopping sequence.

[0029] Optionally, after the transmitting end switches to the acknowledgment channel to listen to the acknowledgment response sent by the receiving end through the target reporting frequency band, it will perform multi-dimensional verification on the listening results. Specifically, this includes: whether an acknowledgment signal was detected within the preset listening time, whether the format of the acknowledgment signal conforms to the preset protocol specification, and whether the checksum in the acknowledgment data is consistent with the checksum preset by the transmitting end. Based on the above verification results, it will comprehensively determine whether there is any abnormality in the current communication process based on the target communication channel. If an abnormality is determined to exist (e.g., no acknowledgment response was detected, the acknowledgment format is incorrect, or the checksum does not match), the target communication channel will be marked as an abnormal communication channel. At the same time, the abnormal channel will be removed from the currently effective dynamic frequency hopping sequence, and an updated dynamic frequency hopping sequence after removing the abnormal channel will be generated. When sending the next packet of service data, the communication channel will be selected directly based on the updated dynamic frequency hopping sequence, thereby realizing real-time avoidance of channels with interference or transmission failures and continuously optimizing the reliability and stability of frequency hopping communication.

[0030] like Figure 4 As shown in one embodiment of this application, the step of periodically performing interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data includes: In step S310, the received signal strength of all communication channels to be used is determined; In step S320, based on the received signal strength, basic energy spectrum feature values ​​of each communication channel to be used are generated, wherein the basic energy spectrum feature values ​​are used to characterize the interference strength of the channel; In step S330, carrier sensing is performed on each communication channel to be used to obtain the channel busy ratio corresponding to each communication channel to be used, wherein the channel busy ratio is used to characterize the occupancy level of the channel; In step S340, based on the basic energy spectrum feature values ​​and the channel busy ratio, the channel quality score corresponding to each communication channel to be used is determined; In step S350, the channel quality distribution data is generated based on the channel quality score corresponding to each communication channel to be used.

[0031] Optionally, the transmitting end can collect the real-time received signal strength of each communication channel to be used at a preset fixed period during communication idle periods. Combining the fluctuation amplitude and duration of the signal strength, it calculates and generates the basic energy spectrum characteristic value of each communication channel to be used. The magnitude of this characteristic value is positively correlated with the interference intensity of the channel, and can intuitively reflect the severity of interference from external heterogeneous devices. Then, it performs carrier sensing for a preset duration on each communication channel to be used, and statistically analyzes the proportion of time the channel is occupied during the sensing period to obtain the channel busy ratio corresponding to each communication channel to be used, thereby quantitatively characterizing the actual service load of the channel. The system first assesses the load status and idle level. Then, based on a preset weighting rule, it weights and sums the two core indicators—basic energy map feature values ​​and channel busy ratio—to calculate the comprehensive channel quality score for each communication channel to be used. The score is negatively correlated with the quality of channel communication. Finally, it associates and maps the identification information of all communication channels to be used with their corresponding channel quality scores to generate visualized and quantifiable channel quality distribution data (the map can intuitively display the identification of each channel and its corresponding quality score), providing comprehensive and reliable channel quality data support for the subsequent generation of dynamic frequency hopping sequences.

[0032] The process of obtaining the basic energy spectrum feature value can be as follows: within a preset single detection duration, the transmitting end continuously receives signal strength samples from a single communication channel to be used at a fixed sampling interval to obtain multiple sets of raw signal strength data; then, the fluctuation amplitude of this set of data is calculated, that is, the difference between the maximum and minimum signal strength values ​​among all sampling points, and the duration during which the signal strength exceeds the preset interference threshold is counted within the sampling duration; then, a weighting coefficient preset according to the interference characteristics of the actual scenario is introduced to normalize the fluctuation amplitude and the duration of interference respectively, and then the weighted sum is calculated according to the preset weighting coefficient to finally obtain the basic energy spectrum feature value that can characterize the interference intensity of the channel. The larger the feature value, the more severe the interference to the channel.

[0033] The process of obtaining the channel busy ratio can be as follows: During the carrier sensing period set for a single communication channel to be used, the transmitting end continuously monitors the signal status of the channel. If a valid radio frequency signal conforming to the signal format is detected in the channel (indicating that the channel is occupied by other devices), the time period is recorded as the channel occupancy duration. After the carrier sensing ends, the total occupancy duration is divided by the total duration of this carrier sensing. The resulting value is the channel busy ratio of the communication channel to be used. The larger the ratio, the higher the frequency of channel occupancy and the lower the idle level.

[0034] In one embodiment of this application, determining the channel quality score corresponding to each communication channel to be used based on the basic energy map feature values ​​and the channel busy ratio includes: Determine the basic energy spectrum feature values ​​and the weighting coefficients corresponding to the channel busy ratio, respectively. Based on the weighting coefficients, the basic energy spectrum feature values ​​of each communication channel to be used are weighted and summed with the channel busy ratio to obtain the channel quality score corresponding to each communication channel to be used.

[0035] Optionally, the transmitting end first configures differentiated weighting coefficients for the basic energy map feature value and the channel busy ratio, taking into account the electromagnetic environment characteristics of the frequency band, the interference type of the actual application scenario, and the service transmission requirements. For example, in the scenario of an underground parking lot with frequent interference, the weight of the basic energy map feature value can be appropriately increased to focus on avoiding strong interference channels. In the scenario of dense equipment, the weight of the channel busy ratio is increased to prioritize the selection of idle channels. Then, for each communication channel to be used, its corresponding basic energy map feature value and channel busy ratio are multiplied by their respective weighting coefficients, and the two products are added together to obtain the final channel quality score of the channel. The higher the score, the better the communication quality of the channel. It should be noted that, in the calculation, the basic energy map feature value and the channel busy ratio can be normalized first, and then the normalized index corresponding to each communication channel to be used can be multiplied by its respective weighting coefficient, and the two products are added together to obtain the final channel quality score of the channel.

[0036] The channel quality score can be calculated using the following formula: ; in, Indicates the signal strength of channel i; The CQS score represents the channel busy ratio of channel i. α and β are weighting coefficients that can be adjusted according to the application scenario (a higher α means the system is more sensitive to broadband noise, background noise, and unmodulated interference; a higher β means the system is more sensitive to other frequency bands (such as 433MHz) communication signals). A higher CQS score indicates better channel quality.

[0037] like Figure 5 As shown in one embodiment of this application, generating a dynamic frequency hopping sequence based on the channel quality distribution data includes: In step S410, based on the channel quality distribution data, each communication channel to be used is arranged in ascending or descending order according to its channel quality score, wherein ascending order is arranged from low to high channel quality score, and descending order is arranged from high to low channel quality score. In step S420, the dynamic frequency hopping sequence is obtained based on the sorting result.

[0038] Optionally, based on the generated channel quality distribution data that intuitively reflects the quality of each channel, the transmitting end first extracts the final channel quality score and channel identification information corresponding to all communication channels to be used in the spectrum. Then, combined with the service transmission requirements and electromagnetic environment characteristics of the actual application scenario, it flexibly selects the corresponding channel sorting rules: if it is necessary to prioritize communication stability and avoid interference and channel occupation conflicts, a descending order is adopted, that is, all communication channels to be used are sorted in order of channel quality score from high to low. The higher the score, the lower the interference intensity and the higher the idle degree of the channel, and the better the communication quality. If it is suitable for special test scenarios or temporary emergency communication needs, an ascending order can be adopted, that is, sorted in order of channel quality score from low to high, and channels with relatively large interference are selected first. Finally, the sorted channel identifiers are combined in sequence to directly form a dynamic frequency hopping sequence that can guide the channel switching of subsequent service data transmission. This sequence can be dynamically adjusted synchronously with the periodic update of the channel quality distribution data to ensure that the frequency hopping strategy always adapts to the real-time status of the channel.

[0039] In one embodiment of this application, the method further includes: When communication begins, start communication service data is sent on a fixed downlink initial channel. The start communication service data includes a communication start command word, the start service channel corresponding to the start packet service data, and the start response channel. After transmission is complete, switch to the initial response channel to listen for the initial response sent by the receiving end; When communication ends, a last packet of service data is sent, which includes a communication end command word, so that the receiving end responds to the last packet of service data and then switches to the fixed downlink initial channel; The fixed downlink initial channel is a preset fixed frequency channel, and the transmitting end and the receiving end pre-agree on the frequency parameters of the fixed downlink initial channel.

[0040] Optionally, when the sending end needs to initiate communication, it first switches to a fixed downlink initial channel with pre-agreed frequency parameters with the receiving end, and sends start communication service data carrying the communication start command word, the start packet service data corresponding to the start service channel, and the start acknowledgment channel. After sending, the sending end immediately switches to the start acknowledgment channel and listens for the start acknowledgment response from the receiving end to complete the establishment verification of the communication link. If a valid start acknowledgment response is heard, the service data transmission stage officially begins. Then, the corresponding target communication channel is selected sequentially according to the generated dynamic frequency hopping sequence, and the cyclic process of service data transmission and acknowledgment listening is executed. When all service data transmission is completed, the sending end embeds the communication end command word in the last packet of service data. After receiving the packet data and completing the acknowledgment response, the receiving end automatically switches back to the fixed downlink initial channel and waits for the next communication trigger.

[0041] The fixed downlink initial channel refers to a dedicated channel with fixed frequency parameters pre-agreed upon by the transmitter and receiver. It primarily serves as the initial handshake before establishing the communication link and the link reset function after communication ends. The frequency parameters of the fixed downlink initial channel are uniformly preset by the transmitter and receiver before communication and do not change throughout the entire process with the adjustment of the dynamic frequency hopping sequence. It is the only fixed communication anchor point between the two.

[0042] In this embodiment, by periodically performing interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data, dynamic and accurate perception of complex electromagnetic environments across multiple frequency bands is achieved. This breaks the limitation of fixed-channel communication relying on a single or a few channels that are susceptible to continuous interference or co-channel conflicts. The dynamic frequency hopping sequence generated based on this map replaces the preset fixed sequence, which can avoid interference channels with poor quality in real time. This solves the problem of communication failure when the fixed frequency hopping sequence encounters sudden strong interference, enabling dynamic matching between the frequency hopping strategy and channel quality. Combined with a closed-loop mechanism that performs service data transmission and response monitoring in one or more channels, the transmission effect can be verified in real time and anomalies can be handled in a timely manner. This avoids problems such as data packet loss and increased bit error rate caused by interference in fixed-channel communication. Finally, through the synergistic effect of dynamic channel perception, adaptive frequency hopping strategy, and closed-loop transmission verification, the anti-interference capability and transmission reliability of the wireless communication system in complex scenarios such as underground parking lots and industrial factories are significantly improved, ensuring efficient and stable transmission of all service data.

[0043] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0044] Example 2 In one embodiment, a communication device is provided, which corresponds one-to-one with the communication method in Embodiment 1 above. For example... Figure 6 As shown, the communication device includes a channel quality distribution data generation unit 10, a dynamic frequency hopping sequence generation unit 20, and a frequency hopping communication unit 30. Detailed descriptions of each functional module are as follows: The channel quality distribution data generation unit 10 is used to periodically perform interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data. The dynamic frequency hopping sequence generation unit 20 is used to generate a dynamic frequency hopping sequence based on the channel quality distribution data; The frequency hopping communication unit 30 is used to perform service data transmission and response monitoring in one or more channels based on the dynamic frequency hopping sequence until all service data transmission is completed.

[0045] In one embodiment of this application, the frequency hopping communication unit 30 is further configured to: Based on the dynamic frequency hopping sequence, the receiver switches to the target communication channel to send the current service data to the receiving end. The current service data includes the communication channel for the next packet of service data and the acknowledgment channel. The communication channel for the next packet of service data is used to instruct the receiving end to switch to the corresponding channel to listen for the next packet of service data. After transmission is completed, switch to the response channel to listen for the response sent by the receiving end through the target reporting frequency band; If the response is detected, the service data transmission and response monitoring are repeated based on the communication channel of the next packet of service data until all service data transmission is completed. If no response is received, the current service data will be resent.

[0046] In one embodiment of this application, the frequency hopping communication unit 30 is further configured to: Based on the monitoring results of the response, determine whether there are any abnormalities in this communication; If an anomaly is found, the target communication channel is marked as an abnormal communication channel and removed from the dynamic frequency hopping sequence to obtain an updated dynamic frequency hopping sequence, and the communication channel for the next packet of service data is selected based on the updated dynamic frequency hopping sequence.

[0047] In one embodiment of this application, the channel quality distribution data generation unit 10 is further configured to: Determine the received signal strength of all communication channels to be used; Based on the received signal strength, basic energy map feature values ​​are generated for each communication channel to be used, wherein the basic energy map feature values ​​are used to characterize the interference strength of the channel; Carrier sensing is performed on each communication channel to be used to obtain the channel busy ratio corresponding to each communication channel to be used, wherein the channel busy ratio is used to characterize the occupancy level of the channel; Based on the basic energy spectrum feature values ​​and the channel busy ratio, the channel quality score corresponding to each communication channel to be used is determined. The channel quality distribution data is generated based on the channel quality score corresponding to each communication channel to be used.

[0048] In one embodiment of this application, the channel quality distribution data generation unit 10 is further configured to: Determine the basic energy spectrum feature values ​​and the weighting coefficients corresponding to the channel busy ratio, respectively. Based on the weighting coefficients, the basic energy spectrum feature values ​​of each communication channel to be used are weighted and summed with the channel busy ratio to obtain the channel quality score corresponding to each communication channel to be used.

[0049] In one embodiment of this application, the dynamic frequency hopping sequence generation unit 20 is further configured to: Based on the channel quality distribution data, each communication channel to be used is arranged in ascending or descending order according to its channel quality score, where ascending order is arranged from low to high channel quality score and descending order is arranged from high to low channel quality score. Based on the sorting results, the dynamic frequency hopping sequence is obtained.

[0050] In one embodiment of this application, the frequency hopping communication unit 30 is further configured to: When communication begins, start communication service data is sent on a fixed downlink initial channel. The start communication service data includes a communication start command word, the start service channel corresponding to the start packet service data, and the start response channel. After transmission is complete, switch to the initial response channel to listen for the initial response sent by the receiving end; When communication ends, a last packet of service data is sent, which includes a communication end command word, so that the receiving end responds to the last packet of service data and then switches to the fixed downlink initial channel; The fixed downlink initial channel is a preset fixed frequency channel, and the transmitting end and the receiving end pre-agree on the frequency parameters of the fixed downlink initial channel.

[0051] In this embodiment, by periodically performing interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data, dynamic and accurate perception of complex electromagnetic environments across multiple frequency bands is achieved. This breaks the limitation of fixed-channel communication relying on a single or a few channels that are susceptible to continuous interference or co-channel conflicts. The dynamic frequency hopping sequence generated based on this map replaces the preset fixed sequence, which can avoid interference channels with poor quality in real time. This solves the problem of communication failure when the fixed frequency hopping sequence encounters sudden strong interference, enabling dynamic matching between the frequency hopping strategy and channel quality. Combined with a closed-loop mechanism that performs service data transmission and response monitoring in one or more channels, the transmission effect can be verified in real time and anomalies can be handled in a timely manner. This avoids problems such as data packet loss and increased bit error rate caused by interference in fixed-channel communication. Finally, through the synergistic effect of dynamic channel perception, adaptive frequency hopping strategy, and closed-loop transmission verification, the anti-interference capability and transmission reliability of the wireless communication system in complex scenarios such as underground parking lots and industrial factories are significantly improved, ensuring efficient and stable transmission of all service data.

[0052] Specific limitations regarding the communication device can be found in the limitations regarding the communication method above, and will not be repeated here. Each module in the aforementioned communication device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in the computer device, or stored in software in the memory of the computer device, so that the processor can call and execute the operations corresponding to each module.

[0053] Example 3 In one embodiment, a communication system is provided, such as Figure 7 As shown, the communication system consists of a transmitter 100 with frequency hopping capability and a receiver 200, including: The transmitting end 100 includes the communication device described in Embodiment 2 above, which is used to switch to the target communication channel according to the dynamic frequency hopping sequence, send the current service data of the communication channel containing the next packet of service data and the acknowledgment channel to the receiving end 200, and switch to the acknowledgment channel to listen to the acknowledgment response of the receiving end 200 after the transmission is completed. After receiving the current service data, the receiving end 200 switches to the response channel, sends a response through the target reporting frequency band, and switches to the corresponding channel to wait for receiving the next packet of service data based on the communication channel to be used corresponding to the next packet of service data carried in the current service data. If the sending end 100 detects the response, it repeats the process of sending service data and listening for responses based on the communication channel of the next packet of service data until all service data transmission is completed.

[0054] Optionally, the communication system consists of a transmitter 100 and a receiver 200 with frequency hopping communication capability. The transmitter 100 is equipped with the aforementioned communication device. During operation, it switches to the target communication channel based on a pre-generated dynamic frequency hopping sequence and sends current service data carrying communication channel information and response channel information for the next service data packet to the receiver 200. After completing data transmission, the transmitter 100 immediately switches to the response channel to listen for the response from the receiver 200. After successfully receiving the current service data, the receiver 200 synchronously switches to the response channel and sends a response through the target reporting frequency band. Simultaneously, based on the communication channel information for the next service data packet carried in the current service data, it switches to the corresponding channel to wait for receiving subsequent service data. If the transmitter 100 subsequently detects a valid response, it will repeat the above service data transmission and response listening process based on the communication channel for the next service data packet until all service data transmission is completed.

[0055] This communication system overcomes the vulnerability to interference inherent in traditional fixed-channel communication through a collaborative frequency-hopping design at both the transmitting and receiving ends. It utilizes dynamic frequency-hopping sequences to optimize channel selection in real time, effectively avoiding interference from heterogeneous devices and channel occupancy conflicts within open frequency bands. Simultaneously, by carrying subsequent channel information within the service data, the system ensures highly synchronized channel switching between the transmitting and receiving ends. Combined with acknowledgment monitoring and retransmission mechanisms, this significantly reduces packet loss and bit error rates. Furthermore, the entire communication process requires no additional synchronization signaling channel, simplifying the system architecture while reducing channel switching overhead and power consumption. It is particularly suitable for scenarios with complex electromagnetic environments, such as underground parking lots and industrial parks, significantly improving the stability and reliability of wireless communication.

[0056] In one embodiment, a computer device is provided, which may be a terminal device, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a readable storage medium storing computer-readable instructions. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer-readable instructions implement a communication method. The readable storage medium provided in this embodiment includes both non-volatile and volatile readable storage media.

[0057] In this application embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, it implements the steps of the communication method described above.

[0058] In this embodiment of the application, a readable storage medium is provided, which stores computer-readable instructions. When the computer-readable instructions are executed by a processor, they implement the steps of the communication method described above.

[0059] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When executed, these computer-readable instructions can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0060] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0061] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A communication method, characterized in that, Applied to the sending end, the method includes: Interference detection and channel idle assessment are performed periodically during communication idle periods to generate channel quality distribution data; Based on the channel quality distribution data, a dynamic frequency hopping sequence is generated; Based on the dynamic frequency hopping sequence, service data transmission and response monitoring are performed in one or more channels until all service data transmission is completed.

2. The communication method as described in claim 1, characterized in that, The process of performing service data transmission and response monitoring in one or more channels based on the dynamic frequency hopping sequence until all service data transmission is completed includes: Based on the dynamic frequency hopping sequence, the receiver switches to the target communication channel to send the current service data to the receiving end. The current service data includes the communication channel for the next packet of service data and the acknowledgment channel. The communication channel for the next packet of service data is used to instruct the receiving end to switch to the corresponding channel to listen for the next packet of service data. After transmission is completed, switch to the response channel to listen for the response sent by the receiving end through the target reporting frequency band; If the response is detected, the service data transmission and response monitoring are repeated based on the communication channel of the next packet of service data until all service data transmission is completed. If no response is received, the current service data will be resent.

3. The communication method as described in claim 2, characterized in that, After switching to the response channel to listen to the response sent by the receiving end through the target reporting frequency band, the method further includes: Based on the monitoring results of the response, determine whether there are any abnormalities in this communication; If an anomaly is found, the target communication channel is marked as an abnormal communication channel and removed from the dynamic frequency hopping sequence to obtain an updated dynamic frequency hopping sequence, and the communication channel for the next packet of service data is selected based on the updated dynamic frequency hopping sequence.

4. The communication method as described in claim 1, characterized in that, The process of periodically performing interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data includes: Determine the received signal strength of all communication channels to be used; Based on the received signal strength, basic energy map feature values ​​are generated for each communication channel to be used, wherein the basic energy map feature values ​​are used to characterize the interference strength of the channel; Carrier sensing is performed on each communication channel to be used to obtain the channel busy ratio corresponding to each communication channel to be used, wherein the channel busy ratio is used to characterize the occupancy level of the channel; Based on the basic energy spectrum feature values ​​and the channel busy ratio, the channel quality score corresponding to each communication channel to be used is determined. The channel quality distribution data is generated based on the channel quality score corresponding to each communication channel to be used.

5. The communication method as described in claim 4, characterized in that, The determination of the channel quality score corresponding to each communication channel to be used based on the basic energy spectrum feature values ​​and the channel busy ratio includes: Determine the basic energy spectrum feature values ​​and the weighting coefficients corresponding to the channel busy ratio, respectively. Based on the weighting coefficients, the basic energy spectrum feature values ​​of each communication channel to be used are weighted and summed with the channel busy ratio to obtain the channel quality score corresponding to each communication channel to be used.

6. The communication method as described in claim 1, characterized in that, The step of generating a dynamic frequency hopping sequence based on the channel quality distribution data includes: Based on the channel quality distribution data, each communication channel to be used is arranged in ascending or descending order according to its channel quality score, where ascending order is arranged from low to high channel quality score and descending order is arranged from high to low channel quality score. Based on the sorting results, the dynamic frequency hopping sequence is obtained.

7. The communication method according to any one of claims 1-6, characterized in that, The method further includes: When communication begins, start communication service data is sent on a fixed downlink initial channel. The start communication service data includes a communication start command word, the start service channel corresponding to the start packet service data, and the start response channel. After transmission is complete, switch to the initial response channel to listen for the initial response sent by the receiving end; When communication ends, a last packet of service data is sent, which includes a communication end command word, so that the receiving end responds to the last packet of service data and then switches to the fixed downlink initial channel; The fixed downlink initial channel is a preset fixed frequency channel, and the transmitting end and the receiving end pre-agree on the frequency parameters of the fixed downlink initial channel.

8. A communication device, characterized in that, Applied to the transmitting end, the device includes: The channel quality distribution data generation unit is used to periodically perform interference detection and channel idle assessment during communication idle periods to generate channel quality distribution data. A dynamic frequency hopping sequence generation unit is used to generate a dynamic frequency hopping sequence based on the channel quality distribution data; The frequency hopping communication unit is used to perform service data transmission and response monitoring in one or more channels based on the dynamic frequency hopping sequence until all service data transmission is completed.

9. A communication system, characterized in that, The system consists of a transmitter and a receiver with frequency hopping capability, including: The transmitting end includes the communication device as described in claim 8, configured to switch to the target communication channel according to the dynamic frequency hopping sequence, send the current service data of the communication channel containing the next packet of service data and the acknowledgment channel to the receiving end, and switch to the acknowledgment channel to listen to the acknowledgment response of the receiving end after the transmission is completed; After receiving the current service data, the receiving end switches to the response channel, sends a response through the target reporting frequency band, and switches to the corresponding channel to wait for receiving the next packet of service data based on the communication channel to be used corresponding to the next packet of service data carried in the current service data. If the sending end detects the response, it repeats the process of sending service data and detecting responses based on the communication channel of the next packet of service data until all service data transmissions are completed.

10. A readable storage medium storing computer-readable instructions, characterized in that, When the computer-readable instructions are executed by a processor, they implement the steps of the communication method as described in any one of claims 1 to 7.