Network device waveform switching method and apparatus

By detecting and filtering unused target waveforms for synchronous switching, the risk of eavesdropping on data transmission with fixed physical layer waveforms in wireless networks and the lack of intelligent sensing are solved, achieving seamless communication and improving network security, and is suitable for industrial IoT and smart grids.

CN121239358BActive Publication Date: 2026-06-09SHENYANG BONCHREE TECHNOLOGY CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-03
Publication Date
2026-06-09

Smart Images

  • Figure CN121239358B_ABST
    Figure CN121239358B_ABST
Patent Text Reader

Abstract

The application provides a network device waveform switching method and device, relates to the technical field of industrial Internet of Things and the technical field of wireless communication network security, and the method is applied to a master device in a target network and comprises the following steps: in the case that it is detected that other devices in other networks use a specified waveform to communicate, screening a target waveform that is not used by each other network from a waveform configuration library of the target network, and the similarity between the specified waveform and a current waveform used by the master device to communicate is higher than a first set threshold; based on the target waveform, performing waveform synchronous switching with each associated device in the target network. The application can realize the closed-loop management of "perception-decision-switching" of the physical layer waveform, significantly improves the network anti-interference capability and safety while ensuring the communication continuity, and is suitable for the scenes such as industrial Internet of Things and smart grid that have strict requirements on reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of industrial Internet of Things (IoT) technology and wireless communication network security technology, and in particular to a method and apparatus for switching waveforms in network devices. Background Technology

[0002] With the rapid development of the Internet of Things (IoT), 5G, and next-generation wireless communication technologies, the density of wireless networks has increased dramatically. In scenarios such as factories, smart cities, and smart homes, multiple wireless networks often overlap significantly in physical space.

[0003] Traditional wireless network communication security mainly relies on application layer or network layer encryption technologies, such as Advanced Encryption Standard (AES) and asymmetric encryption algorithms (Rivest-Shamir-Adleman, RSA).

[0004] However, in existing wireless networks, the communication waveforms (such as modulation schemes, symbol mappings, and pulse shapes) at the physical layer are typically fixed or semi-fixed. When adjacent networks use the same or similar physical layer waveforms to transmit data, these networks can receive wireless signals sent between devices, posing a risk of data eavesdropping. Fixed physical layer waveforms provide a stable attack surface for malicious attackers. Attackers can analyze waveform characteristics through prolonged listening, and even if upper-layer data is encrypted, fixed waveform characteristics are easily identified and tracked, revealing network activity patterns. Furthermore, existing wireless networks lack intelligent awareness of the surrounding wireless environment. When a new network joins or an existing network leaves, the system cannot proactively adjust its physical layer parameters to optimize performance or security; network configuration is static or requires manual intervention. Therefore, an effective solution is urgently needed to address at least one of these problems. Summary of the Invention

[0005] To address the above problems, the present invention provides a method and apparatus for switching waveforms in network devices.

[0006] This invention provides a waveform switching method for network devices, applied to a master device in a target network, comprising:

[0007] If it is detected that other devices in other networks are using the specified waveform for communication, a target waveform that is not used by any other network is selected from the waveform configuration library of the target network. The similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first set threshold.

[0008] Based on the target waveform, waveform synchronization switching is performed with each associated device in the target network.

[0009] According to a network device waveform switching method provided by the present invention, before filtering out target waveforms not used by other networks from the waveform configuration library of the target network, the method further includes:

[0010] Continuously or periodically scan the radio frequency environment around the target network to obtain at least one signal waveform used by the other devices in the other network for communication;

[0011] Feature extraction is performed on each of the signal waveforms to obtain waveform features of each signal waveform. The waveform features include at least one of carrier frequency, signal bandwidth, received signal strength indication, duration, modulation type, and symbol rate.

[0012] The similarity between the waveform features of the current waveform and the waveform features of each of the signal waveforms is calculated to obtain the similarity between the current waveform and each of the signal waveforms.

[0013] The signal waveforms whose similarity is greater than the first set threshold are determined as the designated waveforms.

[0014] According to a network device waveform switching method provided by the present invention, the method further includes:

[0015] For each of the signal waveforms, the signal waveform is bound to the corresponding signal source media access control address;

[0016] When the signal waveform is the specified waveform, the current waveform in the waveform configuration library is marked with an occupancy identifier;

[0017] If the signal waveform is not the specified waveform, the signal waveform is added to the waveform configuration library, and the signal waveform in the waveform configuration library is marked using the occupancy identifier.

