CN112601244A - Air interface test method, device and equipment of wireless communication network - Google Patents

Air interface test method, device and equipment of wireless communication network Download PDF

Info

Publication number
CN112601244A
CN112601244A CN202011390076.1A CN202011390076A CN112601244A CN 112601244 A CN112601244 A CN 112601244A CN 202011390076 A CN202011390076 A CN 202011390076A CN 112601244 A CN112601244 A CN 112601244A
Authority
CN
China
Prior art keywords
test
test frame
frame
air interface
modulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011390076.1A
Other languages
Chinese (zh)
Other versions
CN112601244B (en
Inventor
曹鸿健
黄琳
简云定
伏伟
张婉桥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202011390076.1A priority Critical patent/CN112601244B/en
Publication of CN112601244A publication Critical patent/CN112601244A/en
Application granted granted Critical
Publication of CN112601244B publication Critical patent/CN112601244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the specification discloses a method, a device and equipment for testing an air interface of a wireless communication network, which are applied to a transmitting terminal, wherein the method comprises the following steps: generating a test frame based on the demand information for carrying out air interface test on the target wireless communication network, wherein the generation of data content in the test frame is in a controllable state; transmitting the test frame to a preset test driver in a kernel space of the transmitting end, and transmitting the test frame to a modulation module in a memory based on the test driver; and performing signal modulation processing on the test frame through the modulation module to generate a modulated test frame, and sending the modulated test frame to a receiving end through the modulation module.

Description

Air interface test method, device and equipment of wireless communication network
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for testing an air interface of a wireless communication network.
Background
With the continuous development of mobile internet technology and internet of things technology, the application of wireless communication networks is available everywhere, such as enterprise office networks, personal mobile phone networks, networks constructed by home routers, networks constructed by smart speakers, and the like. However, while the wireless communication network is convenient for people to work and live, the wireless network protocol (such as IEEE802.11 protocol) followed in the communication process and the constructed wireless communication network also have some security holes, which results in security risks such as user attack and data privacy disclosure.
The security test of the wireless network protocol (such as an IEEE802.11 protocol) and the wireless communication network constructed by the wireless network protocol can discover security vulnerabilities as early as possible, so that the risk of user attack is prevented. In the process of performing an air interface test on a wireless network protocol and a wireless communication network constructed by the wireless network protocol, any test frame generally needs to be monitored and injected, and therefore, a technical scheme that any test frame can be monitored and injected in the process of performing the air interface test on the wireless network protocol and the wireless communication network constructed by the wireless network protocol needs to be provided, so that the safety test of the wireless communication network is facilitated, and the safety and privacy of a wireless communication network user are guaranteed.
Disclosure of Invention
An object of an embodiment of the present specification is to provide a technical solution that can monitor and inject any test frame during an air interface test on a wireless network protocol and a wireless communication network constructed by the wireless network protocol, so as to facilitate a security test of the wireless communication network and ensure security and privacy of a wireless communication network user.
In order to implement the above technical solution, the embodiments of the present specification are implemented as follows:
an air interface testing method for a wireless communication network provided in an embodiment of the present specification is applied to a transmitting end, and the method includes: generating a test frame based on the requirement information for carrying out air interface test on the target wireless communication network, wherein the generation of data content in the test frame is in a controllable state. And transmitting the test frame to a preset test driver in the kernel space of the transmitting end, and transmitting the test frame to a modulation module in a memory based on the test driver. And performing signal modulation processing on the test frame through the modulation module to generate a modulated test frame, and sending the modulated test frame to a receiving end through the modulation module.
An air interface testing method for a wireless communication network provided in an embodiment of the present specification is applied to a receiving end, and the method includes: and receiving a modulation test frame which is sent by a transmitting terminal and used for carrying out air interface test on a target wireless communication network, wherein the modulation test frame is a signal frame obtained by carrying out signal modulation processing on the transmitting terminal. And performing signal demodulation processing on the modulated test frame through a demodulation module to obtain a test frame for performing an air interface test on the target wireless communication network. And based on the demodulation module, transmitting the test frame to a test driver in the memory, and transmitting the test frame to a user space program through the test driver. And performing air interface test on the target wireless communication network by using the test frame through the user space program.
An air interface test component of a wireless communication network provided in an embodiment of the present specification includes a user control layer subassembly, a kernel layer subassembly, and a modem layer subassembly, where: the user control layer subassembly generates a first test frame based on the requirement information for carrying out air interface test on the target wireless communication network, and transmits the first test frame to the kernel layer subassembly, or carries out air interface test on the wireless communication network based on a received second test frame, wherein the generation of data content in the first test frame is in a controllable state. And the kernel layer subassembly is used for transmitting the first test frame to the modem layer subassembly in a memory, or receiving the second test frame after demodulation processing provided by the modem layer subassembly in the memory. And the modulation and demodulation layer subassembly is used for performing signal modulation processing on the first test frame to generate a first modulation test frame and outputting the first modulation test frame, or performing signal demodulation processing on a received second modulation test frame to obtain a second test frame for performing an air interface test on the wireless communication network, wherein the second modulation test frame is a signal frame obtained after signal modulation processing.
An air interface testing apparatus for a wireless communication network provided in an embodiment of the present specification, the apparatus includes: and the test frame generation module is used for generating a test frame based on the requirement information for carrying out air interface test on the target wireless communication network, and the generation of the data content in the test frame is in a controllable state. And the signal transmission module is used for transmitting the test frame to a preset test driver in a kernel space of the device and transmitting the test frame to the modulation module in a memory based on the test driver. And the modulation module is used for carrying out signal modulation processing on the test frame through the modulation module to generate a modulation test frame, and sending the modulation test frame to a receiving end through the modulation module.
An air interface testing apparatus for a wireless communication network provided in an embodiment of the present specification, the apparatus includes: the test frame receiving module receives a modulation test frame which is sent by a transmitting terminal and used for carrying out air interface test on a target wireless communication network, wherein the modulation test frame is a signal frame obtained by carrying out signal modulation processing on the transmitting terminal. And the demodulation module is used for demodulating the signal of the modulation test frame to obtain a test frame for carrying out air interface test on the target wireless communication network. And the signal transmission module is used for transmitting the test frame to a test driver in the memory based on the demodulation module and transmitting the test frame to a user space program through the test driver. And the air interface test module is used for carrying out air interface test on the target wireless communication network by using the test frame through the user space program.
An air interface test device of a wireless communication network provided in an embodiment of this specification, where the air interface test device of the wireless communication network is provided with a trusted execution environment, includes: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: generating a test frame based on the requirement information for carrying out air interface test on the target wireless communication network, wherein the generation of data content in the test frame is in a controllable state. And transmitting the test frame to a preset test driver in a kernel space of the equipment, and transmitting the test frame to a modulation module in a memory based on the test driver. And performing signal modulation processing on the test frame through the modulation module to generate a modulated test frame, and sending the modulated test frame to a receiving end through the modulation module.
An air interface test device of a wireless communication network provided in an embodiment of the present specification, where the air interface test device of the wireless communication network includes: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: and receiving a modulation test frame which is sent by a transmitting terminal and used for carrying out air interface test on a target wireless communication network, wherein the modulation test frame is a signal frame obtained by carrying out signal modulation processing on the transmitting terminal. And performing signal demodulation processing on the modulated test frame through a demodulation module to obtain a test frame for performing an air interface test on the target wireless communication network. And based on the demodulation module, transmitting the test frame to a test driver in the memory, and transmitting the test frame to a user space program through the test driver. And performing air interface test on the target wireless communication network by using the test frame through the user space program.
Embodiments of the present specification also provide a storage medium, where the storage medium is used to store computer-executable instructions, and the executable instructions, when executed, implement the following processes: generating a test frame based on the requirement information for carrying out air interface test on the target wireless communication network, wherein the generation of data content in the test frame is in a controllable state. And transmitting the test frame to a preset test driver in a kernel space of a transmitting end, and transmitting the test frame to a modulation module in a memory based on the test driver. And performing signal modulation processing on the test frame through the modulation module to generate a modulated test frame, and sending the modulated test frame to a receiving end through the modulation module.
Embodiments of the present specification also provide a storage medium, where the storage medium is used to store computer-executable instructions, and the executable instructions, when executed, implement the following processes: and receiving a modulation test frame which is sent by a transmitting terminal and used for carrying out air interface test on a target wireless communication network, wherein the modulation test frame is a signal frame obtained by carrying out signal modulation processing on the transmitting terminal. And performing signal demodulation processing on the modulated test frame through a demodulation module to obtain a test frame for performing an air interface test on the target wireless communication network. And based on the demodulation module, transmitting the test frame to a test driver in the memory, and transmitting the test frame to a user space program through the test driver. And performing air interface test on the target wireless communication network by using the test frame through the user space program.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1A is a diagram illustrating an embodiment of an air interface testing method for a wireless communication network according to the present disclosure;
fig. 1B is a schematic diagram illustrating an air interface testing process of a wireless communication network according to the present disclosure;
FIG. 2 is a schematic diagram of a transmitting end according to the present disclosure;
fig. 3 is a schematic diagram illustrating an air interface test procedure of another wireless communication network according to the present disclosure;
fig. 4A is a diagram illustrating another embodiment of an air interface testing method for a wireless communication network according to the present disclosure;
fig. 4B is a schematic diagram illustrating an air interface testing process of another wireless communication network according to the present disclosure;
fig. 5 is a schematic structural diagram of a receiving end according to the present disclosure;
fig. 6 is a schematic diagram illustrating an air interface testing process of another wireless communication network according to the present disclosure;
fig. 7 is a schematic structural diagram of an air interface test component of a wireless communication network according to the present disclosure;
fig. 8 is an embodiment of an air interface testing apparatus of a wireless communication network according to the present disclosure;
fig. 9 is a schematic diagram illustrating an embodiment of an air interface testing apparatus for a wireless communication network;
fig. 10 is an embodiment of an air interface testing apparatus of a wireless communication network according to the present disclosure.
Detailed Description
The embodiment of the specification provides a method, a device and equipment for testing an air interface of a wireless communication network.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
Example one
As shown in fig. 1A and fig. 1B, an execution main body of the method may be a transmitting end, where the transmitting end may include multiple types, for example, the transmitting end may be a computer device such as a notebook computer or a desktop computer, a mobile terminal device such as a mobile phone or a tablet computer, or a designated device for testing an air interface of a wireless communication network. The method may specifically comprise the steps of:
in step S102, a test frame is generated based on the information required for performing an air interface test on the target wireless communication network, and the generation of the data content in the test frame is in a controllable state.
The target Wireless communication Network may include various networks, such as a voice and data Network connected through a long-distance Wireless connection, or a Network connected through a short-distance Wireless connection (which may include, for example, an infrared-connected Network, a radio frequency Network, and the like), and the Wireless communication Network may be further divided into a Wireless Wide Area Network (WWAN), a Wireless Local Area Network (WLAN), a Wireless Metropolitan Area Network (WMAN), a Wireless Personal Area Network (WPAN), and the like according to a difference in Network coverage. Among them, IEEE802.11 is a standard common to wireless local area networks of today, which is a standard for wireless network communication defined by the Institute of Electrical and Electronics Engineers (IEEE). The air interface test may be a test of an air interface, where the air interface may be any interface, and may be specifically set according to an actual situation. The requirement information may be information related to a requirement for performing an air interface test on a target wireless communication network, for example, an identifier, a coding mode, time, a bandwidth, communication content, a number of data packets, a sorting mode, and the like of an air interface to be tested. The test frame may be a signal frame used for performing an air interface test on a target wireless communication network, and content in the test frame in the embodiment of the present specification may be completely controllable, that is, a user or a management party may control content included in the test frame, and based on this, the user or the management party may arbitrarily set the content in the test frame without affecting a basic function of the test frame.
In implementation, with the continuous development of mobile internet technology and internet of things technology, applications of wireless communication networks are available everywhere, such as an enterprise office network, a personal mobile phone network, a network constructed by a home router, a network constructed by an intelligent sound box, and the like. However, while the wireless communication network is convenient for people to work and live, the wireless network protocol (such as IEEE802.11 protocol) followed in the communication process and the constructed wireless communication network also have some security holes, which results in security risks such as user attack and data privacy disclosure.
The security test of the wireless network protocol (such as an IEEE802.11 protocol) and the wireless communication network constructed by the wireless network protocol can discover security vulnerabilities as early as possible, so that the risk of user attack is prevented. In the process of performing an air interface test on a wireless network protocol and a wireless communication network constructed by the wireless network protocol, any test frame generally needs to be monitored and injected, and therefore, a technical scheme that any test frame can be monitored and injected in the process of performing the air interface test on the wireless network protocol and the wireless communication network constructed by the wireless network protocol needs to be provided, so that the safety test of the wireless communication network is facilitated, and the safety and privacy of a wireless communication network user are guaranteed. An embodiment of the present disclosure provides a technical solution capable of monitoring and injecting any test frame during an air interface test of a wireless communication network, which may specifically include the following contents:
as shown in fig. 2, in order to implement monitoring and injecting any test frame in an air interface test of a wireless communication network, an embodiment of the present specification provides a method for implementing monitoring and injecting any WiFi frame by using an open source WiFi protocol stack platform openwifi based on software radio. Openwifi is a fully compatible open source wifi protocol stack (e.g., Linux mac 80211) that can be implemented based on software Defined radio (sdr) running on fpga (field Programmable Gate array) hardware. According to the scheme, the FPGA part of the openwifi is utilized to realize modulation and demodulation of WiFi signals, and monitoring and injection of any WiFi frame are completed by utilizing the driving receiving and transmitting interface. The Openwifi platform can adopt an Xilinx Zynq-7000 SoC ZC706 development board and an AD-FMCOMMS3-EBZ radio frequency front end, and the development board can be provided with an operating system, such as a Linux operating system. The following processing can be realized through the openwifi platform: when an air interface test needs to be performed on a certain wireless communication network (namely, a target wireless communication network), demand information for performing the air interface test can be input to an openwifi platform, a user control layer can be arranged in the openwifi platform, and the content of a corresponding test frame can be constructed through the user control layer based on the demand information, so that the corresponding test frame is generated, wherein the construction of the content of the test frame can be completely and autonomously controlled by a user or a manager, namely, the generation of the data content in the test frame is in a controllable state.
In step S104, the test frame is transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module in the memory based on the test driver.
The preset test driver may be a preset driver for performing an air interface test, and the test driver may be set according to an actual situation, and in an actual application, the test driver may be customized according to a need of a user or a management party. The modulation module may be a component for modulating a signal, and a modulation mechanism may be disposed in the modulation module, and the modulation mechanism may include multiple types, and may be specifically set according to an actual situation.
In implementation, after the user control layer generates the test frame, the generated test frame can be directly provided to the kernel space of the transmitting end, that is, the user control layer can directly provide the generated test frame to the kernel of the openwifi platform (i.e. the Central Processing Unit (CPU) of the Xilinx Zynq-7000 SoC ZC706 development board). The kernel space can be preset with a test driver, and the user control layer can directly provide the generated test frame to the test driver in the kernel space of the openwifi platform.
In order to ensure the safety of the test frame, the test frame can be transmitted through the memory, based on this, the preset test driver in the kernel space of the transmitting end can directly transmit the test frame to the modulation module in the memory, and in practical application, the test driver can directly transmit the test frame to the FPGA in the openwifi platform in the memory.
In step S106, the test frame is subjected to signal modulation processing by the modulation module to generate a modulated test frame, and the modulated test frame is sent to the receiving end by the modulation module.
In implementation, a signal corresponding to the test frame is converted into a high-frequency signal with a frequency band suitable for channel transmission through a modulation mechanism in a modulation module, and the high-frequency signal carries the content of the test frame, so that the test frame is subjected to signal modulation processing to generate a modulated test frame, and then, the signal corresponding to the modulated test frame can be set in a preset carrier signal, and the modulated test frame set in the carrier signal can be sent to a receiving end.
It should be noted that the test frame or the modulation test frame may be a signal frame that is independent from a signal frame corresponding to user data that needs to be transmitted and is transmitted and received, or may be a signal frame that is inserted into a signal frame corresponding to user data that needs to be transmitted and is transmitted and received later.
An embodiment of the present specification provides an air interface test method for a wireless communication network, where a test frame is generated based on information required to perform an air interface test on a target wireless communication network, and generation of data content in the test frame is in a controllable state. In addition, the test frame can be directly transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module in the memory based on the test driver, so that the safety test of the wireless communication network can be conveniently carried out, and the safety and the privacy of a wireless communication network user are ensured.
Example two
As shown in fig. 3, an execution main body of the method may be a transmitting end, where the transmitting end may include multiple types, for example, the transmitting end may be a computer device such as a notebook computer or a desktop computer, or a mobile terminal device such as a mobile phone or a tablet computer, or a designated device for testing an air interface of a wireless communication network. The method may specifically comprise the steps of:
in step S302, a test frame is generated based on the information required for performing an air interface test on the target wireless communication network, and the generation of the data content in the test frame is in a controllable state.
For a specific processing procedure of the step S302, reference may be made to relevant contents in the first embodiment, which is not described herein again.
In step S304, based on the Netlink communication mechanism, the test frame is directly transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module through DMA based on the test driver.
The Netlink communication mechanism may be a special socket, similar to AF _ ROUTE in BSD (Berkeley Software Distribution), and is in a Linux kernel, and may be used to implement a special inter-process communication (IPC) for a user process to communicate with a kernel process, and also is an interface for a network application to communicate with the kernel. The Netlink communication mechanism is an asynchronous communication mechanism, messages transmitted between a kernel and a user mode application are stored in a socket cache queue, and a sender only stores the messages in a receiving queue of a socket of a receiver without waiting for the receiver to receive the messages. The working principle of the DMA (Direct Memory Access) mode may be that one device interface tries to directly send data (generally, a large amount of data) to another device through a bus, it will first send a DMA request signal to a CPU, the peripheral device through a DMA controller (DMAC), proposes a bus request to the CPU to take over the bus control right, and after the CPU receives the signal, after the current bus cycle ends, it will respond to the DMA signal according to the priority of the DMA signal and the order of the presented DMA request. When the CPU responds to a DMA request to a certain device interface, the CPU gives the bus control right. Under the management of the DMA controller, the peripheral and the memory exchange data directly without the intervention of the CPU, and after the data transfer is finished, the equipment interface sends a DMA finishing signal to the CPU to return the bus control right.
In step S306, the control test driver generates control parameters and/or attribute information for the test frame.
Wherein the control parameter and/or attribute information may include one or more of: the sending rate of the test frame, whether To convert the test frame into an ACK message, whether To retransmit the test frame and the maximum number of retransmissions, a setting rule of a data packet sequence number in the test frame, whether To use a CTS-RTS frame before sending the test frame (i.e., a CTS (ready To send) frame is sent before the sending end sends the test frame To the receiving end To apply for occupation of a corresponding resource or medium, and after the receiving end receives the RTS frame, a CTS (clear To send) frame which is allowed To be sent is responded immediately after a short frame gap SIFS To inform the sending end that the sending end is ready To receive data.
In implementation, the customized test driver may be different from sending a data packet using the network card interface, because the processing of checking the content of the data packet corresponding to the test frame in the Linux system is bypassed, the content of the data packet corresponding to the test frame is not modified, and meanwhile, more refined control may be performed based on the test driver, for example, the sending rate of the test frame, whether ACK (Acknowledge character) is needed (i.e., whether ACK message is added to the test frame or received or sent before sending the test frame), whether retransmission (i.e., retransmission) is performed on the test frame, and the maximum number of retransmission may be set, the sequence number of the data packet corresponding to the test frame may be set according to actual conditions, whether CTS-RTS frame is used before sending the test frame, and the like, in actual applications, besides the above-mentioned setting, other relevant settings may also be performed, which may be specifically set according to actual situations, and this is not limited in the embodiments of this specification.
In step S308, the control parameter and/or the attribute information are transmitted to the modulation module based on the test driver.
In implementation, the control parameter and/or the attribute information may also be transferred to the modulation module by a DMA based on a test driver, which is not described herein again except for the above related contents.
In step S310, the modulation module performs signal modulation processing on the test frame to generate a modulated test frame.
In step S312, the modulated test frame is transmitted to the receiving end through the modulation module based on the control parameter and/or the attribute information.
In an implementation, in an actual application, the control parameter and/or the attribute information may be used as content in a modulation test frame, a signal corresponding to the modulation test frame including the control parameter and/or the attribute information may be set in a preset carrier signal, and the modulation test frame set in the carrier signal may be sent to a receiving end.
An embodiment of the present specification provides an air interface test method for a wireless communication network, where a test frame is generated based on information required to perform an air interface test on a target wireless communication network, and generation of data content in the test frame is in a controllable state. In addition, the test frame can be directly transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module in the memory based on the test driver, so that the safety test of the wireless communication network can be conveniently carried out, and the safety and the privacy of a wireless communication network user are ensured. And the air interface test of the wireless communication network can be finely managed.
EXAMPLE III
As shown in fig. 4A and 4B, an execution main body of the method may be a receiving end, where the receiving end may include multiple types, for example, the receiving end may be a computer device such as a notebook computer or a desktop computer, or a mobile terminal device such as a mobile phone or a tablet computer, or may be a designated device for testing an air interface of a wireless communication network. As shown in fig. 5, the receiving end structure diagram includes a user space program, a test driver, an FPGA, and the like, and the structure of the receiving end structure diagram may be similar to that of the transmitting end structure shown in fig. 2, that is, the receiving end may also be constructed by using an openwifi protocol stack platform based on software radio. As shown in fig. 4A and 4B, the method may specifically include the following steps:
in step S402, a modulation test frame sent by the transmitting end for performing an air interface test on the target wireless communication network is received, where the modulation test frame is a signal frame obtained by performing signal modulation processing on the transmitting end.
The specific processing procedure of the step S402 may refer to relevant contents in the first embodiment or the second embodiment, and is not described herein again.
In step S404, a demodulation module performs signal demodulation processing on the modulated test frame to obtain a test frame for performing an air interface test on the target wireless communication network.
The specific processing procedure of the step S404 may refer to relevant contents in the first embodiment or the second embodiment, and is not described herein again.
In step S406, based on the demodulation module, the test frame is transmitted to the test driver in the memory, and is transmitted to the user space program through the test driver.
In step S408, an air interface test is performed on the target wireless communication network by using the test frame through the user space program.
The specific processing procedure of step S408 may refer to relevant contents in the first embodiment, and is not described herein again.
It should be noted that the structure of the transmitting end may be similar to that of the receiving end, that is, the transmitting end may perform a reverse execution on the processing procedure of the test frame, where the reverse execution processing procedure may be the processing procedure of the receiving end on the test frame, and based on this, the processing procedure of the receiving end on the test frame may be performed according to the processing procedure of the transmitting end in the above embodiment, and details are not described here again.
An embodiment of the present specification provides an air interface test method for a wireless communication network, where a test frame is generated based on information required to perform an air interface test on a target wireless communication network, and generation of data content in the test frame is in a controllable state. In addition, the test frame can be directly transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module in the memory based on the test driver, so that the safety test of the wireless communication network can be conveniently carried out, and the safety and the privacy of a wireless communication network user are ensured. And the air interface test of the wireless communication network can be finely managed.
Example four
As shown in fig. 6, an execution main body of the method may be a receiving end, where the receiving end may include multiple types, for example, the receiving end may be a computer device such as a notebook computer or a desktop computer, a mobile terminal device such as a mobile phone or a tablet computer, or a designated device for testing an air interface of a wireless communication network. As shown in fig. 5, the receiving end structure diagram includes a user space program, a test driver, an FPGA, and the like, and the receiving end may also be constructed by using an openwifi protocol stack platform based on software radio. As shown in fig. 6, the method may specifically include the following steps:
in step S602, a modulation test frame sent by the transmitting end for performing an air interface test on the target wireless communication network is received, where the modulation test frame is a signal frame obtained by performing signal modulation processing on the transmitting end.
The specific processing procedure of the step S602 may refer to relevant contents in the first to third embodiments, and is not described herein again.
In step S604, the demodulation module performs signal demodulation processing on the modulated test frame to obtain a test frame for performing an air interface test on the target wireless communication network.
The specific processing procedure of step S604 may refer to relevant contents in the first to third embodiments, and is not described herein again.
It should be noted that the test frame obtained by the demodulation process may be stored in a memory, and based on this, the following process of step S606 may be performed on the signal frame in the memory.
In step S606, a data packet corresponding to the signal frame in the memory is filtered based on a preset filtering rule, so as to obtain a test frame.
The preset filtering rule may be a preset rule for filtering a data packet corresponding to a received or in-memory signal frame, and the filtering rule may include multiple types, for example, the filtering rule may be used to obtain a data packet of a specified type, or may be used to obtain a data packet that meets other conditions, and the filtering rule may be specifically set according to an actual situation, where the filtering rule may be only used to obtain a related data packet, and it may not be necessary to determine whether the data packet is valid or incorrect, for example, it may not be necessary to determine whether a Cyclic Redundancy Check (CRC) code of the data packet is accurate.
In step S608, the demodulation-based module transfers the test frame to the test driver by way of direct memory access DMA.
In implementation, after the demodulation module performs signal demodulation processing on the modulated test frame, a corresponding interrupt mechanism may be set according to an actual situation or a preset rule, and then the test frame may be transferred to the test driver in a DMA manner based on the demodulation module.
In step S610, the test frame is processed through an interrupt processing function preset in the test driver, and the processed test frame is transmitted to the user space program through the test driver based on the Netlink communication mechanism.
The interrupt processing function may be a function for performing corresponding processing on received data, and the interrupt processing function may include multiple types, which may be specifically set according to an actual situation, and this is not limited in this embodiment of the specification.
In step S612, the user space program uses the test frame to perform an air interface test on the target wireless communication network.
An embodiment of the present specification provides an air interface test method for a wireless communication network, where a test frame is generated based on information required to perform an air interface test on a target wireless communication network, and generation of data content in the test frame is in a controllable state. In addition, the test frame can be directly transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module in the memory based on the test driver, so that the safety test of the wireless communication network can be conveniently carried out, and the safety and the privacy of a wireless communication network user are ensured. And the air interface test of the wireless communication network can be finely managed.
EXAMPLE five
As shown in fig. 7, an embodiment of the present disclosure provides an air interface testing component of a wireless communication network, where the air interface testing component of the wireless communication network may be a transmitting end or a receiving end provided in the foregoing embodiment, and the air interface testing component may include a user control layer subassembly, a kernel layer subassembly, and a modem layer subassembly, where:
the user control layer sub-component, the kernel layer sub-component and the modem layer sub-component may be components constructed by software (i.e., components constructed by writing corresponding applications respectively in a predetermined programming language), and the like. The hierarchical structure corresponding to the user control layer may be at the highest level of the hierarchical structure corresponding to the air interface test component of the wireless communication network, and the user control layer may provide interfaces of various different client applications so as to provide various different service services for users. The kernel layer subcomponents may be correspondingly set for different processors or operating systems, for example, for a Linux operating system installed in an air interface test component of a wireless communication network, a kernel corresponding to a corresponding kernel layer subcomponent may be a Linux system kernel.
In this embodiment of the present disclosure, the user control layer generates a first test frame based on information required for performing an air interface test on the target wireless communication network, and transmits the first test frame to the kernel layer subassembly, or performs an air interface test on the wireless communication network based on a received second test frame, where generation of data content in the first test frame is in a controllable state.
And the kernel layer subassembly is used for transmitting the first test frame to the modulation and demodulation layer subassembly in the memory, or receiving a second test frame after demodulation processing provided by the modulation and demodulation layer subassembly in the memory.
And the modulation and demodulation layer subassembly is used for performing signal modulation processing on the first test frame to generate a first modulation test frame and outputting the first modulation test frame, or performing signal demodulation processing on a received second modulation test frame to obtain a second test frame for performing an air interface test on the wireless communication network, wherein the second modulation test frame is a signal frame obtained after signal modulation processing.
For the specific processing of the user control layer subassembly, the kernel layer subassembly, and the modem layer subassembly, reference may be made to relevant contents in the foregoing embodiments, and details are not repeated here.
The air interface test component of the wireless communication network comprises all the functional units of the air interface test component of the wireless communication network, and is improved on the basis of the functional units, wherein the improvement content is as follows:
and the user control layer subassembly and the kernel layer subassembly perform signal interaction based on a Netlink communication mechanism.
In addition, the kernel layer subassembly and the modulation and demodulation layer subassembly perform signal interaction in a DMA mode.
In addition, a user space program is arranged in the user control layer subassembly and used for controlling and executing the preset operation of the user control layer subassembly, a test driving program is arranged in the kernel layer subassembly and used for controlling and executing the preset operation of the kernel layer subassembly, and a demodulation module and/or a modulation module are arranged in the modulation and demodulation layer subassembly. The corresponding predetermined operations executed by the user space program, the test driver, the demodulation module, and the modulation module may refer to the related operations respectively executed by the user space program, the test driver, the demodulation module, and the modulation module described in the first to fourth embodiments, and are not described herein again.
An embodiment of the present specification provides an air interface test component for a wireless communication network, where a test frame is generated based on information required to perform an air interface test on a target wireless communication network, where generation of data content in the test frame is in a controllable state, and since a structure of the data content in the test frame is completely autonomous and controllable, it is possible to avoid a reduction in security of the test frame due to incomplete controllability of the data content in the test frame, and even to avoid an air interface test failure, and it is possible to monitor and inject any test frame during the air interface test on the wireless communication network. In addition, the test frame can be directly transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module in the memory based on the test driver, so that the safety test of the wireless communication network can be conveniently carried out, and the safety and the privacy of a wireless communication network user are ensured. And the air interface test of the wireless communication network can be finely managed.
EXAMPLE six
Based on the same idea, the above method for testing an air interface of a wireless communication network provided in this embodiment of this specification further provides an air interface testing apparatus of a wireless communication network, as shown in fig. 8.
The air interface testing device of the wireless communication network comprises: a test frame generation module 801, a signal transfer module 802, and a modulation module 803, wherein:
a test frame generation module 801, configured to generate a test frame based on information required to perform an air interface test on a target wireless communication network, where generation of data content in the test frame is in a controllable state;
a signal transmission module 802, configured to transmit the test frame to a preset test driver in a kernel space of the apparatus, and transmit the test frame to a modulation module in a memory based on the test driver;
and the modulation module 803 performs signal modulation processing on the test frame to generate a modulated test frame, and sends the modulated test frame to a receiving end through the modulation module.
In this embodiment of the present disclosure, the signal transmission module 802 directly transmits the test frame to a preset test driver in a kernel space of the apparatus based on a Netlink communication mechanism.
In this embodiment, the signal transfer module 802 transfers the test frame to a modulation module by DMA based on the test driver.
In an embodiment of this specification, the apparatus further includes:
the parameter generation module controls the test driver to generate control parameters and/or attribute information for the test frame;
the parameter transmission module transmits the control parameters and/or the attribute information to the modulation module based on the test driver;
the modulation module 803 sends the modulated test frame to a receiving end based on the control parameter and/or the attribute information.
In the embodiments of the present specification, the control parameter and/or attribute information includes one or more of the following: the sending rate of the test frame, whether the test frame is converted into an ACK message or not, whether the test frame is retransmitted or not and the maximum times of retransmission, the setting rule of the sequence number of the data packet in the test frame, and whether a CTS-RTS frame is used before the test frame is sent.
An embodiment of the present specification provides an air interface test apparatus for a wireless communication network, where a test frame is generated based on information required to perform an air interface test on a target wireless communication network, where generation of data content in the test frame is in a controllable state, and since a structure of the data content in the test frame is completely autonomous and controllable, it is possible to avoid a reduction in security of the test frame due to incomplete controllability of the data content in the test frame, and even avoid an air interface test failure, and it is possible to monitor and inject any test frame during the air interface test on the wireless communication network. In addition, the test frame can be directly transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module in the memory based on the test driver, so that the safety test of the wireless communication network can be conveniently carried out, and the safety and the privacy of a wireless communication network user are ensured. And the air interface test of the wireless communication network can be finely managed.
EXAMPLE seven
Based on the same idea, an embodiment of this specification further provides an air interface testing apparatus for a wireless communication network, as shown in fig. 9.
The air interface testing device of the wireless communication network comprises: a test frame receiving module 901, a demodulation module 902, a signal transmission module 903, and an air interface test module 904, where:
a test frame receiving module 901, configured to receive a modulated test frame sent by a transmitting end and used for performing an air interface test on a target wireless communication network, where the modulated test frame is a signal frame obtained by performing signal modulation processing on the transmitting end;
a demodulation module 902, configured to perform signal demodulation processing on the modulated test frame to obtain a test frame for performing an air interface test on a target wireless communication network;
a signal transmission module 903, which transmits the test frame to a test driver in the memory based on the demodulation module 902, and transmits the test frame to a user space program through the test driver;
an air interface test module 904, which performs an air interface test on the target wireless communication network by using the test frame through the user space program.
In this embodiment of the present specification, the signal transmission module 903 performs filtering processing on a data packet corresponding to a signal frame in the memory based on a preset filtering rule to obtain the test frame, and transmits the test frame to the test driver in the memory based on the demodulation module.
In this embodiment of the present specification, the signal transmission module 903 processes the test frame through an interrupt processing function preset in the test driver, and transmits the processed test frame to the user space program.
In this embodiment of the present disclosure, the signal transmission module 903 transmits the test frame to a user space program through the test driver based on a Netlink communication mechanism.
In this embodiment, the signal transfer module 903 transfers the test frame to a test driver in a DMA manner based on the demodulation module.
An embodiment of the present specification provides an air interface test apparatus for a wireless communication network, where a test frame is generated based on information required to perform an air interface test on a target wireless communication network, where generation of data content in the test frame is in a controllable state, and since a structure of the data content in the test frame is completely autonomous and controllable, it is possible to avoid a reduction in security of the test frame due to incomplete controllability of the data content in the test frame, and even avoid an air interface test failure, and it is possible to monitor and inject any test frame during the air interface test on the wireless communication network. In addition, the test frame can be directly transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module in the memory based on the test driver, so that the safety test of the wireless communication network can be conveniently carried out, and the safety and the privacy of a wireless communication network user are ensured. And the air interface test of the wireless communication network can be finely managed.
Example eight
Based on the same idea, the above-mentioned air interface testing apparatus for a wireless communication network provided in this embodiment of this specification further provides an air interface testing device for a wireless communication network, as shown in fig. 10.
The air interface test device of the wireless communication network may be the transmitting end or the receiving end provided in the above embodiments.
The air interface test equipment of the wireless communication network may have a large difference due to different configurations or performances, and may include one or more processors 1001 and a memory 1002, where the memory 1002 may store one or more stored applications or data. Memory 1002 may be, among other things, transient storage or persistent storage. The application stored in memory 1002 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for an air interface test equipment of a wireless communication network. Further, the processor 1001 may be configured to communicate with the memory 1002 to execute a series of computer-executable instructions in the memory 1002 on an air interface test device of a wireless communication network. The over-the-air test equipment of the wireless communication network may further include one or more power supplies 1003, one or more wired or wireless network interfaces 1004, one or more input-output interfaces 1005, and one or more keyboards 1006.
Specifically, in this embodiment, the air interface test device of the wireless communication network includes a memory and one or more programs, where the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the air interface test device of the wireless communication network, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
generating a test frame based on the demand information for carrying out air interface test on the target wireless communication network, wherein the generation of data content in the test frame is in a controllable state;
transmitting the test frame to a preset test driver in a kernel space of the transmitting end, and transmitting the test frame to a modulation module in a memory based on the test driver;
and performing signal modulation processing on the test frame through the modulation module to generate a modulated test frame, and sending the modulated test frame to a receiving end through the modulation module.
In an embodiment of this specification, the transmitting the test frame to a preset test driver in a kernel space of the transmitting end includes:
and based on a Netlink communication mechanism, directly transmitting the test frame to a preset test driver in the kernel space of the transmitting terminal.
In an embodiment of this specification, the passing the test frame to a modulation module in a memory based on the test driver includes:
and transmitting the test frame to a modulation module by a Direct Memory Access (DMA) mode based on the test driver.
In an embodiment of this specification, after the transmitting the test frame to a preset test driver in a kernel space of the transmitting end, the method further includes:
controlling the test driver to generate control parameters and/or attribute information for the test frame;
transmitting the control parameter and/or attribute information to a modulation module based on the test driver;
the sending the modulated test frame to a receiving end through the modulation module includes:
and sending the modulation test frame to a receiving end through the modulation module based on the control parameter and/or the attribute information.
In the embodiments of the present specification, the control parameter and/or attribute information includes one or more of the following: the sending rate of the test frame, whether the test frame is converted into an ACK message or not, whether the test frame is retransmitted or not and the maximum times of retransmission, the setting rule of the sequence number of the data packet in the test frame, and whether a CTS-RTS frame is used before the test frame is sent.
In addition, specifically in this embodiment, the air interface test device of the wireless communication network includes a memory and one or more programs, where the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the air interface test device of the wireless communication network, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
receiving a modulation test frame which is sent by a transmitting terminal and used for carrying out air interface test on a target wireless communication network, wherein the modulation test frame is a signal frame obtained by carrying out signal modulation processing on the transmitting terminal;
performing signal demodulation processing on the modulation test frame through a demodulation module to obtain a test frame for performing an air interface test on a target wireless communication network;
based on the demodulation module, transmitting the test frame to a test driver in an internal memory, and transmitting the test frame to a user space program through the test driver;
and performing air interface test on the target wireless communication network by using the test frame through the user space program.
In an embodiment of this specification, the passing the test frame to a user space program through the test driver includes:
and based on a Netlink communication mechanism, transmitting the test frame to a user space program through the test driver.
In an embodiment of this specification, the transmitting the test frame to a test driver in a memory based on the demodulation module includes:
and transmitting the test frame to a test driver in a DMA mode based on the demodulation module.
An embodiment of the present specification provides an air interface test device for a wireless communication network, where a test frame is generated based on information required to perform an air interface test on a target wireless communication network, where generation of data content in the test frame is in a controllable state, and since a structure of the data content in the test frame is completely autonomous and controllable, it is possible to avoid a reduction in security of the test frame due to incomplete controllability of the data content in the test frame, and even to avoid an air interface test failure, and it is possible to monitor and inject any test frame during the air interface test on the wireless communication network. In addition, the test frame can be directly transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module in the memory based on the test driver, so that the safety test of the wireless communication network can be conveniently carried out, and the safety and the privacy of a wireless communication network user are ensured. And the air interface test of the wireless communication network can be finely managed.
Example nine
Further, based on the methods shown in fig. 1 to fig. 6, one or more embodiments of the present specification further provide a storage medium for storing computer-executable instruction information, in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and when executed by a processor, the storage medium stores the computer-executable instruction information, which can implement the following processes:
generating a test frame based on the demand information for carrying out air interface test on the target wireless communication network, wherein the generation of data content in the test frame is in a controllable state;
transmitting the test frame to a preset test driver in a kernel space of the transmitting end, and transmitting the test frame to a modulation module in a memory based on the test driver;
and performing signal modulation processing on the test frame through the modulation module to generate a modulated test frame, and sending the modulated test frame to a receiving end through the modulation module.
In an embodiment of this specification, the transmitting the test frame to a preset test driver in a kernel space of the transmitting end includes:
and based on a Netlink communication mechanism, directly transmitting the test frame to a preset test driver in the kernel space of the transmitting terminal.
In an embodiment of this specification, the passing the test frame to a modulation module in a memory based on the test driver includes:
and transmitting the test frame to a modulation module by a Direct Memory Access (DMA) mode based on the test driver.
In an embodiment of this specification, after the transmitting the test frame to a preset test driver in a kernel space of the transmitting end, the method further includes:
controlling the test driver to generate control parameters and/or attribute information for the test frame;
transmitting the control parameter and/or attribute information to a modulation module based on the test driver;
the sending the modulated test frame to a receiving end through the modulation module includes:
and sending the modulation test frame to a receiving end through the modulation module based on the control parameter and/or the attribute information.
In the embodiments of the present specification, the control parameter and/or attribute information includes one or more of the following: the sending rate of the test frame, whether the test frame is converted into an ACK message or not, whether the test frame is retransmitted or not and the maximum times of retransmission, the setting rule of the sequence number of the data packet in the test frame, and whether a CTS-RTS frame is used before the test frame is sent.
In addition, in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and when executed by the processor, the storage medium stores information of computer-executable instructions, which implement the following processes:
receiving a modulation test frame which is sent by a transmitting terminal and used for carrying out air interface test on a target wireless communication network, wherein the modulation test frame is a signal frame obtained by carrying out signal modulation processing on the transmitting terminal;
performing signal demodulation processing on the modulation test frame through a demodulation module to obtain a test frame for performing an air interface test on a target wireless communication network;
based on the demodulation module, transmitting the test frame to a test driver in an internal memory, and transmitting the test frame to a user space program through the test driver;
and performing air interface test on the target wireless communication network by using the test frame through the user space program.
In an embodiment of this specification, the transmitting the test frame to a test driver in a memory based on the demodulation module includes:
and filtering the data packet corresponding to the signal frame in the memory based on a preset filtering rule to obtain the test frame, and transmitting the test frame to a test driver in the memory based on the demodulation module.
In an embodiment of this specification, the passing the test frame to a user space program through the test driver includes:
and processing the test frame through an interrupt processing function preset in the test driver, and transmitting the processed test frame to a user space program.
In an embodiment of this specification, the passing the test frame to a user space program through the test driver includes:
and based on a Netlink communication mechanism, transmitting the test frame to a user space program through the test driver.
In an embodiment of this specification, the transmitting the test frame to a test driver in a memory based on the demodulation module includes:
and transmitting the test frame to a test driver in a DMA mode based on the demodulation module.
Embodiments of the present description provide a storage medium, where a test frame is generated based on requirement information for performing an air interface test on a target wireless communication network, where generation of data content in the test frame is in a controllable state, and a structure of the data content in the test frame is completely autonomous and controllable, so that it is possible to avoid a reduction in security of the test frame due to incomplete controllability of the data content in the test frame, and even avoid an air interface test failure, and monitor and inject any test frame during the air interface test on the wireless communication network. In addition, the test frame can be directly transmitted to a preset test driver in the kernel space of the transmitting end, and the test frame is transmitted to the modulation module in the memory based on the test driver, so that the safety test of the wireless communication network can be conveniently carried out, and the safety and the privacy of a wireless communication network user are ensured. And the air interface test of the wireless communication network can be finely managed.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present description are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable fraud case serial-parallel apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable fraud case serial-parallel apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable fraud case to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable fraud case serial-parallel apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (20)

1. An air interface test method of a wireless communication network is applied to a transmitting terminal, and the method comprises the following steps:
generating a test frame based on the demand information for carrying out air interface test on the target wireless communication network, wherein the generation of data content in the test frame is in a controllable state;
transmitting the test frame to a preset test driver in a kernel space of the transmitting end, and transmitting the test frame to a modulation module in a memory based on the test driver;
and performing signal modulation processing on the test frame through the modulation module to generate a modulated test frame, and sending the modulated test frame to a receiving end through the modulation module.
2. The method of claim 1, the passing the test frame to a preset test driver in kernel space of the transmitting end, comprising:
and based on a Netlink communication mechanism, directly transmitting the test frame to a preset test driver in the kernel space of the transmitting terminal.
3. The method of claim 1, the passing the test frame to a modulation module in memory based on the test driver, comprising:
and transmitting the test frame to a modulation module by a Direct Memory Access (DMA) mode based on the test driver.
4. The method of claim 1, after said passing said test frame to a preset test driver in kernel space of said transmitting end, further comprising:
controlling the test driver to generate control parameters and/or attribute information for the test frame;
transmitting the control parameter and/or attribute information to a modulation module based on the test driver;
the sending the modulated test frame to a receiving end through the modulation module includes:
and sending the modulation test frame to a receiving end through the modulation module based on the control parameter and/or the attribute information.
5. The method of claim 4, the control parameter and/or attribute information comprising one or more of: the sending rate of the test frame, whether the test frame is converted into an ACK message or not, whether the test frame is retransmitted or not and the maximum times of retransmission, the setting rule of the sequence number of the data packet in the test frame, and whether a CTS-RTS frame is used before the test frame is sent.
6. An air interface test method of a wireless communication network is applied to a receiving end, and the method comprises the following steps:
receiving a modulation test frame which is sent by a transmitting terminal and used for carrying out air interface test on a target wireless communication network, wherein the modulation test frame is a signal frame obtained by carrying out signal modulation processing on the transmitting terminal;
performing signal demodulation processing on the modulation test frame through a demodulation module to obtain a test frame for performing an air interface test on a target wireless communication network;
based on the demodulation module, transmitting the test frame to a test driver in an internal memory, and transmitting the test frame to a user space program through the test driver;
and performing air interface test on the target wireless communication network by using the test frame through the user space program.
7. The method of claim 6, the passing the test frame to a test driver in memory based on the demodulation module, comprising:
and filtering the data packet corresponding to the signal frame in the memory based on a preset filtering rule to obtain the test frame, and transmitting the test frame to a test driver in the memory based on the demodulation module.
8. The method of claim 6, the passing the test frame to a user space program by the test driver, comprising:
and processing the test frame through an interrupt processing function preset in the test driver, and transmitting the processed test frame to a user space program.
9. The method of claim 6, the passing the test frame to a user space program by the test driver, comprising:
and based on a Netlink communication mechanism, transmitting the test frame to a user space program through the test driver.
10. The method of claim 6, the passing the test frame to a test driver in memory based on the demodulation module, comprising:
and transmitting the test frame to a test driver in a DMA mode based on the demodulation module.
11. An air interface test assembly of a wireless communication network, the air interface test assembly comprising a user control layer subassembly, a kernel layer subassembly and a modem layer subassembly, wherein:
the user control layer subassembly generates a first test frame based on the requirement information for carrying out air interface test on the target wireless communication network and transmits the first test frame to the kernel layer subassembly, or carries out air interface test on the wireless communication network based on a received second test frame, wherein the generation of data content in the first test frame is in a controllable state;
the kernel layer subassembly transmits the first test frame to the modem layer subassembly in a memory, or receives the second test frame after demodulation processing provided by the modem layer subassembly in the memory;
and the modulation and demodulation layer subassembly is used for performing signal modulation processing on the first test frame to generate a first modulation test frame and outputting the first modulation test frame, or performing signal demodulation processing on a received second modulation test frame to obtain a second test frame for performing an air interface test on the wireless communication network, wherein the second modulation test frame is a signal frame obtained after signal modulation processing.
12. The air interface test component of claim 11, wherein the user control layer sub-component and the kernel layer sub-component perform signal interaction based on a Netlink communication mechanism.
13. The air interface test component of claim 11, wherein the kernel layer subassembly and the modem layer subassembly perform signal interaction via DMA.
14. The air interface test component according to claim 11, wherein the user control layer subassembly is provided with a user space program for controlling execution of a predetermined operation of the user control layer subassembly, the kernel layer subassembly is provided with a test driver for controlling execution of a predetermined operation of the kernel layer subassembly, and the modem layer subassembly is provided with a demodulation module and/or a modulation module.
15. An air interface testing apparatus of a wireless communication network, the apparatus comprising:
the test frame generation module generates a test frame based on the requirement information for carrying out air interface test on the target wireless communication network, wherein the generation of data content in the test frame is in a controllable state;
the signal transmission module is used for transmitting the test frame to a preset test driver in a kernel space of the device and transmitting the test frame to the modulation module in a memory based on the test driver;
and the modulation module is used for carrying out signal modulation processing on the test frame through the modulation module to generate a modulation test frame, and sending the modulation test frame to a receiving end through the modulation module.
16. An air interface testing apparatus of a wireless communication network, the apparatus comprising:
the test frame receiving module is used for receiving a modulation test frame which is sent by a transmitting terminal and used for carrying out air interface test on a target wireless communication network, wherein the modulation test frame is a signal frame obtained by carrying out signal modulation processing on the transmitting terminal;
the demodulation module is used for demodulating the signal of the modulation test frame to obtain a test frame for carrying out air interface test on the target wireless communication network;
the signal transmission module transmits the test frame to a test driver in an internal memory based on the demodulation module, and transmits the test frame to a user space program through the test driver;
and the air interface test module is used for carrying out air interface test on the target wireless communication network by using the test frame through the user space program.
17. An air interface test device of a wireless communication network, the air interface test device of the wireless communication network comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
generating a test frame based on the demand information for carrying out air interface test on the target wireless communication network, wherein the generation of data content in the test frame is in a controllable state;
transmitting the test frame to a preset test driver in a kernel space of the equipment, and transmitting the test frame to a modulation module in a memory based on the test driver;
and performing signal modulation processing on the test frame through the modulation module to generate a modulated test frame, and sending the modulated test frame to a receiving end through the modulation module.
18. An air interface test device of a wireless communication network, the air interface test device of the wireless communication network comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a modulation test frame which is sent by a transmitting terminal and used for carrying out air interface test on a target wireless communication network, wherein the modulation test frame is a signal frame obtained by carrying out signal modulation processing on the transmitting terminal;
performing signal demodulation processing on the modulation test frame through a demodulation module to obtain a test frame for performing an air interface test on a target wireless communication network;
based on the demodulation module, transmitting the test frame to a test driver in an internal memory, and transmitting the test frame to a user space program through the test driver;
and performing air interface test on the target wireless communication network by using the test frame through the user space program.
19. A storage medium for storing computer-executable instructions, which when executed implement the following:
generating a test frame based on the demand information for carrying out air interface test on the target wireless communication network, wherein the generation of data content in the test frame is in a controllable state;
transmitting the test frame to a preset test driver in a kernel space of a transmitting end, and transmitting the test frame to a modulation module in a memory based on the test driver;
and performing signal modulation processing on the test frame through the modulation module to generate a modulated test frame, and sending the modulated test frame to a receiving end through the modulation module.
20. A storage medium for storing computer-executable instructions, which when executed implement the following:
receiving a modulation test frame which is sent by a transmitting terminal and used for carrying out air interface test on a target wireless communication network, wherein the modulation test frame is a signal frame obtained by carrying out signal modulation processing on the transmitting terminal;
performing signal demodulation processing on the modulation test frame through a demodulation module to obtain a test frame for performing an air interface test on a target wireless communication network;
based on the demodulation module, transmitting the test frame to a test driver in an internal memory, and transmitting the test frame to a user space program through the test driver;
and performing air interface test on the target wireless communication network by using the test frame through the user space program.
CN202011390076.1A 2020-12-02 2020-12-02 Air interface test method, device and equipment of wireless communication network Active CN112601244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011390076.1A CN112601244B (en) 2020-12-02 2020-12-02 Air interface test method, device and equipment of wireless communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011390076.1A CN112601244B (en) 2020-12-02 2020-12-02 Air interface test method, device and equipment of wireless communication network

Publications (2)

Publication Number Publication Date
CN112601244A true CN112601244A (en) 2021-04-02
CN112601244B CN112601244B (en) 2022-10-04

Family

ID=75187702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011390076.1A Active CN112601244B (en) 2020-12-02 2020-12-02 Air interface test method, device and equipment of wireless communication network

Country Status (1)

Country Link
CN (1) CN112601244B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100113011A1 (en) * 2008-11-06 2010-05-06 Justin Gregg Wireless electronic device testing system
CN102448098A (en) * 2010-09-30 2012-05-09 重庆重邮信科通信技术有限公司 Physical layer test system and method based on ARM (advanced RISC (reduced instruction set computer) machine) and DSP (digital signal processing) multi-core structure
US20120142335A1 (en) * 2010-12-02 2012-06-07 Chiou Ta-Gang Apparatus and Method for Network Based Wireless Network Test
CN106162721A (en) * 2015-01-29 2016-11-23 财团法人电信技术中心 System and method for testing efficiency of mobile network
CN106792828A (en) * 2017-01-04 2017-05-31 深圳市吉祥腾达科技有限公司 A kind of outdoor wireless AP equipment rooms testing method and instrument
CN110855377A (en) * 2019-11-04 2020-02-28 中国信息通信研究院 GPSDO testing device and method for communication base station equipment
CN111031514A (en) * 2020-01-06 2020-04-17 瀚颐(上海)汽车电子科技有限公司 Data forwarding processor and data forwarding processing method based on wireless communication
CN111601335A (en) * 2020-04-22 2020-08-28 烽火通信科技股份有限公司 Wireless network performance test method and wireless AP

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100113011A1 (en) * 2008-11-06 2010-05-06 Justin Gregg Wireless electronic device testing system
CN102448098A (en) * 2010-09-30 2012-05-09 重庆重邮信科通信技术有限公司 Physical layer test system and method based on ARM (advanced RISC (reduced instruction set computer) machine) and DSP (digital signal processing) multi-core structure
US20120142335A1 (en) * 2010-12-02 2012-06-07 Chiou Ta-Gang Apparatus and Method for Network Based Wireless Network Test
CN106162721A (en) * 2015-01-29 2016-11-23 财团法人电信技术中心 System and method for testing efficiency of mobile network
CN106792828A (en) * 2017-01-04 2017-05-31 深圳市吉祥腾达科技有限公司 A kind of outdoor wireless AP equipment rooms testing method and instrument
CN110855377A (en) * 2019-11-04 2020-02-28 中国信息通信研究院 GPSDO testing device and method for communication base station equipment
CN111031514A (en) * 2020-01-06 2020-04-17 瀚颐(上海)汽车电子科技有限公司 Data forwarding processor and data forwarding processing method based on wireless communication
CN111601335A (en) * 2020-04-22 2020-08-28 烽火通信科技股份有限公司 Wireless network performance test method and wireless AP

Also Published As

Publication number Publication date
CN112601244B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
US11921569B2 (en) Remote debugging and management
JP7218447B2 (en) Policy control method, device and system
CN108632809B (en) Activation method and device for repeated data transmission
EP3965341A1 (en) Rate matching method, device and storage medium
US11487688B2 (en) Technologies for fast MAUSB enumeration
CN109246720B (en) Method and terminal for determining establishment cause
CN109548010B (en) Method and device for acquiring identity of terminal equipment
CN114302426B (en) Method, device, medium and electronic equipment for controlling service quality in heterogeneous network
US20170325092A1 (en) Discovery mechanism for service server connection
EP3836619B1 (en) Direct connection communication method, access control and mobility management function entity and terminal
US20240188106A1 (en) Data transmission method applied to short-range wireless communication and communication apparatus
WO2024125381A1 (en) Data transmission method, communication node and storage medium
EP3703462A1 (en) Communication method and apparatus
CN113261249A (en) Data transmission method, related equipment and computer storage medium
CN109245983B (en) Virtual network equipment, routing equipment and virtual network connection method
CN110868374A (en) Security authentication method, server and client device
WO2024001713A1 (en) Information sending method, and communication node and storage medium
CN108370500B (en) Optimized settings for wireless devices
CN112601244B (en) Air interface test method, device and equipment of wireless communication network
EP4037368A1 (en) Communication method and communication device
WO2019100796A1 (en) Network performance guarantee method and apparatus
CN113259305B (en) Intranet and extranet communication method and device
RU2752247C1 (en) Method and apparatus for information transmission by means of a terminal and computer data storage medium
CN111786758B (en) Communication method and device
WO2024109931A1 (en) Communication method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant