CN110022178B - Detection circuit and detection method of WiFi module - Google Patents

Detection circuit and detection method of WiFi module Download PDF

Info

Publication number
CN110022178B
CN110022178B CN201810917784.2A CN201810917784A CN110022178B CN 110022178 B CN110022178 B CN 110022178B CN 201810917784 A CN201810917784 A CN 201810917784A CN 110022178 B CN110022178 B CN 110022178B
Authority
CN
China
Prior art keywords
wifi module
signal
pin
tested
feedback signal
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
CN201810917784.2A
Other languages
Chinese (zh)
Other versions
CN110022178A (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.)
Skylab M&c Technology Co ltd
Original Assignee
Skylab M&c Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Skylab M&c Technology Co ltd filed Critical Skylab M&c Technology Co ltd
Priority to CN201810917784.2A priority Critical patent/CN110022178B/en
Publication of CN110022178A publication Critical patent/CN110022178A/en
Application granted granted Critical
Publication of CN110022178B publication Critical patent/CN110022178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/24Monitoring; Testing of receivers with feedback of measurements to the transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The application is suitable for the technical field of communication, and provides a detection circuit and a detection method of a WiFi module, which comprise the following steps: a detection module; the detection module comprises a grounding end and N input ends, wherein N is the number of pins to be detected of the WiFi module; the grounding end of the detection module is grounded, and the input end of the detection module is used for being connected with pins to be detected of the WiFi module in a one-to-one correspondence manner; the detection module receives a level signal from a pin to be detected of the WiFi module, processes the level signal to obtain a feedback signal, and the feedback signal is used for determining the state of the pin to be detected of the WiFi module. By the method, the WiFi module can be automatically detected, manual detection is avoided, and detection efficiency of the WiFi module is effectively improved.

Description