[0018] According to a network device waveform switching method provided by the present invention, the step of filtering out target waveforms not used by other networks from the waveform configuration library of the target network includes:

[0019] Based on the signal waveforms of communication between other devices in the other networks, a first waveform set and a second waveform set are selected from the waveform configuration library. The isolation between each waveform in the first waveform set and each of the signal waveforms is greater than or equal to a second set threshold. The isolation between each waveform in the second waveform set and each of the signal waveforms is less than the second set threshold and greater than or equal to a third set threshold. The second set threshold is greater than the third set threshold.

[0020] If the first waveform set is not empty, the waveform with the lowest energy consumption in the first waveform set is determined as the target waveform;

[0021] If the first waveform set is empty and the second waveform set is not empty, the waveform with the lowest energy consumption in the second waveform set is determined as the target waveform.

[0022] If both the first waveform set and the second waveform set are empty, the waveform with the weakest signal strength in the waveform configuration library of the target network is determined as the target waveform.

[0023] According to a network device waveform switching method provided by the present invention, the method further includes:

[0024] If no other device in the other network is detected using the specified waveform for communication within a set time period, the specified waveform in the waveform configuration library is marked with a recycling identifier, and the specified waveform is added to the first waveform set. The specified waveform is the waveform in the waveform configuration library marked with an occupancy identifier.

[0025] According to a network device waveform switching method provided by the present invention, the step of performing waveform synchronization switching with each associated device in the target network based on the target waveform includes:

[0026] During the pre-configuration phase, the waveform parameters of the target waveform are loaded into the cache, and the preparation state is entered. The waveform parameters are then sent to each of the associated devices through the current waveform. The associated devices are used to load the waveform parameters and enter the preparation state.

[0027] At the signal switching moment, based on the waveform parameters, the current waveform is switched to the target waveform synchronously with each of the associated devices.

[0028] According to a network device waveform switching method provided by the present invention, after switching the current waveform to the target waveform synchronously with each of the associated devices based on the waveform parameters at the switching signal time, the method further includes:

[0029] Receive a verification frame sent by a target associated device, wherein the target associated device is the associated device in the target network that has switched to the target waveform;

[0030] Based on the verification frame, an acknowledgment signal is sent to the target associated device to ensure that each associated device in the target network synchronously switches to the target waveform.

[0031] The present invention also provides a network device waveform switching device, applied to a main device in a target network, comprising:

[0032] The filtering module is configured to, when it is detected that other devices in other networks are using a specified waveform for communication, filter out target waveforms that are not used by other networks from the waveform configuration library of the target network, wherein the similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first set threshold.

[0033] The switching module is configured to perform waveform synchronization switching with each associated device in the target network based on the target waveform.

[0034] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the network device waveform switching method described above.

[0035] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the network device waveform switching method as described above.

[0036] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the network device waveform switching method as described above.

[0037] The network device waveform switching method and apparatus provided by this invention are applied to a master device in a target network. When it detects that other devices in other networks are using a specified waveform for communication, a target waveform not used by any other network is selected from the waveform configuration library of the target network. The similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first preset threshold. Based on the target waveform, waveform synchronization switching is performed with each associated device in the target network. This invention can achieve closed-loop management of physical layer waveforms through "sensing-decision-switching," seamless waveform switching and synchronization, ensuring that all devices switch to the new waveform at almost the same time, maintaining uninterrupted communication. While ensuring communication continuity, it significantly improves network anti-interference capability and security, and is suitable for scenarios with stringent reliability requirements such as the Industrial Internet of Things and smart grids. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0039] Figure 1 This is one of the flowcharts illustrating the waveform switching method for network devices provided by this invention.

[0040] Figure 2 This is the second flowchart illustrating the waveform switching method for network devices provided by this invention.

[0041] Figure 3 This is a schematic diagram of the waveform switching device for network equipment provided by the present invention.

[0042] Figure 4 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0043] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0044] The following is combined Figures 1-4 The present invention describes a network device waveform switching method and apparatus.

[0045] Figure 1 This is one of the flowcharts illustrating the waveform switching method for network devices provided by this invention, such as... Figure 1 As shown, this method is applied to the master device in the target network, including the following:

[0046] Step 101: If it is detected that other devices in other networks are using the specified waveform for communication, select the target waveform that is not used by any other network from the waveform configuration library of the target network. The similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first set threshold.

[0047] Step 102: Based on the target waveform, perform waveform synchronization switching with each associated device in the target network.

[0048] Specifically, the target network refers to any network for which wireless communication security needs to be ensured. The target waveform is a waveform not used in other networks.

[0049] In practical applications, after the target network is powered on, the initialization program is started, and the master device automatically loads the pre-configured waveform.

[0050] Specifically, during the initial connection establishment, when an associated device (such as a terminal device) joins the target network for the first time, it uses a waveform from a default or initially configured waveform library (waveform configuration library) to associate and communicate with the access point (such as the master device). This waveform serves as the "handshake language" for establishing the initial connection. After initialization, the master device defaults to enabling any waveform W_default from the waveform configuration library and establishes a network synchronization reference by periodically broadcasting beacon frames.

[0051] For example, see Figure 2 , Figure 2 This is the second flowchart of the network device waveform switching method provided by the present invention: First, system initialization is performed. Then, the network master device (the master device of the target network) loads the initial waveform library (waveform configuration library), confirms the currently used W_default, and then broadcasts W_default. Further, after receiving the broadcast, network device A (associated device) requests association and network access from the master device, and then the network master device communicates with network device A to synchronize the default waveform W0.

[0052] Wherein, W0 can be any waveform in the waveform configuration library, or any waveform in the waveform configuration library that is not being used by other networks; similarly, W_default can be any waveform in the waveform configuration library, or any waveform in the waveform configuration library that is not being used by other networks.

[0053] Specifically, see Figure 2 During communication between the master device and associated devices, the master device continuously loops and monitors the surrounding wireless environment (continuous environmental awareness), i.e., it continuously monitors waveforms and records the physical layer waveform characteristics of devices in other networks, i.e., the signal waveforms used by other devices in other networks for communication. Based on a dynamic waveform decision mechanism (waveform detection module) using collision detection, the master device can detect if a device outside its own network (other devices in other networks) is using a specified waveform that is the same as or highly similar to that of the target network. If so, it triggers a waveform change; for example, if device X is using waveform W0, it reports a waveform conflict (W0 is occupied). Then, it filters the waveform configuration library to find a target waveform not used by other networks, i.e., it queries available waveforms and returns a list of available waveforms. It then selects a new waveform W1 (the target waveform), and the master device and all associated devices synchronously switch waveforms, changing the currently used waveform to the target waveform, i.e., determining the decision result and switching to W1.

[0054] Furthermore, the conditions for triggering waveform changes are multi-dimensional, ensuring both timely response and security. For example, if the similarity between the waveform used by other devices and the current waveform used by the main device exceeds 80% (the first set threshold), a waveform change is triggered immediately. If the similarity is between 60% and 80% (verification range), secondary verification is initiated before deciding whether to trigger a waveform change. The waveform change can be triggered on a timed basis. For example, the timed trigger period can be a set value, such as 24 hours, which can be dynamically adjusted based on requirements. Setting a periodic trigger period allows for intermittent detection of the surrounding network environment, preventing excessive overhead from real-time detection.

[0055] After all associated devices in the target network synchronously switch to the target waveform, the devices in the target network can communicate based on the target waveform.

[0056] This invention provides a waveform switching method for network devices, applied to a master device in a target network. When it detects that other devices in other networks are using a specified waveform for communication, a target waveform not used by any other network is selected from the waveform configuration library of the target network. The similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first preset threshold. Based on the target waveform, waveform synchronization switching is performed with each associated device in the target network. This achieves closed-loop management of physical layer waveforms through "perception-decision-switching," ensuring seamless waveform switching and synchronization. It guarantees that all devices switch to the new waveform at almost the same time, maintaining uninterrupted communication. While ensuring communication continuity, it significantly improves network anti-interference capabilities and security, making it suitable for scenarios with stringent reliability requirements, such as the Industrial Internet of Things and smart grids.

[0057] In one or more optional embodiments of the present invention, before filtering out target waveforms not used by other networks from the waveform configuration library of the target network, the method further includes:

[0058] Continuously or periodically scan the radio frequency environment around the target network to obtain at least one signal waveform used by the other devices in the other network for communication;

[0059] Feature extraction is performed on each of the signal waveforms to obtain waveform features of each signal waveform. The waveform features include at least one of carrier frequency, signal bandwidth, received signal strength indication, duration, modulation type, and symbol rate.

[0060] The similarity between the waveform features of the current waveform and the waveform features of each of the signal waveforms is calculated to obtain the similarity between the current waveform and each of the signal waveforms.

[0061] The signal waveforms whose similarity is greater than the first set threshold are determined as the designated waveforms.

[0062] Specifically, see Figure 2 The master device can continuously or periodically scan its surrounding radio frequency environment through the waveform detection module, listen to and decode the signal waveforms of other network devices, that is, continuously detect waveforms and scan surrounding signals. Then, it extracts and analyzes the waveform characteristics of these signal waveforms, such as at least one of specific sequence structure, symbol mapping method and pulse shape, and at least one of carrier frequency, signal bandwidth, received signal strength indication, duration, modulation type and symbol rate.

[0063] When other networks are detected nearby, and the similarity between the waveform characteristics of the signal waveforms used by the other networks and the waveform characteristics used by the target network exceeds a first preset threshold, such as... Figure 2 If the waveform W0 is used in the "Detected Device X" message, it is considered a "waveform conflict". This indicates that two networks are using physical layer identifiers that are too similar, posing a security and interference risk. Therefore, a waveform conflict (W0 is occupied) is reported.

[0064] For signal waveform analysis: For the monitored external signal waveform, a structured waveform is generated through various feature extraction algorithms. The waveform features include carrier frequency, signal bandwidth, received signal strength indication, duration, and may also include modulation type, symbol rate, etc.

[0065] In this embodiment of the invention, by extracting waveform features from the signal waveforms of other networks and determining similarity based on these waveform features, the efficiency and accuracy of similarity determination can be improved, thereby improving the efficiency and accuracy of waveform switching.

[0066] In one or more optional embodiments of the present invention, the method further includes:

[0067] For each of the signal waveforms, the signal waveform is bound to the corresponding signal source media access control address;

[0068] When the signal waveform is the specified waveform, the current waveform in the waveform configuration library is marked with an occupancy identifier;

[0069] If the signal waveform is not the specified waveform, the signal waveform is added to the waveform configuration library, and the signal waveform in the waveform configuration library is marked using the occupancy identifier.

[0070] Specifically, the occupancy flag indicates that the waveform is occupied by other networks.

[0071] In practical applications, for each signal waveform, it can be parsed (waveform feature analysis and / or similarity analysis), and the parsing results can be bound to the Media Access Control (MAC) address of the signal source corresponding to that signal waveform, that is, binding the signal waveform to the MAC address of the signal source of other devices. Furthermore, if the signal waveform exists in the waveform configuration library, i.e., the signal waveform is the specified waveform, then the signal waveform or the current waveform is marked as "occupied by other networks"; if the signal waveform does not exist in the waveform configuration library, i.e., the signal waveform is not the specified waveform, then the signal waveform is added to the waveform configuration library and marked as "occupied by other networks".

[0072] In this embodiment of the invention, by using an occupancy identifier to mark the waveforms in the waveform configuration library, waveforms not marked by the occupancy identifier can be selected first when selecting a target waveform, thereby improving the filtering efficiency and waveform switching efficiency, so as to ensure network security.

[0073] In one or more optional embodiments of the present invention, the step of filtering target waveforms from the waveform configuration library of the target network that are not used by other networks includes:

[0074] Based on the signal waveforms of communication between other devices in the other networks, a first waveform set and a second waveform set are selected from the waveform configuration library. The isolation between each waveform in the first waveform set and each of the signal waveforms is greater than or equal to a second set threshold. The isolation between each waveform in the second waveform set and each of the signal waveforms is less than the second set threshold and greater than or equal to a third set threshold. The second set threshold is greater than the third set threshold.

[0075] If the first waveform set is not empty, the waveform with the lowest energy consumption in the first waveform set is determined as the target waveform;

[0076] If the first waveform set is empty and the second waveform set is not empty, the waveform with the lowest energy consumption in the second waveform set is determined as the target waveform.

[0077] If both the first waveform set and the second waveform set are empty, the waveform with the weakest signal strength in the waveform configuration library of the target network is determined as the target waveform.

[0078] In practical applications, see Figure 2The master device can use a decision control mechanism (decision module) to compare the current surrounding waveforms (signal waveforms used by other devices in other networks for communication) with the configuration library. First, it filters out "basically unoccupied waveforms" (all waveforms in the waveform configuration library whose isolation from each signal waveform is ≥ a second set threshold, such as 70%) as candidate set C1, i.e., the first waveform set. If candidate set C1 is empty, it compares the current surrounding waveforms (signal waveforms used by other devices in other networks for communication) with the configuration library and then filters out "partially occupied waveforms" (all waveforms in the waveform configuration library whose isolation from each signal waveform is < a second set threshold and whose isolation is ≥ a third set threshold, such as 30%) to form candidate set C2, i.e., the second waveform set.

