CSI nondestructive testing reliability automatic testing method and system based on jenkins

By establishing a CI job on jenkins and using the ESP32 development board and router for automated testing, the problem of insufficient reliability in the existing CSI non-destructive testing methods is solved, and efficient and accurate preservation of test results is achieved.

CN120128283APending Publication Date: 2025-06-10SICHUAN HONGMEI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510311589.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-17
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

The existing CSI non-destructive testing methods rely on manual testing, resulting in insufficient reliability, cumbersome and consuming a lot of manpower and material resources, and low testing efficiency.

Method used

Using an automated test method based on jenkins, a CI job is established on the central jenkins, and an automated test is performed using the ESP32 development board and router to realize data requests and processing every 10ms, including data filtering, normalization, feature value extraction and comparison with standard thresholds. The results are saved in the Excel table.

Benefits of technology

It realizes efficient and accurate CSI non-destructive testing, saves human and material resources, and improves testing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120128283A_ABST
    Figure CN120128283A_ABST
Patent Text Reader

Abstract

The invention discloses a jenkins-based CSI nondestructive testing reliability automatic test method and system, and the method comprises the steps: building a CI job which can be used for executing a reliability test script on a central jenkins, transmitting parameters through the CI job, enabling a CSI nondestructive testing system to request data once every 10 ms, enabling an ESP32 development board to send Ping messages to a router at intervals after networking, and enabling the ESP32 development board to send the Ping messages to the router at intervals. An OFDM data packet returned by the router after receiving the Ping message carries CSI original information, a WIFI module in the ESP32 development board analyzes the OFDM data packet, obtains the CSI original information, sequentially processes the analyzed CSI data, and finally compares a characteristic value with a standard threshold value, if the characteristic value is greater than the standard threshold value, there is human interference, if the characteristic value is smaller than the standard threshold value, there is no human interference, and if the characteristic value is greater than the standard threshold value, there is no human interference. And a final result is stored in an Excel table. The method is easy to realize in the existing nondestructive testing, solves the problems of large manual testing data volume and large unmanned environment simulation difficulty, saves manpower and material resources, and improves the testing efficiency and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of CSI non-destructive testing reliability testing, and particularly to a CSI non-destructive testing reliability automated testing method and system based on Jenkins. Background Art

[0002] With the in-depth development of home appliance intelligence, there is a market demand for detecting whether there are people in the detection environment in the practical applications of intelligent air conditioners and intelligent refrigerators. For example, when it is detected that there is no one in the environment, the intelligent air conditioner can be set to turn off to achieve the purpose of energy conservation; or, when it is detected that there is someone in the environment, the intelligent refrigerator stops the operation of the compressor to achieve the purpose of silence. Traditional detection methods for whether there are people in the environment generally use technologies such as video recognition or millimeter wave radar. The main problems in the application of these technologies are: additional sensor devices need to be added, the cost is relatively high, and usually the hardware needs to be redesigned, and the application cost is too high.

[0003] The CSI technology based on the detection of the WiFi channel information state well solves the problems of cost and application. Generally, intelligent air conditioners and intelligent refrigerators themselves have WiFi modules. By using the existing WiFi modules and running the CSI detection program on them, without adding additional hardware and redesigning the circuit and structure, the basic functions of detecting whether there are people in the environment and human action recognition can be realized, and it has good application prospects. However, the CSI technology belongs to a relatively advanced frontier technology, and its application in the industry has not yet started. Therefore, the CSI non-destructive testing reliability testing is particularly important.

[0004] The existing CSI non-destructive testing mainly adopts the method of manual testing and observation. The non-destructive testing methods mainly include: detection under human interference and detection without human interference. The detection under human interference is determined by manually observing the change of the LED indicator light, and the testing without human interference is mainly carried out by manually observing the magnitude of the curve fluctuation for testing and judgment. Therefore, the existing CSI non-destructive testing observes the change of the light and the curve change manually, with insufficient reliability, and it is very cumbersome, wasting a large amount of human and material resources, and having a long time and low efficiency.

[0005] In view of the defects of the currently commonly used CSI non-destructive testing methods, a CSI non-destructive testing reliability automated testing method and system based on Jenkins are proposed here to solve the above deficiencies. Summary of the Invention