Detection circuit and detection method of WiFi module
Technical Field
The present application relates to the field of communications technologies, and in particular, to a detection circuit and a detection method for a WiFi module.
Background
The WiFi module belongs to an internet of things transmission layer, and has the function of converting a serial port or TTL level into an embedded module which accords with a WiFi wireless network communication standard and is internally provided with a wireless network protocol. Traditional hardware equipment can directly link into the internet after embedding the WiFi module, therefore, the WiFi module is an important component for realizing the application of the Internet of things such as wireless smart home.
In the WiFi module generation process, the WiFi module needs to be detected to determine whether its performance meets the production standard. The current detection mode is that a voltmeter is manually used to measure each pin of the WiFi module one by one. Along with the further expansion of wiFi module production, production quality requires constantly improving, and current detection mode process is loaded down with trivial details, and detection efficiency is lower.
Disclosure of Invention
In view of this, embodiments of the present application provide a detection circuit and a detection method for a WiFi module, so as to solve the problem in the prior art that efficiency of manually detecting the WiFi module is low.
A first aspect of an embodiment of the present application provides a detection circuit for a WiFi module, including:
a detection module;
the detection module comprises a grounding end and N input ends, wherein N is the number of pins to be detected of the WiFi module;
the grounding end of the detection module is grounded, and the input end of the detection module is used for being connected with pins to be detected of the WiFi module in a one-to-one correspondence manner;
the detection module receives a level signal from a pin to be detected of the WiFi module, processes the level signal to obtain a feedback signal, and the feedback signal is used for determining the state of the pin to be detected of the WiFi module.
A second aspect of the present embodiment provides a detection method for a WiFi module, which is applied to a detection circuit for a WiFi module provided by the first aspect of the present embodiment, where the method includes:
controlling all pins to be tested of the WiFi module to output first preset level signals through a signal sending end of the controller, and receiving initial feedback signals through a signal receiving end of the controller, wherein the initial feedback signals are feedback signals generated after a detection module in the detection circuit performs preset processing on the received first preset level signals;
taking any pin to be tested of the WiFi module as a target pin, and controlling the target pin to output a second preset level signal;
receiving a test feedback signal through a signal receiving end of the controller, wherein the test feedback signal is a feedback signal generated after the detection module performs preset processing on a received second preset level signal of the target pin;
judging whether the test feedback signal is the same as the initial feedback signal or not;
if the test feedback signal is different from the initial feedback signal, judging that the target pin is normal;
and if the test feedback signal is the same as the initial feedback signal, judging that the target pin has a fault.
A third aspect of an embodiment of the present application provides a controller, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method provided by the second aspect of the embodiment of the present application when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by one or more processors, performs the steps of the method provided by the second aspect of embodiments of the present application.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
according to the embodiment of the application, the input end of the detection module is connected with the pins to be detected of the WiFi module in a one-to-one correspondence manner, so that the detection module can receive level signals of the pins to be detected of the WiFi module; the detection module can process the received level signal to obtain a feedback signal, and then the feedback signal is used for determining the state of the pin to be detected of the WiFi module. In addition, the level signal of the pin to be detected of the WiFi module is controlled, the feedback signal is received from the output end of the detection module, and whether the pin to be detected of the WiFi module breaks down or not is judged by judging the state of the feedback signal. By the method, the WiFi module can be automatically detected, manual detection is avoided, and the detection efficiency of the WiFi module is effectively improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a detection circuit of a WiFi module provided in an embodiment of the present application;
FIG. 2 is a schematic circuit diagram of a detection module according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a detection circuit of a WiFi module provided in another embodiment of the present application;
fig. 4 is a schematic flowchart of an implementation method for detecting a WiFi module according to an embodiment of the present application;
fig. 5 is a schematic flowchart illustrating an implementation of a WiFi module detection method according to another embodiment of the present application;
fig. 6 is a schematic diagram of a detection device of a WiFi module provided in an embodiment of the present application;
fig. 7 is a schematic diagram of a terminal device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Fig. 1 is a schematic diagram of a detection circuit of a WiFi module provided in an embodiment of the present application, as shown in the figure, the detection circuit of the WiFi module includes:
a detection module 100.
The detection module 100 includes a ground terminal and N input terminals, where N is the number of pins to be detected of the WiFi module.
The grounding end of the detection module 100 is grounded, and the input end of the detection module 100 is used for being connected with the pins to be detected of the WiFi module in a one-to-one correspondence manner.
The detection module 100 receives a level signal from a pin to be detected of the WiFi module, and processes the level signal to obtain a feedback signal, where the feedback signal is used to determine a state of the pin to be detected of the WiFi module.
In one embodiment, the detection module 100 includes N logic gate devices L;
a first input end of the 1 st logic gate device L is a ground end of the detection module 100, a second input end of the 1 st logic gate device L is a 1 st input end of the detection module 100, and an output end of the 1 st logic gate device L is connected to a first input end of the 2 nd logic gate device L;
a second input end of the ith logic gate device L is an ith input end of the detection module 100, an output end of the ith logic gate device L is connected to a first input end of an (i + 1) th logic gate device L, and i is a natural number greater than 1 and smaller than N;
the second input terminal of the nth logic gate device L is the nth input terminal of the detection module 100.
For example, referring to fig. 2, fig. 2 is a schematic circuit diagram of a detection module provided in an embodiment of the present application. As shown in fig. 2, the detection module 100 includes 7 logic gate devices. The first input end of the first logic gate device L1 is grounded, the second input end is the first input end of the detection module, the output end is connected to the first input end of the second logic gate device L2, and so on, the first input end of the sixth logic gate device L6 is connected to the output end of the fifth logic gate device L5, the second input end of L6 is the sixth input end of the detection module, the output end of L6 is connected to the first input end of the seventh logic gate device L7, the second input end of L7 is the seventh input end of the detection module, and the output end of L7 is the output end of the detection module.
Optionally, the logic gate device L is an exclusive or gate device.
Referring to fig. 3, fig. 3 is a schematic diagram of a detection circuit of a WiFi module provided in another embodiment of the present application, as shown in the figure, in an embodiment, the detection circuit of the WiFi module further includes:
a controller 200.
The controller 200 includes a signal transmitting terminal.
The signal transmitting end of the controller 200 is used for connecting the input end of the WiFi module.
The controller 200 sends a control signal to the input end of the WiFi module through a signal sending end, where the control signal is used to instruct each pin to be tested of the WiFi module to output a corresponding control level signal.
In practical application, a processor can be arranged in the WiFi module, and the processor arranged in the WiFi module controls the output level of the pin to be tested of the WiFi module; the external controller can also be used for controlling the output level of the pin to be tested of the WiFi module.
Optionally, the detection module 100 further includes an output end, and the controller 200 further includes a signal receiving end;
the signal receiving end of the controller 200 is connected to the output end of the detection module 100, receives a feedback signal from the output end of the detection module 100 through the signal receiving end, and determines the state of the pin to be detected of the WiFi module according to the feedback signal.
In practical application, a detection module in a detection circuit of the WiFi module can directly determine the state of a pin to be detected of the WiFi module according to a feedback signal; or the controller is connected with the output end of the detection circuit through a signal receiving end of the controller, receives the feedback signal and determines the state of a pin to be detected of the WiFi module; the output end of the detection circuit can also be connected through other indicating devices (such as a bulb, a light emitting diode and the like), and the state of the pin to be detected of the WiFi module can be determined by observing the state of the indicating devices.
According to the embodiment of the application, the input end of the detection module is connected with the pins to be detected of the WiFi module in a one-to-one correspondence manner, so that the detection module can receive level signals of the pins to be detected of the WiFi module; the detection module can process the received level signal to obtain a feedback signal, and then the feedback signal is used for determining the state of the pin to be detected of the WiFi module.
Fig. 4 is a schematic implementation flowchart of a detection method of a WiFi module provided in the embodiment of the present application, where the method is applied to a detection circuit of a WiFi module provided in the embodiments of fig. 1, fig. 2, and fig. 3. As shown, the method may comprise the steps of:
step S101, controlling all pins to be tested of the WiFi module to output first preset level signals through a signal sending end of the controller, and receiving initial feedback signals through a signal receiving end of the controller, wherein the initial feedback signals are feedback signals generated after the detection module in the detection circuit performs preset processing on the received first preset level signals.
Optionally, the preset processing is an exclusive or operation. The logical expression of the exclusive-or operation is:
F=A⊕B=AB’+A’B。
specifically, when a is 0 and B is 0, F is 0; when a is 0 and B is 1, F is 1; when A is 1 and B is 0, F is 1; when a is 1 and B is 1, F is 0.
In practical applications, the first predetermined level signal may be a high level signal or a low level signal. Assuming that the first preset level signal is a high level signal, the detection circuit has two exclusive or gate devices, and a first input end of the first exclusive or gate device is grounded (i.e. a low level signal is input); when a first pin to be tested of the WiFi module outputs a high level signal, namely the second input end of the first XOR gate device receives the high level signal, the output of the first XOR gate device is the high level signal according to the principle of XOR operation; the first input end of the second exclusive-or gate device is connected with the output signal of the first exclusive-or gate device, the second input end of the second exclusive-or gate device is connected with a second pin to be tested of the WiFi module (the second pin to be tested outputs a high level signal), namely, the first input end of the second exclusive-or gate device receives the high level signal, the second input end of the second exclusive-or gate device receives the high level signal, and the output of the second exclusive-or gate device is a low level signal according to the exclusive-or operation principle. The output of the second exclusive or gate is the initial feedback signal, so the initial feedback signal is a low level signal. The above is only an example of obtaining the initial feedback signal, and the number of the specific exclusive or gate devices is not limited specifically.
And step S102, taking any pin to be tested of the WiFi module as a target pin, and controlling the target pin to output a second preset level signal.
The second preset level signal is a signal different from the first preset level signal. If the first preset level signal is a high level signal, the second preset level signal is a low level signal; if the first preset level signal is a low level signal, the second preset level signal is a high level signal.
Step S103, receiving a test feedback signal through a signal receiving end of the controller, where the test feedback signal is a feedback signal generated after the detection module performs a preset process on the received second preset level signal of the target pin.
On the basis of the example in step S101, the obtained initial feedback signal is a low level signal, and assuming that the first pin to be tested of the WiFi module is taken as a target pin, the target pin outputs the low level signal, that is, the second input end of the first exclusive or gate receives the low level signal; the second input end of the first exclusive-OR gate is still grounded, and the output of the first exclusive-OR gate is a low level signal according to the original exclusive-OR operation; the first input end of the second exclusive-or gate receives the output signal of the first exclusive-or gate, namely the first input end of the second exclusive-or gate receives a low level signal; the second input end of the second exclusive-OR gate is connected with the second pin to be tested and still receives a high-level signal; according to the principle of exclusive-or operation, the output of the second exclusive-or gate is a high level signal, i.e. the test feedback signal is a high level signal.
Step S104, judging whether the test feedback signal is the same as the initial feedback signal.
Step S105, if the test feedback signal is different from the initial feedback signal, determining that the target pin is normal.
And step S106, if the test feedback signal is the same as the initial feedback signal, judging that the target pin has a fault.
Based on the examples in S101 and S103, when the first pin to be tested is taken as the target pin, the initial feedback signal is a low level signal, and the test feedback signal is a high level signal, that is, the test feedback signal is different from the initial feedback signal, the target pin is normal, that is, the first pin to be tested is normal. Because, if the first pin to be tested fails, the level signal cannot be output, that is, the output signal of the first pin to be tested does not affect the state of the final feedback signal, then the initial feedback signal is the same as the test feedback signal.
Referring to fig. 5, fig. 5 is a schematic flow chart illustrating an implementation of a detection method for a WiFi module according to another embodiment of the present disclosure, as shown in the drawing, in an embodiment, after determining whether the test feedback signal is the same as the initial feedback signal, the method further includes:
and judging whether a pin to be tested outputting a first preset level signal exists in the N pins to be tested of the WiFi module.
If a pin to be tested which outputs a first preset level signal exists in the N pins to be tested of the WiFi module, marking the pin to be tested as a target pin, and taking the test feedback signal as an initial feedback signal.
And controlling the target pin to output a second preset level signal through a signal sending end of the controller, and receiving a test feedback signal through a signal receiving end of the controller.
And judging whether the test feedback signal is the same as the initial feedback signal.
And if the test feedback signal is different from the initial feedback signal, judging that the target pin is normal.
And if the test feedback signal is the same as the initial feedback signal, judging that the target pin has a fault.
In practical application, the pins to be tested of the WiFi module can be tested according to a certain sequence, such as an arrangement sequence, a numbering sequence, and the like; and random testing can also be carried out, namely, one pin to be tested is randomly selected from the pins to be tested of the WiFi module to be used as a target pin, and the testing is carried out until all the pins to be tested of the WiFi module are tested.
In the testing process, after each pair of pins to be tested is tested, the test feedback signal obtained in the test is used as an initial feedback signal, that is, the feedback signal obtained in each test needs to be compared with the feedback signal obtained in the last test, so that whether the current pin to be tested is normal can be judged.
Optionally, before the controlling, by the signal sending end of the controller, all pins to be tested of the WiFi module to output a first preset level signal, the method further includes:
and numbering each pin to be tested of the WiFi module respectively.
Optionally, after determining whether there is a pin to be tested that outputs a first preset level signal in the N pins to be tested of the WiFi module, the method further includes:
and if the pins to be detected which output the first preset level signal do not exist in the N pins to be detected of the WiFi module, counting the number of the failed pins to be detected in the WiFi module and the serial number of the failed pins to be detected.
And generating a detection report according to the number of the failed pins to be detected and the serial number of the failed pins to be detected.
Specifically, suppose that there are 2 faulty pins to be tested, and the numbers of the faulty pins to be tested are 1 and 3; then the detection report is generated as that the pin 1 to be detected is in fault, the pin 2 to be detected is normal, and the pin 3 to be detected is in fault. The above is only an example, and the number of the pins to be detected and the form of the detection report are not specifically limited.
According to the embodiment of the application, the feedback signal is received from the output end of the detection module by controlling the level signal of the pin to be detected of the WiFi module, and whether the pin to be detected of the WiFi module breaks down or not is judged by judging the state of the feedback signal. By the method, the WiFi module can be automatically detected, manual detection is avoided, and the detection efficiency of the WiFi module is effectively improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 6 is a schematic diagram of a detection device of a WiFi module provided in an embodiment of the present application, and for convenience of description, only a portion related to the embodiment of the present application is shown.
The detection device of the WiFi module shown in fig. 6 may be a software unit, a hardware unit, or a combination of software and hardware unit built in the existing terminal device, or may be integrated into the terminal device as an independent pendant, or may exist as an independent terminal device.
The device 6 comprises:
the first control unit 61 is configured to control, by a signal sending end of the controller, all pins to be tested of the WiFi module to output a first preset level signal, and receive an initial feedback signal by a signal receiving end of the controller, where the initial feedback signal is a feedback signal generated after a detection module in the detection circuit performs preset processing on the received first preset level signal.
And a second control unit 62, configured to use any pin to be tested of the WiFi module as a target pin, and control the target pin to output a second preset level signal.
The first receiving unit 63 is configured to receive a test feedback signal through a signal receiving end of the controller, where the test feedback signal is a feedback signal generated after the detection module performs preset processing on the received second preset level signal of the target pin.
A first judging unit 64, configured to judge whether the test feedback signal is the same as the initial feedback signal.
A first result unit 65, configured to determine that the target pin is normal if the test feedback signal is different from the initial feedback signal.
A second result unit 66, configured to determine that the target pin is faulty if the test feedback signal is the same as the initial feedback signal.
Optionally, the apparatus 6 further includes:
and the second judging unit is used for judging whether a pin to be detected which outputs a first preset level signal exists in the N pins to be detected of the WiFi module after judging whether the test feedback signal is the same as the initial feedback signal.
And the marking unit is used for marking the pin to be tested as a target pin if the pin to be tested which outputs the first preset level signal exists in the N pins to be tested of the WiFi module, and taking the test feedback signal as an initial feedback signal.
And the second receiving unit is used for controlling the target pin to output a second preset level signal through the signal sending end of the controller and receiving a test feedback signal through the signal receiving end of the controller.
And the third judging unit is used for judging whether the test feedback signal is the same as the initial feedback signal or not.
And the third result unit is used for judging that the target pin is normal if the test feedback signal is different from the initial feedback signal.
And the fourth result unit is used for judging that the target pin has a fault if the test feedback signal is the same as the initial feedback signal.
Optionally, the apparatus 6 further includes:
and the numbering unit is used for numbering each pin to be tested of the WiFi module respectively before all the pins to be tested of the WiFi module are controlled by the signal sending end of the controller to output a first preset level signal.
Optionally, the apparatus 6 further includes:
and the counting unit is used for judging whether the N pins to be detected of the WiFi module have the pins to be detected for outputting the first preset level signal or not, and counting the number of the failed pins to be detected and the serial number of the failed pins to be detected in the WiFi module if the N pins to be detected of the WiFi module do not have the pins to be detected for outputting the first preset level signal.
And the generating unit is used for generating a detection report according to the number of the failed pins to be detected and the serial number of the failed pins to be detected.
Optionally, the preset processing is an exclusive or operation.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. For the specific working processes of the units and modules in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
Fig. 7 is a schematic diagram of a terminal device provided in an embodiment of the present application. As shown in fig. 7, the terminal device 7 of this embodiment includes: a processor 70, a memory 71 and a computer program 72 stored in said memory 71 and executable on said processor 70. The processor 70, when executing the computer program 72, implements the steps in the above-described embodiments of the WiFi module detection method, such as the steps S101 to S106 shown in fig. 4. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the modules/units in the above-described device embodiments, such as the functions of the modules 61 to 66 shown in fig. 6.
Illustratively, the computer program 72 may be partitioned into one or more modules/units that are stored in the memory 71 and executed by the processor 70 to accomplish the present application. 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 72 in the terminal device 7. For example, the computer program 72 may be divided into a first control unit, a second control unit, a first receiving unit, a first result unit, and a second result unit, and each unit has the following specific functions:
the first control unit is used for controlling all pins to be detected of the WiFi module to output first preset level signals through a signal sending end of the controller, and receiving initial feedback signals through a signal receiving end of the controller, wherein the initial feedback signals are feedback signals generated after the detection module in the detection circuit performs preset processing on the received first preset level signals.
And the second control unit is used for taking any pin to be tested of the WiFi module as a target pin and controlling the target pin to output a second preset level signal.
The first receiving unit is configured to receive a test feedback signal through a signal receiving end of the controller, where the test feedback signal is a feedback signal generated by the detection module after performing preset processing on a received second preset level signal of the target pin.
A first determining unit, configured to determine whether the test feedback signal is the same as the initial feedback signal.
And the first result unit is used for judging that the target pin is normal if the test feedback signal is different from the initial feedback signal.
And the second result unit is used for judging that the target pin has a fault if the test feedback signal is the same as the initial feedback signal.
Optionally, the apparatus 3 further comprises:
and the second judging unit is used for judging whether a pin to be detected which outputs a first preset level signal exists in the N pins to be detected of the WiFi module after judging whether the test feedback signal is the same as the initial feedback signal.
And the marking unit is used for marking the pin to be tested as a target pin if the pin to be tested which outputs the first preset level signal exists in the N pins to be tested of the WiFi module, and taking the test feedback signal as an initial feedback signal.
And the second receiving unit is used for controlling the target pin to output a second preset level signal through the signal sending end of the controller and receiving a test feedback signal through the signal receiving end of the controller.
And the third judging unit is used for judging whether the test feedback signal is the same as the initial feedback signal or not.
And the third result unit is used for judging that the target pin is normal if the test feedback signal is different from the initial feedback signal.
And the fourth result unit is used for judging that the target pin has a fault if the test feedback signal is the same as the initial feedback signal.
Optionally, the apparatus 3 further comprises:
and the numbering unit is used for numbering each pin to be tested of the WiFi module respectively before all the pins to be tested of the WiFi module are controlled by the signal sending end of the controller to output a first preset level signal.
Optionally, the apparatus 3 further comprises:
and the counting unit is used for judging whether the N pins to be detected of the WiFi module have the pins to be detected for outputting the first preset level signal or not, and counting the number of the failed pins to be detected and the serial number of the failed pins to be detected in the WiFi module if the N pins to be detected of the WiFi module do not have the pins to be detected for outputting the first preset level signal.
And the generating unit is used for generating a detection report according to the number of the failed pins to be detected and the serial number of the failed pins to be detected.
Optionally, the preset processing is an exclusive or operation.
The terminal device 7 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of a terminal device 7 and does not constitute a limitation of the terminal device 7 and may comprise more or less components than shown, or some components may be combined, or different components, for example the terminal device may further comprise input output devices, network access devices, buses, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may be an internal storage unit of the terminal device 7, such as a hard disk or a memory of the terminal device 7. The memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the terminal device 7. The memory 71 is used for storing the computer program and other programs and data required by the terminal device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
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.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. 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 the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present application, and they should be construed as being included in the present application.

