CN114422050A - Method, system and platform for detecting subcarriers and visualizing subcarriers in real time based on WIFI - Google Patents

Method, system and platform for detecting subcarriers and visualizing subcarriers in real time based on WIFI Download PDF

Info

Publication number
CN114422050A
CN114422050A CN202111520831.8A CN202111520831A CN114422050A CN 114422050 A CN114422050 A CN 114422050A CN 202111520831 A CN202111520831 A CN 202111520831A CN 114422050 A CN114422050 A CN 114422050A
Authority
CN
China
Prior art keywords
subcarrier
data
real
time
wifi
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
CN202111520831.8A
Other languages
Chinese (zh)
Other versions
CN114422050B (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.)
South China Normal University
Original Assignee
South China Normal University
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 South China Normal University filed Critical South China Normal University
Priority to CN202111520831.8A priority Critical patent/CN114422050B/en
Publication of CN114422050A publication Critical patent/CN114422050A/en
Application granted granted Critical
Publication of CN114422050B publication Critical patent/CN114422050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention belongs to the technical field of wireless networks, and relates to a method, a system and a platform for detecting subcarriers based on WIFI and visualizing the subcarriers in real time. By the method, the corresponding system and the corresponding platform, a mode of visualizing the subcarrier information in real time by taking time as an abscissa and subcarrier as an ordinate can be provided, the amplitude values of the subcarrier at different moments in a certain time period are presented on the same image, the change condition of the subcarrier in the time period can be clearly known by observing the drawn image, an observer can conveniently and directly use naked eyes to extract rough features compared with the traditional mode, and the state of an observation target described by the subcarrier can be intuitively and accurately obtained. The corresponding subcarrier information between different sending antennas and different receiving antennas within a certain period of time can be drawn at the same time, so that real-time phase and amplitude analysis can be conveniently carried out, and more accurate target discrimination is facilitated; the scheme of the invention is easy to operate, and the cost of experimental equipment is low.

Description