[0079] Specifically, when selecting waveforms, safety should be prioritized first. The Hamming distance (feature difference) between the candidate waveform and the current waveform should be calculated, and the waveform with the largest difference should be selected. Secondly, energy efficiency should be prioritized. Based on a preset power consumption model, the waveform with the highest energy efficiency ratio should be selected. When all waveforms in the configuration library are occupied, the waveform with the lowest signal strength (≤-90 mW dBm) in the waveform configuration library should be selected. Then, a new waveform should be generated based on the basic parameters of the configuration library and updated synchronously to the configuration library.

[0080] In this embodiment of the invention, communication power consumption can be reduced as much as possible while ensuring the security of communication through the target waveform.

[0081] In one or more optional embodiments of the present invention, the method further includes:

[0082] If no other device in the other network is detected using the specified waveform for communication within a set time period, the specified waveform in the waveform configuration library is marked with a recycling identifier, and the specified waveform is added to the first waveform set. The specified waveform is the waveform in the waveform configuration library marked with an occupancy identifier.

[0083] Specifically, the recycling indicator signifies that the waveform is available.

[0084] In practical applications, when the master device detects that a neighboring network device (another device in another network) that previously caused a conflict is offline or its signal has disappeared through the intelligent waveform management module, it marks the waveform identifier (or its characteristics) used by that other device as "available" and reclaims it in the secure waveform configuration library, i.e., the first waveform set, for future allocation. This allows for the recycling of waveform resources and avoids the depletion of waveform resources.

[0085] For example, when the waveform resource recycling mechanism is triggered, if the survival timer of a certain waveform times out, or if the signal waveform is not detected for X consecutive scan cycles, the decision module marks it as "recyclable", where X is a positive integer that can be set according to requirements, such as 10.

[0086] Recycling tasks can be performed periodically, such as once per hour, synchronously updating recyclable waveforms to the configuration library and marking them as "priority candidates" using recycling identifiers. Simultaneously, the initial waveform set can be pre-loaded or continuously expanded through a learning mechanism. Novel, non-conflicting waveform features detected in the environment are added to the library after security authentication.

[0087] It should be noted that, to avoid identifier conflicts, the usability of the waveform cannot be confirmed.

[0088] After marking a specified waveform in the waveform configuration library with a recycling flag, the previously marked occupancy flag of the specified waveform can be removed.

[0089] You can also set a flag sequence for each waveform to determine whether the waveform is usable based on the last flag added to the flag sequence. For example, for a specific waveform, if an occupancy flag is added to its flag sequence first, and it is determined that the specified waveform can be recycled, a recycling flag is added to the flag sequence. Since the recycling flag is added to the flag sequence after the occupancy flag is added, the specified waveform is usable.

[0090] In this embodiment of the invention, by dynamically maintaining the first waveform set, when a certain peripheral network device is detected to be offline, the system will mark the waveform used by it as "available" and add it to the first waveform set of this network, which helps to improve the selectivity of the target waveform.

[0091] In one or more optional embodiments of the present invention, the step of performing waveform synchronization switching with each associated device in the target network based on the target waveform includes:

[0092] During the pre-configuration phase, the waveform parameters of the target waveform are loaded into the cache, and the preparation state is entered. The waveform parameters are then sent to each of the associated devices through the current waveform. The associated devices are used to load the waveform parameters and enter the preparation state.

[0093] At the signal switching moment, based on the waveform parameters, the current waveform is switched to the target waveform synchronously with each of the associated devices.

[0094] In practical applications, seamless handover means that all devices belonging to the same network perform synchronous handover at the T_switch time.

[0095] Specifically, once a waveform conflict is detected, the master device initiates a dynamic switching process through the intelligent waveform management module: It selects a new waveform (target waveform) from a predefined or dynamically maintained security waveform configuration library that is different from both the currently conflicting waveform and other waveforms in use in the library. Then, it sends a waveform update command to all associated devices within the target network via a secure control channel or by using encrypted transmission of the old waveform. This command includes the configuration parameters (waveform parameters) of the target waveform, such as... Figure 2 The encrypted waveform update command (W1) is sent. All devices in the target network synchronously switch to the new waveform (target waveform) at the agreed-upon time for subsequent communication. Figure 2 The process involves switching to waveform W1, confirming the switch completion, and continuing communication using the new waveform W1.

[0096] For example, during the pre-configuration phase, 50 milliseconds before T_switch (the switching signal), the master device loads the waveform parameters of the target waveform into the cache and enters the "ready state," see [link to documentation]. Figure 2 The (network) master device sends an encrypted waveform update command (W1) to network device A (associated device), that is, sends the waveform parameters of the target waveform, so that the associated device loads the waveform parameters of the target waveform into the cache and enters the "ready state"; during the switch, at the T_switch time, the main radio frequency channel of the same network device (including the master device and associated device) switches instantly, that is, based on the waveform parameters, the current waveform is switched to the target waveform.