Claims (1)

1. The detection circuit of the WiFi module is characterized by comprising a detection module; the detection module comprises a grounding end and N input ends, wherein N is the number of pins to be detected of the WiFi module; the grounding end of the detection module is grounded, and the input end of the detection module is used for being connected with pins to be detected of the WiFi module in a one-to-one correspondence manner; the detection module receives a level signal from a pin to be detected of the WiFi module, processes the level signal to obtain a feedback signal, and the feedback signal is used for determining the state of the pin to be detected of the WiFi module; the detection module comprises N logic gate devices; a first input end of the 1 st logic gate device is a ground end of the detection module, a second input end of the 1 st logic gate device is a 1 st input end of the detection module, and an output end of the 1 st logic gate device is connected with a first input end of the 2 nd logic gate device; the second input end of the ith logic gate device is the ith input end of the detection module, the output end of the ith logic gate device is connected with the first input end of the (i + 1) th logic gate device, and i is a natural number which is more than 1 and less than N; the second input end of the Nth logic gate device is the Nth input end of the detection module; the logic gate device is an exclusive-OR gate device; the detection circuit of the WiFi module also comprises a controller; the controller comprises a signal sending end; the signal sending end of the controller is used for being connected with the input end of the WiFi module; the controller sends a control signal to the input end of the WiFi module through a signal sending end, and the control signal is used for indicating each pin to be tested of the WiFi module to output a corresponding control level signal; the detection module further comprises an output end, and the controller further comprises a signal receiving end; a signal receiving end of the controller is connected with an output end of the detection module, receives a feedback signal from the output end of the detection module through the signal receiving end, and determines the state of a pin to be detected of the WiFi module according to the feedback signal; controlling all pins to be tested of the WiFi module to output first preset level signals through a signal sending end of the controller, and receiving initial feedback signals through a signal receiving end of the controller, wherein the initial feedback signals are feedback signals generated after the detection module in the detection circuit performs preset processing on the received first preset level signals; judging whether a pin to be tested outputting a first preset level signal exists in N pins to be tested of the WiFi module or not; if a pin to be tested which outputs a first preset level signal exists in the N pins to be tested of the WiFi module, marking the pin to be tested as a target pin, and taking the test feedback signal as an initial feedback signal; controlling the target pin to output a second preset level signal through a signal sending end of the controller, and receiving a test feedback signal through a signal receiving end of the controller; judging whether the test feedback signal is the same as the initial feedback signal; if the test feedback signal is different from the initial feedback signal, judging that the target pin is normal; if the test feedback signal is the same as the initial feedback signal, judging that the target pin has a fault; through the signal sending terminal control of controller before all pins that await measuring of wiFi module export first preset level signal, still include:
numbering each pin to be tested of the WiFi module respectively;
after judging whether there is a pin to be tested which outputs a first preset level signal in the N pins to be tested of the WiFi module, the method further includes:
if the pins to be tested which output the first preset level signal do not exist in the N pins to be tested of the WiFi module, counting the number of the failed pins to be tested in the WiFi module and the serial number of the failed pins to be tested;
generating a detection report according to the number of the failed pins to be detected and the serial number of the failed pins to be detected;
the preset processing is exclusive-or operation.
CN201810917784.2A 2018-08-13 2018-08-13 Detection circuit and detection method of WiFi module Active CN110022178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810917784.2A CN110022178B (en) 2018-08-13 2018-08-13 Detection circuit and detection method of WiFi module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810917784.2A CN110022178B (en) 2018-08-13 2018-08-13 Detection circuit and detection method of WiFi module

