CN108966271B - WIFI module anti-interference method and device, terminal equipment and storage medium - Google Patents

WIFI module anti-interference method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN108966271B
CN108966271B CN201810813146.6A CN201810813146A CN108966271B CN 108966271 B CN108966271 B CN 108966271B CN 201810813146 A CN201810813146 A CN 201810813146A CN 108966271 B CN108966271 B CN 108966271B
Authority
CN
China
Prior art keywords
network information
hotspot
antenna
wifi module
module
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.)
Active
Application number
CN201810813146.6A
Other languages
Chinese (zh)
Other versions
CN108966271A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810813146.6A priority Critical patent/CN108966271B/en
Publication of CN108966271A publication Critical patent/CN108966271A/en
Application granted granted Critical
Publication of CN108966271B publication Critical patent/CN108966271B/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/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an anti-interference method and device for a WIFI module, terminal equipment and a storage medium, wherein the disclosed anti-interference method for the WIFI module comprises the following steps: acquiring N kinds of hot spot network information of each network hot spot around, which is obtained by scanning the antenna module; calculating the similarity between the N types of wireless network information in the current WIFI module and the hotspot network information corresponding to each network hotspot; and when the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is detected to be larger than a preset interference threshold value, carrying out configuration optimization on the antenna working parameters of the antenna module. According to the scheme provided by the invention, the data transmission delay and the data transmission packet loss rate of the WIFI module can be effectively reduced.

Description