Method, system and platform for detecting subcarriers and visualizing subcarriers in real time based on WIFI
Technical Field
The invention belongs to the technical field of wireless networks, and particularly relates to a method, a system and a platform for detecting subcarriers and visualizing the subcarriers in real time based on WIFI.
Background
With the popularization of wireless network technology, a series of related research results gradually become an essential part of daily life of people, and play a significant role in social development and development of technology level. The CSI Tools emerging in recent years is a WIFI-based detection technology, which can collect signals released by devices such as a router, and analyze subcarriers of each channel to determine the state of a detected target.
The current CSI Tools mainly collect channel information and directly process the channel information by a related program when collecting data, and although the information collected by the method is accurate and can be identified and processed by the program, the presenting effect is not intuitive for the user, and the collected information can be known by the situation of an image after certain processing is performed, so that the information transmission has certain hysteresis.
In addition, the existing CSI Tools real-time visualization technology is mainly to plot the subcarrier amplitude as the vertical axis and the horizontal axis, and although the method has the advantage that all subcarrier information can be observed at the same time, the method still has certain defects: when the variation information of the sub-carrier is used for analysis, since only the amplitude information of the sub-carrier at a certain time can be observed, a variation image is required to obtain the information at the next time, which makes observation and analysis inconvenient.
Therefore, aiming at the technical problems that the transmission of the information has a certain hysteresis, and the observation and analysis are inconvenient due to the fact that an image needs to be changed when the information at the next moment needs to be obtained, a method, a system and a platform for detecting subcarriers based on WIFI and visualizing the subcarriers in real time are urgently needed to be designed and developed.
Disclosure of Invention
The first purpose of the invention is to provide a method for detecting subcarriers based on WIFI and visualizing the subcarriers in real time;
the second purpose of the invention is to provide a system for detecting subcarriers based on WIFI and visualizing the subcarriers in real time;
the third purpose of the invention is to provide a subcarrier detection and real-time visualization platform based on WIFI;
the first object of the present invention is achieved by: the method specifically comprises the following steps:
obtaining subcarrier data, and performing dimension reduction and transposition processing on the subcarrier data;
defining a variable position, acquiring amplitude data of a single subcarrier at a corresponding moment, and transmitting the amplitude data in real time in a variable;
creating an array object and putting the amplitude data into the array object;
and generating a corresponding visual image in real time according to the amplitude data in the array object.
Further, the step of obtaining the subcarrier data and performing the dimension reduction and transposition process on the subcarrier data further includes the following steps:
carrying out real-time fixed length processing on the variable column, and zeroing the initial value;
further, the subcarrier data is specifically three-dimensional subcarrier data.
Further, the step of defining the position of the variable, obtaining the amplitude data of the single subcarrier at the corresponding time, and transmitting the amplitude data in the variable in real time further comprises the following steps:
defining a last variable to obtain amplitude data of a single subcarrier at the current moment;
the data are continuously transmitted in the variables in a transmission mode, and the variables are uniformly stored.
Further, the step of creating an array object and attributing the magnitude data to the array object further comprises the steps of:
acquiring the number of transmitting and receiving antennas;
and creating array objects with corresponding quantity according to the quantity of the antennas.
Further, the step of generating the corresponding visual image in real time according to the amplitude data in the array object further comprises the following steps:
the rendering process is repeated a plurality of times by while loop for the magnitude data stored in the array object.
The second object of the present invention is achieved by: the system specifically comprises:
the acquisition processing unit is used for acquiring subcarrier data and performing dimension reduction and transposition processing on the subcarrier data; the definition transmitting unit is used for defining the position of the variable, acquiring the amplitude data of the single subcarrier at the corresponding moment and transmitting the amplitude data in real time in the variable; the creation unit is used for creating an array object and attributing the amplitude data to the creation unit in the array object; and the image generation unit is used for generating a corresponding visual image in real time according to the amplitude data in the array object.
Further, the acquisition processing unit is further provided with:
the fixed-length return-to-zero processing module is used for carrying out real-time fixed-length processing on the variable array and carrying out return-to-zero processing on the initial value;
the definition transmission unit is also provided with:
the definition acquisition module is used for defining the last variable to acquire the amplitude data of the single subcarrier at the current moment; the transmission storage module is used for enabling data to be continuously transmitted in the variable in a transmission mode and storing the variable;
the creation attribution unit is also provided with:
a first obtaining module for obtaining the number of transmitting and receiving antennas; the first establishing module is used for establishing array objects with corresponding quantity according to the quantity of the antennas;
the image generation unit is also provided with:
and the drawing processing module is used for repeating the drawing processing for a plurality of times through while circulation on the amplitude data stored in the array objects.
The third object of the present invention is achieved by: the method comprises the following steps: the system comprises a processor, a memory and a platform control program which is based on WIFI detection subcarriers and is visualized in real time;
the processor executes the WIFI detection subcarrier-based real-time visualization platform control program, the WIFI detection subcarrier-based real-time visualization platform control program is stored in the memory, and the WIFI detection subcarrier-based real-time visualization platform control program realizes the WIFI detection subcarrier-based real-time visualization method steps.
The invention obtains the subcarrier data by the method, and carries out dimension reduction and transposition processing on the subcarrier data; defining a variable position, acquiring amplitude data of a single subcarrier at a corresponding moment, and transmitting the amplitude data in real time in a variable; creating an array object and putting the amplitude data into the array object; generating a corresponding visual image in real time according to the amplitude data in the array object; and the system and the platform corresponding to the method can provide a mode of visualizing the subcarrier information in real time by taking time as an abscissa and subcarrier as an ordinate, the amplitude values of the subcarrier at different moments in a certain time period can be presented on the same image, the change condition of the subcarrier in the time period can be clearly known by observing the drawn image, compared with the traditional subcarrier, the amplitude value characteristic of the subcarrier in the time period can be more easily seen, an observer can conveniently and directly extract the rough characteristic by using naked eyes, and the state of an observation target described by the subcarrier can be intuitively and accurately obtained. And the corresponding subcarrier information between different sending antennas and different receiving antennas within a certain period of time can be drawn at the same time, so that the phase and amplitude analysis can be conveniently carried out in real time, and more accurate target judgment can be favorably carried out. The scheme of the invention is easy to operate, the cost required by experimental equipment is low, whether the experimental environment is appropriate or not can be judged by real-time images under the condition of no interference in the using process, whether the experimental scene needs to be changed or not can be judged, and the experimental error caused by selecting the wrong experimental environment can be avoided to a certain extent.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a flow architecture of a method for detecting subcarriers based on WIFI and visualizing in real time according to the present invention;
fig. 2 is a schematic diagram of an embodiment of a method for detecting subcarriers based on WIFI and visualizing in real time according to the present invention;
fig. 3 is a schematic diagram of a second embodiment of a method for detecting subcarriers based on WIFI and visualizing in real time according to the present invention;
fig. 4a is a schematic diagram of a third embodiment of a method for detecting subcarriers based on WIFI and visualizing in real time according to the present invention;
fig. 4b is a fourth schematic view of an embodiment of a method for detecting subcarriers based on WIFI and visualizing in real time according to the present invention;
fig. 4c is a fifth schematic view of an embodiment of a method for detecting subcarriers based on WIFI and visualizing in real time according to the present invention;
fig. 5 is a sixth schematic view of an embodiment of a method for detecting subcarriers based on WIFI and visualizing in real time according to the present invention;
fig. 6 is a seventh schematic view illustrating a method for detecting subcarriers based on WIFI and visualizing in real time according to an embodiment of the present invention;
fig. 7 is an eighth schematic view of an embodiment of a method for detecting subcarriers based on WIFI and visualizing in real time according to the present invention;
fig. 8 is a schematic diagram of a system architecture for detecting subcarriers based on WIFI and visualizing the subcarriers in real time according to the present invention;
fig. 9 is a schematic diagram of a real-time visualization platform architecture for detecting subcarriers based on WIFI according to the present invention;
FIG. 10 is a block diagram of a computer-readable storage medium according to an embodiment of the present invention;
the objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
For better understanding of the objects, aspects and advantages of the present invention, reference will now be made to the following detailed description taken in conjunction with the accompanying drawings, and other advantages and capabilities of the present invention will become apparent to those skilled in the art from the description.
The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Secondly, the technical solutions in the embodiments can be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not be within the protection scope of the present invention.
Preferably, the method for detecting subcarriers based on WIFI and visualizing the subcarriers in real time is applied to one or more terminals or servers. The terminal is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The terminal can be a desktop computer, a notebook, a palm computer, a cloud server and other computing equipment. The terminal can be in man-machine interaction with a client in a keyboard mode, a mouse mode, a remote controller mode, a touch panel mode or a voice control device mode.
The invention discloses a method, a system, a platform and a storage medium for detecting subcarriers based on WIFI and visualizing the subcarriers in real time.
As shown in fig. 1, the method is a flowchart for detecting subcarriers based on WIFI and visualizing in real time according to an embodiment of the present invention.
In this embodiment, the method for detecting subcarriers and visualizing in real time based on WIFI may be applied to a terminal or a fixed terminal with a display function, where the terminal is not limited to a personal computer, a smart phone, a tablet computer, a desktop or an all-in-one machine with a camera, and the like.
The method for detecting the subcarriers based on the WIFI and visualizing the subcarriers in real time can also be applied to a hardware environment formed by a terminal and a server connected with the terminal through a network. Networks include, but are not limited to: a wide area network, a metropolitan area network, or a local area network. The method for detecting the subcarriers and visualizing the subcarriers in real time based on the WIFI can be executed by a server, can also be executed by a terminal, and can also be executed by the server and the terminal together.
For example, for a terminal which needs to detect subcarriers based on WIFI and visualize the subcarriers in real time, the function of detecting subcarriers based on WIFI and visualizing the subcarriers in real time provided by the method of the present invention may be directly integrated on the terminal, or a client for implementing the method of the present invention may be installed. For another example, the method provided by the present invention may further run on a device such as a server in the form of a Software Development Kit (SDK), and an interface based on the WIFI detection subcarrier and the real-time visualization function is provided in the form of the SDK, so that the terminal or other devices can realize the WIFI detection subcarrier and the real-time visualization function through the provided interface.
The invention is further elucidated with reference to the drawing.
As shown in fig. 1, the present invention provides a method for detecting subcarriers based on WIFI and visualizing them in real time, and the method specifically includes the following steps:
s1, obtaining subcarrier data, and performing dimension reduction and transposition processing on the subcarrier data;
s2, defining the position of a variable, acquiring the amplitude data of a single subcarrier at a corresponding moment, and transmitting the amplitude data in the variable in real time;
s3, creating an array object, and putting the amplitude data into the array object;
and S4, generating a corresponding visual image in real time according to the amplitude data in the array object.
The step of obtaining the subcarrier data and performing the dimension reduction and transposition processing on the subcarrier data further comprises the following steps:
s11, carrying out real-time fixed length processing on the variable array, and carrying out zero setting processing on the initial value;
the subcarrier data is specifically three-dimensional subcarrier data.
The step defines the position of the variable, acquires the amplitude data of the single subcarrier at the corresponding moment, and transmits the amplitude data in real time in the variable, and further comprises the following steps:
s21, defining a last bit variable to obtain amplitude data of a single subcarrier at the current moment;
and S22, continuously transmitting the data in the variables in a transmission mode, and storing the variables uniformly.
The step of creating an array object and putting the amplitude data into the array object further comprises the following steps:
s31, acquiring the number of transmitting and receiving antennas;
and S32, creating array objects with corresponding quantity according to the quantity of the antennas.
The step of generating the corresponding visual image in real time according to the amplitude data in the array object further comprises the following steps:
s41, the rendering process is repeated a plurality of times by while loop for the amplitude data stored in the array object.
Specifically, in the embodiment of the invention, the CSI data detected based on WIFI are visualized in real time by using a microcomputer, the time is taken as a horizontal axis during drawing, a single subcarrier is taken as a vertical axis to present amplitude information of the single subcarrier in a certain period of time, and the change condition of the subcarrier in the period of time can be visually observed.
Example 1
As shown in fig. 2, the present embodiment provides a CSI Tools-based subcarrier signal collection and real-time visualization system under an ideal environment without disturbance, which includes a signal sending module (router), a data receiving module (antenna), and a data processing and visualization module (microcomputer), and the implementation of the system includes the following steps:
firstly, the router and the microcomputer are started, so that an experimental scene is exposed in a WIFI environment, a WIFI signal can be stably received, and the matlab on the microcomputer is started and a related program is run to prepare for receiving data.
In port connection and subcarrier data acquisition, the patent uses an open-source read _ bf _ socket. m file to successfully acquire three-dimensional subcarrier data, in order to show subcarrier information at different moments on the same picture, as shown in fig. 3, a fixed-length variable array (50 in the example, initial values are all set to zero) is set for storing the subcarrier information after dimension reduction and rotation, as shown in fig. 4, a last-position variable is set to acquire the amplitude of a single subcarrier at the current moment, data is continuously transmitted in the variable in a transmission mode, and the subcarrier information at the latest 50 moments is ensured to be stored in 50 variables,
the information is stored in a fixed array and the array is repeatedly drawn through while loop to achieve the effect of real-time visualization.
Secondly, inputting the address of the target router at the microcomputer end, performing ping and log _ to _ file operation, acquiring channel information from the router at the computer end, and reading and drawing the received subcarrier data by the matlab program of the 8090 port.
In order to obtain the subcarrier change condition corresponding to each antenna and to make a better judgment on the behavior of the detected target, as shown in fig. 5, the system has six fixed arrays set according to the corresponding relationship between the transmitting antennas and the receiving antennas for storing the subcarrier information of different antennas and drawing the subcarrier information into six independent curves. Because the length of the array for storing the data is fixed, the data is updated every moment, the drawn curve is changed at every moment, the change condition of the subcarrier information is reflected, and the drawn six curves (figure 6) are stable because the undisturbed environment is adopted in the example.
Example 2
As shown in fig. 7, the present experimental example provides a system based on real-time visualization in an environment with interference, which includes a signal sending module (router), a data receiving module (antenna), a data processing and visualization module (microcomputer), and an observation target causing disturbance.
The operation steps of the second embodiment are basically the same as those of the first embodiment, and the difference is the observed result. In order to create an environment with disturbance, the present example employs a method of repeatedly waving hands between the receiving-end antenna and the transmitting-end antenna to create disturbance. At this time, it can be found by observing the drawn images (fig. 2-3) that the six curves are obviously disturbed, and because the waving frequency of the hands is fixed, the waving of the curves is more uniform, and the waving conditions of different curves are different, which means that the subcarrier information on different antennas is different, at this time, the received disturbances are inconsistent because the space areas corresponding to different antennas are different, and the amplitude and phase analysis can be performed on the changes, so that more specific information of the observation target, such as position, amplitude and the like, can be obtained
In order to achieve the above object, the present invention further provides a system for detecting subcarriers based on WIFI and visualizing them in real time, as shown in fig. 8, where the system specifically includes:
the acquisition processing unit is used for acquiring subcarrier data and performing dimension reduction and transposition processing on the subcarrier data; the definition transmitting unit is used for defining the position of the variable, acquiring the amplitude data of the single subcarrier at the corresponding moment and transmitting the amplitude data in real time in the variable; the creation unit is used for creating an array object and attributing the amplitude data to the creation unit in the array object; and the image generation unit is used for generating a corresponding visual image in real time according to the amplitude data in the array object.
Further, the acquisition processing unit is further provided with:
the fixed-length return-to-zero processing module is used for carrying out real-time fixed-length processing on the variable array and carrying out return-to-zero processing on the initial value;
the definition transmission unit is also provided with:
the definition acquisition module is used for defining the last variable to acquire the amplitude data of the single subcarrier at the current moment; the transmission storage module is used for enabling data to be continuously transmitted in the variable in a transmission mode and storing the variable;
the creation attribution unit is also provided with:
a first obtaining module for obtaining the number of transmitting and receiving antennas; the first establishing module is used for establishing array objects with corresponding quantity according to the quantity of the antennas;
the image generation unit is also provided with:
and the drawing processing module is used for repeating the drawing processing for a plurality of times through while circulation on the amplitude data stored in the array objects.
In the embodiment of the system scheme of the present invention, specific details of the method steps involved in detecting subcarriers based on WIFI and visualizing in real time are set forth above and are not described herein again.
In order to achieve the above object, the present invention further provides a WIFI-based subcarrier detection and real-time visualization platform, as shown in fig. 9, including:
the system comprises a processor, a memory and a platform control program which is based on WIFI detection subcarriers and is visualized in real time;
wherein the processor executes the WIFI detection subcarrier-based and real-time visualization platform control program, the WIFI detection subcarrier-based and real-time visualization platform control program is stored in the memory, the WIFI detection subcarrier-based and real-time visualization platform control program implements the WIFI detection subcarrier-based and real-time visualization method steps, such as:
s1, obtaining subcarrier data, and performing dimension reduction and transposition processing on the subcarrier data;
s2, defining the position of a variable, acquiring the amplitude data of a single subcarrier at a corresponding moment, and transmitting the amplitude data in the variable in real time;
s3, creating an array object, and putting the amplitude data into the array object;
and S4, generating a corresponding visual image in real time according to the amplitude data in the array object.
The details of the steps have been set forth above and will not be described herein.
In an embodiment of the present invention, the WIFI-based detection subcarrier and real-time visualization platform built-in processor may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, and includes one or more Central Processing Units (CPUs), a microprocessor, a digital Processing chip, a graphics processor, and a combination of various control chips. The processor acquires each component by utilizing various interfaces and line connections, and executes the programs or units stored in the memory by running or executing the programs or units and calls the data stored in the memory so as to detect the subcarriers based on the WIFI and visualize various functions and process the data in real time;
the memory is used for storing program codes and various data, is installed in a WIFI-based detection subcarrier real-time visualization platform, and realizes high-speed and automatic program or data access in the operation process.
The Memory includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable rewritable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical Disc Memory, magnetic disk Memory, tape Memory, or any other medium readable by a computer that can be used to carry or store data.
In order to achieve the above object, the present invention further provides a computer readable storage medium, as shown in fig. 4, where a WIFI detection subcarrier and real-time visualization platform control program is stored, and the WIFI detection subcarrier and real-time visualization platform control program implements the WIFI detection subcarrier and real-time visualization method steps, for example:
s1, obtaining subcarrier data, and performing dimension reduction and transposition processing on the subcarrier data;
s2, defining the position of a variable, acquiring the amplitude data of a single subcarrier at a corresponding moment, and transmitting the amplitude data in the variable in real time;
s3, creating an array object, and putting the amplitude data into the array object;
and S4, generating a corresponding visual image in real time according to the amplitude data in the array object.
The details of the steps have been set forth above and will not be described herein.
In describing embodiments of the present invention, it should be noted that any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and that the scope of the preferred embodiments of the present invention includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processing module-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM).
Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
In an embodiment of the present invention, to achieve the above object, the present invention further provides a chip system, where the chip system includes at least one processor, and when a program instruction is executed in the at least one processor, the chip system is enabled to execute the method steps of detecting subcarriers based on WIFI and visualizing in real time, for example:
s1, obtaining subcarrier data, and performing dimension reduction and transposition processing on the subcarrier data;
s2, defining the position of a variable, acquiring the amplitude data of a single subcarrier at a corresponding moment, and transmitting the amplitude data in the variable in real time;
s3, creating an array object, and putting the amplitude data into the array object;
and S4, generating a corresponding visual image in real time according to the amplitude data in the array object.
The details of the steps have been set forth above and will not be described herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The invention obtains the subcarrier data by the method, and carries out dimension reduction and transposition processing on the subcarrier data; defining a variable position, acquiring amplitude data of a single subcarrier at a corresponding moment, and transmitting the amplitude data in real time in a variable; creating an array object and putting the amplitude data into the array object; generating a corresponding visual image in real time according to the amplitude data in the array object; and the system and the platform corresponding to the method can provide a mode of visualizing the subcarrier information in real time by taking time as an abscissa and subcarrier as an ordinate, the amplitude values of the subcarrier at different moments in a certain time period can be presented on the same image, the change condition of the subcarrier in the time period can be clearly known by observing the drawn image, compared with the traditional subcarrier, the amplitude value characteristic of the subcarrier in the time period can be more easily seen, an observer can conveniently and directly extract the rough characteristic by using naked eyes, and the state of an observation target described by the subcarrier can be intuitively and accurately obtained. And the corresponding subcarrier information between different sending antennas and different receiving antennas within a certain period of time can be drawn at the same time, so that the phase and amplitude analysis can be conveniently carried out in real time, and more accurate target judgment can be favorably carried out. The scheme of the invention is easy to operate, the cost required by experimental equipment is low, whether the experimental environment is appropriate or not can be judged by real-time images under the condition of no interference in the using process, whether the experimental scene needs to be changed or not can be judged, and the experimental error caused by selecting the wrong experimental environment can be avoided to a certain extent.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A method for detecting subcarriers and visualizing the subcarriers in real time based on WIFI is characterized by comprising the following steps:
obtaining subcarrier data, and performing dimension reduction and transposition processing on the subcarrier data;
defining a variable position, acquiring amplitude data of a single subcarrier at a corresponding moment, and transmitting the amplitude data in real time in a variable;
creating an array object and putting the amplitude data into the array object;
and generating a corresponding visual image in real time according to the amplitude data in the array object.
2. The method according to claim 1, wherein the step of obtaining subcarrier data and performing dimension reduction and transposition on the subcarrier data further comprises the steps of:
and carrying out real-time fixed length processing on the variable column and carrying out zero setting processing on the initial value.
3. The method according to claim 1 or 2, wherein the subcarrier data is three-dimensional subcarrier data.
4. The WIFI-based subcarrier detection and real-time visualization method according to claim 1, wherein the step defines a position of a variable, obtains amplitude data of a single subcarrier at a corresponding time, and transmits the amplitude data in real time in the variable, further comprising the steps of:
defining a last variable to obtain amplitude data of a single subcarrier at the current moment;
the data are continuously transmitted in the variables in a transmission mode, and the variables are uniformly stored.
5. The method according to claim 1, wherein the step of creating an array object and grouping the amplitude data into the array object, further comprises the steps of:
acquiring the number of transmitting and receiving antennas;
and creating array objects with corresponding quantity according to the quantity of the antennas.
6. The method according to claim 1, wherein the step of generating the corresponding visual image in real time according to the amplitude data in the array object further comprises the following steps:
the rendering process is repeated a plurality of times by while loop for the magnitude data stored in the array object.
7. The utility model provides a detect subcarrier and real-time visual system based on WIFI which characterized in that the system specifically includes:
the acquisition processing unit is used for acquiring subcarrier data and performing dimension reduction and transposition processing on the subcarrier data; the definition transmitting unit is used for defining the position of the variable, acquiring the amplitude data of the single subcarrier at the corresponding moment and transmitting the amplitude data in real time in the variable; the creation unit is used for creating an array object and attributing the amplitude data to the creation unit in the array object; and the image generation unit is used for generating a corresponding visual image in real time according to the amplitude data in the array object.
8. The system according to claim 7, wherein the acquisition processing unit further comprises:
the fixed-length return-to-zero processing module is used for carrying out real-time fixed-length processing on the variable array and carrying out return-to-zero processing on the initial value;
the definition transmission unit is also provided with:
the definition acquisition module is used for defining the last variable to acquire the amplitude data of the single subcarrier at the current moment; the transmission storage module is used for enabling data to be continuously transmitted in the variable in a transmission mode and storing the variable;
the creation attribution unit is also provided with:
a first obtaining module for obtaining the number of transmitting and receiving antennas; the first establishing module is used for establishing array objects with corresponding quantity according to the quantity of the antennas;
the image generation unit is also provided with:
and the drawing processing module is used for repeating the drawing processing for a plurality of times through while circulation on the amplitude data stored in the array objects.
9. The utility model provides a detect subcarrier and real-time visual platform based on WIFI which characterized in that includes: the system comprises a processor, a memory and a platform control program which is based on WIFI detection subcarriers and is visualized in real time;
wherein the WIFI detection subcarrier-based and real-time visualization platform control program is executed on the processor, the WIFI detection subcarrier-based and real-time visualization platform control program is stored in the memory, and the WIFI detection subcarrier-based and real-time visualization platform control program implements the WIFI detection subcarrier-based and real-time visualization method steps of any of claims 1 to 6.
CN202111520831.8A 2021-12-13 2021-12-13 Method, system and platform for detecting subcarriers and visualizing subcarriers in real time based on WIFI Active CN114422050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111520831.8A CN114422050B (en) 2021-12-13 2021-12-13 Method, system and platform for detecting subcarriers and visualizing subcarriers in real time based on WIFI

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111520831.8A CN114422050B (en) 2021-12-13 2021-12-13 Method, system and platform for detecting subcarriers and visualizing subcarriers in real time based on WIFI