Publications (2)

Publication Number Publication Date
CN110022178A CN110022178A (en) 2019-07-16
CN110022178B true CN110022178B (en) 2022-06-17

Family

ID=67188371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810917784.2A Active CN110022178B (en) 2018-08-13 2018-08-13 Detection circuit and detection method of WiFi module

Country Status (1)

Country Link
CN (1) CN110022178B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110501992B (en) * 2019-08-07 2021-07-20 格力电器(武汉)有限公司 WiFi detection board testing device
CN114339797B (en) * 2021-12-30 2024-04-30 合肥磐稳检测技术有限公司 WIFI module testing device and power supply control method thereof

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03214809A (en) * 1990-01-19 1991-09-20 Nec Corp Linear feedback shift register
US5193092A (en) * 1990-12-20 1993-03-09 Vlsi Technology, Inc. Integrated parity-based testing for integrated circuits
CN2135786Y (en) * 1992-08-06 1993-06-09 丁巨光 Digital ic multi-value logic tester
CN1243307C (en) * 2003-06-19 2006-02-22 Ut斯达康(中国)有限公司 Method and equipment for detecting single plate by JTAG
CN101303392A (en) * 2008-06-04 2008-11-12 北京中星微电子有限公司 Digital logic chip and method capable of testing design
CN102437885A (en) * 2011-09-06 2012-05-02 飞创(苏州)电讯产品有限公司 Communication equipment test device
CN102540058B (en) * 2011-12-31 2014-01-08 杭州士兰微电子股份有限公司 Device for testing plasma scanning driver ic
CN104133149B (en) * 2014-07-02 2017-03-29 惠州市亿能电子有限公司 A kind of voltage acquisition line Beam Detector
CN204495942U (en) * 2014-12-18 2015-07-22 黑龙江农业工程职业学院 electronic chip pin tester
CN106199393B (en) * 2016-07-04 2019-10-15 四川九洲电器集团有限责任公司 A kind of fault test set and fault detection method
CN106093689A (en) * 2016-08-05 2016-11-09 歌尔股份有限公司 A kind of test equipment for photographic head module
CN107462793A (en) * 2017-08-18 2017-12-12 郑州云海信息技术有限公司 A kind of server voltage coherent signal monitoring device and monitoring method

