A communication method, device and equipment based on USRP self-organizing network
Through the USRP self-organizing network communication method, using Hamming code encoding and differential phase-shift keying modulation, rapid development and flexible adaptation of self-organizing networks are achieved, solving the problems of difficult hardware debugging and transmission mode adjustment, and improving development efficiency and cost control.
Patent Information
- Application Number
- CN202211728284.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2042-12-29
AI Technical Summary
The existing ad hoc network development process is difficult to debug hardware, resulting in a long development cycle, and it is impossible to flexibly adjust multiple data formats or transmission modes, resulting in a large development budget and a long development cycle.
A communication method based on USRP ad hoc networking is adopted. USRP communication nodes are controlled by preset peer transmission mode or preset master-slave transmission mode. Hamming code encoding and differential phase shift keying modulation are used, and preset data frame structure and symmetric encryption are adopted to realize information transmission and reception.
It improves the development efficiency of self-organizing networks, adapts to different environments and scenarios, has controllable costs, has a wide range of application scenarios, and can be reused multiple times.
Smart Images

Figure CN116170114B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a communication method, device, electronic device and computer-readable storage medium based on a USRP self-organizing network. Background Art
[0002] An ad hoc network (AMN) combines mobile communications with computer networks. Each user terminal in an AMN functions as both a router and a host. As a host, the terminal needs to run various user-oriented applications, such as editors and browsers. As a router, the terminal needs to run the appropriate routing protocols and forward data packets and maintain routes based on routing policies and routing tables.
[0003] The existing ad hoc network development process requires the coordination of hardware and software to implement the network solution. However, hardware debugging requires adjusting relevant communication parameters, such as transmit power and carrier frequency. This results in a long hardware development cycle and fails to meet the requirements for rapid prototyping. Furthermore, when deploying in different environments and usage scenarios, it is impossible to flexibly adjust various data formats or transmission modes, resulting in large overall development budgets and long development cycles.
[0004] Therefore, it is necessary to provide a communication method based on USRP ad hoc network to solve the technical problems in the existing technology that the hardware debugging is difficult, resulting in a long development cycle of ad hoc network and the inability to deploy multiple transmission modes for different environments and usage scenarios. Summary of the Invention
[0005] In view of this, it is necessary to provide a communication method based on USRP self-organizing network to solve the technical problems in the existing technology that the self-organizing network development cycle is long due to the difficulty of hardware debugging, and multiple transmission modes cannot be deployed for different environments and usage scenarios.
[0006] In order to solve the above problems, the present invention provides a communication method based on USRP ad hoc network, which is applied to an ad hoc network system composed of multiple USRP communication nodes. The method includes:
[0007] Controlling the plurality of USRP communication nodes to send and receive information based on a preset peer transmission mode or a preset master-slave transmission mode;
[0008] Among them, in the preset peer transmission mode, the USRP communication node encodes and modulates the transmission data after adding the address code to obtain the transceiver signal; in the preset master-slave transmission mode, multiple USRP communications are divided into master station nodes and slave station nodes, and the master station nodes and slave station nodes use a preset data frame structure for data transmission.
[0009] Furthermore, in the preset peer transmission mode, the USRP communication node adds an address code to the transmission data and performs encoding and modulation to obtain a transceiver signal, including:
[0010] The transmission data with the address code added is encoded by Hamming code to obtain encoded data;
[0011] The coded data is modulated by differential phase shift keying to obtain a transmit and receive signal.
[0012] Furthermore, the communication mode of the preset master-slave transmission mode is:
[0013] The master node broadcasts calls to all communication nodes in a polling manner;
[0014] When the communication node identifies a master node according to the broadcast, the communication node is converted into a slave node;
[0015] The slave node sends a reply message to the master node according to the broadcast;
[0016] The master node records the response of the slave node according to the reply information.
[0017] Furthermore, the preset data frame structure used in the preset master-slave transmission mode includes: a preamble, a phase reference frame, a control code and a data message;
[0018] The preamble is used to enable synchronous communication between communication nodes;
[0019] The phase reference frame is used to provide a reference phase between communication nodes;
[0020] The control code is used to stop the communication node from sending or receiving information, and to identify the source of the information;
[0021] The data message is used to record message information.
[0022] Furthermore, the communication method of the preset master-slave transmission mode also includes:
[0023] When the slave node receives a data frame, it determines whether the data frame belongs to the ad hoc network system based on the bit error rate;
[0024] When the data frame belongs to the ad hoc network system, determining whether the data frame comes from a master node through a control code;
[0025] When the data frame comes from the master node, determining whether the receiving address of the broadcast information is the slave address;
[0026] When the receiving address is the slave station address, the data message of the data frame is received.
[0027] Furthermore, in the preset peer transmission mode and the preset master-slave transmission mode, a preset communication protocol is adopted, and symmetric encryption is used to encrypt the transmission message.
[0028] Furthermore, the USRP communication node includes a USRP peripheral and a processing system;
[0029] The processing system includes a human-computer interaction interface, a signal generation module and a demodulation module;
[0030] The human-computer interaction interface is used to configure the network access address of the communication node;
[0031] The signal generating module is used to encode and modulate the transmission data;
[0032] The demodulation module is used to demodulate the transmission signal according to a preset data frame structure.
[0033] The present invention also provides a communication device based on a USRP ad hoc network, which is applied to an ad hoc network system composed of multiple USRP communication nodes, comprising:
[0034] A control module, configured to control the plurality of USRP communication nodes to transmit and receive information based on a preset peer transmission mode or a preset master-slave transmission mode;
[0035] Among them, in the preset peer transmission mode, the USRP communication node encodes and modulates the transmission data after adding the address code to obtain the transceiver signal; in the preset master-slave transmission mode, multiple USRP communications are divided into master station nodes and slave station nodes, and the master station nodes and slave station nodes use a preset data frame structure for data transmission.
[0036] The present invention also provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the communication method based on the USRP self-organizing network described in any of the above technical solutions is implemented.
[0037] The present invention also provides a computer-readable storage medium, wherein the program medium stores computer program instructions. When the computer program instructions are executed by a computer, the computer executes the communication method based on USRP self-organizing network described in any of the above technical solutions.
[0038] Compared with the prior art, the present invention has the following advantages: by controlling multiple USRP communication nodes to transmit and receive information based on a preset peer transmission mode or a preset master-slave transmission mode, the USRP ad hoc network effectively utilizes the advantage of no limit on the number of communication nodes, and flexibly selects the preset peer transmission mode or the preset master-slave transmission mode for different deployment environments and usage scenarios. The method of the present invention can set the communication mode according to actual needs in different transmission modes, improves the development efficiency of the ad hoc network, has a wide range of application scenarios, is cost-controlled, can be repeatedly used, and has strong practicality. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A flow chart of an embodiment of a communication method based on a USRP ad hoc network provided by the present invention;
[0040] Figure 2 A schematic diagram of the network topology of an embodiment of a self-organizing network with a preset peer transmission mode provided by the present invention;
[0041] Figure 3 A schematic structural diagram of an embodiment of a communication device based on a USRP ad hoc network provided by the present invention;
[0042] Figure 4 This is a structural diagram of an embodiment of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0043] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, and are not used to limit the scope of the present invention.
[0044] Before describing the embodiments, the relevant terms of this application are first explained.
[0045] USRP (Universal Software Radio Peripheral) enables ordinary computers to function as high-bandwidth software radios. USRP devices essentially act as the digital baseband and intermediate frequency (IF) components of a radio communication system. Engineers can use software on the host CPU to perform all waveform processing, such as modulation and demodulation; high-speed general-purpose operations such as digital up / down conversion, sampling, and interpolation are performed on the FPGA.
[0046] The inventive concept of this application is introduced below.
[0047] The existing ad hoc network development process requires the coordinated implementation of hardware and software solutions. However, hardware debugging requires adjusting relevant communication parameters, such as transmit power and carrier frequency, leading to long hardware development cycles. Furthermore, when deploying in different environments and usage scenarios, existing hardware configurations lack the flexibility to accommodate various data formats or transmission modes, resulting in large development budgets and long development cycles.
[0048] This paper develops ad hoc networks based on USRP technology. USRP devices can flexibly transmit data using different modulation and demodulation methods for a variety of data formats, meeting the needs of rapidly building prototype systems, effectively reducing development budgets and shortening development cycles. Furthermore, different communication strategies can be set based on different usage environments and scenarios, enabling communication nodes within the ad hoc network to quickly, accurately, and efficiently transmit data.
[0049] The embodiment of the present invention provides a communication method based on USRP self-organizing network, the flow diagram of which is as follows: Figure 1 As shown, the method is applied to a self-organizing network system composed of multiple USRP communication nodes:
[0050] Step S101: Controlling a plurality of USRP communication nodes to transmit and receive information based on a preset peer transmission mode or a preset master-slave transmission mode;
[0051] Among them, in the preset peer transmission mode, the USRP communication node encodes and modulates the transmission data after adding the address code to obtain the transceiver signal; in the preset master-slave transmission mode, multiple USRP communications are divided into master station nodes and slave station nodes, and the master station nodes and slave station nodes use a preset data frame structure for data transmission.
[0052] Compared with the prior art, the present embodiment provides a communication method based on a USRP self-organizing network. By controlling multiple USRP communication nodes to send and receive information based on a preset peer transmission mode or a preset master-slave transmission mode, the present embodiment effectively utilizes the advantage of the USRP self-organizing network having no limit on the number of communication nodes, and flexibly selects the use of the preset peer transmission mode or the preset master-slave transmission mode for different deployment environments and usage scenarios. The present embodiment can set the communication method according to actual needs in different transmission modes, thereby improving the development efficiency of the self-organizing network, having a wide range of application scenarios, controllable costs, and can be reused multiple times, thus having strong practicality.
[0053] As a specific embodiment, the ad hoc network system composed of multiple USRP communication nodes specifically uses multiple wireless universal software devices USRP with external antennas; runs a software program in a host computer that controls the USRP, and configures software parameters on its operating system; thereby allowing multiple USRP devices to communicate with each other to form an ad hoc network.
[0054] like Figure 2 As shown, Figure 2 This diagram shows the network topology of an ad hoc network with a preset peer transmission mode. The USRP device's external antenna is the same as the LW-SDR-2975 all-in-one device's external antenna. Software running on the 2975 all-in-one device allows each communication node to autonomously form a communication network. Because the 2975's ad hoc network supports an unlimited number of nodes, all nodes can communicate with each other, and each node can recognize the signals of other communication nodes. In this ad hoc network, each node is independent, implemented through software configuration. Furthermore, the LW-SDR-2975 all-in-one device uses the DC-6 GHz frequency band. This wide frequency range, combined with its flexible data transmission modes, allows it to accommodate a variety of communication scenarios.
[0055] As a preferred embodiment, in the preset peer transmission mode, the USRP communication node obtains a transceiver signal by encoding and modulating after adding an address code to the transmission data, including:
[0056] The transmission data with the address code added is encoded by Hamming code to obtain encoded data;
[0057] The coded data is modulated by differential phase shift keying to obtain a transmit and receive signal.
[0058] As a specific embodiment, in the preset same-level transmission mode, an "address code" will be added and identified in each message sent and received by the communication node. The address code will be modulated and encoded together with the sent information, and the communication node can determine the subordination of the current information through the address code.
[0059] In the preset peer transmission mode, there is no distinction between master stations and slave stations, and all devices can actively send radio signals or remain silent and only receive radio signals.
[0060] For example, in a network of 10 USRP devices, when the network is turned on, all devices will continue to receive signals. Any device can manually send signals.
[0061] As a specific embodiment, in the same-level transmission mode, the device may support dual-channel heterogeneous frequencies, and the device may have two separate communication channels.
[0062] In addition to the above-mentioned same-level transmission mode, in order to meet the needs of other usage environments, a preset master-slave station level transmission mode can also be adopted. As a preferred embodiment, the communication mode of the preset master-slave transmission mode is:
[0063] The master node broadcasts calls to all communication nodes in a polling manner;
[0064] When the communication node identifies a master node according to the broadcast, the communication node is converted into a slave node;
[0065] The slave node sends a reply message to the master node according to the broadcast;
[0066] The master node records the response of the slave node according to the reply information.
[0067] As a specific example, in the preset master-slave transmission mode, the node acting as the master will be in a state of broadcasting and receiving messages at the same time. After receiving the message from the master, the slave will confirm and reply using the address code. In this case, only the master and slave can transmit messages. The slave will directly discard the information sent by other slaves.
[0068] As a preferred embodiment, the preset data frame structure used in the preset master-slave transmission mode includes: a preamble, a phase reference frame, a control code and a data message;
[0069] The preamble is used to enable synchronous communication between communication nodes;
[0070] The phase reference frame is used to provide a reference phase between communication nodes;
[0071] The control code is used to stop the communication node from sending or receiving information, and to identify the source of the information;
[0072] The data message is used to record message information.
[0073] As a specific embodiment, the data frame in the preset master-slave transmission mode includes the following four parts:
[0074] 1. Preamble
[0075] The preamble begins each message and consists of five frames, each containing two single-tone subcarriers. The phase of the first subcarrier remains continuous, while the second subcarrier is shifted 180 degrees at the beginning of each frame. The preamble is primarily used for communication synchronization between nodes, and synchronization occurs in every frame.
[0076] 2. Phase reference frame
[0077] Starting with the phase reference frame, each frame contains 16 single-tone subcarrier signals. The first of these is used to correct Doppler shift at the receiver. The remaining 15 tones provide a reference phase for the first frame of the control code, and the previous frame provides a reference phase for the following frame.
[0078] 3. Control code
[0079] Control codes are divided into stop codes and address codes. The stop code is used to stop communication with the current receiving node and is located after the data message, with a total of two frames. The address code is used to identify the source node of the message and is located after the data message, with a total of two frames.
[0080] 4. Data Message
[0081] The data message is the part of the information in the message sent. The data message consists of a number of frames, each frame contains 30 bits of data.
[0082] It should be noted that the control code can be considered as part of the data message, but this part cannot be added manually like adding a data message, but is configured according to a private protocol.
[0083] With the above data frame structure, when any node receives a signal, it first synchronizes using the preamble. Each frame includes the preamble, which ensures node mobility. Phase synchronization is also performed using the phase reference frame to ensure the integrity of the received data. This ensures the integrity of the received data and improves the success rate of demodulation. When using other secondary developed communication protocols, it is not necessary to strictly follow the above data frame format to send data frames, further improving the flexibility of ad hoc network development.
[0084] As a preferred embodiment, the communication method of the preset master-slave transmission mode also includes:
[0085] When the slave node receives a data frame, it determines whether the data frame belongs to the ad hoc network system based on the bit error rate;
[0086] When the data frame belongs to the ad hoc network system, determining whether the data frame comes from a master node through a control code;
[0087] When the data frame comes from the master node, determining whether the receiving address of the broadcast information is the slave address;
[0088] When the receiving address is the slave station address, the data message of the data frame is received.
[0089] As a specific embodiment, the bit error rate is used to determine whether the data frame belongs to the self-organizing network system. Specifically, when the bit error rate is zero, it is determined that the data frame belongs to the self-organizing network system; therefore, after changes occur under the interference of a harsh wireless environment, the bit error rate increases, and at this time the data frame will be considered as noise and discarded.
[0090] As a specific example, assume there are 10 USRP devices in an ad hoc network, one of which serves as the master node. When the master node sends information, the remaining 9 devices first determine whether the signal belongs to the network. If so, it means there are other nodes in the current network. Only by obtaining the address code after the demodulated data can we determine whether the current message comes from the master node in the network. Therefore, it is necessary to determine the affiliation of the information through the address code in the control code.
[0091] For the slave, in addition to confirming whether the current data comes from the master, it also needs to confirm whether the data is sent to it through another receiving address in the control code. Each networked device has an initial network access number / address, which can be configured through the USRP device software. Only when the slave confirms that the current data is sent to it will it respond to the master. If it is not sent to the slave node, the slave node will continue to monitor the radio until it receives the signal from its own master.
[0092] In order to ensure the reliability and security of transmission, as a preferred embodiment, the preset peer transmission mode and the preset master-slave transmission mode adopt a preset communication protocol and use symmetric encryption to encrypt the transmission message.
[0093] By adopting a preset communication protocol and symmetric encryption, the success rate of identification between different nodes is improved. In addition, in the self-organizing network system, each message transmission can be considered a new transmission, which not only ensures mobility but also improves the robustness of the entire networking system.
[0094] As a preferred embodiment, the USRP communication node includes a USRP peripheral and a processing system;
[0095] The processing system includes a human-computer interaction interface, a signal generation module and a demodulation module;
[0096] The human-computer interaction interface is used to configure the network access address of the communication node;
[0097] The signal generating module is used to encode and modulate the transmission data;
[0098] The demodulation module is used to demodulate the transmission signal according to a preset data frame structure.
[0099] The embodiment of the present invention also provides a communication device based on USRP self-organizing network, such as Figure 3 As shown, Figure 3 A communication device based on a USRP ad hoc network, comprising:
[0100] A control module 300 is used to control the multiple USRP communication nodes to send and receive information based on a preset peer transmission mode or a preset master-slave transmission mode;
[0101] Among them, in the preset peer transmission mode, the USRP communication node encodes and modulates the transmission data after adding the address code to obtain the transceiver signal; in the preset master-slave transmission mode, multiple USRP communications are divided into master station nodes and slave station nodes, and the master station nodes and slave station nodes use a preset data frame structure for data transmission.
[0102] like Figure 4 As shown in the above-mentioned communication method based on USRP ad hoc network, the present invention also provides an electronic device 400, which can be a computing device such as a mobile terminal, desktop computer, notebook, PDA, server, etc. The electronic device includes a processor 401, a memory 402 and a display 403.
[0103] In some embodiments, memory 402 may be an internal storage unit of a computer device, such as a hard drive or memory of the computer device. In other embodiments, memory 402 may also be an external storage device of the computer device, such as a plug-in hard drive, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, etc. Furthermore, memory 402 may include both an internal storage unit of the computer device and an external storage device. Memory 402 is used to store application software installed in the computer device and various types of data, such as program code installed in the computer device. Memory 402 may also be used to temporarily store data that has been output or is about to be output. In one embodiment, memory 402 stores a communication method program 404 based on a USRP ad hoc network. This communication method program 404 based on a USRP ad hoc network can be executed by processor 401, thereby implementing a communication method based on a USRP ad hoc network according to various embodiments of the present invention.
[0104] In some embodiments, the processor 401 may be a central processing unit (CPU), a microprocessor, or other data processing chip, configured to execute program codes or process data stored in the memory 402, such as executing a communication method program based on a USRP ad hoc network.
[0105] In some embodiments, display 403 can be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. Display 403 is used to display information on the computer device and to display a visual user interface. Components 401-403 of the computer device communicate with each other via a system bus.
[0106] This embodiment further provides a computer-readable storage medium, wherein the program medium stores computer program instructions. When the computer program instructions are executed by a computer, the computer executes the communication method based on the USRP ad hoc network described in any of the above technical solutions.
[0107] The computer-readable storage medium and computing device provided according to the above embodiments of the present invention can be implemented with reference to the specific description of the communication method based on the USRP self-organizing network as described above according to the present invention, and have similar beneficial effects as the communication method based on the USRP self-organizing network as described above, which will not be repeated here.
[0108] The present invention discloses a communication method, device, electronic device, and computer-readable storage medium based on a USRP ad hoc network. By controlling multiple USRP communication nodes to transmit and receive information based on a preset peer transmission mode or a preset master-slave transmission mode, the method effectively utilizes the advantage of the USRP ad hoc network having no limit on the number of communication nodes, allowing flexible selection of the preset peer transmission mode or the preset master-slave transmission mode for different deployment environments and usage scenarios. The method of the present invention can configure communication modes according to actual needs in different transmission modes, thereby improving the development efficiency of the ad hoc network. The method has a wide range of application scenarios, is cost-controlled, can be repeatedly used, and has strong practicality.
[0109] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with this technical field within the technical scope disclosed by the present invention should be covered by the scope of protection of the present invention.
Claims
1. A communication method based on USRP self-organizing network, characterized in that: The invention is applied to a self-organizing network system composed of multiple USRP communication nodes, wherein the self-organizing network system composed of multiple USRP communication nodes specifically uses multiple wireless universal software devices USRP and external antennas; A software program is run in a host computer that controls the USRP, and software parameters are configured on its operating system; thereby enabling multiple USRP devices to communicate with each other to form an ad hoc network. The method includes: Controlling the plurality of USRP communication nodes to send and receive information based on a preset peer transmission mode or a preset master-slave transmission mode; Wherein, in the preset peer transmission mode, the USRP communication node encodes and modulates the transmitted data after adding an address code to the transmitted data to obtain a transceiver signal; in the preset master-slave transmission mode, multiple USRP communications are divided into master nodes and slave nodes, and the master nodes and slave nodes use a preset data frame structure for data transmission; In the preset peer transmission mode, the USRP communication node adds an address code to the transmission data and performs encoding and modulation to obtain a transceiver signal, including: The transmission data with the address code added is encoded by Hamming code to obtain encoded data; Modulating the encoded data by differential phase shift keying to obtain a transmit and receive signal; The communication mode of the preset master-slave transmission mode is: The master node broadcasts calls to all communication nodes in a polling manner; When the communication node identifies a master node according to the broadcast, the communication node is converted into a slave node; The slave node sends a reply message to the master node according to the broadcast; The master node records the response of the slave node according to the reply information; The preset data frame structure used in the preset master-slave transmission mode includes: a phase reference frame, the phase reference frame is used to provide a reference phase between communication nodes; The communication method of the preset master-slave transmission mode includes: after the slave node receives a data frame, determining whether the data frame belongs to the ad hoc network system based on a bit error rate.
2. A communication method based on USRP ad hoc network according to claim 1, characterized in that: The preset data frame structure used in the preset master-slave transmission mode further includes: a preamble, a control code and a data message; The preamble is used to enable synchronous communication between communication nodes; The control code is used to stop the communication node from sending or receiving information, and to identify the source of the information; The data message is used to record message information.
3. A communication method based on USRP ad hoc network according to claim 1, characterized in that: The communication mode of the preset master-slave transmission mode also includes: When the data frame belongs to the ad hoc network system, determining whether the data frame comes from a master node through a control code; When the data frame comes from the master node, determining whether the receiving address of the broadcast information is a slave address; When the receiving address is the slave station address, the data message of the data frame is received.
4. A communication method based on USRP ad hoc network according to claim 1, characterized in that: In the preset peer transmission mode and the preset master-slave transmission mode, a preset communication protocol is adopted, and symmetric encryption is used to encrypt transmission messages.
5. A communication method based on USRP ad hoc network according to claim 1, characterized in that: The USRP communication node includes USRP peripherals and a processing system; The processing system includes a human-computer interaction interface, a signal generation module and a demodulation module; The human-computer interaction interface is used to configure the network access address of the communication node; The signal generating module is used to encode and modulate the transmission data; The demodulation module is used to demodulate the transmission signal according to a preset data frame structure.
6. A communication device based on USRP ad hoc network, characterized in that: The invention is applied to a self-organizing network system composed of multiple USRP communication nodes, wherein the self-organizing network system composed of multiple USRP communication nodes specifically uses multiple wireless universal software devices USRP and external antennas; Run the software program on the host computer that controls the USRP and configure the software parameters on its operating system. This allows multiple USRP devices to communicate with each other to form an ad hoc network, including: A control module, configured to control the plurality of USRP communication nodes to transmit and receive information based on a preset peer transmission mode or a preset master-slave transmission mode; Wherein, in the preset peer transmission mode, the USRP communication node encodes and modulates the transmitted data after adding an address code to the transmitted data to obtain a transceiver signal; in the preset master-slave transmission mode, multiple USRP communications are divided into master nodes and slave nodes, and the master nodes and slave nodes use a preset data frame structure for data transmission; In the preset peer transmission mode, the USRP communication node adds an address code to the transmission data and performs encoding and modulation to obtain a transceiver signal, including: The transmission data with the address code added is encoded by Hamming code to obtain encoded data; Modulating the encoded data by differential phase shift keying to obtain a transmit and receive signal; The communication mode of the preset master-slave transmission mode is: The master node broadcasts calls to all communication nodes in a polling manner; When the communication node identifies a master node according to the broadcast, the communication node is converted into a slave node; The slave node sends a reply message to the master node according to the broadcast; The master node records the response of the slave node according to the reply information; The preset data frame structure used in the preset master-slave transmission mode includes: a phase reference frame, the phase reference frame is used to provide a reference phase between communication nodes; The communication method of the preset master-slave transmission mode includes: after the slave node receives a data frame, determining whether the data frame belongs to the ad hoc network system based on a bit error rate.
7. An electronic device, characterized in that: The system comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the communication method based on the USRP ad hoc network according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that The program medium stores computer program instructions. When the computer program instructions are executed by a computer, the computer executes the communication method based on the USRP ad hoc network according to any one of claims 1 to 5.
Citation Information
Patent Citations
Point-to-point wireless transmission optimization method based on USRP N200
CN103888458A
Wireless signal transmitting and receiving method and system based on polling networking working mode
CN114302445A