[0006] The purpose of the present invention is to provide a CSI non-destructive testing reliability automated testing method and system based on Jenkins, which is used to solve the technical problems existing in the implementation of CSI non-destructive testing by using the method of manual testing and observation in the prior art.

[0007] The present invention solves the above problems through the following technical solutions:

[0008] An automated test method for the reliability of CSI non-destructive testing based on Jenkins, the method comprising:

[0009] Establish a CI job on the central Jenkins that can be used to execute reliability test scripts. Through the transmission of CI job parameters, the CSI non-destructive testing system makes a data request every 10 ms, that is, it connects to the network of the WIFI module and the router. After networking, the ESP32 development board sends a Ping packet to the router every 10 ms. When the router receives the Ping packet sent by the ESP32 development board, the OFDM data packet returned carries the original CSI information. The WIFI module in the ESP32 development board parses the OFDM data packet to obtain the original CSI information, then performs filtering, normalization, and eigenvalue extraction processing on the parsed CSI data in sequence. Finally, the eigenvalue is compared with the standard threshold. If it is greater than the standard threshold, it indicates that there is human interference. If it is less than the standard threshold, it indicates that there is no human interference, and the final result is saved in an Excel table.

[0010] As a further improvement of the present invention, the method further comprises:

[0011] Select the established CI job. The CI job parameters selection includes at least two. Among them, parameter one is used to represent each interference environment to be tested, and parameter two is used to represent the threshold values in each environment. When executing the CI job, different parameters are transmitted to simulate the test environment corresponding to the situation and execute the corresponding reliability test script.

[0012] Meanwhile, the present invention also solves the above problems through the following technical solutions:

[0013] An automated test system for the reliability of CSI non-destructive testing based on Jenkins. The hardware facilities of the system mainly consist of a router, an ESP32 development board with a CSI signal detection wifi module, and a relatively enclosed space. The test execution is to establish a CI job on the central Jenkins to execute the build compilation task for automated testing and execute the automated reliability test script, thereby implementing the above-mentioned automated test method for the reliability of CSI non-destructive testing based on Jenkins of the CSI non-destructive testing system.

[0014] In addition, the present invention also solves the above problems through the following technical solutions:

[0015] An automated test system for the reliability of CSI non-destructive testing based on Jenkins, the system comprising: a hardware environment module and an automated test architecture module;

[0016] The hardware environment module is a complete test environment consisting of a router, an ESP32 development board with a CSI signal detection wifi module, and an enclosed space opposite to it;

[0017] The automated test architecture module is used to perform the build and compilation tasks of automated tests by establishing a CI job on the central jenkins, and automatically execute the reliability test script, thereby implementing the above-mentioned jenkins-based CSI lossless detection reliability automated test method.

[0018] As a further improvement of the present invention, the system further includes:

[0019] The data transceiver module is used to send ping packets from the ESP32 development board to the router when the router and the ESP32 development board form a test environment for CSI lossless detection signal transmission after network configuration. After receiving the request information, the router will send the data containing the CSI original information to the WIFI module in the ESP32 development board in the form of an OFDM data packet;

[0020] The script execution module is used to send Ping packets from the ESP32 development board to the router at intervals of 10ms after the router and the ESP32 development board are network-configured. After receiving the Ping packet sent by the ESP32 development board to the router, the router will reply with information to the ESP32 development board and send the OFDM data packet with the CSI original information to the WIFI module. The WIFI module in the ESP32 development board parses the OFDM data packet to obtain the CSI original information, and then performs filtering, normalization processing, and eigenvalue extraction processing on the parsed CSI data in sequence. Finally, the eigenvalue is compared with the standard threshold. If it is greater than the standard threshold, it means there is human interference, and if it is less than the standard threshold, it means there is no human interference, and the final result is saved in an Excel table.

[0021] In addition, the present invention also solves the above problems through the following technical solutions:

[0022] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the above-mentioned jenkins-based CSI lossless detection reliability automated test method.

[0023] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, it implements the steps of the above-mentioned jenkins-based CSI lossless detection reliability automated test method.

[0024] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0025] The technical solution provided by the present invention is easy to implement in the existing non-destructive testing, with low investment and quick return. It solves the problems of large amount of manual test data and great difficulty in simulating unmanned environment, saves human and material resources, and improves the test efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 is a flowchart of the existing manual test method for CSI non-destructive testing;

[0027] Figure 2 is a schematic diagram for viewing the data curve of the existing CSI non-destructive testing;