WIFI module anti-interference method and device, terminal equipment and storage medium
Technical Field
The invention relates to the technical field of wireless communication, in particular to an anti-interference method and device for a WIFI module, terminal equipment and a storage medium.
Background
At present, an interactive intelligent panel (an integrated device for controlling content displayed on a display panel and realizing human-computer interaction operation through a touch technology) has functions of remote audio-video communication in a conference, high-definition display of conference documents in various formats, video file playing, on-site sound, screen writing, file labeling, storage, printing, distribution and the like, is widely applied to education and teaching, enterprise conferences and commercial exhibition, and can effectively improve communication environment and improve group communication efficiency. And mutual intelligent tablet can also carry out communication connection with other electronic equipment owing to have the WIFI module.
The inventor finds that the following technical problems exist in the prior art in the process of implementing the invention: when the interactive intelligent tablet is in a network environment with numerous wireless hotspot devices, data communication work of the WIFI module of the interactive intelligent tablet can be seriously interfered by signals, so that data transmission delay of the WIFI module of the interactive intelligent tablet is high, and data transmission packet loss rate is high.
Disclosure of Invention
The embodiment of the invention provides an anti-interference method and device for a WIFI module, terminal equipment and a storage medium, which can effectively solve the technical problems of high data transmission delay and high data transmission packet loss rate when the WIFI module is interfered by signals in the prior art.
An embodiment of the invention provides an anti-interference method for a WIFI module, which comprises the following steps:
acquiring N kinds of hot spot network information of each network hot spot around, which is obtained by scanning the antenna module; n is an integer and N is not less than 1;
calculating the similarity between the N types of wireless network information in the current WIFI module and the hotspot network information corresponding to each network hotspot; the N kinds of wireless network information correspond to the N kinds of hotspot network information one to one;
and when the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is detected to be larger than a preset interference threshold value, carrying out configuration optimization on the antenna working parameters of the antenna module.
As an improvement of the above scheme, the step of calculating similarity between the N types of wireless network information in the current WIFI module and the hotspot network information corresponding to each network hotspot includes:
normalizing the N kinds of hotspot network information of each network hotspot to correspondingly obtain a hotspot network information vector matrix of each network hotspot;
and performing cosine value calculation on each hotspot network information vector matrix and N types of wireless network information in the current WIFI module by a cosine similarity algorithm to obtain the similarity between the N types of wireless network information and the corresponding hotspot network information of each network hotspot.
As an improvement of the above scheme, when it is detected that the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is greater than a preset interference threshold, the step of configuring and optimizing the antenna operating parameters of the antenna module includes:
when the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is detected to be larger than a preset interference threshold value, the similarity between the N types of wireless network information and the hot spot network information corresponding to each network hot spot is used as an input quantity and is input into a preset antenna working parameter adjustment model to obtain an antenna working parameter adjustment vector matrix;
and obtaining a corresponding antenna working parameter adjusting instruction according to the antenna working parameter adjusting vector matrix so that the antenna module configures the antenna working parameters according to the antenna working parameter adjusting instruction.
As an improvement of the above scheme, the preset antenna working parameter adjustment model is obtained by performing data training on sample data in advance through a bp neural network algorithm; and the sample data comprises the similarity between the N kinds of wireless network information and the corresponding hotspot network information and an antenna working parameter adjustment vector matrix.
As an improvement of the above scheme, the anti-interference method for the WIFI module further includes the following steps:
vectorizing a current data queue of a WIFI module to obtain a data transmission vector matrix of the WIFI module;
performing data processing on the data transmission vector matrix through a preset scheduling algorithm to obtain a resource scheduling parameter vector matrix of data transmission operation of the WIFI module;
and scheduling the resources of the data transmission operation of the WIFI module according to the resource scheduling parameter vector matrix.
As an improvement of the above scheme, the step of performing data processing on the data transmission vector matrix through a preset scheduling algorithm to obtain a resource scheduling parameter vector matrix of the data transmission job of the WIFI module includes:
splitting the data transmission vector matrix into a plurality of subdata transmission units;
calculating the minimum resource required by each subdata transmission unit to finish data transmission through a preset scheduling algorithm;
and combining the minimum resources of each subdata transmission unit to obtain a resource scheduling parameter vector matrix of the data transmission operation of the WIFI module.
Another embodiment of the present invention correspondingly provides an anti-interference device for a WIFI module, which includes:
the acquisition module is used for acquiring N types of hot spot network information of each network hot spot around, which is obtained by scanning the antenna module;
the calculation module is used for calculating the similarity between the N types of wireless network information in the current WIFI module and the hotspot network information corresponding to each network hotspot; the N kinds of wireless network information correspond to the N kinds of hotspot network information one to one;
and the configuration optimization module is used for performing configuration optimization on the antenna working parameters of the antenna module when the similarity between the wireless network information and the corresponding hotspot network information of any network hotspot is detected to be greater than a preset interference threshold value.
Another embodiment of the present invention provides a terminal device having a WIFI module, including a WIFI module, an antenna module, a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor; the WIFI module, the antenna module and the memory are all connected with the processor; the processor implements the anti-interference method for the WIFI module according to the embodiment of the present invention when executing the computer program.
As an improvement of the above scheme, the antenna module includes an antenna unit and a gain filtering unit connected between the antenna unit and the WIFI module;
the antenna unit is used for transmitting signals and receiving signals; the gain filtering unit is used for filtering the antenna signal received by the antenna unit and configuring the antenna working parameters of the antenna unit under the control of the processor.
Another embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the WIFI module anti-interference method according to the foregoing embodiment of the present invention.
According to the anti-interference method, the anti-interference device, the terminal equipment and the storage medium for the WIFI module provided by the embodiment, N kinds of hotspot network information of each network hotspot around, which is obtained by scanning by the antenna module at present, are obtained; then, calculating the similarity between the N types of wireless network information in the current WIFI module and the hotspot network information corresponding to each network hotspot; and finally, when the similarity between the wireless network information and the hotspot network information corresponding to any network hotspot is detected to be greater than a preset interference threshold, configuring and optimizing the antenna working parameters of the antenna module to ensure that hotspot signals of surrounding network hotspots do not interfere with the data transmission work of the WIFI module of the terminal device, so that the WIFI module of the terminal device can effectively reduce data transmission delay and data transmission packet loss rate even in a complex environment of a surrounding wireless network.
Drawings
Fig. 1 is a schematic diagram of a network environment in which a terminal device is located according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an anti-interference method for a WIFI module according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another anti-interference method for a WIFI module according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an anti-interference device of a WIFI module according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another WIFI module anti-jamming device provided in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of an antenna operating parameter adjustment model obtained through training of a bp neural network algorithm.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, in the embodiment of the present invention, when a terminal device 50 having a WIFI communication function is in a network environment having a plurality of network hotspot devices 51 (e.g., a tablet computer, a smart phone, a wireless router, or the like), a data transmission operation of a WIFI module 2 of the terminal device 50 may be interfered by signals of the network hotspot devices 51, and for this situation, an anti-interference method for the WIFI module is provided in the embodiment of the present invention. Fig. 2 is a schematic flow chart of the anti-interference method for the WIFI module according to the embodiment of the present invention.
The anti-interference method for the WIFI module provided in this embodiment may be executed by the terminal device 50 having the WIFI module 2, where the terminal device 50 may be implemented in a software and/or hardware manner, and the terminal device 50 may be formed by two or more physical entities, or may be formed by one physical entity. The terminal device 50 may be a tablet computer, a smart phone, a wireless router, or an interactive smart tablet, etc. In an embodiment, an interactive smart tablet is taken as the terminal device 50 for example, where the interactive smart tablet may be an integrated device that controls content displayed on a display tablet and realizes human-computer interaction operation through a touch technology, and integrates one or more functions of a projector, an electronic whiteboard, a curtain, a sound, a television, WIFI communication, a video conference terminal, and the like.
In the embodiment, the interactive smart tablet has a WIFI module 2 and an antenna module 1 connected to the WIFI module 2, wherein the antenna module 1 is configured to transmit a signal and receive a signal of an external electronic device, and the WIFI module 2 is configured to process the signal received by the antenna module 1 into WIFI data and transmit the generated WIFI data through the antenna module 1. In an embodiment, the interactive smart tablet establishes a WIFI communication connection with the antenna module 1 and other external electronic devices through the WIFI module 2, where the external electronic devices include but are not limited to: tablet computers, smart phones, wireless routers, or the like.
Optionally, the anti-interference WIFI module application software is installed in the interactive smart tablet, and is used for improving the anti-interference capability of the WIFI module 2 of the interactive smart tablet, and the anti-interference WIFI module application software may be installed in the interactive smart tablet in advance, or may be downloaded from a third-party device or a server and installed for use when the interactive smart tablet starts a WIFI application. The third-party device is not limited in the embodiment. Specifically, when the interactive intelligent tablet is in WIFI communication connection with other electronic equipment, the anti-interference application software of the WIFI module can be automatically started or even started through user operation, and then the anti-interference application software of the WIFI module runs, so that the anti-interference capability of the WIFI module 2 of the interactive intelligent tablet is improved.
Specifically, referring to fig. 1, the anti-interference method for the WIFI module provided in the embodiment of the present invention includes steps S10 to S12:
s10, acquiring N kinds of hot spot network information of each network hot spot around, which is obtained by scanning the antenna module 1; n is an integer and N is not less than 1.
Specifically, the interactive smart tablet scans WIFI signals of surrounding network hotspot devices 51 (for example, a tablet computer, a smart phone, a wireless router, or the like) through the antenna module 1 of the interactive smart tablet, and the antenna module 1 receives the WIFI signals of each surrounding network hotspot device 51 and scans N types of hotspot network information (the hotspot network information is network information of the hotspot devices 51 during wireless work) in the WIFI signals of the network hotspot devices 51.
The hotspot network information includes a wireless Channel (Channel), Signal Quality (Quality), Signal level (Signal level), Signal Frequency (Frequency), Signal Protocol (Protocol), Address information (Address), operating Mode (Mode), hotspot name (ESSID), Group Cipher (Group Cipher), pairing Cipher (pair Ciphers), and Encryption key (Encryption key).
And S11, calculating the similarity between the N types of wireless network information in the current WIFI module 2 and the hotspot network information corresponding to each network hotspot.
The N kinds of wireless network information and the N kinds of hotspot network information correspond to each other one by one, and the wireless network information and the hotspot network information which correspond to each other are the same kind of information parameters. The wireless network information includes a wireless Channel (Channel), a Signal Quality (Quality), a Signal level (Signal level), a Signal Frequency (Frequency), a Signal Protocol (Protocol), Address information (Address), an operation Mode (Mode), a hotspot name (ESSID), a Group Cipher (Group Cipher), a pair Cipher (pair Ciphers), and a key (encryption key). For example, when the hotspot network information includes the following three types: a radio Channel (Channel), a signal Frequency (Frequency) and an operating Mode (Mode); then the wireless network information also includes the three above: radio Channel (Channel), signal Frequency (Frequency) and operating Mode (Mode). In addition, the wireless network information in the WIFI module 2 is network information of the WIFI module 2 during wireless operation, and may be obtained by analyzing and processing a currently received data frame by the WIFI module 2.
When the N types of wireless network information are the same as the corresponding hotspot network information, the surrounding network hotspot devices 51 may interfere with the wireless work of the WIFI module 2 of the interactive smart tablet. For example, when the wireless channel of the interactive smart tablet is the same as or overlaps with the wireless channels of the other network hotspot devices 51 around, then the other network hotspot devices 51 around may interfere with the data transmission operation of the WIFI module 2 of the interactive smart tablet.
Specifically, in this step, in order to determine whether the WIFI signals of the surrounding network hotspots interfere with the WIFI module 2 of the interactive smart tablet, similarity between the N types of wireless network information in the WIFI module 2 and the hotspot network information corresponding to each network hotspot may be calculated, and then it is detected whether the similarity between the wireless network information and the hotspot network information corresponding to any network hotspot is greater than a preset threshold.
And S12, when the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is detected to be greater than a preset interference threshold, performing configuration optimization on the antenna working parameters of the antenna module 1.
Specifically, when it is detected that the similarity between the wireless network information and the hotspot network information corresponding to any network hotspot is greater than a preset interference threshold, it indicates that the current WIFI signal of the surrounding network hotspot interferes with the data transmission work of the WIFI module 2 of the device, and at this time, the configuration optimization is performed on the antenna working parameters of the antenna module 1, so as to improve the anti-interference capability of the antenna module 1 and optimize the signal-to-noise ratio SNR, and ensure that the work of the WIFI module 2 is not interfered by the WIFI signal of the surrounding network hotspot.
The antenna operating parameters may include a signal frequency band, a transmission power, a reception sensitivity, an antenna polarization angle, and the like, and when it is detected that the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is greater than a preset interference threshold, one or more of the following configuration optimization measures may be taken for the operating parameters of the antenna module 1: 1. properly adjusting the transmitting power of the antenna module 1 to avoid the signal range of the antenna module 1 from overlapping with the signal ranges of other network hot spots around as much as possible; 2. properly adjusting the receiving sensitivity of the antenna module 1 to improve the signal-to-noise ratio and the anti-interference capability of the antenna module 1; 3. configuring working parameters of the antenna module 1, and after the antenna module 1 is configured, making the similarity between the N types of wireless network information in the WIFI module 2 and the hotspot network information corresponding to each network hotspot smaller than a preset threshold, for example: if the hotspot network information and the wireless network information both include wireless channels, when it is detected that the similarity between the wireless channel in the wireless network information and the wireless channel in the hotspot network information of a certain network hotspot is higher (that is, the wireless channels of the two are the same or overlapped), the working parameter of the signal frequency band in the antenna module 1 may be adjusted, so that the adjusted signal frequency band of the antenna module 1 is staggered with the signal frequency band of the surrounding network hotspot, and thus, the wireless channel in the wireless network information is different from and not overlapped with the wireless channel in the hotspot network information of the surrounding network hotspot. Of course, other configuration optimization measures in the prior art may also be adopted to optimize the operating parameters of the antenna module 1, which is not particularly limited.
Optionally, when it is detected that the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is greater than a preset interference threshold, the antenna operating parameter of the antenna module 1 may be configured to be enhanced, so as to enhance the operating performance of the antenna module 1, for example: the transmission power of the antenna module 1 may be appropriately enhanced or the reception sensitivity of the antenna module 1 may be appropriately enhanced.
In the embodiment of the invention, firstly, N kinds of hot spot network information of each network hot spot around the antenna module 1 are obtained by scanning; then, calculating the similarity between the N types of wireless network information in the current WIFI module 2 and the hotspot network information corresponding to each network hotspot; finally, when it is detected that the similarity between the wireless network information and the hotspot network information corresponding to any network hotspot is greater than a preset interference threshold, the antenna operating parameters of the antenna module 1 are configured and optimized, so that the anti-interference capability of the antenna module 1 can be improved, and it is ensured that hotspot signals of surrounding network hotspots do not interfere with the data transmission operation of the WIFI module 2 of the terminal device 50, so that the WIFI module 2 of the terminal device 50 can effectively reduce data transmission delay and data transmission packet loss rate even in a complex environment of a surrounding wireless network.
To facilitate an understanding of embodiments of the present invention, the following more specific schemes are provided herein:
specifically, the step S11 specifically includes steps S110 to S111:
s110, normalization processing is carried out on the N kinds of hotspot network information of each network hotspot, and a hotspot network information vector matrix of each network hotspot is correspondingly obtained.
Specifically, after the N types of hotspot network information of each network hotspot are acquired, in order to facilitate subsequent data processing on these parameter data, normalization processing is performed on the N types of hotspot network information of each network hotspot, and a hotspot network information vector matrix of each network hotspot is correspondingly obtained. And each kind of hotspot network information of each network hotspot after data processing is used as a matrix element of the corresponding hotspot network information vector matrix.
And S111, performing cosine value calculation on each hotspot network information vector matrix and the N types of wireless network information in the current WIFI module 2 through a cosine similarity calculation method to obtain the similarity between the N types of wireless network information and the corresponding hotspot network information of each network hotspot.
Specifically, by the cosine similarity algorithm:
Figure GDA0001810646090000101
cosine value calculation is performed on each hotspot network information vector matrix and the N types of wireless network information in the current WIFI module 2, wherein a in a cosine similarity algorithm formula represents each matrix element (i.e. each type of hotspot network information) in the hotspot network information vector matrix, and b represents each type of wireless network information in the current network of the WIFI module 2. Through the calculation of the formula, the similarity between the N types of wireless network information and the hotspot network information corresponding to each network hotspot can be obtained. It should be noted that, the similarity between the N types of wireless network information and the corresponding hotspot network information of each network hotspot may also be calculated by using other existing similarity algorithms.
As an improvement of the above scheme, the step S12 specifically includes steps S120 to S121:
and S120, when the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is detected to be larger than a preset interference threshold value, inputting the similarity between the N types of wireless network information and the hot spot network information corresponding to each network hot spot into a preset antenna working parameter adjustment model by taking the similarity as an input quantity to obtain an antenna working parameter adjustment vector matrix.
Specifically, when the WIFI signals of the surrounding network hotspots generate constant interference on the operation of the WIFI module 2 of the interactive smart tablet, the interactive smart tablet detects that the similarity between the wireless network information and the hotspot network information corresponding to any network hotspot is greater than a preset interference threshold, and at this time, the similarity between the N types of wireless network information and the hotspot network information corresponding to each network hotspot is input as an input quantity to a preset antenna operating parameter adjustment model to obtain an antenna operating parameter adjustment vector matrix, where a matrix element in the vector matrix is specific adjustment data of an antenna operating parameter. The preset antenna working parameter adjustment model is obtained by performing data training on a large amount of sample data in advance; more specifically, the data training is performed on the sample data in advance through a bp neural network algorithm (of course, other model training algorithms may also be used); and the sample data comprises the similarity between the N kinds of wireless network information and the corresponding hotspot network information and an antenna working parameter adjustment vector matrix.
Illustratively, the antenna operating parameter adjustment model obtained by training the bp neural network algorithm is shown in fig. 7:
it should be noted that the number of the antenna operation parameter adjustment model hidden layers may be one or more, and the parameters in the antenna operation parameter adjustment model are described as follows:
d is the number of neurons in the input layer; l is the number of neurons in the output layer; q is the number of hidden layer neurons; thetajA threshold for the jth neuron of the output layer; gamma rayhA threshold for the h neuron of the hidden layer; v. ofihConnecting weights of the ith neuron of the input layer and the h neuron of the hidden layer; w is ahjThe connection weight of the h-th neuron of the hidden layer and the j-th neuron of the output layer is obtained; bhThe output of the h neuron of the hidden layer;
Figure GDA0001810646090000111
input for the h neuron of the hidden layer;
Figure GDA0001810646090000112
is the input to the jth neuron of the output layer.
For example, the similarity between the N types of wireless network information and the corresponding hotspot network information of each network hotspot is used as an input parameter D ═ { x1, x 2., x ═ xdAnd d ∈ R and d ═ N are input into the antenna working parameter adjustment model, and finally an antenna working parameter adjustment vector matrix Y ═ Y1, Y2l},yl∈R。
And S121, obtaining a corresponding antenna working parameter adjusting instruction according to the antenna working parameter adjusting vector matrix, so that the antenna module 1 configures the antenna working parameters according to the antenna working parameter adjusting instruction.
For example, referring to fig. 1, assuming that two network hotspot devices 51A and B are located around the interactive smart board, the hotspot network information and the wireless network information both include wireless channels, and a matrix element in the antenna working parameter adjustment vector matrix is a signal frequency band, if the interactive smart board detects that the similarity between the wireless channel parameter in the WIFI module 2 and the wireless channel parameter of a is the same, and the similarity between the wireless channel parameter of B and the wireless channel parameter of a is different, the two similarities are input into the preset antenna working parameter adjustment model as input quantities, at this time, the preset antenna working parameter adjustment model outputs an antenna working parameter adjustment vector matrix according to the two similarities, and the matrix element in the antenna working parameter adjustment vector matrix is the signal frequency band, and the signal frequency band in the antenna working parameter adjustment vector matrix is different from and does not overlap with the signal frequency bands of the A and B devices. After the antenna working parameter adjustment vector matrix is obtained, the interactive intelligent panel obtains an antenna working parameter adjustment instruction through the vector matrix, and the antenna module 1 reconfigures the signal frequency band according to the antenna working parameter adjustment instruction.
As an improvement of the above scheme, the antenna module 1 includes an antenna unit 100 and a gain filtering unit 101 connected between the antenna unit 100 and the WIFI module 2; the antenna unit 100 is used for transmitting and receiving signals; the gain filtering unit 101 is configured to filter an antenna signal received by the antenna unit 100, and configure the antenna operating parameter of the antenna unit 100 according to the antenna operating parameter adjustment instruction.
The above embodiments are all directed to the aspect of signals, so as to improve the signal anti-interference capability of the WIFI module 2 and the antenna module 1 of the interactive smart tablet. In order to further improve the data transmission work anti-interference capability of the WIFI module 2 of the interactive smart tablet, the data transmission of the WIFI module 2 is optimized, specifically, referring to fig. 3, the optimized scheme for data transmission is: step S20 to step S22, that is, the WIFI module anti-jamming method further includes step S20 to step S22:
and S20, vectorizing the current data queue of the WIFI module 2 to obtain a data transmission vector matrix of the WIFI module 2.
Specifically, the WIFI module 2 performs data transmission in the form of a data queue, where the data queue has two forms, namely a data sending queue and a data receiving queue, so that there may be the following three conditions that "vectorize the current data queue of the WIFI module 2 to obtain the data transmission vector matrix of the WIFI module 2": 1. vectorizing a current data receiving queue of the WIFI module 2 to obtain a data transmission vector matrix of the WIFI module 2; 2. vectorizing a current data sending queue of the WIFI module 2 to obtain a data transmission vector matrix of the WIFI module 2; 3. and vectorizing the current data receiving queue and the data sending queue of the WIFI module 2 together to obtain a data transmission vector matrix of the WIFI module 2. It will be appreciated that the matrix elements in the data transfer vector matrix are the data in the data queue.
And S21, performing data processing on the data transmission vector matrix through a preset scheduling algorithm to obtain a resource scheduling parameter vector matrix of the data transmission operation of the WIFI module 2.
Specifically, the data transmission vector matrix is subjected to data processing by a preset scheduling algorithm to analyze resources required by each data transmission task (i.e., a sub-data transmission unit mentioned below) of the data transmission job of the WIFI module 2, and thus a resource scheduling parameter vector matrix of the data transmission job of the WIFI module 2 is formed. Vector elements in the resource scheduling parameter vector matrix are resources required by each data transmission task (the resources include a CPU occupation rate, an IRQ interrupt usage number, a memory usage rate, a process overhead number, a GPU usage rate, a work queue concurrency number, a process task priority, and the like). Optionally, the scheduling algorithm may be a full fair scheduling algorithm and/or a real-time scheduling algorithm, and is not specifically limited herein.
Further, the step S21 includes steps S210 to S212:
s210, splitting the data transmission vector matrix into a plurality of sub-data transmission units.
Each sub data transmission unit comprises a part of data in the data queue.
S211, calculating the minimum resource required by each subdata transmission unit to finish data transmission through a preset scheduling algorithm.
And S212, combining the minimum resources of each sub-data transmission unit to obtain a resource scheduling parameter vector matrix of the data transmission operation of the WIFI module 2.
And S22, scheduling the resources of the data transmission operation of the WIFI module 2 according to the resource scheduling parameter vector matrix.
Specifically, the resource scheduling parameter vector matrix is acted on a system kernel (kernel) of the interactive intelligent panel, and the resource scheduling of the data transmission operation of the WIFI module 2 is completed by the system kernel.
In the improved embodiment, firstly, a data transmission vector matrix of the WIFI module 2 is obtained by vectorizing a current data queue of the WIFI module 2; then, performing data processing on the data transmission vector matrix through a preset scheduling algorithm to obtain a resource scheduling parameter vector matrix of the data transmission job of the WIFI module 2; and finally, scheduling the resources of the data transmission operation of the WIFI module 2 according to the resource scheduling parameter vector matrix, so that the data transmission capability of the WIFI module 2 can be optimized, and the data transmission delay and the data transmission packet loss rate can be further effectively reduced.
Referring to fig. 4, another embodiment of the present invention correspondingly provides an anti-interference device for a WIFI module, including:
an obtaining module 10, configured to obtain N types of hotspot network information of each network hotspot around, which is currently scanned by the antenna module 1;
the calculating module 11 is configured to calculate similarities between the N types of wireless network information in the current WIFI module 2 and hotspot network information corresponding to each network hotspot; the N kinds of wireless network information correspond to the N kinds of hotspot network information one to one;
the configuration optimization module 12 is configured to optimize the antenna working parameters of the antenna module 1 when it is detected that the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is greater than a preset interference threshold.
As a modification of the above embodiment, the calculation module 11 includes:
the normalization unit is used for performing normalization processing on the N types of hotspot network information of each network hotspot to correspondingly obtain a hotspot network information vector matrix of each network hotspot;
and the similarity calculation unit is used for performing cosine value calculation on each hotspot network information vector matrix and the N types of wireless network information in the current WIFI module 2 through a cosine similarity calculation method to obtain the similarity between the N types of wireless network information and the corresponding hotspot network information of each network hotspot.
As a modification of the above embodiment, the configuration optimization module 12 includes:
the input unit is used for inputting the similarity between the N types of wireless network information and the corresponding hotspot network information of each network hotspot into a preset antenna working parameter adjustment model to obtain an antenna working parameter adjustment vector matrix when the similarity between the wireless network information and the corresponding hotspot network information of any network hotspot is detected to be greater than a preset interference threshold;
the configuration unit is used for obtaining a corresponding antenna working parameter adjustment instruction according to the antenna working parameter adjustment vector matrix so as to enable the antenna module 1 to configure the antenna working parameters according to the antenna working parameter adjustment instruction; wherein the antenna operating parameters include at least one of: signal frequency band, transmission power, reception sensitivity, and antenna polarization angle.
As an improvement of the above embodiment, referring to fig. 5, the WIFI module immunity device further includes:
the vectorization module 20 is configured to vectorize a current data queue of the WIFI module 2 to obtain a data transmission vector matrix of the WIFI module 2;
the data processing module 21 is configured to perform data processing on the data transmission vector matrix through a preset scheduling algorithm to obtain a resource scheduling parameter vector matrix of the data transmission job of the WIFI module 2;
and the resource scheduling module 22 is configured to schedule the resources of the data transmission job of the WIFI module 2 according to the resource scheduling parameter vector matrix.
As a modification of the above embodiment, the data processing module 21 includes:
the splitting unit is used for splitting the data transmission vector matrix into a plurality of subdata transmission units;
the resource calculation unit is used for calculating the minimum resource required by each subdata transmission unit for completing data transmission through a preset scheduling algorithm;
and the merging unit is used for merging the minimum resources of each sub-data transmission unit to obtain a resource scheduling parameter vector matrix of the data transmission operation of the WIFI module 2.
In the embodiment of the present invention, firstly, the obtaining module 10 obtains N kinds of hot spot network information of each network hot spot around currently obtained by scanning by the antenna module 1; then, calculating the similarity between the N types of wireless network information in the current WIFI module 2 and the hotspot network information corresponding to each network hotspot through the calculation module 11; finally, when it is detected that the similarity between the wireless network information and the hotspot network information corresponding to any network hotspot is greater than a preset interference threshold value, the configuration optimization module 12 performs configuration optimization on the antenna working parameters of the antenna module 1 to ensure that hotspot signals of surrounding network hotspots do not interfere with data transmission work of the WIFI module 2 of the terminal device 50, so that even in a complex environment of a surrounding wireless network, the WIFI module 2 of the terminal device 50 can effectively reduce data transmission delay and data transmission packet loss rate.
Referring to fig. 6, a schematic diagram of a terminal device 50 according to an embodiment of the present invention is provided. The terminal device 50 of this embodiment includes: the WIFI module 2 described above, the antenna module 1 described above, the processor 3, the memory 4, and a computer program stored in the memory 4 and executable on the processor 3, such as a WIFI module tamper-resistant program. The WIFI module 2, the antenna module 1 and the memory 4 are all connected with the processor 3; when the processor 3 executes the computer program, the steps in the foregoing WIFI module anti-interference method embodiments are implemented, for example, steps S10 to S12 shown in fig. 1. Alternatively, the processor 3, when executing the computer program, implements the functions of the modules/units in the above-mentioned device embodiments, such as the obtaining module 10, the calculating module 11 and the configuration optimizing module 12.
Ideally, referring to fig. 6, the antenna module 1 includes an antenna unit 100 and a gain filtering unit 101 connected between the antenna unit 100 and the WIFI module 2; the antenna unit 100 is used for transmitting and receiving signals; the gain filtering unit 101 is configured to filter the antenna signal received by the antenna unit 100, so as to improve the signal-to-noise ratio of the antenna module 1, and the gain filtering unit 101 is further configured to configure the antenna operating parameters of the antenna unit 100 according to the anti-interference methods of the WIFI modules in the above embodiments under the control of the processor 3, so as to improve the anti-interference capabilities of the antenna module 1 and the WIFI module 2.
In order to further improve the interference immunity of the WIFI module 2, referring to fig. 6, the WIFI module 2 is covered with a shielding cover 5 to shield external interference signals.
Illustratively, the computer program may be divided into one or more modules/units, which are stored in the memory 4 and executed by the processor 3 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the WIFI module anti-jamming device/terminal equipment 50.
The terminal device 50 may be a computing device such as an interactive smart tablet, a desktop computer, a notebook, a palm computer, and a cloud server. The terminal device 50 may include, but is not limited to, a processor 3 and a memory 4. It will be understood by those skilled in the art that the schematic diagram is merely an example of the terminal device 50, and does not constitute a limitation to the terminal device 50, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device 50 may further include an input-output device, a network access device, a bus, etc.
The Processor 3 may be a Central Processing Unit (CPU), other general purpose Processor 3, a Digital Signal Processor 3 (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general-purpose processor 3 may be a microprocessor 3 or the processor 3 may be any conventional processor 3 or the like, said processor 3 being the control center of said terminal device 50, the various parts of the whole terminal device 50 being connected by means of various interfaces and lines.
The memory 4 can be used for storing the computer programs and/or modules, and the processor 3 implements various functions of the terminal device 50 by running or executing the computer programs and/or modules stored in the memory 4 and calling data stored in the memory 4. The memory 4 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 4 may include a high speed random access memory 4, and may also include a non-volatile memory 4, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one piece of disk storage 4, a Flash memory device, or other volatile solid state storage 4.
Wherein, the integrated module/unit of the terminal device 50 can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium and used by the processor 3 to implement the steps of the above embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory 4, Read-Only Memory 4 (ROM), Random Access Memory 4 (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (9)

1. An anti-interference method for a WIFI module is characterized by comprising the following steps:
acquiring N kinds of hot spot network information of each network hot spot around, which is obtained by scanning the antenna module; n is an integer and N is not less than 1;
calculating the similarity between the N types of wireless network information in the current WIFI module and the hotspot network information corresponding to each network hotspot; the N kinds of wireless network information correspond to the N kinds of hotspot network information one to one; the step of calculating the similarity between the N types of wireless network information in the current WIFI module and the hotspot network information corresponding to each network hotspot comprises the following steps:
normalizing the N kinds of hotspot network information of each network hotspot to correspondingly obtain a hotspot network information vector matrix of each network hotspot;
performing cosine value calculation on each hotspot network information vector matrix and N types of wireless network information in the current WIFI module by a cosine similarity algorithm to obtain the similarity between the N types of wireless network information and the corresponding hotspot network information of each network hotspot;
and when the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is detected to be larger than a preset interference threshold value, carrying out configuration optimization on the antenna working parameters of the antenna module.
2. The WIFI module anti-interference method according to claim 1, wherein the step of performing configuration optimization on the antenna operating parameters of the antenna module when it is detected that the similarity between the wireless network information and the hotspot network information corresponding to any network hotspot is greater than a preset interference threshold includes:
when the similarity between the wireless network information and the hot spot network information corresponding to any network hot spot is detected to be larger than a preset interference threshold value, the similarity between the N types of wireless network information and the hot spot network information corresponding to each network hot spot is used as an input quantity and is input into a preset antenna working parameter adjustment model to obtain an antenna working parameter adjustment vector matrix;
obtaining a corresponding antenna working parameter adjusting instruction according to the antenna working parameter adjusting vector matrix so that the antenna module configures antenna working parameters according to the antenna working parameter adjusting instruction; wherein the antenna operating parameters include at least one of: signal frequency band, transmission power, reception sensitivity, and antenna polarization angle.
3. The WIFI module anti-interference method according to claim 2, wherein the preset antenna working parameter adjustment model is obtained by performing data training on sample data through a bp neural network algorithm in advance; and the sample data comprises the similarity between the N kinds of wireless network information and the corresponding hotspot network information and an antenna working parameter adjustment vector matrix.
4. The WIFI module immunity method of claim 1, further comprising the steps of:
vectorizing a current data queue of a WIFI module to obtain a data transmission vector matrix of the WIFI module;
performing data processing on the data transmission vector matrix through a preset scheduling algorithm to obtain a resource scheduling parameter vector matrix of data transmission operation of the WIFI module;
and scheduling the resources of the data transmission operation of the WIFI module according to the resource scheduling parameter vector matrix.
5. The WIFI module anti-interference method according to claim 4, wherein the step of performing data processing on the data transmission vector matrix through a preset scheduling algorithm to obtain a resource scheduling parameter vector matrix of the data transmission job of the WIFI module includes:
splitting the data transmission vector matrix into a plurality of subdata transmission units;
calculating the minimum resource required by each subdata transmission unit to finish data transmission through a preset scheduling algorithm;
and combining the minimum resources of each subdata transmission unit to obtain a resource scheduling parameter vector matrix of the data transmission operation of the WIFI module.
6. The utility model provides a WIFI module anti jamming unit which characterized in that includes:
the acquisition module is used for acquiring N types of hot spot network information of each network hot spot around, which is obtained by scanning the antenna module;
the calculation module is used for calculating the similarity between the N types of wireless network information in the current WIFI module and the hotspot network information corresponding to each network hotspot; the N kinds of wireless network information correspond to the N kinds of hotspot network information one to one; the computing module is further configured to perform normalization processing on the N types of hotspot network information of each network hotspot to obtain a hotspot network information vector matrix of each network hotspot correspondingly; performing cosine value calculation on each hotspot network information vector matrix and N types of wireless network information in the current WIFI module by a cosine similarity algorithm to obtain the similarity between the N types of wireless network information and the corresponding hotspot network information of each network hotspot;
and the configuration optimization module is used for performing configuration optimization on the antenna working parameters of the antenna module when the similarity between the wireless network information and the corresponding hotspot network information of any network hotspot is detected to be greater than a preset interference threshold value.
7. A terminal device comprising a WIFI module, an antenna module, a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor; the WIFI module, the antenna module and the memory are all connected with the processor; the processor, when executing the computer program, implements the WIFI module immunity method of any one of claims 1 to 5.
8. The terminal device of claim 7, wherein the antenna module comprises an antenna unit and a gain filtering unit connected between the antenna unit and the WIFI module;
the antenna unit is used for transmitting signals and receiving signals; the gain filtering unit is used for filtering the antenna signal received by the antenna unit and configuring the antenna working parameters of the antenna unit under the control of the processor.
9. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the WIFI module immunity method according to any one of claims 1 to 5.
CN201810813146.6A 2018-07-23 2018-07-23 WIFI module anti-interference method and device, terminal equipment and storage medium Active CN108966271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810813146.6A CN108966271B (en) 2018-07-23 2018-07-23 WIFI module anti-interference method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810813146.6A CN108966271B (en) 2018-07-23 2018-07-23 WIFI module anti-interference method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108966271A CN108966271A (en) 2018-12-07
CN108966271B true CN108966271B (en) 2021-08-24

Family

ID=64464611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810813146.6A Active CN108966271B (en) 2018-07-23 2018-07-23 WIFI module anti-interference method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108966271B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102369774A (en) * 2009-03-30 2012-03-07 鲁门无线电通信公司 A method for selecting operating frequency channels in a wireless communication system
CN103002481A (en) * 2012-12-14 2013-03-27 福建省邮电工程有限公司 Wireless fidelity (WIFI) network optimization based on complex environment
CN103476113A (en) * 2013-09-06 2013-12-25 上海万畅交通科技有限公司 Indoor positioning system and method based on MNL probability identification and positioning model establishing system
CN104507113A (en) * 2015-01-04 2015-04-08 北京极科极客科技有限公司 Method for detecting wifi signal quality of all information channels
EP3066862B1 (en) * 2013-11-07 2017-09-13 Telefonaktiebolaget LM Ericsson (publ) A network node and method for adjusting antenna parameters in a wireless communications system
CN108055671A (en) * 2017-12-13 2018-05-18 深圳创维-Rgb电子有限公司 More equipment communication means, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102369774A (en) * 2009-03-30 2012-03-07 鲁门无线电通信公司 A method for selecting operating frequency channels in a wireless communication system
CN103002481A (en) * 2012-12-14 2013-03-27 福建省邮电工程有限公司 Wireless fidelity (WIFI) network optimization based on complex environment
CN103476113A (en) * 2013-09-06 2013-12-25 上海万畅交通科技有限公司 Indoor positioning system and method based on MNL probability identification and positioning model establishing system
EP3066862B1 (en) * 2013-11-07 2017-09-13 Telefonaktiebolaget LM Ericsson (publ) A network node and method for adjusting antenna parameters in a wireless communications system
CN104507113A (en) * 2015-01-04 2015-04-08 北京极科极客科技有限公司 Method for detecting wifi signal quality of all information channels
CN108055671A (en) * 2017-12-13 2018-05-18 深圳创维-Rgb电子有限公司 More equipment communication means, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108966271A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108055671B (en) Multi-device communication method, device, equipment and storage medium
CN109743119B (en) Electromagnetic interference control method and related device
US9478037B2 (en) Techniques for efficient stereo block matching for gesture recognition
WO2022100048A1 (en) Image processing method and apparatus, electronic device, and readable storage medium
CN109548161B (en) Method, device and terminal equipment for scheduling wireless resources
CN103414600A (en) Approximate matching method, related device and communication system
CN109614902A (en) Face image processing process, device, electronic equipment and computer storage medium
CN104679627A (en) Testing method and device
CN104683774A (en) Techniques to reduce color artifacts in a digital image
CN104919863B (en) Subchannel for wireless data communication detects
CN110166191B (en) Method and device for determining monitoring information of search space
WO2019052500A1 (en) Network access method, terminal, and apparatus with storage function
CN112073972B (en) Method and device for eliminating adjacent channel signal interference and small base station
KR20220083831A (en) Image creation method, device, and storage medium
WO2020108506A1 (en) Interference source identification method, related device and computer storage medium
CN104348655A (en) Method and device for determining degree of safety and health of system
CN108966271B (en) WIFI module anti-interference method and device, terminal equipment and storage medium
WO2024125267A1 (en) Image processing method and apparatus, computer-readable storage medium, electronic device and computer program product
CN116257427A (en) Heterogeneous test method, heterogeneous test system, heterogeneous test equipment and heterogeneous test storage medium for federal learning task
CN109559274A (en) Image processing method, device, electronic equipment and computer readable storage medium
CN111970024A (en) Communication network control method and device and electronic equipment
US20170347374A1 (en) Apparatuses and methods for concurrent operations on multiple channels
WO2022105911A1 (en) Communication data processing method and apparatus, and communication device
CN112202965B (en) Communication equipment control method, device, system and storage medium
EP3001342A1 (en) Methods and systems for displaying biometric data during capture

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