Communication method, system, medium and device based on radio spectrum intensity

By detecting the spectrum intensity data of the wireless network and generating an encryption key and dynamic key sequence, the communication data is encrypted, and the transmission path is determined based on the spectrum intensity data, the problem of low security and privacy of communication data in the prior art is solved, and efficient and secure data transmission is achieved.

CN119584112BActive Publication Date: 2025-05-06深圳市亿晟科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510135625.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-07
Publication Date
2025-05-06
Estimated Expiration
2045-02-07

AI Technical Summary

Technical Problem

The prior art is prone to information leakage when frequent jumps to communication channels, and cannot ensure the secure transmission of communication data, resulting in low security and privacy during communication.

Method used

By initializing the test data to detect the spectrum intensity data of the wireless network, a first characteristic parameter is generated for characterizing the spectrum intensity, an encryption key and a dynamic key sequence is generated based on these parameters, the data to be transmitted is encrypted, and the transmission path of the encrypted data is determined based on the spectrum intensity data.

Benefits of technology

The security and efficiency of data transmission are realized, the complexity and unpredictability of encryption are enhanced through dynamic key sequences, and the optimal transmission path is intelligently selected to optimize data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119584112B_ABST
    Figure CN119584112B_ABST
Patent Text Reader

Abstract

The present application relates to the field of wireless communication technology, and provides a communication method, system, computer-readable medium and electronic device based on radio spectrum intensity. The communication method based on radio spectrum intensity detects the spectrum intensity data of a wireless network in real time by initializing test data, and then preprocesses the spectrum intensity data to extract the first characteristic parameter of the current spectrum intensity, and generates an encryption key and a dynamic key sequence accordingly. This process not only ensures the security of data transmission, but also enhances the complexity and unpredictability of encryption by utilizing the dynamic changes of spectrum characteristics. At the same time, the second characteristic parameter determined according to the spectrum intensity data can intelligently select the optimal transmission path and optimize the data transmission efficiency. Finally, the encrypted data is securely transmitted to the recipient through the selected transmission path. The whole process not only ensures the security of communication, but also improves the efficiency and flexibility of transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular, to a communication method, system, computer-readable medium and electronic device based on radio spectrum strength. Background Art

[0002] With the rapid development of mobile Internet, Internet of Things, big data and smart terminals, the number of wireless mobile users is increasing, resulting in an increasing demand for wireless spectrum resources. As a public basic resource, radio spectrum has the characteristics of being limited, renewable and susceptible to interference, and plays a particularly critical role in the field of wireless communications. Therefore, how to effectively utilize radio spectrum resources and improve communication quality and efficiency has become an important topic in the field of wireless communications.

[0003] In the prior art, the communication mode is generally adjusted by detecting the radio spectrum strength through a detector. This method is prone to information leakage during the frequent jump of communication channels, and is easily illegally stolen or tampered with, and thus cannot ensure the safe transmission of communication data, resulting in low security and privacy during data communication. Summary of the invention

[0004] The present application provides a communication method, system, computer-readable medium and electronic device based on radio spectrum strength, thereby at least to a certain extent solving the problem of low security and privacy in the communication process.

[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0006] According to one aspect of the present application, a communication method based on radio spectrum strength is provided, including: initializing test data, detecting spectrum strength data of a wireless network through the test data; preprocessing the spectrum strength data to generate a first characteristic parameter for characterizing the spectrum strength, generating an encryption key based on the first characteristic parameter, and generating a dynamic key sequence based on the encryption key; encrypting data to be transmitted through the dynamic key sequence to generate encrypted data; determining a second characteristic parameter for characterizing a transmission property of the wireless network based on the spectrum strength data, and determining a transmission path for the encrypted data based on the second characteristic parameter; and transmitting the encrypted data to a receiver based on the transmission path.

[0007] In the present application, based on the aforementioned scheme, the initialization test data and the detection of the spectrum strength data of the wireless network through the test data include: initializing the generation of test data, transmitting the test data based on the communication path of the communicating parties, and collecting the spectrum strength data of the wireless network in real time during the transmission of the test data.