[0028] Figure 3 is an architecture diagram of the automated test system for CSI non-destructive testing reliability based on jenkins of the present invention;

[0029] Figure 4 is an overall architecture diagram of the automated test system for CSI non-destructive testing reliability based on jenkins of the present invention;

[0030] Figure 5 is a schematic diagram of the principle of parameter selection and script execution of the CI job of the present invention;

[0031] Figure 6 is a diagram showing the data transmission and reception of the CSI non-destructive testing system of the present invention;

[0032] Figure 7 is a flowchart of the automated test method for CSI non-destructive testing reliability based on jenkins of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0033] To make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described in more detail below with reference to the accompanying drawings in the preferred embodiments of the present application. In the drawings, the same or similar reference numerals denote the same or similar components or components with the same or similar functions throughout. The described embodiments are some but not all of the embodiments of the present application. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present application and should not be construed as limiting the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts fall within the scope of protection of the present application.

[0034] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0035] In the description of the present application, it should be noted that unless otherwise clearly specified and defined, the terms "installation", "connection", and "coupling" should be understood in a broad sense. For example, it can be a fixed connection, or an indirect connection through an intermediate medium, and can be the communication inside two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.

[0036] In the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "upper", "lower", "front", "rear", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is the orientation or positional relationship based on the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or component referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation to the present application.

[0037] In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or display that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or displays.

[0038] The following will be combined with Figure 1-7 to elaborate in detail on a CSI non-destructive testing reliability automation testing method and system related to the embodiments of the present application. It should be noted that the following embodiments are only used to explain the present application and do not constitute a limitation to the present application.

[0039] Embodiment:

[0040] Figure 1 and Figure 2 depict the existing CSI non-destructive testing manual testing method and data curve viewing method. In a test environment where the ESP32 development board and the router are networked and configured, in an interference environment such as simulating people walking, a fan turning on and rotating, and a small chair sliding (simulating small animals), observe the change of the indicator light. When the indicator light changes from white to blue, it means that interference information has been detected; when there is no interference information, the indicator light does not change, and the result cannot be judged by the indicator light. Therefore, at this time, only the received display data curve can be borrowed to roughly confirm whether there is CSI data reporting and the change range to confirm the environmental change. Since the comparison values of different environmental interferences and thresholds are different, it is cumbersome and unreliable to confirm the presence or absence of interference only based on the change of the light.

[0041] This embodiment provides a CSI non-destructive testing reliability automation testing system based on jenkins, referring to the attachedFigure 3 The hardware facilities of this system mainly consist of a router, an ESP32 development board with a CSI signal detection wifi module, and a relatively enclosed space. The WIFI module is connected to the router. The test execution is to establish a CI job on the central jenkins to perform the build and compilation tasks for automated testing, execute the automated reliability test script, and implement the reliability automated test method for the CSI non-destructive detection system through the execution of the CI job.

[0042] Specifically, it means establishing a CI job on the central jenkins that can be used to execute the reliability test script. Through the parameter transfer of the CI job, the CSI non-destructive detection system makes a data request every 10 ms, that is, the WIFI module is connected to the router. After the connection, the ESP32 development board sends a Ping packet to the router every 10 ms. When the router receives the Ping packet sent by the ESP32 development board, the OFDM data packet returned carries the CSI original information. The WIFI module in the ESP32 development board parses the OFDM data packet to obtain the CSI original information, then filters, normalizes, and extracts the eigenvalue from the parsed CSI data in sequence. Finally, the eigenvalue is compared with the standard threshold. If it is greater than the standard threshold, it means there is interference from someone; if it is less than the standard threshold, it means there is no interference, and the final result is saved in an Excel table.

[0043] Refer to the appendix Figure 4 depicts the overall architecture of the reliability automated test for CSI non-destructive detection, that is, by establishing a CI job on the central jenkins to perform the build and compilation tasks for automated testing and execute the automated reliability test script, thereby implementing the reliability automated test method for CSI non-destructive detection.