[0097] The embodiments of the present invention can realize the updating of the physical layer waveform of the entire network and effectively achieve physical layer isolation from conflicting networks.

[0098] In one or more optional embodiments of the present invention, after switching the current waveform to the target waveform synchronously with each of the associated devices based on the waveform parameters at the switching signal time, the method further includes:

[0099] Receive a verification frame sent by a target associated device, wherein the target associated device is the associated device in the target network that has switched to the target waveform;

[0100] Based on the verification frame, an acknowledgment signal is sent to the target associated device to ensure that each associated device in the target network synchronously switches to the target waveform.

[0101] Specifically, during the switchover, at the T_switch time, devices belonging to the same target network as the master device, i.e., associated devices, instantly switch their main radio frequency channels and synchronously update waveform configuration parameters; after the switchover, a verification frame is immediately sent, and the master device replies with confirmation upon receiving it, ensuring that all devices in the network have been synchronized.

[0102] Furthermore, to enhance security, even in the absence of detected waveform conflicts, the master device can proactively and securely switch waveforms. This means the master device can use the intelligent waveform management module to initiate a network-wide waveform switch based on preset strategies (such as timer expiration or data transmission reaching a threshold). This periodic and unpredictable waveform change makes it difficult for external attackers to track and analyze network communications over extended periods, constituting a robust physical layer dynamic encryption mechanism.

[0103] For example, see Figure 2 First, the network initializes by loading waveforms from the waveform configuration library. All associated devices in the target network use the default waveform W0 to establish a network connection with the master device. Then, the intelligent waveform detection module continuously detects surrounding waveforms. If a neighboring network is detected using waveform Wx, and the similarity between Wx and the current waveform W0 exceeds a threshold, a conflict is determined. The management decision module selects an unused, secure waveform W1 from the library. It then sends a command to the connected device's network to switch to W1 (this command can be encrypted with W0 for security). The network devices synchronously switch to W1, and communication continues. Subsequently, if a neighboring network using Wx is detected to be offline, the management module marks waveform Wx as available and adds it back to the waveform library. Finally, to maintain network security, when the timer expires, a waveform switch is proactively initiated, switching from W1 to W2, achieving secure rotation.

[0104] In this embodiment of the invention, through the cyclic execution of the above mechanism, the system realizes the closed-loop management of the physical layer waveform of "perception-decision-switching". While ensuring communication continuity, it significantly improves the network's anti-interference capability and security, and is suitable for scenarios with stringent reliability requirements such as industrial Internet of Things and smart grid.

[0105] The waveform switching device for network devices provided by the present invention is described below. The waveform switching device for network devices described below can be referred to in correspondence with the waveform switching method for network devices described above.

[0106] Figure 3 This is a schematic diagram of the network device waveform switching device provided by the present invention, as shown below. Figure 3 As shown, this device is applied to the main equipment in the target network and includes:

[0107] The filtering module 301 is configured to filter out target waveforms that are not used by other networks from the waveform configuration library of the target network when it is detected that other devices in other networks are using a specified waveform for communication. The similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first set threshold.

[0108] The switching module 302 is configured to perform waveform synchronization switching with each associated device in the target network based on the target waveform.

[0109] This invention provides a network device waveform switching apparatus applied to a master device in a target network. When it detects that other devices in other networks are using a specified waveform for communication, it filters a target waveform not used by any other network from the waveform configuration library of the target network. The similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first preset threshold. Based on the target waveform, it performs waveform synchronization switching with each associated device in the target network. This enables closed-loop management of physical layer waveforms through a "perception-decision-switching" mechanism, achieving seamless waveform switching and synchronization. It ensures that all devices switch to the new waveform at almost the same time, maintaining uninterrupted communication. While ensuring communication continuity, it significantly improves network anti-interference capabilities and security, making it suitable for scenarios with stringent reliability requirements, such as the Industrial Internet of Things and smart grids.

[0110] Optionally, the device further includes a detection module configured to:

[0111] Continuously or periodically scan the radio frequency environment around the target network to obtain at least one signal waveform used by the other devices in the other network for communication;

[0112] Feature extraction is performed on each of the signal waveforms to obtain waveform features of each signal waveform. The waveform features include at least one of carrier frequency, signal bandwidth, received signal strength indication, duration, modulation type, and symbol rate.