Publications (2)

Publication Number Publication Date
CN114422050A true CN114422050A (en) 2022-04-29
CN114422050B CN114422050B (en) 2023-01-13

Family

ID=81265899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111520831.8A Active CN114422050B (en) 2021-12-13 2021-12-13 Method, system and platform for detecting subcarriers and visualizing subcarriers in real time based on WIFI

Country Status (1)

Country Link
CN (1) CN114422050B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038419A (en) * 2017-11-16 2018-05-15 南京邮电大学 Wi-Fi-based indoor personnel passive detection method
CN109587645A (en) * 2018-11-12 2019-04-05 南京邮电大学 Personnel's recognition methods under indoor environment based on channel state information
CN110287863A (en) * 2019-06-24 2019-09-27 桂林电子科技大学 A kind of gesture identification method based on WiFi signal
CN110682914A (en) * 2019-09-29 2020-01-14 皖西学院 Driving behavior recognition system and method based on wireless perception
CN111225354A (en) * 2020-02-14 2020-06-02 重庆邮电大学 CSI human body falling identification method under WiFi interference environment
US20200343982A1 (en) * 2019-04-24 2020-10-29 Robert Bosch Gmbh Apparatus for person identification and motion direction estimation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038419A (en) * 2017-11-16 2018-05-15 南京邮电大学 Wi-Fi-based indoor personnel passive detection method
CN109587645A (en) * 2018-11-12 2019-04-05 南京邮电大学 Personnel's recognition methods under indoor environment based on channel state information
US20200343982A1 (en) * 2019-04-24 2020-10-29 Robert Bosch Gmbh Apparatus for person identification and motion direction estimation
CN110287863A (en) * 2019-06-24 2019-09-27 桂林电子科技大学 A kind of gesture identification method based on WiFi signal
CN110682914A (en) * 2019-09-29 2020-01-14 皖西学院 Driving behavior recognition system and method based on wireless perception
CN111225354A (en) * 2020-02-14 2020-06-02 重庆邮电大学 CSI human body falling identification method under WiFi interference environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JIANYAGN DING: "WiFi CSI-Based Human Activity Recognition Using Deep Recurrent Neural Network", 《IEEE ACCESS》 *
肖玲等: "基于WiFi信号的人体动作识别***", 《北京邮电大学学报》 *

