NFC automatic production testing system, electronic equipment and readable storage medium
Through the design of the NFC automated testing system, the problems of low efficiency and poor consistency of traditional NFC production and testing technology are solved, and automated testing of multi-system and multi-type NFC equipment is realized, which improves testing efficiency and accuracy and reduces costs.
Patent Information
- Application Number
- CN202410949675.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-08
AI Technical Summary
Traditional NFC production and testing technology requires a lot of manual intervention, which is inefficient, high cost and inconsistent test results, making it difficult to adapt to the differences in NFC equipment under different manufacturers and systems.
An NFC automated production and testing system was designed, including the system end, the NFC production and testing software interface module layer and the hardware equipment layer. Through equipment connection, system adaptation, test parameter management, test execution, data acquisition and analysis and report generation modules, it realizes the Automatic testing of multi-system and multi-type NFC devices.
It significantly improves testing efficiency and accuracy, reduces labor and time costs, reduces human errors, and ensures the efficiency, consistency and reliability of test results.
Smart Images

Figure CN118917328A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of NFC technology, and in particular to an NFC automated production and testing system, an electronic device and a readable storage medium. Background Art
[0002] With the development of NFC technology, various new devices and applications are constantly emerging, and traditional production testing technology is difficult to meet the needs of quickly adapting to and covering new testing. In the actual application process, traditional NFC production testing technology usually requires a lot of manual intervention. Testers are required to manually adjust parameters according to the parameters and functions of different NFC devices and test them one by one. The labor cost and time cost are high, the efficiency is low, and human errors are prone to occur, which affects the accuracy and consistency of the test results. Secondly, different manufacturers of traditional NFC production testing technology use different systems to produce NFC chips and devices. There are significant differences in performance and functions. Traditional testing methods are difficult to uniformly conduct effective testing and verification for these differences under different systems, resulting in insufficient test coverage and poor adaptability. Summary of the invention
[0003] In view of the above problems, the present invention is proposed to provide an NFC automatic production test system, an electronic device and a readable storage medium that overcome the above problems or at least partially solve the above problems.
[0004] The present invention provides an NFC automatic production and testing system, comprising:
[0005] The system side is the control and management center, responsible for interacting with users and communicating with the NFC production test software interface module layer, managing and coordinating the operation of each module, including generating and issuing NFC test tasks, managing and displaying NFC test reports;
[0006] NFC production test software interface module layer, used to establish communication connection with NFC devices, perform NFC test tasks for multi-system and multi-type NFC devices, and generate corresponding NFC test reports;
[0007] The hardware device layer includes multi-system and multi-type NFC devices managed and tested by the NFC production and testing software interface module layer.
[0008] Optionally, the NFC production test software interface module layer includes:
[0009] Device connection module, used to control the connection behavior of all NFC devices and monitor the connection status of all NFC devices;
[0010] A system adaptation module, used to detect the type of operating system running on the NFC device and load drivers and dependencies that match the operating system type;
[0011] Test parameter management module, used to configure and manage test parameters;
[0012] A test execution module, used to execute a test on a connected NFC device according to the test parameter information and generate test result data;
[0013] A data acquisition and analysis module, used to acquire and analyze the test result data to obtain analysis results of the test result data;
[0014] The report generation module is used to generate an NFC test report of the connected NFC device according to the analysis result of the test result data.
[0015] Optionally, the device connection module includes:
[0016] The connection behavior control interface of the NFC device is used to obtain the unique identifier of the physical or virtual port device and the connection type through system IO operations to connect or disconnect, and return the connection status;
[0017] The NFC device connection status monitoring interface is used to periodically refresh and obtain the connection information of all port devices to determine the connection status and connection problems of NFC devices.
[0018] Optionally, the system adaptation module is further used to check specific system characteristics or function calls of the NFC device and determine the type of operating system running on the NFC device according to the specific system characteristics or function calls.
[0019] Optionally, the test parameter management module includes:
[0020] Basic interface, used to support users to set and modify test parameters;
[0021] Custom interface, used to support user-defined test parameter types and quantities.
[0022] Optionally, the test execution module is further used to input test parameter information and start an automated test process, automatically executing basic test programs and / or user-defined test programs to generate test result data.
[0023] Optionally, the data acquisition and analysis module is also used to preprocess the test result data to obtain test result standard purified data, extract and count the number of samples and the number of features in the test result standard purified data, select a target analysis model based on the number of samples and the number of features, use the target analysis model to analyze and predict the test result standard purified data, output the probability distribution of the category label of each test item, and obtain the analysis result of each test item based on the probability distribution of the category label of each test item.
[0024] Optionally, the NFC production test software interface module layer further includes:
[0025] Maintenance and update module, used to determine whether to update the test items of NFC devices or add new NFC device tests;
[0026] The monitoring and early warning module is used to detect abnormal conditions in the operation of the NFC automated production and testing system, record operation logs and send early warning notifications.
[0027] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the electronic device executes the computer program, the NFC automated production and testing system as described in any one of the embodiments of the present invention is loaded.
[0028] The present invention further provides a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the NFC automatic production and testing system as described in any one of the embodiments of the present invention is loaded.
[0029] The present invention includes the following advantages:
[0030] In the NFC automated production and testing system of the present invention, the system end is a control and management center, which is responsible for interacting with users and communicating with the NFC production and testing software interface module layer, managing and coordinating the operation of each module, including generating and issuing NFC test tasks, managing and displaying NFC test reports, and the NFC production and testing software interface module layer is used to establish a communication connection with the NFC device, execute NFC test tasks of multiple systems and multiple types of NFC devices, and generate corresponding NFC test reports, and the hardware device layer includes multiple systems and multiple types of NFC devices managed and tested by the NFC production and testing software interface module layer. The NFC automated production and testing system of the present invention can automatically adapt to and cover multiple types of NFC devices produced by different manufacturers under different systems, automatically test NFC devices, significantly improve test efficiency and accuracy, significantly reduce labor costs and time costs, reduce human intervention and errors, and ensure the efficiency, consistency and reliability of test results, thereby meeting the testing needs of rapidly developing NFC technologies and applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 This is a structural block diagram of an NFC automated production and testing system provided by an embodiment of the present invention;
[0032] Figure 2 This is a structural block diagram of an NFC production test software interface module layer provided by an embodiment of the present invention;
[0033] Figure 3 This is the automated production and testing process of the NFC automated production and testing system provided by the embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0035] Reference Figure 1 , shows a structural block diagram of an NFC automated production and testing system provided in an embodiment of the present invention, which may specifically include the following modules:
[0036] The system side is the control and management center, responsible for interacting with users and communicating with the NFC production test software interface module layer, managing and coordinating the operation of each module, including generating and issuing NFC test tasks, managing and displaying NFC test reports;
[0037] NFC production test software interface module layer, used to establish communication connection with NFC devices, perform NFC test tasks for multi-system and multi-type NFC devices, and generate corresponding NFC test reports;
[0038] The hardware device layer includes multi-system and multi-type NFC devices managed and tested by the NFC production and testing software interface module layer.
[0039] The NFC automated production and testing system of the present invention may include a system end, an NFC production and testing software interface module layer, and a hardware device layer.
[0040] Among them, the system side is the core control and management center of the entire NFC automated production and testing system. It is responsible for interacting with users, receiving users' test instructions and test parameter settings, and managing and coordinating the operation of various modules. It is a platform for handling management tasks including generating and issuing test tasks, receiving test results, saving and managing test data, receiving, managing and displaying NFC test reports. The system side is also responsible for communicating with the NFC production and testing software interface module layer to ensure the smooth progress of the test process.
[0041] The NFC production test software interface module layer can flexibly adapt to and establish stable connections with various systems and various types of NFC devices in the hardware device layer, and perform NFC test tasks for multiple systems and multiple types of NFC devices, generate corresponding NFC test reports and provide them to the system end.
[0042] The hardware device layer is a general term for the hardware devices operated by the software layer. As the physical basis for the actual execution of the test, it includes multi-system and multi-type NFC devices managed and tested by the NFC production test software interface module layer, such as different types of contactless IC cards (such as type A, type B), domestic ID cards, foreign ID cards, and special NFC cards.
[0043] Through the collaborative work of the system side, the NFC production and testing software interface module layer, and the hardware device layer, the NFC automated production and testing system of the present invention can automatically adapt to and cover various types of NFC devices produced by different manufacturers under different systems, automatically test NFC devices, significantly improve test efficiency and accuracy, significantly reduce labor costs and time costs, reduce human intervention and errors, ensure the efficiency, consistency and reliability of test results, and thus meet the testing needs of the rapidly developing NFC technology and applications.
[0044] In one embodiment of the present invention, the NFC production test software interface module layer includes:
[0045] Device connection module, used to control the connection behavior of all NFC devices and monitor the connection status of all NFC devices;
[0046] A system adaptation module, used to detect the type of operating system running on the NFC device and load drivers and dependencies that match the operating system type;
[0047] Test parameter management module, used to configure and manage test parameters;
[0048] A test execution module, used to execute a test on a connected NFC device according to the test parameter information and generate test result data;
[0049] A data acquisition and analysis module, used to acquire and analyze the test result data to obtain analysis results of the test result data;
[0050] The report generation module is used to generate an NFC test report of the connected NFC device according to the analysis result of the test result data.
[0051] Reference Figure 2 In an embodiment of the present invention, the NFC production test software interface module layer may include a device connection module, a system adaptation module, a test parameter management module, a test execution module, a data acquisition and analysis module, and a report generation module. Through these modules, it is possible to automatically test multiple systems and multiple types of NFC devices and generate corresponding NFC test reports.
[0052] Specifically, the device connection module is responsible for controlling the connection behavior of all NFC devices and monitoring their connection status in real time to ensure the stability of the test environment. The system adaptation module can detect the type of operating system running on the NFC device and automatically load the corresponding drivers and dependencies to adapt to the test requirements of different systems. The test parameter management module provides users with a convenient configuration interface, allowing users to flexibly set and manage test parameters according to test requirements. The test execution module is the core module for automated testing of NFC devices. It can accurately execute test tasks for connected NFC devices based on test parameter information and generate detailed test result data, such as operating frequency, response time to operation instructions, data transmission rate, communication protocol type, etc. Next, the data acquisition and analysis module can conduct in-depth mining and analysis of these test result data, extract key information and obtain analysis results. Finally, the report generation module automatically generates a clear structure and detailed NFC test report based on these analysis results, providing users with comprehensive and accurate test feedback. Among them, the NFC test report can also include visual charts generated based on the analysis results to provide users with intuitive results display.
[0053] In one embodiment of the present invention, the device connection module includes:
[0054] The connection behavior control interface of the NFC device is used to obtain the unique identifier of the physical or virtual port device and the connection type through system IO operations to connect or disconnect, and return the connection status;
[0055] The NFC device connection status monitoring interface is used to periodically refresh and obtain the connection information of all port devices to determine the connection status and connection problems of NFC devices.
[0056] In an embodiment of the present invention, the device management module mainly includes two interfaces responsible for device connection and disconnection and monitoring device connection status: a connection behavior control interface of an NFC device and a connection status monitoring interface of an NFC device. The connection behavior control interface of an NFC device can obtain the unique identifier of a physical or virtual port device and the connection type (such as USB, Bluetooth, etc.) according to the information provided by the system adapter module using the system IO operation method under the device system to connect, and return the connection status (such as success or false). For example, the Windows end will use the SetupDiGetClassDevs and SetupDiEnumDeviceInfo functions to scan and monitor the device status, use the SetupDiGetDeviceInstanceId function to read the device instance ID or hardware ID, and then use the SetupDiGetDeviceRegistryProperty function to obtain the device's properties. The NFC device connection status monitoring interface can regularly refresh and obtain real-time information of all port devices, so that the connection status of the NFC device can be obtained and help users quickly locate connection problems.
[0057] In an embodiment of the present invention, the system adaptation module is further used to check the specific system characteristics or function calls of the NFC device and determine the type of operating system running on the NFC device according to the specific system characteristics or function calls.
[0058] In the embodiment of the present invention, the system adaptation module is responsible for detecting the operating system running on the linked device, and distinguishing and identifying the system by checking specific system characteristics or function calls and distinguishing and identifying the system according to these characteristics or system calls, etc., and the system adaptation module can automatically adapt to and cover NFC chips and devices produced under different systems, thereby improving the test coverage and adaptability. Taking Windows system, Linux system, and Linux embedded system as examples, the GetCurrentProcessId() system call in Windows system and the syscall (SYS_getpid()) in Linux system and the custom_syscall() in Linux embedded system are similar in function, but the calling method is different. The software can detect whether there are these function calls through the preprocessing instruction #ifdef, and call the running code block adapted to the system according to whether it matches GetCurrentProcessId() in Windows system, syscall (SYS_getpid()) in Linux system, and custom_syscall() in Linux embedded system.
[0059] In one embodiment of the present invention, the test parameter management module includes:
[0060] Basic interface, used to support users to set and modify test parameters;
[0061] Custom interface, used to support user-defined test parameter types and quantities.
[0062] In the embodiment of the present invention, the test parameter management module is responsible for configuring and managing test parameters, and provides functions such as obtaining the currently configured test parameter information. It not only provides a basic interface to allow users to set and modify test parameters, but also provides a custom interface to support users to customize parameter types and quantities, making the test process more flexible and meeting different test requirements.
[0063] In one embodiment of the present invention, the test execution module is further used to input test parameter information and start an automated test process, automatically executing basic test programs and / or user-defined test programs to generate test result data.
[0064] In the embodiment of the present invention, the test execution module can provide basic test programs and support user-defined test programs. It can be flexibly designed according to actual application requirements and user requirements, and is responsible for starting and managing the automated test process. After the user adopts the system-preset standardized test program or the user-defined main test program, the test parameter information is passed in and the startTest interface provided by the module is used to start the main test process, automatically run the production test program, and use the getTestResults interface to obtain the test result data.
[0065] In one embodiment of the present invention, the data acquisition and analysis module is also used to preprocess the test result data to obtain test result standard purified data, extract and count the number of samples and the number of features in the test result standard purified data, select a target analysis model based on the number of samples and the number of features, use the target analysis model to analyze and predict the test result standard purified data, output the probability distribution of the category label of each test item, and obtain the analysis result of each test item based on the probability distribution of the category label of each test item.
[0066] In an embodiment of the present invention, the data acquisition and analysis module constructs an efficient multi-threaded data pipeline to realize real-time data acquisition, preprocessing, storage and intelligent analysis functions. First, a multi-threaded channel is created to quickly obtain the test result data of the test execution module, and the test result data, such as the working frequency, the response time to the operation instruction, the data transmission rate, the communication protocol type, etc., are formatted and cleaned through a stream processing engine (such as a Flink stream processing engine), including data deduplication, missing value linear regression algorithm filling and outlier detection, to obtain the test result standard purified data.
[0067] Then, the data acquisition and analysis module can apply pre-trained machine learning algorithms, namely random forest models and deep neural network models, to identify data patterns and anomalies through feature extraction and classification models, and perform real-time analysis on the cleaned data. If the amount of data is small or the data features are simple and linearly separable, the random forest model is selected; if the amount of data is large and multi-dimensional or the data features are complex and there are a large number of nonlinear relationships, the deep neural network model is used. The random forest model constructs multiple decision trees and votes (classifies) to obtain the final prediction value; the deep neural network model calculates the output through forward propagation, iterates and optimizes to identify complex nonlinear patterns, and finally outputs the prediction value. The algorithm can quickly adapt to different types of NFC device data, automatically adjust model parameters, and improve the accuracy and efficiency of analysis.
[0068] Specifically, the data acquisition and analysis module extracts and counts the number of samples and features of the standard purified data of the test results. If the number of samples does not exceed the preset sample number threshold or the number of features does not exceed the preset feature number threshold, the standard purified data of the test results is input into the deployed random forest model, and each decision tree is used to independently predict the standard purified data of the test results and output the predicted value, and then all the predicted values are summarized to obtain the final predicted value based on the majority vote; otherwise, the standard purified data of the test results is input into the deployed deep neural network model, and only forward propagation calculations are required through each layer of the network. The neurons of each layer use the weights and biases learned during the training process to calculate, and the activation function transfers the activation value between each layer, and the predicted value is calculated layer by layer. The probability distribution of the category label of the output test item, such as the power distribution of the category label of the test item such as the operating frequency, the response time to the operation instruction, the data transmission rate, and the communication protocol type, is determined according to the highest probability value. For example, the probability of predicting that the communication type of a new NFC device belongs to "ISO / IEC14443" is 0.15, the probability of "FeliCa" is 0.25, and the probability of "ISO / IEC 15693" is 0.60, and the final category label is "ISO / IEC 15693". The preset sample number threshold can be set according to actual conditions, such as 2000, 3000, 5000, etc.; the preset feature number threshold can be set according to actual conditions, such as 25, 30, 50, etc.
[0069] The random forest model and deep neural network model are trained and deployed in the data collection and analysis module. The test result data is collected, formatted and cleaned, and the cleaned data is divided into training set, validation set and test set. To build a random forest model, you need to select common features (also called variables or attributes), call the cleaned data and divide it into 60% training set and 40% test set to build multiple decision trees. Each tree uses randomly sampled training set data for training and node splitting, and predicts the tested model based on majority voting. Finally, the test set is used to evaluate the model. If the accuracy is greater than 80%, the model meets the standard and is deployed. If it does not meet the standard, go back to the initial step to continue tuning the model. To build a deep neural network model, you also need to extract common features, call the cleaned data and divide it into 60% training set, 20% validation set and 20% test set, design a network structure including input layer, multiple hidden layers and output layer, select Leaky ReLU activation function and initialize weights (activation function will introduce nonlinear factors to neurons, so that neural network can arbitrarily approximate any nonlinear function), then calculate the output through forward propagation, and use sparse classification cross entropy loss function to calculate the error (sparse classification cross entropy loss function can convert feature labels into integer format, such as data sets containing labels with "ISO / IEC14443", "FeliCa" and "ISO / IEC 15693" feature "communication protocol types supported by NFC devices", these tags are converted into digital results [0,1,2] to help the model better understand the operations of the data set), and then back-propagation is used to update the weights with errors. The Adam optimization algorithm is used to adjust the hyperparameters (that is, the parameters manually set before the algorithm runs). The overfitting model is identified and evaluated through the validation set. If the accuracy is lower than 80%, it does not meet the standard. Otherwise, the test set is needed to evaluate the model performance. It is deployed only when it reaches more than 90%.
[0070] In one embodiment of the present invention, the NFC production test software interface module layer further includes:
[0071] Maintenance and update module, used to determine whether to update the test items of NFC devices or add new NFC device tests;
[0072] The monitoring and early warning module is used to detect abnormal conditions in the operation of the NFC automated production and testing system, record operation logs and send early warning notifications.
[0073] In an embodiment of the present invention, the NFC production test software interface module layer also includes: a maintenance and update module and a monitoring and early warning module. The maintenance and update module is responsible for adding or replacing the production test program interface function of the NFC device. If subsequent users need to add custom production test items, they can import them into the list of normal production test items to be run through the executeSystemUpdate interface of the newly added production test project. The monitoring and early warning module is responsible for detecting abnormal conditions in the operation of the system and equipment, and timely recording the system operation log and sending early warning notifications, so as to realize timely detection of abnormalities and issuance of early warnings, and provide logs for subsequent analysis and troubleshooting, thereby ensuring the stable operation of the system.
[0074] Reference Figure 3 , which is the automated production test process of the NFC automated production test system provided by the embodiment of the present invention. The specific process is as follows:
[0075] 1. Initialize the system, load necessary drivers and services, prepare the hardware and software environment, connect the NFC device to the system, ensure that the physical connection of the device is normal, establish a communication connection with the NFC device through the connectDevice interface, and confirm that the device is available.
[0076] 2. During the system adaptation phase, the type of the currently running operating system (such as Windows, Linux embedded system, etc.) is detected and adapted and configured. The preprocessing instructions are called to detect the system type of the NFC device, and the necessary drivers and dependencies are loaded according to the detection results.
[0077] 3. Next, configure the test parameters. The user sets and modifies the test parameters to configure the specific parameters of the NFC device test, and then starts the test process of the NFC device and starts executing the configured test tasks through the startTest interface.
[0078] 4. During the test, the data of the NFC device is collected in real time, and the stream processing engine is used to ensure the data is complete and real-time. The collected data is analyzed and the analysis results are generated. The appropriate analysis algorithm is selected according to the data characteristics: if the data volume is small or the characteristics are simple and linear, the random forest algorithm is selected; if the data volume is large and the characteristics are complex or nonlinear, the deep neural network algorithm is selected.
[0079] 5. Generate a detailed test report and visual chart based on the analysis results. (1) Determine whether the current production test project needs to be updated. If so, return to the test parameter configuration stage to re-perform test-related operations. (2) Otherwise, directly enter the real-time monitoring system status and send an early warning when an abnormal situation is found.
[0080] 6. Finally, the generated test report is sent to the user, ending the entire process and the system enters standby mode.
[0081] The NFC automated production and testing system realizes the automated testing process of NFC devices under various systems, greatly reducing manual intervention, improving testing efficiency and reducing labor costs.
[0082] Based on the same inventive concept, another embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to load the NFC automatic production and testing system as described in any one of the embodiments of the present invention.
[0083] Specifically, the electronic device includes: a memory and a processor, the memory and the processor are connected via a bus communication, a computer program is stored in the memory, and the computer program can be run on the processor to load the NFC automatic production and testing system described in any one of the first aspects of the embodiments of the present invention.
[0084] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0085] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0086] Based on the same inventive concept, another embodiment of the present invention provides a computer-readable storage medium having a computer program / instruction stored thereon. When the computer program / instruction is executed by a processor, the NFC automated production and testing system as described in any one of the first aspects of the embodiments of the present invention is loaded.
[0087] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0088] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, devices, electronic devices, storage media or computer program products. Therefore, embodiments of the present invention may take the form of complete hardware embodiments, complete software embodiments, or embodiments combining software and hardware. Moreover, embodiments of the present invention may take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CDROM, optical storage, etc.) containing computer-usable program codes.
[0089] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0090] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0091] The above is a detailed introduction to an NFC automated production and testing system, electronic device and readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present application. The above embodiments are only preferred embodiments cited to fully illustrate the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art on the basis of the present invention are all within the protection scope of the present invention.
Claims
1. An NFC automated production and testing system, characterized in that: include: The system side is the control and management center, responsible for interacting with users and communicating with the NFC production test software interface module layer, managing and coordinating the operation of each module, including generating and issuing NFC test tasks, managing and displaying NFC test reports; NFC production test software interface module layer, used to establish communication connection with NFC devices, perform NFC test tasks for multi-system and multi-type NFC devices, and generate corresponding NFC test reports; The hardware device layer includes multi-system and multi-type NFC devices managed and tested by the NFC production and testing software interface module layer.
2. The NFC automated production and testing system according to claim 1, characterized in that: The NFC production test software interface module layer includes: Device connection module, used to control the connection behavior of all NFC devices and monitor the connection status of all NFC devices; A system adaptation module, used to detect the type of operating system running on the NFC device and load drivers and dependencies that match the operating system type; Test parameter management module, used to configure and manage test parameters; A test execution module, used to execute a test on a connected NFC device according to the test parameter information and generate test result data; A data acquisition and analysis module, used to acquire and analyze the test result data to obtain analysis results of the test result data; The report generation module is used to generate an NFC test report of the connected NFC device according to the analysis result of the test result data.
3. The NFC automated production and testing system according to claim 2, characterized in that: The device connection module includes: The connection behavior control interface of the NFC device is used to obtain the unique identifier of the physical or virtual port device and the connection type through system IO operations to connect or disconnect, and return the connection status; The NFC device connection status monitoring interface is used to periodically refresh and obtain the connection information of all port devices to determine the connection status and connection problems of NFC devices.
4. The NFC automated production and testing system according to claim 2, characterized in that: The system adaptation module is further used to check the specific system characteristics or function calls of the NFC device and determine the type of operating system running on the NFC device according to the specific system characteristics or function calls.
5. The NFC automated production and testing system according to claim 2, characterized in that: The test parameter management module includes: Basic interface, used to support users to set and modify test parameters; Custom interface, used to support user-defined test parameter types and quantities.
6. The NFC automated production and testing system according to claim 2, characterized in that: The test execution module is also used to input test parameter information and start the automated test process, automatically executing basic test programs and / or user-defined test programs to generate test result data.
7. The NFC automated production and testing system according to claim 2, characterized in that: The data acquisition and analysis module is also used to preprocess the test result data to obtain standard purified data of test results, extract and count the number of samples and the number of features in the standard purified data of test results, select a target analysis model based on the number of samples and the number of features, use the target analysis model to analyze and predict the standard purified data of test results, output the probability distribution of the category label of each test item, and obtain the analysis result of each test item based on the probability distribution of the category label of each test item.
8. The NFC automated production and testing system according to claim 1, characterized in that: The NFC production test software interface module layer also includes: Maintenance and update module, used to determine whether to update the test items of NFC devices or add new NFC device tests; The monitoring and early warning module is used to detect abnormal conditions in the operation of the NFC automated production and testing system, record operation logs and send early warning notifications.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the electronic device executes the computer program, the NFC automated production and testing system according to any one of claims 1 to 8 is loaded.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the NFC automated production and testing system according to any one of claims 1 to 8 is loaded.