[0044] Refer to the appendix Figure 5 depicts the test principle of the reliability automated test for CSI non-destructive detection. When selecting the established CI job, at least two CI job parameters need to be selected. In this embodiment, two parameters are selected and set. Among them, parameter one is used to represent each interference environment to be tested, such as interference from someone, fan interference, small animal interference, and no interference; parameter two is used to represent the threshold under each environment. The threshold standards are different for different interference environments. When executing the CI job, different parameters are passed to simulate the test environment corresponding to the situation, and the corresponding reliability automated test script is executed. Then, the extracted feature result obtained from the executed script is compared with the threshold to obtain the result value, and the result value is stored in an Excel table.

[0045] Refer to the appendix Figure 6, which depicts the data transmission display of the CSI non-destructive testing system described in the present invention. After the router and the ESP32 development board are networked, they form a test environment for CSI non-destructive testing signal transmission. The ESP32 development board sends ping packets to the router. After the router receives the request information, it will send the data containing CSI information to the WIFI module in the ESP32 development board in the form of OFDM data packets.

[0046] Refer to the appendix Figure 7 , which depicts the principle of automated test script execution, that is, to implement an automated test method for the reliability of CSI non-destructive testing based on jenkins. The router and the ESP32 development board with a WIFI module for CSI signal detection are networked. After the network connection, the ESP32 development board sends ping packets to the router every 10 ms at intervals. When the router receives the ping packets sent by the ESP32 development board to the router, it will reply to the ESP32 development board with information and send the OFDM data packets containing CSI information to the WIFI module. The WIFI module in the ESP32 development board parses the OFDM data packets to obtain the original CSI information, and then processes the parsed CSI data in sequence, such as filtering, normalization, and feature value extraction. Finally, the feature value is compared with the standard threshold. If it is greater than the standard threshold, it indicates that there is human interference. If it is less than the standard threshold, it indicates that there is no human interference, and the final result is saved in an Excel table.

[0047] In a specific embodiment, the system consists of a router, an ESP32 development board with a CSI signal detection Wi-Fi module, and a relatively enclosed space to form a complete hardware test environment; the test execution is achieved by establishing a CI job on the central Jenkins and implementing a reliability automation test method for the CSI lossless detection system through the execution of the CI job. Specifically, a CI job that can be used to execute the reliability test script is established on the central Jenkins, and parameters 1 and 2 are passed through the CI job. Parameter 1 is used to represent each interference environment to be tested, and parameter 2 is used to represent the threshold values in each environment. When the CI job is executed, different parameters are passed to simulate the test environment corresponding to the situation and execute the corresponding script, that is, the router and the ESP32 development board are networked. After the network connection, the ESP32 sends a Ping packet to the router every 10 ms. When the router receives the Ping packet sent by the ESP32, it will send an information response to the ESP32 development board and send the OFDM data packet with CSI information to the Wi-Fi module in the ESP32 development board. The Wi-Fi module in the ESP32 development board parses the OFDM data packet to obtain the original CSI information, then filters, normalizes, and extracts features from the parsed CSI data. Finally, the feature values are compared with the standard threshold values. If it is greater than the standard threshold value, it indicates that there is human interference; if it is less than the standard threshold value, it indicates that there is no human interference, and the final result is saved in an Excel table.

[0048] In an alternative embodiment, the system mainly includes a hardware environment module, an automated test architecture module, a data transceiver module, a script execution module, etc.;

[0049] In the hardware environment module, that is, a router, an ESP32 development board with a CSI signal detection Wi-Fi module, and a relatively enclosed space form a complete test environment;

[0050] The automated test architecture module, that is, by establishing a CI job on the central Jenkins, which is used to execute the build and compilation tasks of the automated test and automatically execute the reliability test script, thereby implementing a reliability automation test method for CSI lossless detection;

[0051] The data transceiver module is used for data transceiver. After the router and the ESP32 development board are networked, they form a test environment for CSI lossless detection signal transmission. The ESP32 sends a ping packet to the router, and after the router receives the request information, it will send the data containing CSI information to the Wi-Fi module in the ESP32 development board in the form of an OFDM data packet;

[0052] A script execution module for script execution. After networking the router and the ESP32 development board, the ESP32 development board sends Ping packets to the router every 10 ms. When the router receives the Ping packets sent by the ESP32 to the router, it will reply with information to the ESP32 development board, send the OFDM data packet with CSI information to the WIFI module. The WIFI module in the ESP32 development board parses the OFDM data packet to obtain the original CSI information, then filters, normalizes, and extracts features from the parsed CSI data. Finally, the feature values are compared with the standard threshold. If it is greater than the standard threshold, it indicates that there is interference; if it is less than the standard threshold, it indicates that there is no interference, and the final result is saved in an Excel table.