[0008] In the present application, based on the aforementioned scheme, the spectrum intensity data is preprocessed to generate a first characteristic parameter for characterizing the spectrum intensity, an encryption key is generated based on the first characteristic parameter, and a dynamic key sequence is generated according to the encryption key, including: filtering the spectrum intensity data based on a sliding window to generate filtered data, and calculating the first characteristic parameter of the filtered data in each sliding window based on the filtered data; generating an encryption key corresponding to each sliding window based on the first characteristic parameter corresponding to each sliding window; and generating a dynamic key sequence based on the encryption keys corresponding to all the sliding windows.

[0009] In the present application, based on the aforementioned scheme, the data to be transmitted is encrypted by the dynamic key sequence to generate encrypted data, including: dividing the data to be transmitted into data blocks of a preset size; encrypting each of the data blocks based on the dynamic key sequence to generate encrypted data blocks, and splicing the encrypted data blocks to generate encrypted data.

[0010] In the present application, based on the aforementioned scheme, determining a second characteristic parameter for characterizing the transmission properties of the wireless network according to the spectrum intensity data, and determining the transmission path of the encrypted data according to the second characteristic parameter, includes: determining a second characteristic parameter for characterizing the transmission properties of the wireless network according to the spectrum intensity data; determining a fitness parameter of the wireless network according to the second characteristic parameter; and determining the transmission path of the encrypted data according to the fitness parameter.

[0011] In the present application, based on the above-mentioned solution, it also includes: acquiring real-time spectrum intensity data; and dynamically adjusting the transmission path according to changes in the spectrum intensity data.

[0012] In the present application, based on the aforementioned scheme, it also includes: constructing a first database table based on the spectrum intensity data, the first database table including timestamps, communication frequencies corresponding to each timestamp, and strength information of network signals; constructing a second database table based on the transmission path, the second database table including the source address, destination address, path identifier and path parameters of the transmission path; and storing the first database table and the second database table in association with each other.

[0013] According to one aspect of the present application, a communication system based on radio spectrum strength is provided, comprising:

[0014] A data unit, used to initialize test data, and detect spectrum intensity data of a wireless network through the test data;

[0015] A key unit, used for preprocessing the spectrum intensity data, generating a first characteristic parameter for characterizing the spectrum intensity, generating an encryption key based on the first characteristic parameter, and generating a dynamic key sequence according to the encryption key;

[0016] An encryption unit, used for encrypting the data to be transmitted by using the dynamic key sequence to generate encrypted data;

[0017] A path unit, configured to determine, according to the spectrum intensity data, a second characteristic parameter for characterizing a transmission property of the wireless network, and determine, according to the second characteristic parameter, a transmission path for the encrypted data;

[0018] A transmission unit is used to transmit the encrypted data to a receiver based on the transmission path.

[0019] According to one aspect of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the communication method based on radio spectrum intensity as described in the above embodiments is implemented.

[0020] According to one aspect of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the communication method based on radio spectrum intensity as described in the above-mentioned embodiments.

[0021] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the communication method based on radio spectrum strength provided in the above-mentioned various optional implementations.

[0022] In the technical solution of the present application, the test data is initialized, and the spectrum intensity data of the wireless network is detected by the test data; the spectrum intensity data is preprocessed to generate a first characteristic parameter for characterizing the spectrum intensity, an encryption key is generated based on the first characteristic parameter, and a dynamic key sequence is generated according to the encryption key; the data to be transmitted is encrypted by the dynamic key sequence to generate encrypted data; according to the spectrum intensity data, a second characteristic parameter for characterizing the transmission attribute of the wireless network is determined, and the transmission path of the encrypted data is determined according to the second characteristic parameter; based on the transmission path, the encrypted data is transmitted to the receiver. The above process detects the spectrum intensity data of the wireless network in real time by initializing the test data, and then preprocesses the spectrum intensity data to extract the first characteristic parameter characterizing the current spectrum intensity, and generates an encryption key and a dynamic key sequence accordingly. This process not only ensures the security of data transmission, but also enhances the complexity and unpredictability of encryption by utilizing the dynamic changes of spectrum characteristics. At the same time, the second characteristic parameter determined according to the spectrum intensity data can intelligently select the optimal transmission path and optimize the data transmission efficiency. Finally, the encrypted data is securely transmitted to the receiver through the selected transmission path. The whole process not only ensures the security of communication, but also improves the efficiency and flexibility of transmission.

[0023] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 The flowchart of a communication method based on radio spectrum strength in one embodiment of the present application is schematically shown.

[0026] Figure 2 The flowchart of generating a dynamic key sequence in one embodiment of the present application is schematically shown.

[0027] Figure 3 A schematic diagram of a communication system based on radio spectrum strength in an embodiment of the present application is schematically shown.

[0028] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0030] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, systems, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0031] The block diagrams shown in the accompanying drawings are only functional entities and do not necessarily correspond to physically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0032] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0033] The implementation details of the technical solution of this application are described in detail below:

[0034] Figure 1 FIG. 1 is a flow chart showing a communication method based on radio spectrum strength according to an embodiment of the present application. Figure 1 As shown, the communication method based on radio spectrum strength includes at least steps S110 to S150, which are described in detail as follows:

[0035] In step S110, test data is initialized, and spectrum intensity data of the wireless network is detected through the test data.

[0036] In this embodiment, the test data is initialized to simulate various conditions in a wireless network environment, and then the test data is used to detect the spectrum strength data of the wireless network, so as to evaluate and analyze the performance of the wireless network and the use of spectrum resources.

[0037] In one embodiment of the present application, the initialization test data and detecting the spectrum strength data of the wireless network through the test data include: initializing the generation of test data, transmitting the test data based on the communication path of the communicating parties, and collecting the spectrum strength data of the wireless network in real time during the transmission of the test data.

[0038] In one embodiment of the present application, diverse test data may be randomly generated, and the test data may include not only data under conventional communication scenarios, but also abnormal data and data under extreme conditions, to ensure the comprehensiveness and effectiveness of the test.

[0039] In one embodiment of the present application, a spectrum analyzer is pre-deployed on a communication path between two communicating parties to collect spectrum intensity data of the wireless network in real time during the transmission of test data.

[0040] The above process, by initializing the test data and transmitting it on the communication path, collects the spectrum strength data of the wireless network in real time, providing basic data support for the subsequent communication process. This method can ensure that the data collection is consistent with the actual application scenario, and improve the accuracy and practicality of the data.

[0041] In step S120, the spectrum intensity data is preprocessed to generate a first characteristic parameter for characterizing the spectrum intensity, an encryption key is generated based on the first characteristic parameter, and a dynamic key sequence is generated according to the encryption key.

[0042] In this embodiment, the collected spectrum intensity data is preprocessed to extract the first characteristic parameter of the current spectrum state; then, the first characteristic parameter is used as input to generate an encryption key through a specific algorithm; finally, a dynamic key sequence is generated based on the encryption key for subsequent data encryption, communication security or access control of spectrum resources, so as to ensure the security of wireless communications and efficient use of spectrum resources.

[0043] like Figure 2 As shown, in one embodiment of the present application, the spectrum intensity data is preprocessed to generate a first characteristic parameter for characterizing the spectrum intensity, an encryption key is generated based on the first characteristic parameter, and a dynamic key sequence is generated according to the encryption key, including:

[0044] S210, filtering the spectrum intensity data based on a sliding window to generate filtered data, and calculating a first characteristic parameter of the filtered data in each sliding window based on the filtered data;

[0045] S220, generating an encryption key corresponding to each sliding window based on the first characteristic parameter corresponding to each sliding window;

[0046] S230: Generate a dynamic key sequence based on the encryption keys corresponding to all the sliding windows.

[0047] In one embodiment of the present application, in the process of generating a dynamic key sequence, the spectrum intensity data is first filtered using a sliding window. Assume that the spectrum intensity data is a time series ,in t Indicates time, Indicates at time t The length of the sliding window is defined as W , then for each window i ( i =1,2,…, N ),in N is the total number of windows, and the data in the window can be expressed as , which corresponds to the generated filtered data for:

[0048]

[0049] in, W represents the length of the sliding window, Indicates at time t +1 spectral intensity, Indicates at time t The spectrum intensity, t Indicates time, i Indicates the window ID.

[0050] After generating the filtered data, the first characteristic parameter of the filtered data in each sliding window is calculated based on the filtered data. for:

[0051]

[0052] For each sliding window i , and its corresponding first characteristic parameter is , used to characterize the spectrum intensity corresponding to the current sliding window. In order to generate an encryption key, the first characteristic parameter is mapped to a fixed key space. Based on the first characteristic parameter corresponding to each sliding window, the encryption key corresponding to each sliding window is generated. for:

[0053]

[0054] in, L represents the sliding window factor, r is the encryption factor, represents the mean of the filtered data, mod M represents the M Modulo operation to ensure that the key within a fixed range.

[0055] Afterwards, the encryption keys corresponding to all sliding windows are (i=1,2,…,N) are arranged in order to generate a dynamic key sequence , used to encrypt data to be transmitted.

[0056] In the above process, the spectrum intensity data is preprocessed, the first characteristic parameter is extracted by sliding window filtering and other methods, and the encryption key and dynamic key sequence are generated based on these parameters. This method can make full use of the characteristics of the spectrum intensity data to generate an encryption key that matches the current communication environment, thereby improving the security of data transmission.

[0057] In step S130, the data to be transmitted is encrypted by using the dynamic key sequence to generate encrypted data.

[0058] In this embodiment, based on the spectrum intensity data, a second characteristic parameter that can reflect the transmission characteristics of the wireless network is first determined, and then a suitable encrypted data transmission path is selected according to the characteristic parameter to ensure secure transmission and efficient use of data in the wireless network.

[0059] In one embodiment of the present application, encrypting the data to be transmitted by using the dynamic key sequence to generate encrypted data includes:

[0060] Dividing the data to be transmitted into data blocks of preset sizes;

[0061] Each of the data blocks is encrypted based on the dynamic key sequence to generate an encrypted data block, and the encrypted data blocks are concatenated to generate encrypted data.

[0062] In one embodiment of the present application, the importance and access frequency of the data to be transmitted are obtained, and the size of the data block is determined according to the importance and access frequency of the data to be transmitted, so as to divide the data to be transmitted into data blocks. Specifically, for critical data or frequently accessed data, it can be divided into smaller data blocks for faster transmission and decryption.

[0063] Optionally, each segmented data block is marked with a data identifier, which includes information such as the sequence number, size, and checksum of the data block. These data identifiers will be used for data verification and reorganization in subsequent encryption, transmission, and decryption processes.

[0064] According to the sensitivity and transmission requirements of the data to be transmitted, one or more encryption algorithms are selected for encryption. In order to increase the encryption speed, parallel processing technology can be used. Multiple data blocks are assigned to different processor cores or threads for simultaneous encryption.

[0065] After all the data blocks are encrypted, they are concatenated into a complete encrypted data stream in their original order. During the concatenation process, data identifiers or separators are inserted to distinguish different data blocks and ensure that the data can be reassembled correctly when decrypted.

[0066] Optionally, after the splicing is completed, the encrypted data stream is verified for integrity. For example, a hash value or checksum of the data is calculated and compared with the hash value or checksum of the original data. If the verification fails, it indicates that an error occurred during the encryption or splicing process, and the encryption and splicing operations need to be performed again.

[0067] In the above process, the generated dynamic key sequence is used to encrypt the data to be transmitted, and the data is encrypted into multiple data blocks and then spliced. This method not only improves the security of data transmission, but also maintains the integrity of the data during the data transmission process to prevent the data from being tampered with or stolen.

[0068] In step S140, a second characteristic parameter for characterizing a transmission property of a wireless network is determined according to the spectrum intensity data, and a transmission path of the encrypted data is determined according to the second characteristic parameter.