[0113] The similarity between the waveform features of the current waveform and the waveform features of each of the signal waveforms is calculated to obtain the similarity between the current waveform and each of the signal waveforms.

[0114] The signal waveforms whose similarity is greater than the first set threshold are determined as the designated waveforms.

[0115] Optionally, the device further includes a marking module configured to:

[0116] For each of the signal waveforms, the signal waveform is bound to the corresponding signal source media access control address;

[0117] When the signal waveform is the specified waveform, the current waveform in the waveform configuration library is marked with an occupancy identifier;

[0118] If the signal waveform is not the specified waveform, the signal waveform is added to the waveform configuration library, and the signal waveform in the waveform configuration library is marked using the occupancy identifier.

[0119] Optionally, the filtering module 301 is specifically configured as follows:

[0120] Based on the signal waveforms of communication between other devices in the other networks, a first waveform set and a second waveform set are selected from the waveform configuration library. The isolation between each waveform in the first waveform set and each of the signal waveforms is greater than or equal to a second set threshold. The isolation between each waveform in the second waveform set and each of the signal waveforms is less than the second set threshold and greater than or equal to a third set threshold. The second set threshold is greater than the third set threshold.

[0121] If the first waveform set is not empty, the waveform with the lowest energy consumption in the first waveform set is determined as the target waveform;

[0122] If the first waveform set is empty and the second waveform set is not empty, the waveform with the lowest energy consumption in the second waveform set is determined as the target waveform.

[0123] If both the first waveform set and the second waveform set are empty, the waveform with the weakest signal strength in the waveform configuration library of the target network is determined as the target waveform.

[0124] Optionally, the device further includes an adding module configured to:

[0125] If no other device in the other network is detected using the specified waveform for communication within a set time period, the specified waveform in the waveform configuration library is marked with a recycling identifier, and the specified waveform is added to the first waveform set. The specified waveform is the waveform in the waveform configuration library marked with an occupancy identifier.

[0126] Optionally, the switching module 302 is specifically configured as follows:

[0127] During the pre-configuration phase, the waveform parameters of the target waveform are loaded into the cache, and the preparation state is entered. The waveform parameters are then sent to each of the associated devices through the current waveform. The associated devices are used to load the waveform parameters and enter the preparation state.

[0128] At the signal switching moment, based on the waveform parameters, the current waveform is switched to the target waveform synchronously with each of the associated devices.

[0129] Optionally, the switching module 302 is further configured to:

[0130] Receive a verification frame sent by a target associated device, wherein the target associated device is the associated device in the target network that has switched to the target waveform;

[0131] Based on the verification frame, an acknowledgment signal is sent to the target associated device to ensure that each associated device in the target network synchronously switches to the target waveform.

[0132] Figure 4 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 4 As shown, the electronic device may include a processor 410, a communications interface 420, a memory 430, and a communication bus 440, wherein the processor 410, communications interface 420, and memory 430 communicate with each other via the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute a network device waveform switching method. This method is applied to a master device in a target network and includes: when it is detected that other devices in other networks are using a specified waveform for communication, selecting a target waveform from the waveform configuration library of the target network that is not used by any other network, wherein the similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first preset threshold; and performing waveform synchronization switching with each associated device in the target network based on the target waveform.

[0133] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0134] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the network device waveform switching method provided by the above methods. The method is applied to a master device in a target network and includes: when it is detected that other devices in other networks are using a specified waveform for communication, selecting a target waveform that is not used by any other network from the waveform configuration library of the target network, wherein the similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first set threshold; and performing waveform synchronization switching with each associated device in the target network based on the target waveform.

[0135] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the network device waveform switching method provided by the above methods. The method is applied to a master device in a target network and includes: when it is detected that other devices in other networks are using a specified waveform for communication, selecting a target waveform from the waveform configuration library of the target network that is not used by any of the other networks, wherein the similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first preset threshold; and performing waveform synchronization switching with each associated device in the target network based on the target waveform.

[0136] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0137] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention 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; and these 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 the present invention.

Claims

1. A waveform switching method for network devices, characterized in that, The main devices used in the target network include: If it is detected that other devices in other networks are using the specified waveform for communication, a target waveform that is not used by any other network is selected from the waveform configuration library of the target network. The similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first set threshold. Based on the target waveform, waveform synchronization switching is performed with each associated device in the target network; Before filtering out target waveforms not used by other networks from the waveform configuration library of the target network, the process further includes: Continuously or periodically scan the radio frequency environment around the target network to obtain at least one signal waveform used by the other devices in the other network for communication; Feature extraction is performed on each of the signal waveforms to obtain waveform features of each signal waveform. The waveform features include at least one of carrier frequency, signal bandwidth, received signal strength indication, duration, modulation type, and symbol rate. The similarity between the waveform features of the current waveform and the waveform features of each of the signal waveforms is calculated to obtain the similarity between the current waveform and each of the signal waveforms. The signal waveforms whose similarity is greater than the first preset threshold are determined as the designated waveforms; The method further includes: If the similarity between the current waveform and each of the signal waveforms is within the verification range, a second verification is initiated before deciding whether to trigger waveform switching. The waveform switching is triggered by a timer.