Also Published As

Publication number Publication date
CN110022178A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN109085321B (en) Calibration method of rock mesomechanics parameters and terminal equipment
CN108923957B (en) Distribution network terminal DTU fault elimination method and device and terminal equipment
CN110022178B (en) Detection circuit and detection method of WiFi module
CN113014339B (en) Quality test method, device and equipment for PCIe external plug-in card receiving channel
CN107748718B (en) Application program testing method and device and server
EP4191905A1 (en) Test method and device
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
CN113254284A (en) Chip testing method, device, equipment, storage medium and program product
US20220345916A1 (en) Method, apparatus, and non-transitory computer readable medium for testing terminals
CN111337820A (en) Digital chip scan chain test method, device, equipment and medium
CN108628712B (en) Application program testing method and terminal equipment
CN112380046A (en) Calculation result checking method, system, device, equipment and storage medium
CN106533622B (en) The data fields method of calibration and device of data frame based on CAN FD bus
CN111693294A (en) Vehicle detection method and device, terminal equipment and storage medium
CN110831049A (en) Network performance testing method and device
CN109995548B (en) Device management method and system, data transmission method and system and terminal device
CN114548027A (en) Method for tracking signal in verification system, electronic device and storage medium
CN110968004B (en) Cable test system based on FPGA prototype verification development board
CN116610289B (en) Pseudo-random binary sequence generating device, pseudo-random binary sequence generating method, pseudo-random binary sequence detecting device, and pseudo-random binary sequence storing medium
CN108028530B (en) ESD detection device, integrated circuit and method applied to digital integrated electronic circuit
CN107678967B (en) Unit test coverage rate generation method and device, readable storage medium and equipment
CN111308919B (en) Wheel speed signal transmission method, device, terminal and computer readable storage medium
CN110417461B (en) Optical cable positioning method and device for multiple fault points and terminal equipment
CN113447880A (en) Fault diagnosis method and device for electric energy meter and terminal equipment
CN117851306B (en) Method for determining operation mode, chip module and storage 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
GR01 Patent grant
GR01 Patent grant