[0053] In another alternative embodiment, a computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned CSI lossless detection reliability automation test method based on jenkins are implemented.

[0054] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of the above-mentioned CSI lossless detection reliability automation test method based on jenkins are implemented.

[0055] Although the present invention has been described herein with reference to its illustrative embodiments, the above embodiments are only the preferred embodiments of the present invention. The embodiments of the present invention are not limited by the above embodiments. It should be understood that those skilled in the art can design many other modifications and embodiments, which will fall within the scope and spirit of the principles disclosed in this application.

Claims

1. The CSI nondestructive testing reliability automation test method based on Jenkins is characterized by: The method comprises: A CI job that can be used to execute reliability test scripts is established on the central Jenkins. Through the CI job parameter passing, the CSI non-destructive testing system requests data every 10ms, that is, the WIFI module and the router are connected to the network. After the network is connected, the ESP32 development board sends a Ping message to the router every 10ms. The router receives the Ping message sent by the ESP32 development board to the router. The returned OFDM data packet carries the original CSI information. The WIFI module in the ESP32 development board parses the OFDM data packet to obtain the original CSI information, and then filters, normalizes and extracts the eigenvalues ​​of the parsed CSI data in turn. Finally, the eigenvalue is compared with the standard threshold. If it is greater than the standard threshold, it means that there is interference, and if it is less than the standard threshold, it means that there is no interference. The final result is saved in an Excel table.

2. According to the Jenkins-based CSI nondestructive testing reliability automation test method of claim 1, it is characterized in that: The method further comprises: Select the established CI job, where the CI job parameter selection includes at least two parameters, wherein parameter one is used to represent the interference environments to be tested, and parameter two is used to represent the threshold value under each environment; when executing the CI job, the test environment of the corresponding situation is simulated by passing different parameters, and the corresponding reliability test script is executed.

3. The CSI nondestructive testing reliability automation test system based on Jenkins is characterized by: The hardware facilities of the system are mainly composed of a router, an ESP32 development board with a CSI signal detection wifi module, and a relatively closed space; the test execution is performed by establishing a CI job on the central Jenkins to execute the build and compilation tasks of the automated test and execute the automated reliability test script, thereby realizing the CSI non-destructive testing system according to any one of claims 1 or 2 as described in the Jenkins-based CSI non-destructive testing reliability automated testing method.

4. The CSI nondestructive testing reliability automation test system based on Jenkins is characterized by: The system includes: a hardware environment module and an automated test architecture module; The hardware environment module is a complete test environment consisting of a router, an ESP32 development board with a CSI signal detection wifi module, and a relatively closed space; The automated testing architecture module is used to establish a CI job on the central Jenkins to perform the build and compilation tasks of the automated testing and automatically execute the reliability testing script, thereby realizing the CSI non-destructive testing reliability automated testing method based on Jenkins as described in any one of claims 1 or 2.

5. According to the Jenkins-based CSI nondestructive testing reliability automation test system of claim 4, it is characterized in that: The system further comprises: The data transceiver module is used to send a ping message to the router through the ESP32 development board when the router and the ESP32 development board are connected to form a test environment for CSI non-destructive detection signal transmission. After receiving the request information, the router will send the data containing the original CSI information to the WIFI module in the ESP32 development board in the form of an OFDM data packet; The script execution module is used to configure the router and the ESP32 development board. The ESP32 development board sends Ping messages to the router every 10ms. When the router receives the Ping message sent by the ESP32 development board to the router, it will respond to the ESP32 development board and send the OFDM data packet with the original CSI information to the WIFI module. The WIFI module in the ESP32 development board parses the OFDM data packet to obtain the original CSI information, and then filters, processes, and extracts the eigenvalues ​​of the parsed CSI data in turn. Finally, the eigenvalue is compared with the standard threshold. If it is greater than the standard threshold, it means that there is interference, and if it is less than the standard threshold, it means that there is no interference. The final result is saved in an Excel table.

6. A computer device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the CSI nondestructive testing reliability automation testing method based on Jenkins as claimed in any one of claims 1 or 2 are implemented.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the CSI non-destructive testing reliability automation testing method based on Jenkins as described in any one of claims 1 or 2 are implemented.