[0069] In this embodiment, by analyzing the spectrum intensity data, a second characteristic parameter that can represent the current transmission characteristics of the wireless network can be identified and extracted. Subsequently, the second characteristic parameter is used as a decision basis to determine the optimal or appropriate transmission path for encrypted data in the wireless network to ensure secure data transmission and optimize network performance.

[0070] In one embodiment of the present application, determining a second characteristic parameter for characterizing a transmission property of a wireless network according to the spectrum intensity data, and determining a transmission path of the encrypted data according to the second characteristic parameter includes:

[0071] Determining, based on the spectrum intensity data, a second characteristic parameter for characterizing a transmission property of the wireless network;

[0072] Determining a fitness parameter of the wireless network according to the second characteristic parameter;

[0073] A transmission path for the encrypted data is determined according to the fitness parameter.

[0074] In an embodiment of the present application, a second characteristic parameter for characterizing the transmission property of the wireless network is determined based on the spectrum intensity data, wherein the second characteristic parameter includes the communication rate of the wireless network, the energy per bit of the network signal, and the noise power spectrum density. The above process can be directly obtained by detection and will not be described in detail here.

[0075] Determine the fitness parameter of the wireless network according to the second characteristic parameter for:

[0076]

[0077] in, θ Indicates the parameter configuration of the current wireless network. R ( θ ) represents the communication rate, Represents the energy per bit of the network signal, represents the noise power spectral density, C ( θ ) represents computational complexity or resource consumption. α , β and γ is a weight coefficient used to balance the priorities among different objectives.

[0078] After the fitness parameter is calculated, the transmission path of the encrypted data is determined according to the fitness parameter. The above process determines the second characteristic parameter according to the spectrum intensity data, and determines the fitness parameter of the wireless network based on these parameters, thereby selecting the optimal transmission path. This method can dynamically adapt to changes in the wireless network environment, ensure that data can avoid interference and congestion during transmission, and improve the efficiency and reliability of data transmission.

[0079] In one embodiment of the present application, it also includes:

[0080] Constructing a first database table based on the spectrum intensity data, the first database table including timestamps, communication frequencies corresponding to each timestamp, and strength information of network signals;

[0081] constructing a second database table based on the transmission path, wherein the second database table includes a source address, a destination address, a path identifier, and a path parameter of the transmission path;

[0082] The first database table and the second database table are associated and stored.

[0083] In this embodiment, a first database table is constructed based on the spectrum intensity data, and a second database table is constructed based on the transmission path. The first database table focuses on the spectrum intensity data, and records in detail the communication frequency and network signal intensity information at each timestamp. It is used to track and analyze the changes in the spectrum over time, which is crucial for monitoring the dynamic characteristics of the wireless communication environment.

[0084] The second database table is used to store information related to the transmission path, including the source address and destination address of the transmission path, as well as the path identifier used to uniquely identify each path and the path parameters that describe the path characteristics. By associating the two tables, not only can spectrum data and path data be managed independently, but they can also be easily linked when needed, so as to deeply analyze how spectrum conditions affect the selection and performance of transmission paths, greatly enhancing the data availability and analysis depth.

[0085] In step S150, the encrypted data is transmitted to a recipient based on the transmission path.

[0086] In one embodiment of the present application, after determining a suitable transmission path, the encrypted data is securely transmitted to the recipient via this path, ensuring that the data transmission process in the wireless network is both secure and reliable.

[0087] In one embodiment of the present application, it is also possible to: obtain real-time spectrum intensity data; and dynamically adjust the transmission path according to changes in the spectrum intensity data.

[0088] In wireless communications, it is crucial to rationally select spectrum resources to avoid signal conflicts and interference. Spectrum analysis technology can be used to analyze signals in different frequency bands and find idle or low-interference frequency bands, thereby achieving selective use of spectrum. When spectrum strength data changes, the system can dynamically adjust the transmission path based on these changes and select the frequency band with the best network quality for communication, thereby improving communication quality and reliability.

[0089] The above process obtains spectrum strength data in real time and dynamically adjusts the transmission path according to the changes in the data. This method can reflect the changes in the wireless network environment in real time, ensure that the data can always choose the best path during transmission, and further improve the efficiency and reliability of data transmission.