2. The network device waveform switching method according to claim 1, characterized in that, The method further includes: For each of the signal waveforms, the signal waveform is bound to the corresponding signal source media access control address; When the signal waveform is the specified waveform, the current waveform in the waveform configuration library is marked with an occupancy flag, which indicates that the signal waveform is occupied by other networks; If the signal waveform is not the specified waveform, the signal waveform is added to the waveform configuration library, and the signal waveform in the waveform configuration library is marked using the occupancy identifier.

3. The network device waveform switching method according to claim 1, characterized in that, The step of filtering target waveforms from the waveform configuration library of the target network that are not used by other networks includes: Based on the signal waveforms of communication between other devices in the other networks, a first waveform set and a second waveform set are selected from the waveform configuration library. The isolation between each waveform in the first waveform set and each of the signal waveforms is greater than or equal to a second set threshold. The isolation between each waveform in the second waveform set and each of the signal waveforms is less than the second set threshold and greater than or equal to a third set threshold. The second set threshold is greater than the third set threshold. If the first waveform set is not empty, the waveform with the lowest energy consumption in the first waveform set is determined as the target waveform; If the first waveform set is empty and the second waveform set is not empty, the waveform with the lowest energy consumption in the second waveform set is determined as the target waveform. If both the first waveform set and the second waveform set are empty, the waveform with the weakest signal strength in the waveform configuration library of the target network is determined as the target waveform.

4. The network device waveform switching method according to claim 3, characterized in that, The method further includes: If no other device in the other network is detected using the specified waveform for communication within a set time period, the specified waveform in the waveform configuration library is marked with a recycling identifier, and the specified waveform is added to the first waveform set. The specified waveform is the waveform in the waveform configuration library marked with an occupancy identifier.

5. The network device waveform switching method according to any one of claims 1-4, characterized in that, The step of performing waveform synchronization switching with each associated device in the target network based on the target waveform includes: During the pre-configuration phase, the waveform parameters of the target waveform are loaded into the cache, and the preparation state is entered. The waveform parameters are then sent to each of the associated devices through the current waveform. The associated devices are used to load the waveform parameters and enter the preparation state. At the signal switching moment, based on the waveform parameters, the current waveform is switched to the target waveform synchronously with each of the associated devices.

6. The network device waveform switching method according to claim 5, characterized in that, After switching the current waveform to the target waveform in sync with each of the associated devices at the signal switching moment, based on the waveform parameters, the method further includes: Receive a verification frame sent by a target associated device, wherein the target associated device is the associated device in the target network that has switched to the target waveform; Based on the verification frame, an acknowledgment signal is sent to the target associated device to ensure that each associated device in the target network synchronously switches to the target waveform.

7. A waveform switching device for network equipment, characterized in that, The main devices used in the target network include: The filtering module is configured to, when it is detected that other devices in other networks are using a specified waveform for communication, filter out target waveforms that are not used by other networks from the waveform configuration library of the target network, wherein the similarity between the specified waveform and the current waveform used by the master device for communication is higher than a first set threshold. The switching module is configured to perform waveform synchronization switching with each associated device in the target network based on the target waveform. The detection module is configured to continuously or periodically scan the radio frequency environment around the target network to obtain at least one signal waveform used by other devices in the other network for communication; extract features from each signal waveform to obtain waveform features of each signal waveform, the waveform features including at least one of carrier frequency, signal bandwidth, received signal strength indication, duration, modulation type, and symbol rate; calculate the similarity between the waveform features of the current waveform and the waveform features of each of the signal waveforms to obtain the similarity between the current waveform and each of the signal waveforms; determine the signal waveforms with similarity greater than a first set threshold as the designated waveforms; if the similarity between the current waveform and each of the signal waveforms is within the verification range, initiate secondary verification and then decide whether to trigger waveform switching, the waveform switching being triggered by a timed trigger.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the network device waveform switching method as described in any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the network device waveform switching method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for automatically setting working frequency based on field radio frequency environment

    CN120456280A