Also Published As

Publication number Publication date
CN114422050B (en) 2023-01-13

Similar Documents

Publication Publication Date Title
EP2827155B1 (en) Analytical gateway device for measurement devices
CN104683458B (en) The method and server that a kind of wallpaper is recommended
CN106885627B (en) Diagnostic device, diagnostic system and diagnostic method
CN105045692A (en) Touch screen test apparatus and system and touch screen test control apparatus
CN102980535B (en) Angle measurement method and device
CN106407768B (en) A kind of determination of device-fingerprint, the method and apparatus that target device is identified
CN108872780A (en) Charge livewire work detection, system and the terminal device reconnoitred
CN114422050B (en) Method, system and platform for detecting subcarriers and visualizing subcarriers in real time based on WIFI
CN112985867B (en) Steering engine testing method, device, equipment and storage medium
CN113781481A (en) Method and device for non-contact measurement of shape and size of object and electronic equipment
CN112731030A (en) Electronic component detection method and device, terminal equipment and storage medium
CN111104915A (en) Method, device, equipment and medium for peer analysis
CN105930027A (en) Terminal prompting method and terminal
CN114104224B (en) Device management method, device, electronic device and computer readable storage medium
CN111949341A (en) Method, device and equipment for displaying information and storage medium
CN105022484A (en) Terminal operation method and user terminal
CN115328770A (en) Application program testing method and device, electronic equipment and storage medium
CN108595375A (en) a kind of filtering method, device and storage medium
CN111813741B (en) File sharing method and electronic equipment
CN111026989B (en) Page loading time detection method and device and electronic equipment
CN111426813B (en) Method and device for determining sand body communication quality and storage medium
CN103914225A (en) Information processing method and information processing device
CN107451205A (en) Navigation bar display method, navigation bar display device and mobile terminal
CN104009808B (en) Terminal device and its data transmission method
CN108228275B (en) Application program control method and device, mobile terminal and computer readable medium

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Liu Yong

Inventor after: Qiu Lingfeng

Inventor after: Xu Jinchen

Inventor after: Liao Senlin

Inventor after: Huang Huanxing

Inventor after: Luo Yun

Inventor after: Yang Kuo

Inventor after: Wang Hui

Inventor after: Cai Zhijia

Inventor after: Wang Keqing

Inventor before: Liu Yong

Inventor before: Qiu Lingfeng

Inventor before: Xu Jinchen

Inventor before: Liao Senlin

Inventor before: Huang Huanxing

Inventor before: Luo Yun

Inventor before: Yang Kuo

Inventor before: Wang Hui

Inventor before: Cai Zhijia

Inventor before: Wang Keqing

GR01 Patent grant
GR01 Patent grant