[0090] The technical solution of the present application is to initialize test data, detect the spectrum intensity data of the wireless network through the test data; pre-process the spectrum intensity data to generate a first characteristic parameter for characterizing the spectrum intensity, generate an encryption key based on the first characteristic parameter, and generate a dynamic key sequence according to the encryption key; encrypt the data to be transmitted through the dynamic key sequence to generate encrypted data; determine the second characteristic parameter for characterizing the transmission attribute of the wireless network according to the spectrum intensity data, and determine the transmission path of the encrypted data according to the second characteristic parameter; based on the transmission path, transmit the encrypted data to the receiver. The above process detects the spectrum intensity data of the wireless network in real time by initializing the test data, and then pre-processes the spectrum intensity data to extract the first characteristic parameter characterizing the current spectrum intensity, and generates an encryption key and a dynamic key sequence accordingly. This process not only ensures the security of data transmission, but also enhances the complexity and unpredictability of encryption by utilizing the dynamic changes of spectrum characteristics. At the same time, the second characteristic parameter determined according to the spectrum intensity data can intelligently select the optimal transmission path and optimize the data transmission efficiency. Finally, the encrypted data is securely transmitted to the receiver through the selected transmission path. The whole process not only ensures the security of communication, but also improves the efficiency and flexibility of transmission.

[0091] The following describes an embodiment of the device of the present application, which can be used to execute the communication method based on radio spectrum intensity in the above-mentioned embodiment of the present application. It can be understood that the device can be a computer program (including program code) running in a computer device, for example, the device is an application software; the device can be used to execute the corresponding steps in the method provided in the embodiment of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the above-mentioned embodiment of the communication method based on radio spectrum intensity of the present application.

[0092] Figure 3 A block diagram of a communication system based on radio spectrum strength according to an embodiment of the present application is shown.

[0093] Reference Figure 3 As shown, a communication system based on radio spectrum strength according to an embodiment of the present application includes:

[0094] A data unit 310 is used to initialize test data, and detect spectrum intensity data of a wireless network through the test data;

[0095] A key unit 320, configured to pre-process the spectrum intensity data, generate a first characteristic parameter for characterizing the spectrum intensity, generate an encryption key based on the first characteristic parameter, and generate a dynamic key sequence according to the encryption key;

[0096] An encryption unit 330, configured to encrypt the data to be transmitted by using the dynamic key sequence to generate encrypted data;

[0097] A path unit 340, configured to determine, according to the spectrum intensity data, a second characteristic parameter for characterizing a transmission property of the wireless network, and determine, according to the second characteristic parameter, a transmission path for the encrypted data;

[0098] The transmission unit 350 is configured to transmit the encrypted data to a receiver based on the transmission path.

[0099] In the present application, based on the aforementioned scheme, the initialization test data and the detection of the spectrum strength data of the wireless network through the test data include: initializing the generation of test data, transmitting the test data based on the communication path of the communicating parties, and collecting the spectrum strength data of the wireless network in real time during the transmission of the test data.

[0100] In the present application, based on the aforementioned scheme, the spectrum intensity data is preprocessed to generate a first characteristic parameter for characterizing the spectrum intensity, an encryption key is generated based on the first characteristic parameter, and a dynamic key sequence is generated according to the encryption key, including: filtering the spectrum intensity data based on a sliding window to generate filtered data, and calculating the first characteristic parameter of the filtered data in each sliding window based on the filtered data; generating an encryption key corresponding to each sliding window based on the first characteristic parameter corresponding to each sliding window; and generating a dynamic key sequence based on the encryption keys corresponding to all the sliding windows.

[0101] In the present application, based on the aforementioned scheme, the data to be transmitted is encrypted by the dynamic key sequence to generate encrypted data, including: dividing the data to be transmitted into data blocks of a preset size; encrypting each of the data blocks based on the dynamic key sequence to generate encrypted data blocks, and splicing the encrypted data blocks to generate encrypted data.

[0102] In the present application, based on the aforementioned scheme, determining a second characteristic parameter for characterizing the transmission properties of the wireless network according to the spectrum intensity data, and determining the transmission path of the encrypted data according to the second characteristic parameter, includes: determining a second characteristic parameter for characterizing the transmission properties of the wireless network according to the spectrum intensity data; determining a fitness parameter of the wireless network according to the second characteristic parameter; and determining the transmission path of the encrypted data according to the fitness parameter.

[0103] In the present application, based on the above-mentioned solution, it also includes: acquiring real-time spectrum intensity data; and dynamically adjusting the transmission path according to changes in the spectrum intensity data.

[0104] In the present application, based on the aforementioned scheme, it also includes: constructing a first database table based on the spectrum intensity data, the first database table including timestamps, communication frequencies corresponding to each timestamp, and strength information of network signals; constructing a second database table based on the transmission path, the second database table including the source address, destination address, path identifier and path parameters of the transmission path; and storing the first database table and the second database table in association with each other.

[0105] The technical solution of the present application is to initialize test data, detect the spectrum intensity data of the wireless network through the test data; pre-process the spectrum intensity data to generate a first characteristic parameter for characterizing the spectrum intensity, generate an encryption key based on the first characteristic parameter, and generate a dynamic key sequence according to the encryption key; encrypt the data to be transmitted through the dynamic key sequence to generate encrypted data; determine the second characteristic parameter for characterizing the transmission attribute of the wireless network according to the spectrum intensity data, and determine the transmission path of the encrypted data according to the second characteristic parameter; based on the transmission path, transmit the encrypted data to the receiver. The above process detects the spectrum intensity data of the wireless network in real time by initializing the test data, and then pre-processes the spectrum intensity data to extract the first characteristic parameter characterizing the current spectrum intensity, and generates an encryption key and a dynamic key sequence accordingly. This process not only ensures the security of data transmission, but also enhances the complexity and unpredictability of encryption by utilizing the dynamic changes of spectrum characteristics. At the same time, the second characteristic parameter determined according to the spectrum intensity data can intelligently select the optimal transmission path and optimize the data transmission efficiency. Finally, the encrypted data is securely transmitted to the receiver through the selected transmission path. The whole process not only ensures the security of communication, but also improves the efficiency and flexibility of transmission.

[0106] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.

[0107] It should be noted that the computer system of the electronic device in this embodiment is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0108] In this embodiment, the computer system includes a central processing unit 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory 402 or the program loaded from the storage part 408 to the random access memory 403, such as executing the communication method based on radio spectrum intensity described in the above embodiment. Various programs and data required for system operation are also stored in the random access memory 403. The central processing unit 401, the read-only memory 402 and the random access memory 403 are connected to each other through a bus 404. The input / output interface 405 is also connected to the bus 404.

[0109] The following components are connected to the input / output interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the input / output interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.

[0110] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 409, and / or installed from a removable medium 411. When the computer program is executed by the central processing unit 401, various functions defined in the system of the present application are executed.

[0111] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0112] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0113] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0114] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.

[0115] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the communication method based on radio spectrum intensity described in the above embodiment.

[0116] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0117] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the implementation method of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation method of the present application.

[0118] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0119] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A communication method based on radio spectrum intensity, characterized in that: include: Initializing test data, and detecting spectrum intensity data of the wireless network through the test data; Preprocessing the spectrum intensity data to generate a first characteristic parameter for characterizing the spectrum intensity, generating an encryption key based on the first characteristic parameter, and generating a dynamic key sequence according to the encryption key; Encrypting the data to be transmitted by using the dynamic key sequence to generate encrypted data; Determine, according to the spectrum intensity data, a second characteristic parameter for characterizing a transmission property of the wireless network, and determine, according to the second characteristic parameter, a transmission path for the encrypted data; Based on the transmission path, transmitting the encrypted data to a recipient; The method of preprocessing the spectrum intensity data to generate a first characteristic parameter for characterizing the spectrum intensity, generating an encryption key based on the first characteristic parameter, and generating a dynamic key sequence according to the encryption key includes: The spectrum intensity data is filtered based on a sliding window to generate filtered data for: in, W represents the length of the sliding window, Indicates at time t +1 spectral intensity, Indicates at time t The spectrum intensity, t Indicates time, i Indicates the window ID; Calculate the first characteristic parameter of the filtered data in each sliding window based on the filtered data for: For each sliding window i , and its corresponding first characteristic parameter is ; Generate an encryption key corresponding to each sliding window based on the first characteristic parameter corresponding to each sliding window; The encryption keys corresponding to all the sliding windows are arranged in order to generate a dynamic key sequence.

2. The communication method based on radio spectrum intensity according to claim 1, characterized in that: The initialization test data, detecting spectrum intensity data of the wireless network through the test data, includes: Initialize and generate test data, transmit the test data based on the communication path of the communicating parties, and collect spectrum intensity data of the wireless network in real time during the transmission of the test data.

3. The communication method based on radio spectrum intensity according to claim 1, characterized in that: The step of encrypting the data to be transmitted by using the dynamic key sequence to generate encrypted data includes: Dividing the data to be transmitted into data blocks of preset sizes; Each of the data blocks is encrypted based on the dynamic key sequence to generate an encrypted data block, and the encrypted data blocks are concatenated to generate encrypted data.

4. The communication method based on radio spectrum intensity according to claim 1, characterized in that: Determining, according to the spectrum intensity data, a second characteristic parameter for characterizing a transmission property of the wireless network, and determining, according to the second characteristic parameter, a transmission path for the encrypted data, comprises: Determining, based on the spectrum intensity data, a second characteristic parameter for characterizing a transmission property of the wireless network; Determining a fitness parameter of the wireless network according to the second characteristic parameter; A transmission path for the encrypted data is determined according to the fitness parameter.

5. The communication method based on radio spectrum intensity according to claim 1, characterized in that: Also includes: Get real-time spectrum intensity data; The transmission path is dynamically adjusted according to the change of the spectrum intensity data.

6. The communication method based on radio spectrum intensity according to claim 1, characterized in that: Also includes: Constructing a first database table based on the spectrum intensity data, the first database table including timestamps, communication frequencies corresponding to each timestamp, and strength information of network signals; constructing a second database table based on the transmission path, wherein the second database table includes a source address, a destination address, a path identifier, and a path parameter of the transmission path; The first database table and the second database table are associated and stored.

7. A communication system based on radio spectrum intensity, characterized in that: include: A data unit, used to initialize test data, and detect spectrum intensity data of a wireless network through the test data; A key unit, used for preprocessing the spectrum intensity data, generating a first characteristic parameter for characterizing the spectrum intensity, generating an encryption key based on the first characteristic parameter, and generating a dynamic key sequence according to the encryption key; An encryption unit, used for encrypting the data to be transmitted by using the dynamic key sequence to generate encrypted data; A path unit, configured to determine, according to the spectrum intensity data, a second characteristic parameter for characterizing a transmission property of the wireless network, and determine, according to the second characteristic parameter, a transmission path for the encrypted data; A transmission unit, configured to transmit the encrypted data to a receiving party based on the transmission path; The method of preprocessing the spectrum intensity data to generate a first characteristic parameter for characterizing the spectrum intensity, generating an encryption key based on the first characteristic parameter, and generating a dynamic key sequence according to the encryption key includes: The spectrum intensity data is filtered based on a sliding window to generate filtered data for: in, W represents the length of the sliding window, Indicated in t The spectrum intensity at time +1, Indicated in t The spectrum intensity at time t Indicates time, i Indicates the window ID; Calculate the first characteristic parameter of the filtered data in each sliding window based on the filtered data for: For each sliding window i , and its corresponding first characteristic parameter is ; Generate an encryption key corresponding to each sliding window based on the first characteristic parameter corresponding to each sliding window; The encryption keys corresponding to all the sliding windows are arranged in order to generate a dynamic key sequence.

8. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the communication method based on radio spectrum intensity according to any one of claims 1 to 6 is implemented.

9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the communication method based on radio spectrum intensity as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Communication key generation method and secure channel selection method for cognitive radio system

    CN102833736A